google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.artifactregistry/v1beta1.getRepository

Gets a 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(location: Optional[str] = None,
                   project: Optional[str] = None,
                   repository_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetRepositoryResult
def get_repository_output(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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:artifactregistry/v1beta1:getRepository
  arguments:
    # arguments dictionary

The following arguments are supported:

Location string
RepositoryId string
Project string
Location string
RepositoryId string
Project string
location String
repositoryId String
project String
location string
repositoryId string
project string
location String
repositoryId String
project String

getRepository Result

The following output properties are available:

CreateTime string

The time when the repository was created.

Description string

The user-provided description of the repository.

Format string

The format of packages that are stored in the repository.

KmsKeyName string

The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

Labels Dictionary<string, string>

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

Name string

The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

SatisfiesPzs bool

If set, the repository satisfies physical zone separation.

SizeBytes string

The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

UpdateTime string

The time when the repository was last updated.

CreateTime string

The time when the repository was created.

Description string

The user-provided description of the repository.

Format string

The format of packages that are stored in the repository.

KmsKeyName string

The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

Labels map[string]string

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

Name string

The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

SatisfiesPzs bool

If set, the repository satisfies physical zone separation.

SizeBytes string

The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

UpdateTime string

The time when the repository was last updated.

createTime String

The time when the repository was created.

description String

The user-provided description of the repository.

format String

The format of packages that are stored in the repository.

kmsKeyName String

The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

labels Map<String,String>

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

name String

The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

satisfiesPzs Boolean

If set, the repository satisfies physical zone separation.

sizeBytes String

The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

updateTime String

The time when the repository was last updated.

createTime string

The time when the repository was created.

description string

The user-provided description of the repository.

format string

The format of packages that are stored in the repository.

kmsKeyName string

The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

labels {[key: string]: string}

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

name string

The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

satisfiesPzs boolean

If set, the repository satisfies physical zone separation.

sizeBytes string

The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

updateTime string

The time when the repository was last updated.

create_time str

The time when the repository was created.

description str

The user-provided description of the repository.

format str

The format of packages that are stored in the repository.

kms_key_name str

The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

labels Mapping[str, str]

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

name str

The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

satisfies_pzs bool

If set, the repository satisfies physical zone separation.

size_bytes str

The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

update_time str

The time when the repository was last updated.

createTime String

The time when the repository was created.

description String

The user-provided description of the repository.

format String

The format of packages that are stored in the repository.

kmsKeyName String

The Cloud KMS resource name of the customer managed encryption key that's used to encrypt the contents of the Repository. Has the form: projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key. This value may not be changed after the Repository has been created.

labels Map<String>

Labels with user-defined metadata. This field may contain up to 64 entries. Label keys and values may be no longer than 63 characters. Label keys must begin with a lowercase letter and may only contain lowercase letters, numeric characters, underscores, and dashes.

name String

The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1".

satisfiesPzs Boolean

If set, the repository satisfies physical zone separation.

sizeBytes String

The size, in bytes, of all artifact storage in this repository. Repositories that are generally available or in public preview use this to calculate storage costs.

updateTime String

The time when the repository was last updated.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0