UnitOperationArgs constructor
- Input<
Map< ? annotations,String, String> ?> - Input<
String?> ? deletionPolicy, - Input<
Map< ? deprovision,String, dynamic> ?> - Input<
Map< ? labels,String, String> ?> - required Input<
String> location, - Input<
String?> ? project, - Input<
UnitOperationProvision?> ? provision, - required Input<
String> unit, - required Input<
String> unitOperationId, - Input<
UnitOperationUpgrade?> ? upgrade, - Input<
bool?> ? waitForCompletion,
Creates a new UnitOperationArgs.
annotations Annotations is an unstructured key-value map stored with a resource that
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
deprovision Deprovision is the unit operation that deprovision the underlying
labels The labels on the resource, which can be used for categorization.
location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
project The ID of the project in which the resource belongs.
provision Provision is the unit operation that provision the underlying resources
unit The Unit a given UnitOperation will act upon.
unitOperationId The ID value for the new unit operation.
upgrade Upgrade is the unit operation that upgrades a provisioned unit, which may
waitForCompletion If true, wait for the UnitOperation to reach a terminal state (SUCCEEDED, FAILED, CANCELLED)
Implementation
const UnitOperationArgs({
this.annotations,
this.deletionPolicy,
this.deprovision,
this.labels,
required this.location,
this.project,
this.provision,
required this.unit,
required this.unitOperationId,
this.upgrade,
this.waitForCompletion,
});