Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

Google Native

v0.9.0 published on Wednesday, Nov 24, 2021 by Pulumi

Repository

Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.

Create a Repository Resource

new Repository(name: string, args?: RepositoryArgs, opts?: CustomResourceOptions);
@overload
def Repository(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               create_time: Optional[str] = None,
               description: Optional[str] = None,
               format: Optional[RepositoryFormat] = None,
               kms_key_name: Optional[str] = None,
               labels: Optional[Mapping[str, str]] = None,
               location: Optional[str] = None,
               name: Optional[str] = None,
               project: Optional[str] = None,
               repository_id: Optional[str] = None,
               update_time: Optional[str] = None)
@overload
def Repository(resource_name: str,
               args: Optional[RepositoryArgs] = None,
               opts: Optional[ResourceOptions] = None)
func NewRepository(ctx *Context, name string, args *RepositoryArgs, opts ...ResourceOption) (*Repository, error)
public Repository(string name, RepositoryArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args RepositoryArgs
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 RepositoryArgs
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 RepositoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RepositoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Repository Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Repository resource accepts the following input properties:

CreateTime string
The time when the repository was created.
Description string
The user-provided description of the repository.
Format Pulumi.GoogleNative.ArtifactRegistry.V1Beta1.RepositoryFormat
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.
Location string
Name string
The name of the repository, for example: “projects/p1/locations/us-central1/repositories/repo1”.
Project string
RepositoryId string
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 RepositoryFormat
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.
Location string
Name string
The name of the repository, for example: “projects/p1/locations/us-central1/repositories/repo1”.
Project string
RepositoryId string
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 RepositoryFormat
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.
location string
name string
The name of the repository, for example: “projects/p1/locations/us-central1/repositories/repo1”.
project string
repositoryId string
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 RepositoryFormat
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.
location str
name str
The name of the repository, for example: “projects/p1/locations/us-central1/repositories/repo1”.
project str
repository_id str
update_time str
The time when the repository was last updated.

Outputs

All input properties are implicitly available as output properties. Additionally, the Repository resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Supporting Types

RepositoryFormat

FormatUnspecified
FORMAT_UNSPECIFIEDUnspecified package format.
Docker
DOCKERDocker package format.
Maven
MAVENMaven package format.
Npm
NPMNPM package format.
Pypi
PYPIPyPI package format. Deprecated, use PYTHON instead.
Apt
APTAPT package format.
Yum
YUMYUM package format.
Python
PYTHONPython package format.
RepositoryFormatFormatUnspecified
FORMAT_UNSPECIFIEDUnspecified package format.
RepositoryFormatDocker
DOCKERDocker package format.
RepositoryFormatMaven
MAVENMaven package format.
RepositoryFormatNpm
NPMNPM package format.
RepositoryFormatPypi
PYPIPyPI package format. Deprecated, use PYTHON instead.
RepositoryFormatApt
APTAPT package format.
RepositoryFormatYum
YUMYUM package format.
RepositoryFormatPython
PYTHONPython package format.
FormatUnspecified
FORMAT_UNSPECIFIEDUnspecified package format.
Docker
DOCKERDocker package format.
Maven
MAVENMaven package format.
Npm
NPMNPM package format.
Pypi
PYPIPyPI package format. Deprecated, use PYTHON instead.
Apt
APTAPT package format.
Yum
YUMYUM package format.
Python
PYTHONPython package format.
FORMAT_UNSPECIFIED
FORMAT_UNSPECIFIEDUnspecified package format.
DOCKER
DOCKERDocker package format.
MAVEN
MAVENMaven package format.
NPM
NPMNPM package format.
PYPI
PYPIPyPI package format. Deprecated, use PYTHON instead.
APT
APTAPT package format.
YUM
YUMYUM package format.
PYTHON
PYTHONPython package format.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0