ResourcePolicyState constructor
- Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
ResourcePolicyDiskConsistencyGroupPolicy?> ? diskConsistencyGroupPolicy, - Input<
ResourcePolicyGroupPlacementPolicy?> ? groupPlacementPolicy, - Input<
ResourcePolicyInstanceSchedulePolicy?> ? instanceSchedulePolicy, - Input<
String?> ? name, - Input<
String?> ? project, - Input<
String?> ? region, - Input<
String?> ? selfLink, - Input<
ResourcePolicySnapshotSchedulePolicy?> ? snapshotSchedulePolicy, - Input<
ResourcePolicyWorkloadPolicy?> ? workloadPolicy,
Creates a new ResourcePolicyState.
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.
selfLink The URI of the created resource.
snapshotSchedulePolicy Policy for creating snapshots of persistent disks.
workloadPolicy Represents the workload policy.
Implementation
const ResourcePolicyState({
this.deletionPolicy,
this.description,
this.diskConsistencyGroupPolicy,
this.groupPlacementPolicy,
this.instanceSchedulePolicy,
this.name,
this.project,
this.region,
this.selfLink,
this.snapshotSchedulePolicy,
this.workloadPolicy,
});