GenericServiceArgs class
The set of arguments for GenericService. The set of arguments for GenericService.
Constructors
-
GenericServiceArgs({Input<
GenericServiceBasicService?> ? basicService, Input<String?> ? deletionPolicy, Input<String?> ? displayName, Input<String?> ? project, required Input<String> serviceId, Input<Map< ? userLabels})String, String> ?> -
Creates a new GenericServiceArgs.
basicServiceA well-known service type, defined by its service type and service labels.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.displayNameName used for UI elements listing this Service.projectThe ID of the project in which the resource belongs.serviceIdAn optional service ID to use. If not given, the server will generate auserLabelsLabels which have been used to annotate the service. Label keys must startconst -
GenericServiceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
basicService
→ Input<
GenericServiceBasicService?> ? -
A well-known service type, defined by its service type and service labels.
Valid values of service types and services labels are described at
https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli
Structure is documented below.
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
-
displayName
→ Input<
String?> ? -
Name used for UI elements listing this Service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
-
serviceId
→ Input<
String> -
An optional service ID to use. If not given, the server will generate a
service ID.
final
-
userLabels
→ Input<
Map< ?String, String> ?> -
Labels which have been used to annotate the service. Label keys must start
with a letter. Label keys and values may contain lowercase letters,
numbers, underscores, and dashes. Label keys and values have a maximum
length of 63 characters, and must be less than 128 bytes in size. Up to 64
label entries may be stored. For labels which do not have a semantic value,
the empty string may be supplied for the label value.
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