ResourcePolicyArgs constructor

const ResourcePolicyArgs({
  1. Input<String?>? deletionPolicy,
  2. Input<String?>? description,
  3. Input<ResourcePolicyDiskConsistencyGroupPolicy?>? diskConsistencyGroupPolicy,
  4. Input<ResourcePolicyGroupPlacementPolicy?>? groupPlacementPolicy,
  5. Input<ResourcePolicyInstanceSchedulePolicy?>? instanceSchedulePolicy,
  6. Input<String?>? name,
  7. Input<String?>? project,
  8. Input<String?>? region,
  9. Input<ResourcePolicySnapshotSchedulePolicy?>? snapshotSchedulePolicy,
  10. Input<ResourcePolicyWorkloadPolicy?>? workloadPolicy,
})

Creates a new ResourcePolicyArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. Provide this property when you create the resource. diskConsistencyGroupPolicy Replication consistency group for asynchronous disk replication. groupPlacementPolicy Resource policy for instances used for placement configuration. instanceSchedulePolicy Resource policy for scheduling instance operations. name The name of the resource, provided by the client when initially creating project The ID of the project in which the resource belongs. region Region where resource policy resides. snapshotSchedulePolicy Policy for creating snapshots of persistent disks. workloadPolicy Represents the workload policy.

Implementation

const ResourcePolicyArgs({
  this.deletionPolicy,
  this.description,
  this.diskConsistencyGroupPolicy,
  this.groupPlacementPolicy,
  this.instanceSchedulePolicy,
  this.name,
  this.project,
  this.region,
  this.snapshotSchedulePolicy,
  this.workloadPolicy,
});