CodeRepositoryIndexArgs class
The set of arguments for CodeRepositoryIndex. The set of arguments for CodeRepositoryIndex.
Constructors
-
CodeRepositoryIndexArgs({required Input<
String> codeRepositoryIndexId, Input<String?> ? deletionPolicy, Input<bool?> ? forceDestroy, Input<String?> ? kmsKey, Input<Map< ? labels, required Input<String, String> ?>String> location, Input<String?> ? project}) -
Creates a new CodeRepositoryIndexArgs.
codeRepositoryIndexIdRequired. Id of the Code Repository Index.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.forceDestroyIf set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.kmsKeyOptional. Immutable. Customer-managed encryption key name, in the formatlabelsOptional. Labels as key value pairs.locationThe location of the Code Repository Index, for exampleus-central1.projectThe ID of the project in which the resource belongs.const -
CodeRepositoryIndexArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
codeRepositoryIndexId
→ Input<
String> -
Required. Id of the Code Repository Index.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
forceDestroy
→ Input<
bool?> ? -
If set to true, will allow deletion of the CodeRepositoryIndex even if there are existing RepositoryGroups for the resource. These RepositoryGroups will also be deleted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKey
→ Input<
String?> ? -
Optional. Immutable. Customer-managed encryption key name, in the format
projects/*/locations/*/keyRings/*/cryptoKeys/*.final -
labels
→ Input<
Map< ?String, String> ?> -
Optional. Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String> -
The location of the Code Repository Index, for example
us-central1.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited