Documentation ¶
Index ¶
- func GoogleComputeResourcePolicy_IsConstruct(x interface{}) *bool
- func GoogleComputeResourcePolicy_IsTerraformElement(x interface{}) *bool
- func GoogleComputeResourcePolicy_IsTerraformResource(x interface{}) *bool
- func GoogleComputeResourcePolicy_TfResourceType() *string
- func NewGoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference_Override(g GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference, ...)
- func NewGoogleComputeResourcePolicyGroupPlacementPolicyOutputReference_Override(g GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference, ...)
- func NewGoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference_Override(g GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference, ...)
- func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference_Override(...)
- func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference_Override(...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference, ...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference_Override(...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference_Override(...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference_Override(...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference, ...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList_Override(...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference_Override(...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference_Override(...)
- func NewGoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference_Override(...)
- func NewGoogleComputeResourcePolicyTimeoutsOutputReference_Override(g GoogleComputeResourcePolicyTimeoutsOutputReference, ...)
- func NewGoogleComputeResourcePolicy_Override(g GoogleComputeResourcePolicy, scope constructs.Construct, id *string, ...)
- type GoogleComputeResourcePolicy
- type GoogleComputeResourcePolicyConfig
- type GoogleComputeResourcePolicyDiskConsistencyGroupPolicy
- type GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference
- type GoogleComputeResourcePolicyGroupPlacementPolicy
- type GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference
- type GoogleComputeResourcePolicyInstanceSchedulePolicy
- type GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference
- type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule
- type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference
- type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule
- type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicy
- type GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy
- type GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicySchedule
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference
- type GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties
- type GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference
- type GoogleComputeResourcePolicyTimeouts
- type GoogleComputeResourcePolicyTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoogleComputeResourcePolicy_IsConstruct ¶
func GoogleComputeResourcePolicy_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 GoogleComputeResourcePolicy_IsTerraformElement ¶
func GoogleComputeResourcePolicy_IsTerraformElement(x interface{}) *bool
Experimental.
func GoogleComputeResourcePolicy_IsTerraformResource ¶
func GoogleComputeResourcePolicy_IsTerraformResource(x interface{}) *bool
Experimental.
func GoogleComputeResourcePolicy_TfResourceType ¶
func GoogleComputeResourcePolicy_TfResourceType() *string
func NewGoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference_Override ¶
func NewGoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference_Override(g GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicyGroupPlacementPolicyOutputReference_Override ¶
func NewGoogleComputeResourcePolicyGroupPlacementPolicyOutputReference_Override(g GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference_Override ¶
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference_Override(g GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference_Override ¶
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference_Override(g GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference_Override ¶
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference_Override(g GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference_Override ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference_Override(g GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicyTimeoutsOutputReference_Override ¶
func NewGoogleComputeResourcePolicyTimeoutsOutputReference_Override(g GoogleComputeResourcePolicyTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewGoogleComputeResourcePolicy_Override ¶
func NewGoogleComputeResourcePolicy_Override(g GoogleComputeResourcePolicy, scope constructs.Construct, id *string, config *GoogleComputeResourcePolicyConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy google_compute_resource_policy} Resource.
Types ¶
type GoogleComputeResourcePolicy ¶
type GoogleComputeResourcePolicy 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() GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference DiskConsistencyGroupPolicyInput() *GoogleComputeResourcePolicyDiskConsistencyGroupPolicy // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GroupPlacementPolicy() GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference GroupPlacementPolicyInput() *GoogleComputeResourcePolicyGroupPlacementPolicy Id() *string SetId(val *string) IdInput() *string InstanceSchedulePolicy() GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference InstanceSchedulePolicyInput() *GoogleComputeResourcePolicyInstanceSchedulePolicy // 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() GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference SnapshotSchedulePolicyInput() *GoogleComputeResourcePolicySnapshotSchedulePolicy // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() GoogleComputeResourcePolicyTimeoutsOutputReference TimeoutsInput() interface{} // 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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutDiskConsistencyGroupPolicy(value *GoogleComputeResourcePolicyDiskConsistencyGroupPolicy) PutGroupPlacementPolicy(value *GoogleComputeResourcePolicyGroupPlacementPolicy) PutInstanceSchedulePolicy(value *GoogleComputeResourcePolicyInstanceSchedulePolicy) PutSnapshotSchedulePolicy(value *GoogleComputeResourcePolicySnapshotSchedulePolicy) PutTimeouts(value *GoogleComputeResourcePolicyTimeouts) 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{} // 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-beta/4.82.0/docs/resources/google_compute_resource_policy google_compute_resource_policy}.
func NewGoogleComputeResourcePolicy ¶
func NewGoogleComputeResourcePolicy(scope constructs.Construct, id *string, config *GoogleComputeResourcePolicyConfig) GoogleComputeResourcePolicy
Create a new {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy google_compute_resource_policy} Resource.
type GoogleComputeResourcePolicyConfig ¶
type GoogleComputeResourcePolicyConfig 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-beta/4.82.0/docs/resources/google_compute_resource_policy#name GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#description GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#disk_consistency_group_policy GoogleComputeResourcePolicy#disk_consistency_group_policy} DiskConsistencyGroupPolicy *GoogleComputeResourcePolicyDiskConsistencyGroupPolicy `field:"optional" json:"diskConsistencyGroupPolicy" yaml:"diskConsistencyGroupPolicy"` // group_placement_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#group_placement_policy GoogleComputeResourcePolicy#group_placement_policy} GroupPlacementPolicy *GoogleComputeResourcePolicyGroupPlacementPolicy `field:"optional" json:"groupPlacementPolicy" yaml:"groupPlacementPolicy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#id GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#instance_schedule_policy GoogleComputeResourcePolicy#instance_schedule_policy} InstanceSchedulePolicy *GoogleComputeResourcePolicyInstanceSchedulePolicy `field:"optional" json:"instanceSchedulePolicy" yaml:"instanceSchedulePolicy"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#project GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#region GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#snapshot_schedule_policy GoogleComputeResourcePolicy#snapshot_schedule_policy} SnapshotSchedulePolicy *GoogleComputeResourcePolicySnapshotSchedulePolicy `field:"optional" json:"snapshotSchedulePolicy" yaml:"snapshotSchedulePolicy"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#timeouts GoogleComputeResourcePolicy#timeouts} Timeouts *GoogleComputeResourcePolicyTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` }
type GoogleComputeResourcePolicyDiskConsistencyGroupPolicy ¶
type GoogleComputeResourcePolicyDiskConsistencyGroupPolicy struct { // Enable disk consistency on the resource policy. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#enabled GoogleComputeResourcePolicy#enabled} Enabled interface{} `field:"required" json:"enabled" yaml:"enabled"` }
type GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference ¶
type GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference 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() *GoogleComputeResourcePolicyDiskConsistencyGroupPolicy SetInternalValue(val *GoogleComputeResourcePolicyDiskConsistencyGroupPolicy) // 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 NewGoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference ¶
func NewGoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference
type GoogleComputeResourcePolicyGroupPlacementPolicy ¶
type GoogleComputeResourcePolicyGroupPlacementPolicy 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-beta/4.82.0/docs/resources/google_compute_resource_policy#availability_domain_count GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#collocation GoogleComputeResourcePolicy#collocation} Collocation *string `field:"optional" json:"collocation" yaml:"collocation"` // Specifies the number of max logical switches. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#max_distance GoogleComputeResourcePolicy#max_distance} MaxDistance *float64 `field:"optional" json:"maxDistance" yaml:"maxDistance"` // 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-beta/4.82.0/docs/resources/google_compute_resource_policy#vm_count GoogleComputeResourcePolicy#vm_count} VmCount *float64 `field:"optional" json:"vmCount" yaml:"vmCount"` }
type GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference ¶
type GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference 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() *GoogleComputeResourcePolicyGroupPlacementPolicy SetInternalValue(val *GoogleComputeResourcePolicyGroupPlacementPolicy) MaxDistance() *float64 SetMaxDistance(val *float64) MaxDistanceInput() *float64 // 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() ResetMaxDistance() 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 NewGoogleComputeResourcePolicyGroupPlacementPolicyOutputReference ¶
func NewGoogleComputeResourcePolicyGroupPlacementPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference
type GoogleComputeResourcePolicyInstanceSchedulePolicy ¶
type GoogleComputeResourcePolicyInstanceSchedulePolicy 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-beta/4.82.0/docs/resources/google_compute_resource_policy#time_zone GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#expiration_time GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#start_time GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#vm_start_schedule GoogleComputeResourcePolicy#vm_start_schedule} VmStartSchedule *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule `field:"optional" json:"vmStartSchedule" yaml:"vmStartSchedule"` // vm_stop_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#vm_stop_schedule GoogleComputeResourcePolicy#vm_stop_schedule} VmStopSchedule *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule `field:"optional" json:"vmStopSchedule" yaml:"vmStopSchedule"` }
type GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference ¶
type GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference 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() *GoogleComputeResourcePolicyInstanceSchedulePolicy SetInternalValue(val *GoogleComputeResourcePolicyInstanceSchedulePolicy) 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() GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference VmStartScheduleInput() *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule VmStopSchedule() GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference VmStopScheduleInput() *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule // 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 *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule) PutVmStopSchedule(value *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule) 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 NewGoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference ¶
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule ¶
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule struct { // Specifies the frequency for the operation, using the unix-cron format. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#schedule GoogleComputeResourcePolicy#schedule} Schedule *string `field:"required" json:"schedule" yaml:"schedule"` }
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference ¶
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference 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() *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule SetInternalValue(val *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule) 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 NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference ¶
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule ¶
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule struct { // Specifies the frequency for the operation, using the unix-cron format. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#schedule GoogleComputeResourcePolicy#schedule} Schedule *string `field:"required" json:"schedule" yaml:"schedule"` }
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference ¶
type GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference 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() *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule SetInternalValue(val *GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule) 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 NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference ¶
func NewGoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicy ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicy struct { // schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#schedule GoogleComputeResourcePolicy#schedule} Schedule *GoogleComputeResourcePolicySnapshotSchedulePolicySchedule `field:"required" json:"schedule" yaml:"schedule"` // retention_policy block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#retention_policy GoogleComputeResourcePolicy#retention_policy} RetentionPolicy *GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy `field:"optional" json:"retentionPolicy" yaml:"retentionPolicy"` // snapshot_properties block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#snapshot_properties GoogleComputeResourcePolicy#snapshot_properties} SnapshotProperties *GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties `field:"optional" json:"snapshotProperties" yaml:"snapshotProperties"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference 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() *GoogleComputeResourcePolicySnapshotSchedulePolicy SetInternalValue(val *GoogleComputeResourcePolicySnapshotSchedulePolicy) RetentionPolicy() GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference RetentionPolicyInput() *GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy Schedule() GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference ScheduleInput() *GoogleComputeResourcePolicySnapshotSchedulePolicySchedule SnapshotProperties() GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference SnapshotPropertiesInput() *GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties // 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 *GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy) PutSchedule(value *GoogleComputeResourcePolicySnapshotSchedulePolicySchedule) PutSnapshotProperties(value *GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties) 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy struct { // Maximum age of the snapshot that is allowed to be kept. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#max_retention_days GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#on_source_disk_delete GoogleComputeResourcePolicy#on_source_disk_delete} OnSourceDiskDelete *string `field:"optional" json:"onSourceDiskDelete" yaml:"onSourceDiskDelete"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference 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() *GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy SetInternalValue(val *GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy) 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicySchedule ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicySchedule struct { // daily_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#daily_schedule GoogleComputeResourcePolicy#daily_schedule} DailySchedule *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule `field:"optional" json:"dailySchedule" yaml:"dailySchedule"` // hourly_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#hourly_schedule GoogleComputeResourcePolicy#hourly_schedule} HourlySchedule *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule `field:"optional" json:"hourlySchedule" yaml:"hourlySchedule"` // weekly_schedule block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#weekly_schedule GoogleComputeResourcePolicy#weekly_schedule} WeeklySchedule *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule `field:"optional" json:"weeklySchedule" yaml:"weeklySchedule"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule 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-beta/4.82.0/docs/resources/google_compute_resource_policy#days_in_cycle GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#start_time GoogleComputeResourcePolicy#start_time} StartTime *string `field:"required" json:"startTime" yaml:"startTime"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference 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() *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule SetInternalValue(val *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule) 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule struct { // The number of hours between snapshots. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#hours_in_cycle GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#start_time GoogleComputeResourcePolicy#start_time} StartTime *string `field:"required" json:"startTime" yaml:"startTime"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference 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() *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule SetInternalValue(val *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule) 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference 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() GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference DailyScheduleInput() *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule // Experimental. Fqn() *string HourlySchedule() GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference HourlyScheduleInput() *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule InternalValue() *GoogleComputeResourcePolicySnapshotSchedulePolicySchedule SetInternalValue(val *GoogleComputeResourcePolicySnapshotSchedulePolicySchedule) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) WeeklySchedule() GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference WeeklyScheduleInput() *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule // 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 *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule) PutHourlySchedule(value *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule) PutWeeklySchedule(value *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule) 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule struct { // day_of_weeks block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#day_of_weeks GoogleComputeResourcePolicy#day_of_weeks} DayOfWeeks interface{} `field:"required" json:"dayOfWeeks" yaml:"dayOfWeeks"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks 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-beta/4.82.0/docs/resources/google_compute_resource_policy#day GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#start_time GoogleComputeResourcePolicy#start_time} StartTime *string `field:"required" json:"startTime" yaml:"startTime"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList 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) // Experimental. ComputeFqn() *string Get(index *float64) GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference // 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference 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() GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList DayOfWeeksInput() interface{} // Experimental. Fqn() *string InternalValue() *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule SetInternalValue(val *GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule) // 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference
type GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties 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-beta/4.82.0/docs/resources/google_compute_resource_policy#chain_name GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#guest_flush GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#labels GoogleComputeResourcePolicy#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-beta/4.82.0/docs/resources/google_compute_resource_policy#storage_locations GoogleComputeResourcePolicy#storage_locations} StorageLocations *[]*string `field:"optional" json:"storageLocations" yaml:"storageLocations"` }
type GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference ¶
type GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference 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() *GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties SetInternalValue(val *GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties) 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 NewGoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference ¶
func NewGoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference
type GoogleComputeResourcePolicyTimeouts ¶
type GoogleComputeResourcePolicyTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#create GoogleComputeResourcePolicy#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google-beta/4.82.0/docs/resources/google_compute_resource_policy#delete GoogleComputeResourcePolicy#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` }
type GoogleComputeResourcePolicyTimeoutsOutputReference ¶
type GoogleComputeResourcePolicyTimeoutsOutputReference 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) // 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() // 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 NewGoogleComputeResourcePolicyTimeoutsOutputReference ¶
func NewGoogleComputeResourcePolicyTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) GoogleComputeResourcePolicyTimeoutsOutputReference
Source Files ¶
- GoogleComputeResourcePolicy.go
- GoogleComputeResourcePolicyConfig.go
- GoogleComputeResourcePolicyDiskConsistencyGroupPolicy.go
- GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference.go
- GoogleComputeResourcePolicyDiskConsistencyGroupPolicyOutputReference__checks.go
- GoogleComputeResourcePolicyGroupPlacementPolicy.go
- GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference.go
- GoogleComputeResourcePolicyGroupPlacementPolicyOutputReference__checks.go
- GoogleComputeResourcePolicyInstanceSchedulePolicy.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyOutputReference__checks.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartSchedule.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyVmStartScheduleOutputReference__checks.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopSchedule.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference.go
- GoogleComputeResourcePolicyInstanceSchedulePolicyVmStopScheduleOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicy.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicy.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyRetentionPolicyOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicySchedule.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailySchedule.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleDailyScheduleOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlySchedule.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleHourlyScheduleOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklySchedule.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksList__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleDayOfWeeksOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicyScheduleWeeklyScheduleOutputReference__checks.go
- GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotProperties.go
- GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference.go
- GoogleComputeResourcePolicySnapshotSchedulePolicySnapshotPropertiesOutputReference__checks.go
- GoogleComputeResourcePolicyTimeouts.go
- GoogleComputeResourcePolicyTimeoutsOutputReference.go
- GoogleComputeResourcePolicyTimeoutsOutputReference__checks.go
- GoogleComputeResourcePolicy__checks.go
- main.go