ServiceArgs class
The set of arguments for Service. The set of arguments for Service.
Constructors
-
ServiceArgs({required Input<
String> applicationId, Input<ServiceAttributes?> ? attributes, Input<String?> ? deletionPolicy, Input<String?> ? description, required Input<String> discoveredService, Input<String?> ? displayName, required Input<String> location, Input<String?> ? project, required Input<String> serviceId}) -
Creates a new ServiceArgs.
applicationIdPart ofparent. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}attributesConsumer provided attributes.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-defined description of a Service.discoveredServiceImmutable. The resource name of the original discovered service.displayNameUser-defined name for the Service.locationPart ofparent. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}projectThe ID of the project in which the resource belongs.serviceIdThe Service identifier.const -
ServiceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
applicationId
→ Input<
String> -
Part of
parent. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}final -
attributes
→ Input<
ServiceAttributes?> ? -
Consumer provided attributes.
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
-
description
→ Input<
String?> ? -
User-defined description of a Service.
final
-
discoveredService
→ Input<
String> -
Immutable. The resource name of the original discovered service.
final
-
displayName
→ Input<
String?> ? -
User-defined name for the Service.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> -
Part of
parent. Full resource name of a parent Application. Example: projects/{HOST_PROJECT_ID}/locations/{LOCATION}/applications/{APPLICATION_ID}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
-
serviceId
→ Input<
String> -
The Service identifier.
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