CodeRepositoryIndexState class
Input properties used for looking up and filtering CodeRepositoryIndex resources.
Constructors
-
CodeRepositoryIndexState({Input<
String?> ? codeRepositoryIndexId, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>bool?> ? forceDestroy, Input<String?> ? kmsKey, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? state, Input<String?> ? updateTime}) -
Creates a new CodeRepositoryIndexState.
codeRepositoryIndexIdRequired. Id of the Code Repository Index.createTimeOutput only. Create time stamp.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.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.nameImmutable. Identifier. Name of Code Repository Index.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcestateOutput only. Code Repository Index instance State.updateTimeOutput only. Update time stamp.const -
CodeRepositoryIndexState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
codeRepositoryIndexId
→ Input<
String?> ? -
Required. Id of the Code Repository Index.
final
-
createTime
→ Input<
String?> ? -
Output only. Create time stamp.
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
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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 -
name
→ Input<
String?> ? -
Immutable. Identifier. Name of Code Repository Index.
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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
Output only. Code Repository Index instance State.
Possible values are:
STATE_UNSPECIFIED,CREATING,ACTIVE,DELETING,SUSPENDED.final -
updateTime
→ Input<
String?> ? -
Output only. Update time stamp.
final
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