gcp.developerconnect.GitRepositoryLink
Explore with Pulumi AI
Example Usage
Developer Connect Git Repository Link Github Doc
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
github-token-secret:
type: gcp:secretmanager:Secret
properties:
secretId: github-token-secret
replication:
auto: {}
github-token-secret-version:
type: gcp:secretmanager:SecretVersion
properties:
secret: ${["github-token-secret"].id}
secretData:
fn::invoke:
Function: std:file
Arguments:
input: my-github-token.txt
Return: result
policy:
type: gcp:secretmanager:SecretIamPolicy
properties:
secretId: ${["github-token-secret"].secretId}
policyData: ${["p4sa-secretAccessor"].policyData}
my-connection:
type: gcp:developerconnect:Connection
properties:
location: us-central1
connectionId: my-connection
githubConfig:
githubApp: DEVELOPER_CONNECT
appInstallationId: 123123
authorizerCredential:
oauthTokenSecretVersion: ${["github-token-secret-version"].id}
my-repository:
type: gcp:developerconnect:GitRepositoryLink
properties:
location: us-central1
gitRepositoryLinkId: my-repo
parentConnection: ${["my-connection"].connectionId}
remoteUri: https://github.com/myuser/myrepo.git
variables:
p4sa-secretAccessor:
fn::invoke:
Function: gcp:organizations:getIAMPolicy
Arguments:
bindings:
- role: roles/secretmanager.secretAccessor
members:
- serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com
Create GitRepositoryLink Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GitRepositoryLink(name: string, args: GitRepositoryLinkArgs, opts?: CustomResourceOptions);
@overload
def GitRepositoryLink(resource_name: str,
args: GitRepositoryLinkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GitRepositoryLink(resource_name: str,
opts: Optional[ResourceOptions] = None,
clone_uri: Optional[str] = None,
git_repository_link_id: Optional[str] = None,
location: Optional[str] = None,
parent_connection: Optional[str] = None,
annotations: Optional[Mapping[str, str]] = None,
etag: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
project: Optional[str] = None)
func NewGitRepositoryLink(ctx *Context, name string, args GitRepositoryLinkArgs, opts ...ResourceOption) (*GitRepositoryLink, error)
public GitRepositoryLink(string name, GitRepositoryLinkArgs args, CustomResourceOptions? opts = null)
public GitRepositoryLink(String name, GitRepositoryLinkArgs args)
public GitRepositoryLink(String name, GitRepositoryLinkArgs args, CustomResourceOptions options)
type: gcp:developerconnect:GitRepositoryLink
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args GitRepositoryLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args GitRepositoryLinkArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args GitRepositoryLinkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GitRepositoryLinkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GitRepositoryLinkArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var gitRepositoryLinkResource = new Gcp.DeveloperConnect.GitRepositoryLink("gitRepositoryLinkResource", new()
{
CloneUri = "string",
GitRepositoryLinkId = "string",
Location = "string",
ParentConnection = "string",
Annotations =
{
{ "string", "string" },
},
Etag = "string",
Labels =
{
{ "string", "string" },
},
Project = "string",
});
example, err := developerconnect.NewGitRepositoryLink(ctx, "gitRepositoryLinkResource", &developerconnect.GitRepositoryLinkArgs{
CloneUri: pulumi.String("string"),
GitRepositoryLinkId: pulumi.String("string"),
Location: pulumi.String("string"),
ParentConnection: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
Etag: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
})
var gitRepositoryLinkResource = new GitRepositoryLink("gitRepositoryLinkResource", GitRepositoryLinkArgs.builder()
.cloneUri("string")
.gitRepositoryLinkId("string")
.location("string")
.parentConnection("string")
.annotations(Map.of("string", "string"))
.etag("string")
.labels(Map.of("string", "string"))
.project("string")
.build());
git_repository_link_resource = gcp.developerconnect.GitRepositoryLink("gitRepositoryLinkResource",
clone_uri="string",
git_repository_link_id="string",
location="string",
parent_connection="string",
annotations={
"string": "string",
},
etag="string",
labels={
"string": "string",
},
project="string")
const gitRepositoryLinkResource = new gcp.developerconnect.GitRepositoryLink("gitRepositoryLinkResource", {
cloneUri: "string",
gitRepositoryLinkId: "string",
location: "string",
parentConnection: "string",
annotations: {
string: "string",
},
etag: "string",
labels: {
string: "string",
},
project: "string",
});
type: gcp:developerconnect:GitRepositoryLink
properties:
annotations:
string: string
cloneUri: string
etag: string
gitRepositoryLinkId: string
labels:
string: string
location: string
parentConnection: string
project: string
GitRepositoryLink Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The GitRepositoryLink resource accepts the following input properties:
- Clone
Uri string - Required. Git Clone URI.
- Git
Repository stringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Parent
Connection string - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Annotations Dictionary<string, string>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Clone
Uri string - Required. Git Clone URI.
- Git
Repository stringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Parent
Connection string - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Annotations map[string]string
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Labels map[string]string
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- clone
Uri String - Required. Git Clone URI.
- git
Repository StringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - parent
Connection String - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - annotations Map<String,String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Map<String,String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- clone
Uri string - Required. Git Clone URI.
- git
Repository stringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - parent
Connection string - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - annotations {[key: string]: string}
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels {[key: string]: string}
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- clone_
uri str - Required. Git Clone URI.
- git_
repository_ strlink_ id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- location str
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - parent_
connection str - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - annotations Mapping[str, str]
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - etag str
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Mapping[str, str]
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- clone
Uri String - Required. Git Clone URI.
- git
Repository StringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - parent
Connection String - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - annotations Map<String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- labels Map<String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the GitRepositoryLink resource produces the following output properties:
- Create
Time string - Output only. [Output only] Create timestamp
- Delete
Time string - Output only. [Output only] Delete timestamp
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- Update
Time string - Output only. [Output only] Update timestamp
- Create
Time string - Output only. [Output only] Create timestamp
- Delete
Time string - Output only. [Output only] Delete timestamp
- Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- Update
Time string - Output only. [Output only] Update timestamp
- create
Time String - Output only. [Output only] Create timestamp
- delete
Time String - Output only. [Output only] Delete timestamp
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update
Time String - Output only. [Output only] Update timestamp
- create
Time string - Output only. [Output only] Create timestamp
- delete
Time string - Output only. [Output only] Delete timestamp
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update
Time string - Output only. [Output only] Update timestamp
- create_
time str - Output only. [Output only] Create timestamp
- delete_
time str - Output only. [Output only] Delete timestamp
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- uid str
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update_
time str - Output only. [Output only] Update timestamp
- create
Time String - Output only. [Output only] Create timestamp
- delete
Time String - Output only. [Output only] Delete timestamp
- effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update
Time String - Output only. [Output only] Update timestamp
Look up Existing GitRepositoryLink Resource
Get an existing GitRepositoryLink resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: GitRepositoryLinkState, opts?: CustomResourceOptions): GitRepositoryLink
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
annotations: Optional[Mapping[str, str]] = None,
clone_uri: Optional[str] = None,
create_time: Optional[str] = None,
delete_time: Optional[str] = None,
effective_annotations: Optional[Mapping[str, str]] = None,
effective_labels: Optional[Mapping[str, str]] = None,
etag: Optional[str] = None,
git_repository_link_id: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
parent_connection: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
reconciling: Optional[bool] = None,
uid: Optional[str] = None,
update_time: Optional[str] = None) -> GitRepositoryLink
func GetGitRepositoryLink(ctx *Context, name string, id IDInput, state *GitRepositoryLinkState, opts ...ResourceOption) (*GitRepositoryLink, error)
public static GitRepositoryLink Get(string name, Input<string> id, GitRepositoryLinkState? state, CustomResourceOptions? opts = null)
public static GitRepositoryLink get(String name, Output<String> id, GitRepositoryLinkState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Annotations Dictionary<string, string>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Clone
Uri string - Required. Git Clone URI.
- Create
Time string - Output only. [Output only] Create timestamp
- Delete
Time string - Output only. [Output only] Delete timestamp
- Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Git
Repository stringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Name string
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - Parent
Connection string - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- Update
Time string - Output only. [Output only] Update timestamp
- Annotations map[string]string
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - Clone
Uri string - Required. Git Clone URI.
- Create
Time string - Output only. [Output only] Create timestamp
- Delete
Time string - Output only. [Output only] Delete timestamp
- Effective
Annotations map[string]string - Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- Git
Repository stringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- Labels map[string]string
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - Location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Name string
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - Parent
Connection string - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- Update
Time string - Output only. [Output only] Update timestamp
- annotations Map<String,String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - clone
Uri String - Required. Git Clone URI.
- create
Time String - Output only. [Output only] Create timestamp
- delete
Time String - Output only. [Output only] Delete timestamp
- effective
Annotations Map<String,String> - effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- git
Repository StringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- labels Map<String,String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - name String
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - parent
Connection String - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update
Time String - Output only. [Output only] Update timestamp
- annotations {[key: string]: string}
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - clone
Uri string - Required. Git Clone URI.
- create
Time string - Output only. [Output only] Create timestamp
- delete
Time string - Output only. [Output only] Delete timestamp
- effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- git
Repository stringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- labels {[key: string]: string}
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location string
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - name string
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - parent
Connection string - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update
Time string - Output only. [Output only] Update timestamp
- annotations Mapping[str, str]
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - clone_
uri str - Required. Git Clone URI.
- create_
time str - Output only. [Output only] Create timestamp
- delete_
time str - Output only. [Output only] Delete timestamp
- effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag str
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- git_
repository_ strlink_ id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- labels Mapping[str, str]
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location str
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - name str
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - parent_
connection str - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- uid str
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update_
time str - Output only. [Output only] Update timestamp
- annotations Map<String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field
effective_annotations
for all of the annotations present on the resource. - clone
Uri String - Required. Git Clone URI.
- create
Time String - Output only. [Output only] Create timestamp
- delete
Time String - Output only. [Output only] Delete timestamp
- effective
Annotations Map<String> - effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- git
Repository StringLink Id - Required. The ID to use for the repository, which will become the final component of
the repository's resource name. This ID should be unique in the connection.
Allows alphanumeric characters and any of -._~%!$&'()*+,;=@.
- labels Map<String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effective_labels
for all of the labels present on the resource. - location String
- Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - name String
- Identifier. Resource name of the repository, in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*
. - parent
Connection String - Resource ID segment making up resource
name
. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource typedeveloperconnect.googleapis.com/GitRepositoryLink
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update
Time String - Output only. [Output only] Update timestamp
Import
GitRepositoryLink can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/gitRepositoryLinks/{{git_repository_link_id}}
{{project}}/{{location}}/{{parent_connection}}/{{git_repository_link_id}}
{{location}}/{{parent_connection}}/{{git_repository_link_id}}
When using the pulumi import
command, GitRepositoryLink can be imported using one of the formats above. For example:
$ pulumi import gcp:developerconnect/gitRepositoryLink:GitRepositoryLink default projects/{{project}}/locations/{{location}}/connections/{{parent_connection}}/gitRepositoryLinks/{{git_repository_link_id}}
$ pulumi import gcp:developerconnect/gitRepositoryLink:GitRepositoryLink default {{project}}/{{location}}/{{parent_connection}}/{{git_repository_link_id}}
$ pulumi import gcp:developerconnect/gitRepositoryLink:GitRepositoryLink default {{location}}/{{parent_connection}}/{{git_repository_link_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.