Documentation ¶
Index ¶
- func BackupPolicyVm_IsConstruct(x interface{}) *bool
- func BackupPolicyVm_IsTerraformElement(x interface{}) *bool
- func BackupPolicyVm_IsTerraformResource(x interface{}) *bool
- func BackupPolicyVm_TfResourceType() *string
- func NewBackupPolicyVmBackupOutputReference_Override(b BackupPolicyVmBackupOutputReference, ...)
- func NewBackupPolicyVmInstantRestoreResourceGroupOutputReference_Override(b BackupPolicyVmInstantRestoreResourceGroupOutputReference, ...)
- func NewBackupPolicyVmRetentionDailyOutputReference_Override(b BackupPolicyVmRetentionDailyOutputReference, ...)
- func NewBackupPolicyVmRetentionMonthlyOutputReference_Override(b BackupPolicyVmRetentionMonthlyOutputReference, ...)
- func NewBackupPolicyVmRetentionWeeklyOutputReference_Override(b BackupPolicyVmRetentionWeeklyOutputReference, ...)
- func NewBackupPolicyVmRetentionYearlyOutputReference_Override(b BackupPolicyVmRetentionYearlyOutputReference, ...)
- func NewBackupPolicyVmTimeoutsOutputReference_Override(b BackupPolicyVmTimeoutsOutputReference, ...)
- func NewBackupPolicyVm_Override(b BackupPolicyVm, scope constructs.Construct, id *string, ...)
- type BackupPolicyVm
- type BackupPolicyVmBackup
- type BackupPolicyVmBackupOutputReference
- type BackupPolicyVmConfig
- type BackupPolicyVmInstantRestoreResourceGroup
- type BackupPolicyVmInstantRestoreResourceGroupOutputReference
- type BackupPolicyVmRetentionDaily
- type BackupPolicyVmRetentionDailyOutputReference
- type BackupPolicyVmRetentionMonthly
- type BackupPolicyVmRetentionMonthlyOutputReference
- type BackupPolicyVmRetentionWeekly
- type BackupPolicyVmRetentionWeeklyOutputReference
- type BackupPolicyVmRetentionYearly
- type BackupPolicyVmRetentionYearlyOutputReference
- type BackupPolicyVmTimeouts
- type BackupPolicyVmTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupPolicyVm_IsConstruct ¶
func BackupPolicyVm_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 BackupPolicyVm_IsTerraformElement ¶
func BackupPolicyVm_IsTerraformElement(x interface{}) *bool
Experimental.
func BackupPolicyVm_IsTerraformResource ¶
func BackupPolicyVm_IsTerraformResource(x interface{}) *bool
Experimental.
func BackupPolicyVm_TfResourceType ¶
func BackupPolicyVm_TfResourceType() *string
func NewBackupPolicyVmBackupOutputReference_Override ¶
func NewBackupPolicyVmBackupOutputReference_Override(b BackupPolicyVmBackupOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBackupPolicyVmInstantRestoreResourceGroupOutputReference_Override ¶
func NewBackupPolicyVmInstantRestoreResourceGroupOutputReference_Override(b BackupPolicyVmInstantRestoreResourceGroupOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBackupPolicyVmRetentionDailyOutputReference_Override ¶
func NewBackupPolicyVmRetentionDailyOutputReference_Override(b BackupPolicyVmRetentionDailyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBackupPolicyVmRetentionMonthlyOutputReference_Override ¶
func NewBackupPolicyVmRetentionMonthlyOutputReference_Override(b BackupPolicyVmRetentionMonthlyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBackupPolicyVmRetentionWeeklyOutputReference_Override ¶
func NewBackupPolicyVmRetentionWeeklyOutputReference_Override(b BackupPolicyVmRetentionWeeklyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBackupPolicyVmRetentionYearlyOutputReference_Override ¶
func NewBackupPolicyVmRetentionYearlyOutputReference_Override(b BackupPolicyVmRetentionYearlyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBackupPolicyVmTimeoutsOutputReference_Override ¶
func NewBackupPolicyVmTimeoutsOutputReference_Override(b BackupPolicyVmTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewBackupPolicyVm_Override ¶
func NewBackupPolicyVm_Override(b BackupPolicyVm, scope constructs.Construct, id *string, config *BackupPolicyVmConfig)
Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm azurerm_backup_policy_vm} Resource.
Types ¶
type BackupPolicyVm ¶
type BackupPolicyVm interface { cdktf.TerraformResource Backup() BackupPolicyVmBackupOutputReference BackupInput() *BackupPolicyVmBackup // 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) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string InstantRestoreResourceGroup() BackupPolicyVmInstantRestoreResourceGroupOutputReference InstantRestoreResourceGroupInput() *BackupPolicyVmInstantRestoreResourceGroup InstantRestoreRetentionDays() *float64 SetInstantRestoreRetentionDays(val *float64) InstantRestoreRetentionDaysInput() *float64 // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node PolicyType() *string SetPolicyType(val *string) PolicyTypeInput() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} RecoveryVaultName() *string SetRecoveryVaultName(val *string) RecoveryVaultNameInput() *string ResourceGroupName() *string SetResourceGroupName(val *string) ResourceGroupNameInput() *string RetentionDaily() BackupPolicyVmRetentionDailyOutputReference RetentionDailyInput() *BackupPolicyVmRetentionDaily RetentionMonthly() BackupPolicyVmRetentionMonthlyOutputReference RetentionMonthlyInput() *BackupPolicyVmRetentionMonthly RetentionWeekly() BackupPolicyVmRetentionWeeklyOutputReference RetentionWeeklyInput() *BackupPolicyVmRetentionWeekly RetentionYearly() BackupPolicyVmRetentionYearlyOutputReference RetentionYearlyInput() *BackupPolicyVmRetentionYearly // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() BackupPolicyVmTimeoutsOutputReference TimeoutsInput() interface{} Timezone() *string SetTimezone(val *string) TimezoneInput() *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. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutBackup(value *BackupPolicyVmBackup) PutInstantRestoreResourceGroup(value *BackupPolicyVmInstantRestoreResourceGroup) PutRetentionDaily(value *BackupPolicyVmRetentionDaily) PutRetentionMonthly(value *BackupPolicyVmRetentionMonthly) PutRetentionWeekly(value *BackupPolicyVmRetentionWeekly) PutRetentionYearly(value *BackupPolicyVmRetentionYearly) PutTimeouts(value *BackupPolicyVmTimeouts) ResetId() ResetInstantRestoreResourceGroup() ResetInstantRestoreRetentionDays() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPolicyType() ResetRetentionDaily() ResetRetentionMonthly() ResetRetentionWeekly() ResetRetentionYearly() ResetTimeouts() ResetTimezone() 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/azurerm/3.53.0/docs/resources/backup_policy_vm azurerm_backup_policy_vm}.
func NewBackupPolicyVm ¶
func NewBackupPolicyVm(scope constructs.Construct, id *string, config *BackupPolicyVmConfig) BackupPolicyVm
Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm azurerm_backup_policy_vm} Resource.
type BackupPolicyVmBackup ¶
type BackupPolicyVmBackup struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#frequency BackupPolicyVm#frequency}. Frequency *string `field:"required" json:"frequency" yaml:"frequency"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#time BackupPolicyVm#time}. Time *string `field:"required" json:"time" yaml:"time"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#hour_duration BackupPolicyVm#hour_duration}. HourDuration *float64 `field:"optional" json:"hourDuration" yaml:"hourDuration"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#hour_interval BackupPolicyVm#hour_interval}. HourInterval *float64 `field:"optional" json:"hourInterval" yaml:"hourInterval"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#weekdays BackupPolicyVm#weekdays}. Weekdays *[]*string `field:"optional" json:"weekdays" yaml:"weekdays"` }
type BackupPolicyVmBackupOutputReference ¶
type BackupPolicyVmBackupOutputReference 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 Frequency() *string SetFrequency(val *string) FrequencyInput() *string HourDuration() *float64 SetHourDuration(val *float64) HourDurationInput() *float64 HourInterval() *float64 SetHourInterval(val *float64) HourIntervalInput() *float64 InternalValue() *BackupPolicyVmBackup SetInternalValue(val *BackupPolicyVmBackup) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Time() *string SetTime(val *string) TimeInput() *string Weekdays() *[]*string SetWeekdays(val *[]*string) WeekdaysInput() *[]*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 ResetHourDuration() ResetHourInterval() ResetWeekdays() // 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 NewBackupPolicyVmBackupOutputReference ¶
func NewBackupPolicyVmBackupOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BackupPolicyVmBackupOutputReference
type BackupPolicyVmConfig ¶
type BackupPolicyVmConfig 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"` // backup block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#backup BackupPolicyVm#backup} Backup *BackupPolicyVmBackup `field:"required" json:"backup" yaml:"backup"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#name BackupPolicyVm#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#recovery_vault_name BackupPolicyVm#recovery_vault_name}. RecoveryVaultName *string `field:"required" json:"recoveryVaultName" yaml:"recoveryVaultName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#resource_group_name BackupPolicyVm#resource_group_name}. ResourceGroupName *string `field:"required" json:"resourceGroupName" yaml:"resourceGroupName"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#id BackupPolicyVm#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"` // instant_restore_resource_group block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#instant_restore_resource_group BackupPolicyVm#instant_restore_resource_group} InstantRestoreResourceGroup *BackupPolicyVmInstantRestoreResourceGroup `field:"optional" json:"instantRestoreResourceGroup" yaml:"instantRestoreResourceGroup"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#instant_restore_retention_days BackupPolicyVm#instant_restore_retention_days}. InstantRestoreRetentionDays *float64 `field:"optional" json:"instantRestoreRetentionDays" yaml:"instantRestoreRetentionDays"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#policy_type BackupPolicyVm#policy_type}. PolicyType *string `field:"optional" json:"policyType" yaml:"policyType"` // retention_daily block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#retention_daily BackupPolicyVm#retention_daily} RetentionDaily *BackupPolicyVmRetentionDaily `field:"optional" json:"retentionDaily" yaml:"retentionDaily"` // retention_monthly block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#retention_monthly BackupPolicyVm#retention_monthly} RetentionMonthly *BackupPolicyVmRetentionMonthly `field:"optional" json:"retentionMonthly" yaml:"retentionMonthly"` // retention_weekly block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#retention_weekly BackupPolicyVm#retention_weekly} RetentionWeekly *BackupPolicyVmRetentionWeekly `field:"optional" json:"retentionWeekly" yaml:"retentionWeekly"` // retention_yearly block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#retention_yearly BackupPolicyVm#retention_yearly} RetentionYearly *BackupPolicyVmRetentionYearly `field:"optional" json:"retentionYearly" yaml:"retentionYearly"` // timeouts block. // // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#timeouts BackupPolicyVm#timeouts} Timeouts *BackupPolicyVmTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#timezone BackupPolicyVm#timezone}. Timezone *string `field:"optional" json:"timezone" yaml:"timezone"` }
type BackupPolicyVmInstantRestoreResourceGroup ¶
type BackupPolicyVmInstantRestoreResourceGroup struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#prefix BackupPolicyVm#prefix}. Prefix *string `field:"required" json:"prefix" yaml:"prefix"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#suffix BackupPolicyVm#suffix}. Suffix *string `field:"optional" json:"suffix" yaml:"suffix"` }
type BackupPolicyVmInstantRestoreResourceGroupOutputReference ¶
type BackupPolicyVmInstantRestoreResourceGroupOutputReference 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() *BackupPolicyVmInstantRestoreResourceGroup SetInternalValue(val *BackupPolicyVmInstantRestoreResourceGroup) Prefix() *string SetPrefix(val *string) PrefixInput() *string Suffix() *string SetSuffix(val *string) SuffixInput() *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 ResetSuffix() // 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 NewBackupPolicyVmInstantRestoreResourceGroupOutputReference ¶
func NewBackupPolicyVmInstantRestoreResourceGroupOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BackupPolicyVmInstantRestoreResourceGroupOutputReference
type BackupPolicyVmRetentionDaily ¶
type BackupPolicyVmRetentionDaily struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#count BackupPolicyVm#count}. Count *float64 `field:"required" json:"count" yaml:"count"` }
type BackupPolicyVmRetentionDailyOutputReference ¶
type BackupPolicyVmRetentionDailyOutputReference 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) Count() *float64 SetCount(val *float64) CountInput() *float64 // 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() *BackupPolicyVmRetentionDaily SetInternalValue(val *BackupPolicyVmRetentionDaily) // 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 NewBackupPolicyVmRetentionDailyOutputReference ¶
func NewBackupPolicyVmRetentionDailyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BackupPolicyVmRetentionDailyOutputReference
type BackupPolicyVmRetentionMonthly ¶
type BackupPolicyVmRetentionMonthly struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#count BackupPolicyVm#count}. Count *float64 `field:"required" json:"count" yaml:"count"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#weekdays BackupPolicyVm#weekdays}. Weekdays *[]*string `field:"required" json:"weekdays" yaml:"weekdays"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#weeks BackupPolicyVm#weeks}. Weeks *[]*string `field:"required" json:"weeks" yaml:"weeks"` }
type BackupPolicyVmRetentionMonthlyOutputReference ¶
type BackupPolicyVmRetentionMonthlyOutputReference 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) Count() *float64 SetCount(val *float64) CountInput() *float64 // 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() *BackupPolicyVmRetentionMonthly SetInternalValue(val *BackupPolicyVmRetentionMonthly) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Weekdays() *[]*string SetWeekdays(val *[]*string) WeekdaysInput() *[]*string Weeks() *[]*string SetWeeks(val *[]*string) WeeksInput() *[]*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 // 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 NewBackupPolicyVmRetentionMonthlyOutputReference ¶
func NewBackupPolicyVmRetentionMonthlyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BackupPolicyVmRetentionMonthlyOutputReference
type BackupPolicyVmRetentionWeekly ¶
type BackupPolicyVmRetentionWeekly struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#count BackupPolicyVm#count}. Count *float64 `field:"required" json:"count" yaml:"count"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#weekdays BackupPolicyVm#weekdays}. Weekdays *[]*string `field:"required" json:"weekdays" yaml:"weekdays"` }
type BackupPolicyVmRetentionWeeklyOutputReference ¶
type BackupPolicyVmRetentionWeeklyOutputReference 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) Count() *float64 SetCount(val *float64) CountInput() *float64 // 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() *BackupPolicyVmRetentionWeekly SetInternalValue(val *BackupPolicyVmRetentionWeekly) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Weekdays() *[]*string SetWeekdays(val *[]*string) WeekdaysInput() *[]*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 // 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 NewBackupPolicyVmRetentionWeeklyOutputReference ¶
func NewBackupPolicyVmRetentionWeeklyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BackupPolicyVmRetentionWeeklyOutputReference
type BackupPolicyVmRetentionYearly ¶
type BackupPolicyVmRetentionYearly struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#count BackupPolicyVm#count}. Count *float64 `field:"required" json:"count" yaml:"count"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#months BackupPolicyVm#months}. Months *[]*string `field:"required" json:"months" yaml:"months"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#weekdays BackupPolicyVm#weekdays}. Weekdays *[]*string `field:"required" json:"weekdays" yaml:"weekdays"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#weeks BackupPolicyVm#weeks}. Weeks *[]*string `field:"required" json:"weeks" yaml:"weeks"` }
type BackupPolicyVmRetentionYearlyOutputReference ¶
type BackupPolicyVmRetentionYearlyOutputReference 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) Count() *float64 SetCount(val *float64) CountInput() *float64 // 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() *BackupPolicyVmRetentionYearly SetInternalValue(val *BackupPolicyVmRetentionYearly) Months() *[]*string SetMonths(val *[]*string) MonthsInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Weekdays() *[]*string SetWeekdays(val *[]*string) WeekdaysInput() *[]*string Weeks() *[]*string SetWeeks(val *[]*string) WeeksInput() *[]*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 // 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 NewBackupPolicyVmRetentionYearlyOutputReference ¶
func NewBackupPolicyVmRetentionYearlyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BackupPolicyVmRetentionYearlyOutputReference
type BackupPolicyVmTimeouts ¶
type BackupPolicyVmTimeouts struct { // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#create BackupPolicyVm#create}. Create *string `field:"optional" json:"create" yaml:"create"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#delete BackupPolicyVm#delete}. Delete *string `field:"optional" json:"delete" yaml:"delete"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#read BackupPolicyVm#read}. Read *string `field:"optional" json:"read" yaml:"read"` // Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.53.0/docs/resources/backup_policy_vm#update BackupPolicyVm#update}. Update *string `field:"optional" json:"update" yaml:"update"` }
type BackupPolicyVmTimeoutsOutputReference ¶
type BackupPolicyVmTimeoutsOutputReference 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{}) Read() *string SetRead(val *string) ReadInput() *string // 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() ResetRead() 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 NewBackupPolicyVmTimeoutsOutputReference ¶
func NewBackupPolicyVmTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) BackupPolicyVmTimeoutsOutputReference
Source Files ¶
- BackupPolicyVm.go
- BackupPolicyVmBackup.go
- BackupPolicyVmBackupOutputReference.go
- BackupPolicyVmBackupOutputReference__checks.go
- BackupPolicyVmConfig.go
- BackupPolicyVmInstantRestoreResourceGroup.go
- BackupPolicyVmInstantRestoreResourceGroupOutputReference.go
- BackupPolicyVmInstantRestoreResourceGroupOutputReference__checks.go
- BackupPolicyVmRetentionDaily.go
- BackupPolicyVmRetentionDailyOutputReference.go
- BackupPolicyVmRetentionDailyOutputReference__checks.go
- BackupPolicyVmRetentionMonthly.go
- BackupPolicyVmRetentionMonthlyOutputReference.go
- BackupPolicyVmRetentionMonthlyOutputReference__checks.go
- BackupPolicyVmRetentionWeekly.go
- BackupPolicyVmRetentionWeeklyOutputReference.go
- BackupPolicyVmRetentionWeeklyOutputReference__checks.go
- BackupPolicyVmRetentionYearly.go
- BackupPolicyVmRetentionYearlyOutputReference.go
- BackupPolicyVmRetentionYearlyOutputReference__checks.go
- BackupPolicyVmTimeouts.go
- BackupPolicyVmTimeoutsOutputReference.go
- BackupPolicyVmTimeoutsOutputReference__checks.go
- BackupPolicyVm__checks.go
- main.go