RepositoryArgs constructor

const RepositoryArgs({
  1. Input<Map<String, String>>? cleanupPolicies,
  2. Input<bool>? cleanupPolicyDryRun,
  3. Input<String>? description,
  4. Input<DockerRepositoryConfig>? dockerConfig,
  5. Input<RepositoryFormat>? format,
  6. Input<String>? kmsKeyName,
  7. Input<Map<String, String>>? labels,
  8. Input<String>? location,
  9. Input<MavenRepositoryConfig>? mavenConfig,
  10. Input<RepositoryMode>? mode,
  11. Input<String>? name,
  12. Input<String>? project,
  13. Input<RemoteRepositoryConfig>? remoteRepositoryConfig,
  14. required Input<String> repositoryId,
  15. Input<VirtualRepositoryConfig>? virtualRepositoryConfig,
})

Creates a new RepositoryArgs. cleanupPolicies Optional. Cleanup policies for this repository. Cleanup policies indicate when certain package versions can be automatically deleted. Map keys are policy IDs supplied by users during policy creation. They must unique within a repository and be under 128 characters in length. cleanupPolicyDryRun Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository. description The user-provided description of the repository. dockerConfig Docker repository config contains repository level configuration for the repositories of docker type. format Optional. The format of packages that are stored in the repository. kmsKeyName 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 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 Optional. mavenConfig Maven repository config contains repository level configuration for the repositories of maven type. mode Optional. The mode of the repository. name The name of the repository, for example: projects/p1/locations/us-central1/repositories/repo1. project Optional. remoteRepositoryConfig Configuration specific for a Remote Repository. repositoryId Required. The repository id to use for this repository. virtualRepositoryConfig Configuration specific for a Virtual Repository.

Implementation

const RepositoryArgs({
  this.cleanupPolicies,
  this.cleanupPolicyDryRun,
  this.description,
  this.dockerConfig,
  this.format,
  this.kmsKeyName,
  this.labels,
  this.location,
  this.mavenConfig,
  this.mode,
  this.name,
  this.project,
  this.remoteRepositoryConfig,
  required this.repositoryId,
  this.virtualRepositoryConfig,
});