Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudbuild/v2.getRepository
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single repository.
Using getRepository
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRepository(args: GetRepositoryArgs, opts?: InvokeOptions): Promise<GetRepositoryResult>
function getRepositoryOutput(args: GetRepositoryOutputArgs, opts?: InvokeOptions): Output<GetRepositoryResult>
def get_repository(connection_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
repository_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(connection_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
repository_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRepositoryResult]
func LookupRepository(ctx *Context, args *LookupRepositoryArgs, opts ...InvokeOption) (*LookupRepositoryResult, error)
func LookupRepositoryOutput(ctx *Context, args *LookupRepositoryOutputArgs, opts ...InvokeOption) LookupRepositoryResultOutput
> Note: This function is named LookupRepository
in the Go SDK.
public static class GetRepository
{
public static Task<GetRepositoryResult> InvokeAsync(GetRepositoryArgs args, InvokeOptions? opts = null)
public static Output<GetRepositoryResult> Invoke(GetRepositoryInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
public static Output<GetRepositoryResult> getRepository(GetRepositoryArgs args, InvokeOptions options)
fn::invoke:
function: google-native:cloudbuild/v2:getRepository
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Id string - Location string
- Repository
Id string - Project string
- Connection
Id string - Location string
- Repository
Id string - Project string
- connection
Id String - location String
- repository
Id String - project String
- connection
Id string - location string
- repository
Id string - project string
- connection_
id str - location str
- repository_
id str - project str
- connection
Id String - location String
- repository
Id String - project String
getRepository Result
The following output properties are available:
- Annotations Dictionary<string, string>
- Allows clients to store small amounts of arbitrary data.
- Create
Time string - Server assigned timestamp for when the connection was created.
- Etag string
- 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.
- Name string
- Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
. - Remote
Uri string - Git Clone HTTPS URI.
- Update
Time string - Server assigned timestamp for when the connection was updated.
- Webhook
Id string - External ID of the webhook created for the repository.
- Annotations map[string]string
- Allows clients to store small amounts of arbitrary data.
- Create
Time string - Server assigned timestamp for when the connection was created.
- Etag string
- 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.
- Name string
- Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
. - Remote
Uri string - Git Clone HTTPS URI.
- Update
Time string - Server assigned timestamp for when the connection was updated.
- Webhook
Id string - External ID of the webhook created for the repository.
- annotations Map<String,String>
- Allows clients to store small amounts of arbitrary data.
- create
Time String - Server assigned timestamp for when the connection was created.
- etag String
- 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.
- name String
- Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
. - remote
Uri String - Git Clone HTTPS URI.
- update
Time String - Server assigned timestamp for when the connection was updated.
- webhook
Id String - External ID of the webhook created for the repository.
- annotations {[key: string]: string}
- Allows clients to store small amounts of arbitrary data.
- create
Time string - Server assigned timestamp for when the connection was created.
- etag string
- 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.
- name string
- Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
. - remote
Uri string - Git Clone HTTPS URI.
- update
Time string - Server assigned timestamp for when the connection was updated.
- webhook
Id string - External ID of the webhook created for the repository.
- annotations Mapping[str, str]
- Allows clients to store small amounts of arbitrary data.
- create_
time str - Server assigned timestamp for when the connection was created.
- etag str
- 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.
- name str
- Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
. - remote_
uri str - Git Clone HTTPS URI.
- update_
time str - Server assigned timestamp for when the connection was updated.
- webhook_
id str - External ID of the webhook created for the repository.
- annotations Map<String>
- Allows clients to store small amounts of arbitrary data.
- create
Time String - Server assigned timestamp for when the connection was created.
- etag String
- 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.
- name String
- Immutable. Resource name of the repository, in the format
projects/*/locations/*/connections/*/repositories/*
. - remote
Uri String - Git Clone HTTPS URI.
- update
Time String - Server assigned timestamp for when the connection was updated.
- webhook
Id String - External ID of the webhook created for the repository.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi