Documentation ¶
Index ¶
- type Args
- type DataArgs
- type DataEncryptionSettingsAttributes
- func (es DataEncryptionSettingsAttributes) DiskEncryptionKey() terra.ListValue[DataEncryptionSettingsDiskEncryptionKeyAttributes]
- func (es DataEncryptionSettingsAttributes) Enabled() terra.BoolValue
- func (es DataEncryptionSettingsAttributes) InternalRef() (terra.Reference, error)
- func (es DataEncryptionSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (es DataEncryptionSettingsAttributes) InternalWithRef(ref terra.Reference) DataEncryptionSettingsAttributes
- func (es DataEncryptionSettingsAttributes) KeyEncryptionKey() terra.ListValue[DataEncryptionSettingsKeyEncryptionKeyAttributes]
- type DataEncryptionSettingsDiskEncryptionKeyAttributes
- func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataEncryptionSettingsDiskEncryptionKeyAttributes
- func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) SecretUrl() terra.StringValue
- func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) SourceVaultId() terra.StringValue
- type DataEncryptionSettingsDiskEncryptionKeyState
- type DataEncryptionSettingsKeyEncryptionKeyAttributes
- func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataEncryptionSettingsKeyEncryptionKeyAttributes
- func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) KeyUrl() terra.StringValue
- func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) SourceVaultId() terra.StringValue
- type DataEncryptionSettingsKeyEncryptionKeyState
- type DataEncryptionSettingsState
- type DataSource
- type DataTimeouts
- type DataTimeoutsAttributes
- type DataTimeoutsState
- type EncryptionSettings
- type EncryptionSettingsAttributes
- func (es EncryptionSettingsAttributes) DiskEncryptionKey() terra.ListValue[EncryptionSettingsDiskEncryptionKeyAttributes]
- func (es EncryptionSettingsAttributes) Enabled() terra.BoolValue
- func (es EncryptionSettingsAttributes) InternalRef() (terra.Reference, error)
- func (es EncryptionSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (es EncryptionSettingsAttributes) InternalWithRef(ref terra.Reference) EncryptionSettingsAttributes
- func (es EncryptionSettingsAttributes) KeyEncryptionKey() terra.ListValue[EncryptionSettingsKeyEncryptionKeyAttributes]
- type EncryptionSettingsDiskEncryptionKey
- type EncryptionSettingsDiskEncryptionKeyAttributes
- func (dek EncryptionSettingsDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (dek EncryptionSettingsDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dek EncryptionSettingsDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) EncryptionSettingsDiskEncryptionKeyAttributes
- func (dek EncryptionSettingsDiskEncryptionKeyAttributes) SecretUrl() terra.StringValue
- func (dek EncryptionSettingsDiskEncryptionKeyAttributes) SourceVaultId() terra.StringValue
- type EncryptionSettingsDiskEncryptionKeyState
- type EncryptionSettingsKeyEncryptionKey
- type EncryptionSettingsKeyEncryptionKeyAttributes
- func (kek EncryptionSettingsKeyEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
- func (kek EncryptionSettingsKeyEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (kek EncryptionSettingsKeyEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) EncryptionSettingsKeyEncryptionKeyAttributes
- func (kek EncryptionSettingsKeyEncryptionKeyAttributes) KeyUrl() terra.StringValue
- func (kek EncryptionSettingsKeyEncryptionKeyAttributes) SourceVaultId() terra.StringValue
- type EncryptionSettingsKeyEncryptionKeyState
- type EncryptionSettingsState
- type Resource
- func (amd *Resource) Attributes() azurermManagedDiskAttributes
- func (amd *Resource) Configuration() interface{}
- func (amd *Resource) DependOn() terra.Reference
- func (amd *Resource) Dependencies() terra.Dependencies
- func (amd *Resource) ImportState(state io.Reader) error
- func (amd *Resource) LifecycleManagement() *terra.Lifecycle
- func (amd *Resource) LocalName() string
- func (amd *Resource) State() (*azurermManagedDiskState, bool)
- func (amd *Resource) StateMust() *azurermManagedDiskState
- func (amd *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Read() terra.StringValue
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // CreateOption: string, required CreateOption terra.StringValue `hcl:"create_option,attr" validate:"required"` // DiskAccessId: string, optional DiskAccessId terra.StringValue `hcl:"disk_access_id,attr"` // DiskEncryptionSetId: string, optional DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"` // DiskIopsReadOnly: number, optional DiskIopsReadOnly terra.NumberValue `hcl:"disk_iops_read_only,attr"` // DiskIopsReadWrite: number, optional DiskIopsReadWrite terra.NumberValue `hcl:"disk_iops_read_write,attr"` // DiskMbpsReadOnly: number, optional DiskMbpsReadOnly terra.NumberValue `hcl:"disk_mbps_read_only,attr"` // DiskMbpsReadWrite: number, optional DiskMbpsReadWrite terra.NumberValue `hcl:"disk_mbps_read_write,attr"` // DiskSizeGb: number, optional DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"` // EdgeZone: string, optional EdgeZone terra.StringValue `hcl:"edge_zone,attr"` // GalleryImageReferenceId: string, optional GalleryImageReferenceId terra.StringValue `hcl:"gallery_image_reference_id,attr"` // HyperVGeneration: string, optional HyperVGeneration terra.StringValue `hcl:"hyper_v_generation,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // ImageReferenceId: string, optional ImageReferenceId terra.StringValue `hcl:"image_reference_id,attr"` // Location: string, required Location terra.StringValue `hcl:"location,attr" validate:"required"` // LogicalSectorSize: number, optional LogicalSectorSize terra.NumberValue `hcl:"logical_sector_size,attr"` MaxShares terra.NumberValue `hcl:"max_shares,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NetworkAccessPolicy: string, optional NetworkAccessPolicy terra.StringValue `hcl:"network_access_policy,attr"` // OnDemandBurstingEnabled: bool, optional OnDemandBurstingEnabled terra.BoolValue `hcl:"on_demand_bursting_enabled,attr"` // OptimizedFrequentAttachEnabled: bool, optional OptimizedFrequentAttachEnabled terra.BoolValue `hcl:"optimized_frequent_attach_enabled,attr"` // OsType: string, optional OsType terra.StringValue `hcl:"os_type,attr"` // PerformancePlusEnabled: bool, optional PerformancePlusEnabled terra.BoolValue `hcl:"performance_plus_enabled,attr"` // PublicNetworkAccessEnabled: bool, optional PublicNetworkAccessEnabled terra.BoolValue `hcl:"public_network_access_enabled,attr"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // SecureVmDiskEncryptionSetId: string, optional SecureVmDiskEncryptionSetId terra.StringValue `hcl:"secure_vm_disk_encryption_set_id,attr"` // SecurityType: string, optional SecurityType terra.StringValue `hcl:"security_type,attr"` // SourceResourceId: string, optional SourceResourceId terra.StringValue `hcl:"source_resource_id,attr"` // SourceUri: string, optional SourceUri terra.StringValue `hcl:"source_uri,attr"` // StorageAccountId: string, optional StorageAccountId terra.StringValue `hcl:"storage_account_id,attr"` // StorageAccountType: string, required StorageAccountType terra.StringValue `hcl:"storage_account_type,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Tier: string, optional Tier terra.StringValue `hcl:"tier,attr"` // TrustedLaunchEnabled: bool, optional TrustedLaunchEnabled terra.BoolValue `hcl:"trusted_launch_enabled,attr"` // UploadSizeBytes: number, optional UploadSizeBytes terra.NumberValue `hcl:"upload_size_bytes,attr"` // Zone: string, optional Zone terra.StringValue `hcl:"zone,attr"` // EncryptionSettings: optional EncryptionSettings *EncryptionSettings `hcl:"encryption_settings,block"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for azurerm_managed_disk.
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ResourceGroupName: string, required ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"` // Timeouts: optional Timeouts *DataTimeouts `hcl:"timeouts,block"` }
DataArgs contains the configurations for azurerm_managed_disk.
type DataEncryptionSettingsAttributes ¶
type DataEncryptionSettingsAttributes struct {
// contains filtered or unexported fields
}
func (DataEncryptionSettingsAttributes) DiskEncryptionKey ¶
func (es DataEncryptionSettingsAttributes) DiskEncryptionKey() terra.ListValue[DataEncryptionSettingsDiskEncryptionKeyAttributes]
func (DataEncryptionSettingsAttributes) Enabled ¶
func (es DataEncryptionSettingsAttributes) Enabled() terra.BoolValue
func (DataEncryptionSettingsAttributes) InternalRef ¶
func (es DataEncryptionSettingsAttributes) InternalRef() (terra.Reference, error)
func (DataEncryptionSettingsAttributes) InternalTokens ¶
func (es DataEncryptionSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEncryptionSettingsAttributes) InternalWithRef ¶
func (es DataEncryptionSettingsAttributes) InternalWithRef(ref terra.Reference) DataEncryptionSettingsAttributes
func (DataEncryptionSettingsAttributes) KeyEncryptionKey ¶
func (es DataEncryptionSettingsAttributes) KeyEncryptionKey() terra.ListValue[DataEncryptionSettingsKeyEncryptionKeyAttributes]
type DataEncryptionSettingsDiskEncryptionKeyAttributes ¶
type DataEncryptionSettingsDiskEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalRef ¶
func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalTokens ¶
func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalWithRef ¶
func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataEncryptionSettingsDiskEncryptionKeyAttributes
func (DataEncryptionSettingsDiskEncryptionKeyAttributes) SecretUrl ¶
func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) SecretUrl() terra.StringValue
func (DataEncryptionSettingsDiskEncryptionKeyAttributes) SourceVaultId ¶
func (dek DataEncryptionSettingsDiskEncryptionKeyAttributes) SourceVaultId() terra.StringValue
type DataEncryptionSettingsKeyEncryptionKeyAttributes ¶
type DataEncryptionSettingsKeyEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalRef ¶
func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalTokens ¶
func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalWithRef ¶
func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) DataEncryptionSettingsKeyEncryptionKeyAttributes
func (DataEncryptionSettingsKeyEncryptionKeyAttributes) KeyUrl ¶
func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) KeyUrl() terra.StringValue
func (DataEncryptionSettingsKeyEncryptionKeyAttributes) SourceVaultId ¶
func (kek DataEncryptionSettingsKeyEncryptionKeyAttributes) SourceVaultId() terra.StringValue
type DataEncryptionSettingsState ¶
type DataEncryptionSettingsState struct { Enabled bool `json:"enabled"` DiskEncryptionKey []DataEncryptionSettingsDiskEncryptionKeyState `json:"disk_encryption_key"` KeyEncryptionKey []DataEncryptionSettingsKeyEncryptionKeyState `json:"key_encryption_key"` }
type DataSource ¶
DataSource represents the Terraform data resource azurerm_managed_disk.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (amd *DataSource) Attributes() dataAzurermManagedDiskAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (amd *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (amd *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (amd *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataTimeouts ¶
type DataTimeouts struct { // Read: string, optional Read terra.StringValue `hcl:"read,attr"` }
type DataTimeoutsAttributes ¶
type DataTimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (DataTimeoutsAttributes) InternalRef ¶
func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error)
func (DataTimeoutsAttributes) InternalTokens ¶
func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataTimeoutsAttributes) InternalWithRef ¶
func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes
func (DataTimeoutsAttributes) Read ¶
func (t DataTimeoutsAttributes) Read() terra.StringValue
type DataTimeoutsState ¶
type DataTimeoutsState struct {
Read string `json:"read"`
}
type EncryptionSettings ¶
type EncryptionSettings struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // EncryptionSettingsDiskEncryptionKey: optional DiskEncryptionKey *EncryptionSettingsDiskEncryptionKey `hcl:"disk_encryption_key,block"` // EncryptionSettingsKeyEncryptionKey: optional KeyEncryptionKey *EncryptionSettingsKeyEncryptionKey `hcl:"key_encryption_key,block"` }
type EncryptionSettingsAttributes ¶
type EncryptionSettingsAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionSettingsAttributes) DiskEncryptionKey ¶
func (es EncryptionSettingsAttributes) DiskEncryptionKey() terra.ListValue[EncryptionSettingsDiskEncryptionKeyAttributes]
func (EncryptionSettingsAttributes) Enabled ¶
func (es EncryptionSettingsAttributes) Enabled() terra.BoolValue
func (EncryptionSettingsAttributes) InternalRef ¶
func (es EncryptionSettingsAttributes) InternalRef() (terra.Reference, error)
func (EncryptionSettingsAttributes) InternalTokens ¶
func (es EncryptionSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionSettingsAttributes) InternalWithRef ¶
func (es EncryptionSettingsAttributes) InternalWithRef(ref terra.Reference) EncryptionSettingsAttributes
func (EncryptionSettingsAttributes) KeyEncryptionKey ¶
func (es EncryptionSettingsAttributes) KeyEncryptionKey() terra.ListValue[EncryptionSettingsKeyEncryptionKeyAttributes]
type EncryptionSettingsDiskEncryptionKey ¶
type EncryptionSettingsDiskEncryptionKey struct { // SecretUrl: string, required SecretUrl terra.StringValue `hcl:"secret_url,attr" validate:"required"` // SourceVaultId: string, required SourceVaultId terra.StringValue `hcl:"source_vault_id,attr" validate:"required"` }
type EncryptionSettingsDiskEncryptionKeyAttributes ¶
type EncryptionSettingsDiskEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionSettingsDiskEncryptionKeyAttributes) InternalRef ¶
func (dek EncryptionSettingsDiskEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (EncryptionSettingsDiskEncryptionKeyAttributes) InternalTokens ¶
func (dek EncryptionSettingsDiskEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionSettingsDiskEncryptionKeyAttributes) InternalWithRef ¶
func (dek EncryptionSettingsDiskEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) EncryptionSettingsDiskEncryptionKeyAttributes
func (EncryptionSettingsDiskEncryptionKeyAttributes) SecretUrl ¶
func (dek EncryptionSettingsDiskEncryptionKeyAttributes) SecretUrl() terra.StringValue
func (EncryptionSettingsDiskEncryptionKeyAttributes) SourceVaultId ¶
func (dek EncryptionSettingsDiskEncryptionKeyAttributes) SourceVaultId() terra.StringValue
type EncryptionSettingsKeyEncryptionKey ¶
type EncryptionSettingsKeyEncryptionKey struct { // KeyUrl: string, required KeyUrl terra.StringValue `hcl:"key_url,attr" validate:"required"` // SourceVaultId: string, required SourceVaultId terra.StringValue `hcl:"source_vault_id,attr" validate:"required"` }
type EncryptionSettingsKeyEncryptionKeyAttributes ¶
type EncryptionSettingsKeyEncryptionKeyAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionSettingsKeyEncryptionKeyAttributes) InternalRef ¶
func (kek EncryptionSettingsKeyEncryptionKeyAttributes) InternalRef() (terra.Reference, error)
func (EncryptionSettingsKeyEncryptionKeyAttributes) InternalTokens ¶
func (kek EncryptionSettingsKeyEncryptionKeyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionSettingsKeyEncryptionKeyAttributes) InternalWithRef ¶
func (kek EncryptionSettingsKeyEncryptionKeyAttributes) InternalWithRef(ref terra.Reference) EncryptionSettingsKeyEncryptionKeyAttributes
func (EncryptionSettingsKeyEncryptionKeyAttributes) KeyUrl ¶
func (kek EncryptionSettingsKeyEncryptionKeyAttributes) KeyUrl() terra.StringValue
func (EncryptionSettingsKeyEncryptionKeyAttributes) SourceVaultId ¶
func (kek EncryptionSettingsKeyEncryptionKeyAttributes) SourceVaultId() terra.StringValue
type EncryptionSettingsState ¶
type EncryptionSettingsState struct { Enabled bool `json:"enabled"` DiskEncryptionKey []EncryptionSettingsDiskEncryptionKeyState `json:"disk_encryption_key"` KeyEncryptionKey []EncryptionSettingsKeyEncryptionKeyState `json:"key_encryption_key"` }
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource azurerm_managed_disk.
func (*Resource) Attributes ¶
func (amd *Resource) Attributes() azurermManagedDiskAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (amd *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (amd *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Read: string, optional Read terra.StringValue `hcl:"read,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Read ¶
func (t TimeoutsAttributes) Read() terra.StringValue
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue