Repository class
Creates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository.
Constructors
- Repository(String name, {RepositoryArgs? args, CustomResourceOptions? options})
-
Creates a new Repository.
nameThe Pulumi resource name.argsArguments used to configure this Repository. The set of arguments for Repository.optionsResource options controlling this resource's behavior.
Properties
-
childResources
→ Set<
Resource> -
finalinherited
-
cleanupPolicies
↔ Output<
Map< String, String> > -
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.
latefinal
-
cleanupPolicyDryRun
↔ Output<
bool> -
Optional. If true, the cleanup pipeline is prevented from deleting versions in this repository.
latefinal
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
createTime
↔ Output<
String> -
The time when the repository was created.
latefinal
-
description
↔ Output<
String> -
The user-provided description of the repository.
latefinal
-
dockerConfig
↔ Output<
DockerRepositoryConfigResponse> -
Docker repository config contains repository level configuration for the repositories of docker type.
latefinal
-
format
↔ Output<
String> -
Optional. The format of packages that are stored in the repository.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
kmsKeyName
↔ Output<
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.latefinal -
labels
↔ Output<
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.
latefinal
-
location
↔ Output<
String> -
latefinal
-
mavenConfig
↔ Output<
MavenRepositoryConfigResponse> -
Maven repository config contains repository level configuration for the repositories of maven type.
latefinal
-
mode
↔ Output<
String> -
Optional. The mode of the repository.
latefinal
-
name
↔ Output<
String> -
The name of the repository, for example:
projects/p1/locations/us-central1/repositories/repo1.latefinal -
project
↔ Output<
String> -
latefinal
-
remoteRepositoryConfig
↔ Output<
RemoteRepositoryConfigResponse> -
Configuration specific for a Remote Repository.
latefinal
-
repositoryId
↔ Output<
String> -
Required. The repository id to use for this repository.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
satisfiesPzs
↔ Output<
bool> -
If set, the repository satisfies physical zone separation.
latefinal
-
sizeBytes
↔ Output<
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.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
updateTime
↔ Output<
String> -
The time when the repository was last updated.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
-
virtualRepositoryConfig
↔ Output<
VirtualRepositoryConfigResponse> -
Configuration specific for a Virtual Repository.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited