Documentation ¶
Index ¶
- func ComputeResourcePolicy_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, ...) cdktf.ImportableResource
- func ComputeResourcePolicy_IsConstruct(x interface{}) *bool
- func ComputeResourcePolicy_IsTerraformElement(x interface{}) *bool
- func ComputeResourcePolicy_IsTerraformResource(x interface{}) *bool
- func ComputeResourcePolicy_TfResourceType() *string
- func NewComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference_Override(c ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference, ...)
- func NewComputeResourcePolicyGroupPlacementPolicyOutputReference_Override(c ComputeResourcePolicyGroupPlacementPolicyOutputReference, ...)
- func NewComputeResourcePolicyInstanceSchedulePolicyOutputReference_Override(c ComputeResourcePolicyInstanceSchedulePolicyOutputReference, ...)
- func NewComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference_Override(c ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference, ...)
- func NewComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference_Override(c ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference, ...)
- func NewComputeResourcePolicySnapshotSchedulePolicyOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyOutputReference, ...)
- func NewComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference, ...)
- func NewComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference_Override(...)
- func NewComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference_Override(...)
- func NewComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference, ...)
- func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList_Override(...)
- func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference_Override(...)
- func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference_Override(...)
- func NewComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference, ...)
- func NewComputeResourcePolicyTimeoutsOutputReference_Override(c ComputeResourcePolicyTimeoutsOutputReference, ...)
- func NewComputeResourcePolicy_Override(c ComputeResourcePolicy, scope constructs.Construct, id *string, ...)
- type ComputeResourcePolicy
- type ComputeResourcePolicyConfig
- type ComputeResourcePolicyDiskConsistencyGroupPolicy
- type ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference
- type ComputeResourcePolicyGroupPlacementPolicy
- type ComputeResourcePolicyGroupPlacementPolicyOutputReference
- type ComputeResourcePolicyInstanceSchedulePolicy
- type ComputeResourcePolicyInstanceSchedulePolicyOutputReference
- type ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule
- type ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference
- type ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule
- type ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicy
- type ComputeResourcePolicySnapshotSchedulePolicyOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
- type ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicySchedule
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference
- type ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties
- type ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference
- type ComputeResourcePolicyTimeouts
- type ComputeResourcePolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeResourcePolicy_GenerateConfigForImport ¶
func ComputeResourcePolicy_GenerateConfigForImport(scope constructs.Construct, importToId *string, importFromId *string, provider cdktf.TerraformProvider) cdktf.ImportableResource
Generates CDKTF code for importing a ComputeResourcePolicy resource upon running "cdktf plan <stack-name>".
func ComputeResourcePolicy_IsConstruct ¶
func ComputeResourcePolicy_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func ComputeResourcePolicy_IsTerraformElement ¶
func ComputeResourcePolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func ComputeResourcePolicy_IsTerraformResource ¶
func ComputeResourcePolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func ComputeResourcePolicy_TfResourceType ¶
func ComputeResourcePolicy_TfResourceType() *string
func NewComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference_Override ¶
func NewComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference_Override(c ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicyGroupPlacementPolicyOutputReference_Override ¶
func NewComputeResourcePolicyGroupPlacementPolicyOutputReference_Override(c ComputeResourcePolicyGroupPlacementPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicyInstanceSchedulePolicyOutputReference_Override ¶
func NewComputeResourcePolicyInstanceSchedulePolicyOutputReference_Override(c ComputeResourcePolicyInstanceSchedulePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference_Override ¶
func NewComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference_Override(c ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference_Override ¶
func NewComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference_Override(c ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicySnapshotSchedulePolicyOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList_Override(c ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference_Override ¶
func NewComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference_Override(c ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicyTimeoutsOutputReference_Override ¶
func NewComputeResourcePolicyTimeoutsOutputReference_Override(c ComputeResourcePolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewComputeResourcePolicy_Override ¶
func NewComputeResourcePolicy_Override(c ComputeResourcePolicy, scope constructs.Construct, id *string, config *ComputeResourcePolicyConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy google_compute_resource_policy} Resource.
Types ¶
type ComputeResourcePolicy ¶
type ComputeResourcePolicy interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() interface{} // Experimental. SetCount(val interface{}) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Description() *string SetDescription(val *string) DescriptionInput() *string DiskConsistencyGroupPolicy() ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference DiskConsistencyGroupPolicyInput() *ComputeResourcePolicyDiskConsistencyGroupPolicy // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GroupPlacementPolicy() ComputeResourcePolicyGroupPlacementPolicyOutputReference GroupPlacementPolicyInput() *ComputeResourcePolicyGroupPlacementPolicy Id() *string SetId(val *string) IdInput() *string InstanceSchedulePolicy() ComputeResourcePolicyInstanceSchedulePolicyOutputReference InstanceSchedulePolicyInput() *ComputeResourcePolicyInstanceSchedulePolicy // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Project() *string SetProject(val *string) ProjectInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string SelfLink() *string SnapshotSchedulePolicy() ComputeResourcePolicySnapshotSchedulePolicyOutputReference SnapshotSchedulePolicyInput() *ComputeResourcePolicySnapshotSchedulePolicy // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() ComputeResourcePolicyTimeoutsOutputReference TimeoutsInput() interface{} // Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move. // Experimental. AddMoveTarget(moveTarget *string) // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. HasResourceMove() interface{} // Experimental. ImportFrom(id *string, provider cdktf.TerraformProvider) // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Move the resource corresponding to "id" to this resource. // // Note that the resource being moved from must be marked as moved using it's instance function. // Experimental. MoveFromId(id *string) // Moves this resource to the target resource given by moveTarget. // Experimental. MoveTo(moveTarget *string, index interface{}) // Moves this resource to the resource corresponding to "id". // Experimental. MoveToId(id *string) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutDiskConsistencyGroupPolicy(value *ComputeResourcePolicyDiskConsistencyGroupPolicy) PutGroupPlacementPolicy(value *ComputeResourcePolicyGroupPlacementPolicy) PutInstanceSchedulePolicy(value *ComputeResourcePolicyInstanceSchedulePolicy) PutSnapshotSchedulePolicy(value *ComputeResourcePolicySnapshotSchedulePolicy) PutTimeouts(value *ComputeResourcePolicyTimeouts) ResetDescription() ResetDiskConsistencyGroupPolicy() ResetGroupPlacementPolicy() ResetId() ResetInstanceSchedulePolicy() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetProject() ResetRegion() ResetSnapshotSchedulePolicy() ResetTimeouts() SynthesizeAttributes() *map[string]interface{} SynthesizeHclAttributes() *map[string]interface{} // Experimental. ToHclTerraform() interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy google_compute_resource_policy}.
func NewComputeResourcePolicy ¶
func NewComputeResourcePolicy(scope constructs.Construct, id *string, config *ComputeResourcePolicyConfig) ComputeResourcePolicy
Create a new {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy google_compute_resource_policy} Resource.
type ComputeResourcePolicyConfig ¶
type ComputeResourcePolicyConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count interface{} `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // The name of the resource, provided by the client when initially creating the resource. // // The resource name must be 1-63 characters long, and comply // with RFC1035. Specifically, the name must be 1-63 characters long and // match the regular expression '[a-z]([-a-z0-9]*[a-z0-9])'? which means the // first character must be a lowercase letter, and all following characters // must be a dash, lowercase letter, or digit, except the last character, // which cannot be a dash. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#name ComputeResourcePolicy#name} Name *string `field:"required" json:"name" yaml:"name"` // An optional description of this resource. Provide this property when you create the resource. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#description ComputeResourcePolicy#description} Description *string `field:"optional" json:"description" yaml:"description"` // disk_consistency_group_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#disk_consistency_group_policy ComputeResourcePolicy#disk_consistency_group_policy} DiskConsistencyGroupPolicy *ComputeResourcePolicyDiskConsistencyGroupPolicy `field:"optional" json:"diskConsistencyGroupPolicy" yaml:"diskConsistencyGroupPolicy"` // group_placement_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#group_placement_policy ComputeResourcePolicy#group_placement_policy} GroupPlacementPolicy *ComputeResourcePolicyGroupPlacementPolicy `field:"optional" json:"groupPlacementPolicy" yaml:"groupPlacementPolicy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#id ComputeResourcePolicy#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // instance_schedule_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#instance_schedule_policy ComputeResourcePolicy#instance_schedule_policy} InstanceSchedulePolicy *ComputeResourcePolicyInstanceSchedulePolicy `field:"optional" json:"instanceSchedulePolicy" yaml:"instanceSchedulePolicy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#project ComputeResourcePolicy#project}. Project *string `field:"optional" json:"project" yaml:"project"` // Region where resource policy resides. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#region ComputeResourcePolicy#region} Region *string `field:"optional" json:"region" yaml:"region"` // snapshot_schedule_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#snapshot_schedule_policy ComputeResourcePolicy#snapshot_schedule_policy} SnapshotSchedulePolicy *ComputeResourcePolicySnapshotSchedulePolicy `field:"optional" json:"snapshotSchedulePolicy" yaml:"snapshotSchedulePolicy"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#timeouts ComputeResourcePolicy#timeouts} Timeouts *ComputeResourcePolicyTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type ComputeResourcePolicyDiskConsistencyGroupPolicy ¶
type ComputeResourcePolicyDiskConsistencyGroupPolicy struct { // Enable disk consistency on the resource policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#enabled ComputeResourcePolicy#enabled} Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` }
type ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference ¶
type ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicyDiskConsistencyGroupPolicy SetInternalValue(val *ComputeResourcePolicyDiskConsistencyGroupPolicy) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference ¶
func NewComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference
type ComputeResourcePolicyGroupPlacementPolicy ¶
type ComputeResourcePolicyGroupPlacementPolicy struct { // The number of availability domains instances will be spread across. // // If two instances are in different // availability domain, they will not be put in the same low latency network // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#availability_domain_count ComputeResourcePolicy#availability_domain_count} AvailabilityDomainCount *float64 `field:"optional" json:"availabilityDomainCount" yaml:"availabilityDomainCount"` // Collocation specifies whether to place VMs inside the same availability domain on the same low-latency network. // // Specify 'COLLOCATED' to enable collocation. Can only be specified with 'vm_count'. If compute instances are created // with a COLLOCATED policy, then exactly 'vm_count' instances must be created at the same time with the resource policy // attached. Possible values: ["COLLOCATED"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#collocation ComputeResourcePolicy#collocation} Collocation *string `field:"optional" json:"collocation" yaml:"collocation"` // Number of VMs in this placement group. // // Google does not recommend that you use this field // unless you use a compact policy and you want your policy to work only if it contains this // exact number of VMs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#vm_count ComputeResourcePolicy#vm_count} VmCount *float64 `field:"optional" json:"vmCount" yaml:"vmCount"` }
type ComputeResourcePolicyGroupPlacementPolicyOutputReference ¶
type ComputeResourcePolicyGroupPlacementPolicyOutputReference interface { cdktf.ComplexObject AvailabilityDomainCount() *float64 SetAvailabilityDomainCount(val *float64) AvailabilityDomainCountInput() *float64 Collocation() *string SetCollocation(val *string) CollocationInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicyGroupPlacementPolicy SetInternalValue(val *ComputeResourcePolicyGroupPlacementPolicy) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) VmCount() *float64 SetVmCount(val *float64) VmCountInput() *float64 // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetAvailabilityDomainCount() ResetCollocation() ResetVmCount() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicyGroupPlacementPolicyOutputReference ¶
func NewComputeResourcePolicyGroupPlacementPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicyGroupPlacementPolicyOutputReference
type ComputeResourcePolicyInstanceSchedulePolicy ¶
type ComputeResourcePolicyInstanceSchedulePolicy struct { // Specifies the time zone to be used in interpreting the schedule. // // The value of this field must be a time zone name // from the tz database: http://en.wikipedia.org/wiki/Tz_database. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#time_zone ComputeResourcePolicy#time_zone} TimeZone *string `field:"required" json:"timeZone" yaml:"timeZone"` // The expiration time of the schedule. The timestamp is an RFC3339 string. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#expiration_time ComputeResourcePolicy#expiration_time} ExpirationTime *string `field:"optional" json:"expirationTime" yaml:"expirationTime"` // The start time of the schedule. The timestamp is an RFC3339 string. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#start_time ComputeResourcePolicy#start_time} StartTime *string `field:"optional" json:"startTime" yaml:"startTime"` // vm_start_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#vm_start_schedule ComputeResourcePolicy#vm_start_schedule} VmStartSchedule *ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule `field:"optional" json:"vmStartSchedule" yaml:"vmStartSchedule"` // vm_stop_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#vm_stop_schedule ComputeResourcePolicy#vm_stop_schedule} VmStopSchedule *ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule `field:"optional" json:"vmStopSchedule" yaml:"vmStopSchedule"` }
type ComputeResourcePolicyInstanceSchedulePolicyOutputReference ¶
type ComputeResourcePolicyInstanceSchedulePolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string ExpirationTime() *string SetExpirationTime(val *string) ExpirationTimeInput() *string // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicyInstanceSchedulePolicy SetInternalValue(val *ComputeResourcePolicyInstanceSchedulePolicy) StartTime() *string SetStartTime(val *string) StartTimeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TimeZone() *string SetTimeZone(val *string) TimeZoneInput() *string VmStartSchedule() ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference VmStartScheduleInput() *ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule VmStopSchedule() ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference VmStopScheduleInput() *ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutVmStartSchedule(value *ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule) PutVmStopSchedule(value *ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule) ResetExpirationTime() ResetStartTime() ResetVmStartSchedule() ResetVmStopSchedule() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicyInstanceSchedulePolicyOutputReference ¶
func NewComputeResourcePolicyInstanceSchedulePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicyInstanceSchedulePolicyOutputReference
type ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule ¶
type ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule struct { // Specifies the frequency for the operation, using the unix-cron format. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#schedule ComputeResourcePolicy#schedule} Schedule *string `field:"required" json:"schedule" yaml:"schedule"` }
type ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference ¶
type ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule SetInternalValue(val *ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule) Schedule() *string SetSchedule(val *string) ScheduleInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference ¶
func NewComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference
type ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule ¶
type ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule struct { // Specifies the frequency for the operation, using the unix-cron format. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#schedule ComputeResourcePolicy#schedule} Schedule *string `field:"required" json:"schedule" yaml:"schedule"` }
type ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference ¶
type ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule SetInternalValue(val *ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule) Schedule() *string SetSchedule(val *string) ScheduleInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference ¶
func NewComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference
type ComputeResourcePolicySnapshotSchedulePolicy ¶
type ComputeResourcePolicySnapshotSchedulePolicy struct { // schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#schedule ComputeResourcePolicy#schedule} Schedule *ComputeResourcePolicySnapshotSchedulePolicySchedule `field:"required" json:"schedule" yaml:"schedule"` // retention_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#retention_policy ComputeResourcePolicy#retention_policy} RetentionPolicy *ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy `field:"optional" json:"retentionPolicy" yaml:"retentionPolicy"` // snapshot_properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#snapshot_properties ComputeResourcePolicy#snapshot_properties} SnapshotProperties *ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties `field:"optional" json:"snapshotProperties" yaml:"snapshotProperties"` }
type ComputeResourcePolicySnapshotSchedulePolicyOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicySnapshotSchedulePolicy SetInternalValue(val *ComputeResourcePolicySnapshotSchedulePolicy) RetentionPolicy() ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference RetentionPolicyInput() *ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy Schedule() ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference ScheduleInput() *ComputeResourcePolicySnapshotSchedulePolicySchedule SnapshotProperties() ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference SnapshotPropertiesInput() *ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutRetentionPolicy(value *ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy) PutSchedule(value *ComputeResourcePolicySnapshotSchedulePolicySchedule) PutSnapshotProperties(value *ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties) ResetRetentionPolicy() ResetSnapshotProperties() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicySnapshotSchedulePolicyOutputReference
type ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy ¶
type ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy struct { // Maximum age of the snapshot that is allowed to be kept. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#max_retention_days ComputeResourcePolicy#max_retention_days} MaxRetentionDays *float64 `field:"required" json:"maxRetentionDays" yaml:"maxRetentionDays"` // Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. // // Default value: "KEEP_AUTO_SNAPSHOTS" Possible values: ["KEEP_AUTO_SNAPSHOTS", "APPLY_RETENTION_POLICY"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#on_source_disk_delete ComputeResourcePolicy#on_source_disk_delete} OnSourceDiskDelete *string `field:"optional" json:"onSourceDiskDelete" yaml:"onSourceDiskDelete"` }
type ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy SetInternalValue(val *ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy) MaxRetentionDays() *float64 SetMaxRetentionDays(val *float64) MaxRetentionDaysInput() *float64 OnSourceDiskDelete() *string SetOnSourceDiskDelete(val *string) OnSourceDiskDeleteInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetOnSourceDiskDelete() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference
type ComputeResourcePolicySnapshotSchedulePolicySchedule ¶
type ComputeResourcePolicySnapshotSchedulePolicySchedule struct { // daily_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#daily_schedule ComputeResourcePolicy#daily_schedule} DailySchedule *ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule `field:"optional" json:"dailySchedule" yaml:"dailySchedule"` // hourly_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#hourly_schedule ComputeResourcePolicy#hourly_schedule} HourlySchedule *ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule `field:"optional" json:"hourlySchedule" yaml:"hourlySchedule"` // weekly_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#weekly_schedule ComputeResourcePolicy#weekly_schedule} WeeklySchedule *ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule `field:"optional" json:"weeklySchedule" yaml:"weeklySchedule"` }
type ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule struct { // Defines a schedule with units measured in days. // // The value determines how many days pass between the start of each cycle. Days in cycle for snapshot schedule policy must be 1. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#days_in_cycle ComputeResourcePolicy#days_in_cycle} DaysInCycle *float64 `field:"required" json:"daysInCycle" yaml:"daysInCycle"` // This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. // // For example, // both 13:00-5 and 08:00 are valid. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#start_time ComputeResourcePolicy#start_time} StartTime *string `field:"required" json:"startTime" yaml:"startTime"` }
type ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DaysInCycle() *float64 SetDaysInCycle(val *float64) DaysInCycleInput() *float64 // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule SetInternalValue(val *ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule) StartTime() *string SetStartTime(val *string) StartTimeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference
type ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule struct { // The number of hours between snapshots. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#hours_in_cycle ComputeResourcePolicy#hours_in_cycle} HoursInCycle *float64 `field:"required" json:"hoursInCycle" yaml:"hoursInCycle"` // Time within the window to start the operations. // // It must be in an hourly format "HH:MM", // where HH : [00-23] and MM : [00] GMT. eg: 21:00 // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#start_time ComputeResourcePolicy#start_time} StartTime *string `field:"required" json:"startTime" yaml:"startTime"` }
type ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string HoursInCycle() *float64 SetHoursInCycle(val *float64) HoursInCycleInput() *float64 InternalValue() *ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule SetInternalValue(val *ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule) StartTime() *string SetStartTime(val *string) StartTimeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference
type ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DailySchedule() ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference DailyScheduleInput() *ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule // Experimental. Fqn() *string HourlySchedule() ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference HourlyScheduleInput() *ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule InternalValue() *ComputeResourcePolicySnapshotSchedulePolicySchedule SetInternalValue(val *ComputeResourcePolicySnapshotSchedulePolicySchedule) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) WeeklySchedule() ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference WeeklyScheduleInput() *ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutDailySchedule(value *ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule) PutHourlySchedule(value *ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule) PutWeeklySchedule(value *ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule) ResetDailySchedule() ResetHourlySchedule() ResetWeeklySchedule() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule struct { // day_of_weeks block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#day_of_weeks ComputeResourcePolicy#day_of_weeks} DayOfWeeks interface{} `field:"required" json:"dayOfWeeks" yaml:"dayOfWeeks"` }
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks struct { // The day of the week to create the snapshot. // // e.g. MONDAY Possible values: ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"] // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#day ComputeResourcePolicy#day} Day *string `field:"required" json:"day" yaml:"day"` // Time within the window to start the operations. // // It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#start_time ComputeResourcePolicy#start_time} StartTime *string `field:"required" json:"startTime" yaml:"startTime"` }
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Creating an iterator for this complex list. // // The list will be converted into a map with the mapKeyAttributeName as the key. // Experimental. AllWithMapKey(mapKeyAttributeName *string) cdktf.DynamicListTerraformIterator // Experimental. ComputeFqn() *string Get(index *float64) ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Day() *string SetDay(val *string) DayInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) StartTime() *string SetStartTime(val *string) StartTimeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DayOfWeeks() ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList DayOfWeeksInput() interface{} // Experimental. Fqn() *string InternalValue() *ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule SetInternalValue(val *ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutDayOfWeeks(value interface{}) // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference
type ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties ¶
type ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties struct { // Creates the new snapshot in the snapshot chain labeled with the specified name. // // The chain name must be 1-63 characters long and comply // with RFC1035. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#chain_name ComputeResourcePolicy#chain_name} ChainName *string `field:"optional" json:"chainName" yaml:"chainName"` // Whether to perform a 'guest aware' snapshot. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#guest_flush ComputeResourcePolicy#guest_flush} GuestFlush interface{} `field:"optional" json:"guestFlush" yaml:"guestFlush"` // A set of key-value pairs. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#labels ComputeResourcePolicy#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Cloud Storage bucket location to store the auto snapshot (regional or multi-regional). // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#storage_locations ComputeResourcePolicy#storage_locations} StorageLocations *[]*string `field:"optional" json:"storageLocations" yaml:"storageLocations"` }
type ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference ¶
type ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference interface { cdktf.ComplexObject ChainName() *string SetChainName(val *string) ChainNameInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GuestFlush() interface{} SetGuestFlush(val interface{}) GuestFlushInput() interface{} InternalValue() *ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties SetInternalValue(val *ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties) Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string StorageLocations() *[]*string SetStorageLocations(val *[]*string) StorageLocationsInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetChainName() ResetGuestFlush() ResetLabels() ResetStorageLocations() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference ¶
func NewComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference
type ComputeResourcePolicyTimeouts ¶
type ComputeResourcePolicyTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#create ComputeResourcePolicy#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#delete ComputeResourcePolicy#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_resource_policy#update ComputeResourcePolicy#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type ComputeResourcePolicyTimeoutsOutputReference ¶
type ComputeResourcePolicyTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delete() *string SetDelete(val *string) DeleteInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Update() *string SetUpdate(val *string) UpdateInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() ResetDelete() ResetUpdate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewComputeResourcePolicyTimeoutsOutputReference ¶
func NewComputeResourcePolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ComputeResourcePolicyTimeoutsOutputReference
Source Files ¶
- ComputeResourcePolicy.go
- ComputeResourcePolicyConfig.go
- ComputeResourcePolicyDiskConsistencyGroupPolicy.go
- ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference.go
- ComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference__checks.go
- ComputeResourcePolicyGroupPlacementPolicy.go
- ComputeResourcePolicyGroupPlacementPolicyOutputReference.go
- ComputeResourcePolicyGroupPlacementPolicyOutputReference__checks.go
- ComputeResourcePolicyInstanceSchedulePolicy.go
- ComputeResourcePolicyInstanceSchedulePolicyOutputReference.go
- ComputeResourcePolicyInstanceSchedulePolicyOutputReference__checks.go
- ComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.go
- ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference.go
- ComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference__checks.go
- ComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule.go
- ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference.go
- ComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicy.go
- ComputeResourcePolicySnapshotSchedulePolicyOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicyOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.go
- ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicySchedule.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList__checks.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference__checks.go
- ComputeResourcePolicySnapshotSchedulePolicySnapshotProperties.go
- ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference.go
- ComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference__checks.go
- ComputeResourcePolicyTimeouts.go
- ComputeResourcePolicyTimeoutsOutputReference.go
- ComputeResourcePolicyTimeoutsOutputReference__checks.go
- ComputeResourcePolicy__checks.go
- main.go