UnitOperationArgs constructor

const UnitOperationArgs({
  1. Input<Map<String, String>?>? annotations,
  2. Input<String?>? deletionPolicy,
  3. Input<Map<String, dynamic>?>? deprovision,
  4. Input<Map<String, String>?>? labels,
  5. required Input<String> location,
  6. Input<String?>? project,
  7. Input<UnitOperationProvision?>? provision,
  8. required Input<String> unit,
  9. required Input<String> unitOperationId,
  10. Input<UnitOperationUpgrade?>? upgrade,
  11. 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,
});