Class RepositoryState


  • public final class RepositoryState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • cleanupPolicies

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RepositoryCleanupPolicyArgs>>> cleanupPolicies()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> cleanupPolicyDryRun()
        Returns:
        If true, the cleanup pipeline is prevented from deleting versions in this repository.
      • createTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createTime()
        Returns:
        The time when the repository was created.
      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        The user-provided description of the repository.
      • dockerConfig

        public java.util.Optional<com.pulumi.core.Output<RepositoryDockerConfigArgs>> dockerConfig()
        Returns:
        Docker repository config contains repository level configuration for the repositories of docker type. Structure is documented below.
      • format

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> format()
        Returns:
        The format of packages that are stored in the repository. Supported formats can be found [here](https://cloud.google.com/artifact-registry/docs/supported-formats). You can only create alpha formats if you are a member of the [alpha user group](https://cloud.google.com/artifact-registry/docs/supported-formats#alpha-access). ***
      • kmsKeyName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> kmsKeyName()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> location()
        Returns:
        The name of the location this repository is located in.
      • mavenConfig

        public java.util.Optional<com.pulumi.core.Output<RepositoryMavenConfigArgs>> mavenConfig()
        Returns:
        MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type. Structure is documented below.
      • mode

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> mode()
        Returns:
        The mode configures the repository to serve artifacts from different sources. Default value is `STANDARD_REPOSITORY`. Possible values are: `STANDARD_REPOSITORY`, `VIRTUAL_REPOSITORY`, `REMOTE_REPOSITORY`.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the repository, for example: "repo1"
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
      • remoteRepositoryConfig

        public java.util.Optional<com.pulumi.core.Output<RepositoryRemoteRepositoryConfigArgs>> remoteRepositoryConfig()
        Returns:
        Configuration specific for a Remote Repository. Structure is documented below.
      • repositoryId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> repositoryId()
        Returns:
        The last part of the repository name, for example: "repo1"
      • updateTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> updateTime()
        Returns:
        The time when the repository was last updated.
      • virtualRepositoryConfig

        public java.util.Optional<com.pulumi.core.Output<RepositoryVirtualRepositoryConfigArgs>> virtualRepositoryConfig()
        Returns:
        Configuration specific for a Virtual Repository. Structure is documented below.