azurerm_virtual_machine_scale_set

package
v0.0.0-...-4deecce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// AutomaticOsUpgrade: bool, optional
	AutomaticOsUpgrade terra.BoolValue `hcl:"automatic_os_upgrade,attr"`
	// EvictionPolicy: string, optional
	EvictionPolicy terra.StringValue `hcl:"eviction_policy,attr"`
	// HealthProbeId: string, optional
	HealthProbeId terra.StringValue `hcl:"health_probe_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LicenseType: string, optional
	LicenseType terra.StringValue `hcl:"license_type,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Overprovision: bool, optional
	Overprovision terra.BoolValue `hcl:"overprovision,attr"`
	// Priority: string, optional
	Priority terra.StringValue `hcl:"priority,attr"`
	// ProximityPlacementGroupId: string, optional
	ProximityPlacementGroupId terra.StringValue `hcl:"proximity_placement_group_id,attr"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// SinglePlacementGroup: bool, optional
	SinglePlacementGroup terra.BoolValue `hcl:"single_placement_group,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// UpgradePolicyMode: string, required
	UpgradePolicyMode terra.StringValue `hcl:"upgrade_policy_mode,attr" validate:"required"`
	// Zones: list of string, optional
	Zones terra.ListValue[terra.StringValue] `hcl:"zones,attr"`
	// BootDiagnostics: optional
	BootDiagnostics *BootDiagnostics `hcl:"boot_diagnostics,block"`
	// Extension: min=0
	Extension []Extension `hcl:"extension,block" validate:"min=0"`
	// Identity: optional
	Identity *Identity `hcl:"identity,block"`
	// NetworkProfile: min=1
	NetworkProfile []NetworkProfile `hcl:"network_profile,block" validate:"min=1"`
	// OsProfile: required
	OsProfile *OsProfile `hcl:"os_profile,block" validate:"required"`
	// OsProfileLinuxConfig: optional
	OsProfileLinuxConfig *OsProfileLinuxConfig `hcl:"os_profile_linux_config,block"`
	// OsProfileSecrets: min=0
	OsProfileSecrets []OsProfileSecrets `hcl:"os_profile_secrets,block" validate:"min=0"`
	// OsProfileWindowsConfig: optional
	OsProfileWindowsConfig *OsProfileWindowsConfig `hcl:"os_profile_windows_config,block"`
	// Plan: optional
	Plan *Plan `hcl:"plan,block"`
	// RollingUpgradePolicy: optional
	RollingUpgradePolicy *RollingUpgradePolicy `hcl:"rolling_upgrade_policy,block"`
	// Sku: required
	Sku *Sku `hcl:"sku,block" validate:"required"`
	// StorageProfileDataDisk: min=0
	StorageProfileDataDisk []StorageProfileDataDisk `hcl:"storage_profile_data_disk,block" validate:"min=0"`
	// StorageProfileImageReference: optional
	StorageProfileImageReference *StorageProfileImageReference `hcl:"storage_profile_image_reference,block"`
	// StorageProfileOsDisk: required
	StorageProfileOsDisk *StorageProfileOsDisk `hcl:"storage_profile_os_disk,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for azurerm_virtual_machine_scale_set.

type BootDiagnostics

type BootDiagnostics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// StorageUri: string, required
	StorageUri terra.StringValue `hcl:"storage_uri,attr" validate:"required"`
}

type BootDiagnosticsAttributes

type BootDiagnosticsAttributes struct {
	// contains filtered or unexported fields
}

func (BootDiagnosticsAttributes) Enabled

func (BootDiagnosticsAttributes) InternalRef

func (bd BootDiagnosticsAttributes) InternalRef() (terra.Reference, error)

func (BootDiagnosticsAttributes) InternalTokens

func (bd BootDiagnosticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BootDiagnosticsAttributes) InternalWithRef

func (BootDiagnosticsAttributes) StorageUri

type BootDiagnosticsState

type BootDiagnosticsState struct {
	Enabled    bool   `json:"enabled"`
	StorageUri string `json:"storage_uri"`
}

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_virtual_machine_scale_set.

type DataIdentityAttributes

type DataIdentityAttributes struct {
	// contains filtered or unexported fields
}

func (DataIdentityAttributes) IdentityIds

func (DataIdentityAttributes) InternalRef

func (i DataIdentityAttributes) InternalRef() (terra.Reference, error)

func (DataIdentityAttributes) InternalTokens

func (i DataIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataIdentityAttributes) InternalWithRef

func (DataIdentityAttributes) PrincipalId

func (i DataIdentityAttributes) PrincipalId() terra.StringValue

func (DataIdentityAttributes) TenantId

func (DataIdentityAttributes) Type

type DataIdentityState

type DataIdentityState struct {
	IdentityIds []string `json:"identity_ids"`
	PrincipalId string   `json:"principal_id"`
	TenantId    string   `json:"tenant_id"`
	Type        string   `json:"type"`
}

type DataInstancesAttributes

type DataInstancesAttributes struct {
	// contains filtered or unexported fields
}

func (DataInstancesAttributes) ComputerName

func (i DataInstancesAttributes) ComputerName() terra.StringValue

func (DataInstancesAttributes) InstanceId

func (i DataInstancesAttributes) InstanceId() terra.StringValue

func (DataInstancesAttributes) InternalRef

func (i DataInstancesAttributes) InternalRef() (terra.Reference, error)

func (DataInstancesAttributes) InternalTokens

func (i DataInstancesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataInstancesAttributes) InternalWithRef

func (DataInstancesAttributes) LatestModelApplied

func (i DataInstancesAttributes) LatestModelApplied() terra.BoolValue

func (DataInstancesAttributes) Name

func (DataInstancesAttributes) PowerState

func (i DataInstancesAttributes) PowerState() terra.StringValue

func (DataInstancesAttributes) PrivateIpAddress

func (i DataInstancesAttributes) PrivateIpAddress() terra.StringValue

func (DataInstancesAttributes) PrivateIpAddresses

func (i DataInstancesAttributes) PrivateIpAddresses() terra.ListValue[terra.StringValue]

func (DataInstancesAttributes) PublicIpAddress

func (i DataInstancesAttributes) PublicIpAddress() terra.StringValue

func (DataInstancesAttributes) PublicIpAddresses

func (i DataInstancesAttributes) PublicIpAddresses() terra.ListValue[terra.StringValue]

func (DataInstancesAttributes) VirtualMachineId

func (i DataInstancesAttributes) VirtualMachineId() terra.StringValue

func (DataInstancesAttributes) Zone

type DataInstancesState

type DataInstancesState struct {
	ComputerName       string   `json:"computer_name"`
	InstanceId         string   `json:"instance_id"`
	LatestModelApplied bool     `json:"latest_model_applied"`
	Name               string   `json:"name"`
	PowerState         string   `json:"power_state"`
	PrivateIpAddress   string   `json:"private_ip_address"`
	PrivateIpAddresses []string `json:"private_ip_addresses"`
	PublicIpAddress    string   `json:"public_ip_address"`
	PublicIpAddresses  []string `json:"public_ip_addresses"`
	VirtualMachineId   string   `json:"virtual_machine_id"`
	Zone               string   `json:"zone"`
}

type DataNetworkInterfaceAttributes

type DataNetworkInterfaceAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceAttributes) DnsServers

func (DataNetworkInterfaceAttributes) EnableAcceleratedNetworking

func (ni DataNetworkInterfaceAttributes) EnableAcceleratedNetworking() terra.BoolValue

func (DataNetworkInterfaceAttributes) EnableIpForwarding

func (ni DataNetworkInterfaceAttributes) EnableIpForwarding() terra.BoolValue

func (DataNetworkInterfaceAttributes) InternalRef

func (DataNetworkInterfaceAttributes) InternalTokens

func (ni DataNetworkInterfaceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataNetworkInterfaceAttributes) InternalWithRef

func (DataNetworkInterfaceAttributes) IpConfiguration

func (DataNetworkInterfaceAttributes) Name

func (DataNetworkInterfaceAttributes) NetworkSecurityGroupId

func (ni DataNetworkInterfaceAttributes) NetworkSecurityGroupId() terra.StringValue

func (DataNetworkInterfaceAttributes) Primary

type DataNetworkInterfaceIpConfigurationAttributes

type DataNetworkInterfaceIpConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceIpConfigurationAttributes) ApplicationGatewayBackendAddressPoolIds

func (ic DataNetworkInterfaceIpConfigurationAttributes) ApplicationGatewayBackendAddressPoolIds() terra.ListValue[terra.StringValue]

func (DataNetworkInterfaceIpConfigurationAttributes) ApplicationSecurityGroupIds

func (DataNetworkInterfaceIpConfigurationAttributes) InternalRef

func (DataNetworkInterfaceIpConfigurationAttributes) InternalTokens

func (DataNetworkInterfaceIpConfigurationAttributes) InternalWithRef

func (DataNetworkInterfaceIpConfigurationAttributes) LoadBalancerBackendAddressPoolIds

func (ic DataNetworkInterfaceIpConfigurationAttributes) LoadBalancerBackendAddressPoolIds() terra.ListValue[terra.StringValue]

func (DataNetworkInterfaceIpConfigurationAttributes) LoadBalancerInboundNatRulesIds

func (ic DataNetworkInterfaceIpConfigurationAttributes) LoadBalancerInboundNatRulesIds() terra.ListValue[terra.StringValue]

func (DataNetworkInterfaceIpConfigurationAttributes) Name

func (DataNetworkInterfaceIpConfigurationAttributes) Primary

func (DataNetworkInterfaceIpConfigurationAttributes) SubnetId

func (DataNetworkInterfaceIpConfigurationAttributes) Version

type DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes

type DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) DomainNameLabel

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) IdleTimeoutInMinutes

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) InternalRef

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) InternalTokens

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) InternalWithRef

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) Name

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) PublicIpPrefixId

func (DataNetworkInterfaceIpConfigurationPublicIpAddressAttributes) Version

type DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagAttributes

type DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagAttributes struct {
	// contains filtered or unexported fields
}

func (DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagAttributes) InternalRef

func (DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagAttributes) InternalTokens

func (DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagAttributes) InternalWithRef

func (DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagAttributes) Tag

func (DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagAttributes) Type

type DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagState

type DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagState struct {
	Tag  string `json:"tag"`
	Type string `json:"type"`
}

type DataNetworkInterfaceIpConfigurationPublicIpAddressState

type DataNetworkInterfaceIpConfigurationPublicIpAddressState struct {
	DomainNameLabel      string                                                         `json:"domain_name_label"`
	IdleTimeoutInMinutes float64                                                        `json:"idle_timeout_in_minutes"`
	Name                 string                                                         `json:"name"`
	PublicIpPrefixId     string                                                         `json:"public_ip_prefix_id"`
	Version              string                                                         `json:"version"`
	IpTag                []DataNetworkInterfaceIpConfigurationPublicIpAddressIpTagState `json:"ip_tag"`
}

type DataNetworkInterfaceIpConfigurationState

type DataNetworkInterfaceIpConfigurationState struct {
	ApplicationGatewayBackendAddressPoolIds []string                                                  `json:"application_gateway_backend_address_pool_ids"`
	ApplicationSecurityGroupIds             []string                                                  `json:"application_security_group_ids"`
	LoadBalancerBackendAddressPoolIds       []string                                                  `json:"load_balancer_backend_address_pool_ids"`
	LoadBalancerInboundNatRulesIds          []string                                                  `json:"load_balancer_inbound_nat_rules_ids"`
	Name                                    string                                                    `json:"name"`
	Primary                                 bool                                                      `json:"primary"`
	SubnetId                                string                                                    `json:"subnet_id"`
	Version                                 string                                                    `json:"version"`
	PublicIpAddress                         []DataNetworkInterfaceIpConfigurationPublicIpAddressState `json:"public_ip_address"`
}

type DataNetworkInterfaceState

type DataNetworkInterfaceState struct {
	DnsServers                  []string                                   `json:"dns_servers"`
	EnableAcceleratedNetworking bool                                       `json:"enable_accelerated_networking"`
	EnableIpForwarding          bool                                       `json:"enable_ip_forwarding"`
	Name                        string                                     `json:"name"`
	NetworkSecurityGroupId      string                                     `json:"network_security_group_id"`
	Primary                     bool                                       `json:"primary"`
	IpConfiguration             []DataNetworkInterfaceIpConfigurationState `json:"ip_configuration"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource azurerm_virtual_machine_scale_set.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (avmss *DataSource) Attributes() dataAzurermVirtualMachineScaleSetAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (avmss *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (avmss *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (avmss *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 (DataTimeoutsAttributes) Read

type DataTimeoutsState

type DataTimeoutsState struct {
	Read string `json:"read"`
}

type Extension

type Extension struct {
	// AutoUpgradeMinorVersion: bool, optional
	AutoUpgradeMinorVersion terra.BoolValue `hcl:"auto_upgrade_minor_version,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ProtectedSettings: string, optional
	ProtectedSettings terra.StringValue `hcl:"protected_settings,attr"`
	// ProvisionAfterExtensions: set of string, optional
	ProvisionAfterExtensions terra.SetValue[terra.StringValue] `hcl:"provision_after_extensions,attr"`
	// Publisher: string, required
	Publisher terra.StringValue `hcl:"publisher,attr" validate:"required"`
	// Settings: string, optional
	Settings terra.StringValue `hcl:"settings,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// TypeHandlerVersion: string, required
	TypeHandlerVersion terra.StringValue `hcl:"type_handler_version,attr" validate:"required"`
}

type ExtensionAttributes

type ExtensionAttributes struct {
	// contains filtered or unexported fields
}

func (ExtensionAttributes) AutoUpgradeMinorVersion

func (e ExtensionAttributes) AutoUpgradeMinorVersion() terra.BoolValue

func (ExtensionAttributes) InternalRef

func (e ExtensionAttributes) InternalRef() (terra.Reference, error)

func (ExtensionAttributes) InternalTokens

func (e ExtensionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExtensionAttributes) InternalWithRef

func (e ExtensionAttributes) InternalWithRef(ref terra.Reference) ExtensionAttributes

func (ExtensionAttributes) Name

func (ExtensionAttributes) ProtectedSettings

func (e ExtensionAttributes) ProtectedSettings() terra.StringValue

func (ExtensionAttributes) ProvisionAfterExtensions

func (e ExtensionAttributes) ProvisionAfterExtensions() terra.SetValue[terra.StringValue]

func (ExtensionAttributes) Publisher

func (e ExtensionAttributes) Publisher() terra.StringValue

func (ExtensionAttributes) Settings

func (e ExtensionAttributes) Settings() terra.StringValue

func (ExtensionAttributes) Type

func (ExtensionAttributes) TypeHandlerVersion

func (e ExtensionAttributes) TypeHandlerVersion() terra.StringValue

type ExtensionState

type ExtensionState struct {
	AutoUpgradeMinorVersion  bool     `json:"auto_upgrade_minor_version"`
	Name                     string   `json:"name"`
	ProtectedSettings        string   `json:"protected_settings"`
	ProvisionAfterExtensions []string `json:"provision_after_extensions"`
	Publisher                string   `json:"publisher"`
	Settings                 string   `json:"settings"`
	Type                     string   `json:"type"`
	TypeHandlerVersion       string   `json:"type_handler_version"`
}

type Identity

type Identity struct {
	// IdentityIds: list of string, optional
	IdentityIds terra.ListValue[terra.StringValue] `hcl:"identity_ids,attr"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type IdentityAttributes

type IdentityAttributes struct {
	// contains filtered or unexported fields
}

func (IdentityAttributes) IdentityIds

func (IdentityAttributes) InternalRef

func (i IdentityAttributes) InternalRef() (terra.Reference, error)

func (IdentityAttributes) InternalTokens

func (i IdentityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IdentityAttributes) InternalWithRef

func (i IdentityAttributes) InternalWithRef(ref terra.Reference) IdentityAttributes

func (IdentityAttributes) PrincipalId

func (i IdentityAttributes) PrincipalId() terra.StringValue

func (IdentityAttributes) Type

type IdentityState

type IdentityState struct {
	IdentityIds []string `json:"identity_ids"`
	PrincipalId string   `json:"principal_id"`
	Type        string   `json:"type"`
}

type NetworkProfile

type NetworkProfile struct {
	// AcceleratedNetworking: bool, optional
	AcceleratedNetworking terra.BoolValue `hcl:"accelerated_networking,attr"`
	// IpForwarding: bool, optional
	IpForwarding terra.BoolValue `hcl:"ip_forwarding,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// NetworkSecurityGroupId: string, optional
	NetworkSecurityGroupId terra.StringValue `hcl:"network_security_group_id,attr"`
	// Primary: bool, required
	Primary terra.BoolValue `hcl:"primary,attr" validate:"required"`
	// NetworkProfileDnsSettings: optional
	DnsSettings *NetworkProfileDnsSettings `hcl:"dns_settings,block"`
	// NetworkProfileIpConfiguration: min=1
	IpConfiguration []NetworkProfileIpConfiguration `hcl:"ip_configuration,block" validate:"min=1"`
}

type NetworkProfileAttributes

type NetworkProfileAttributes struct {
	// contains filtered or unexported fields
}

func (NetworkProfileAttributes) AcceleratedNetworking

func (np NetworkProfileAttributes) AcceleratedNetworking() terra.BoolValue

func (NetworkProfileAttributes) DnsSettings

func (NetworkProfileAttributes) InternalRef

func (np NetworkProfileAttributes) InternalRef() (terra.Reference, error)

func (NetworkProfileAttributes) InternalTokens

func (np NetworkProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NetworkProfileAttributes) InternalWithRef

func (NetworkProfileAttributes) IpConfiguration

func (NetworkProfileAttributes) IpForwarding

func (np NetworkProfileAttributes) IpForwarding() terra.BoolValue

func (NetworkProfileAttributes) Name

func (NetworkProfileAttributes) NetworkSecurityGroupId

func (np NetworkProfileAttributes) NetworkSecurityGroupId() terra.StringValue

func (NetworkProfileAttributes) Primary

type NetworkProfileDnsSettings

type NetworkProfileDnsSettings struct {
	// DnsServers: list of string, required
	DnsServers terra.ListValue[terra.StringValue] `hcl:"dns_servers,attr" validate:"required"`
}

type NetworkProfileDnsSettingsAttributes

type NetworkProfileDnsSettingsAttributes struct {
	// contains filtered or unexported fields
}

func (NetworkProfileDnsSettingsAttributes) DnsServers

func (NetworkProfileDnsSettingsAttributes) InternalRef

func (NetworkProfileDnsSettingsAttributes) InternalTokens

func (NetworkProfileDnsSettingsAttributes) InternalWithRef

type NetworkProfileDnsSettingsState

type NetworkProfileDnsSettingsState struct {
	DnsServers []string `json:"dns_servers"`
}

type NetworkProfileIpConfiguration

type NetworkProfileIpConfiguration struct {
	// ApplicationGatewayBackendAddressPoolIds: set of string, optional
	ApplicationGatewayBackendAddressPoolIds terra.SetValue[terra.StringValue] `hcl:"application_gateway_backend_address_pool_ids,attr"`
	// ApplicationSecurityGroupIds: set of string, optional
	ApplicationSecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"application_security_group_ids,attr"`
	// LoadBalancerBackendAddressPoolIds: set of string, optional
	LoadBalancerBackendAddressPoolIds terra.SetValue[terra.StringValue] `hcl:"load_balancer_backend_address_pool_ids,attr"`
	// LoadBalancerInboundNatRulesIds: set of string, optional
	LoadBalancerInboundNatRulesIds terra.SetValue[terra.StringValue] `hcl:"load_balancer_inbound_nat_rules_ids,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Primary: bool, required
	Primary terra.BoolValue `hcl:"primary,attr" validate:"required"`
	// SubnetId: string, required
	SubnetId terra.StringValue `hcl:"subnet_id,attr" validate:"required"`
	// NetworkProfileIpConfigurationPublicIpAddressConfiguration: optional
	PublicIpAddressConfiguration *NetworkProfileIpConfigurationPublicIpAddressConfiguration `hcl:"public_ip_address_configuration,block"`
}

type NetworkProfileIpConfigurationAttributes

type NetworkProfileIpConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (NetworkProfileIpConfigurationAttributes) ApplicationGatewayBackendAddressPoolIds

func (ic NetworkProfileIpConfigurationAttributes) ApplicationGatewayBackendAddressPoolIds() terra.SetValue[terra.StringValue]

func (NetworkProfileIpConfigurationAttributes) ApplicationSecurityGroupIds

func (ic NetworkProfileIpConfigurationAttributes) ApplicationSecurityGroupIds() terra.SetValue[terra.StringValue]

func (NetworkProfileIpConfigurationAttributes) InternalRef

func (NetworkProfileIpConfigurationAttributes) InternalTokens

func (NetworkProfileIpConfigurationAttributes) InternalWithRef

func (NetworkProfileIpConfigurationAttributes) LoadBalancerBackendAddressPoolIds

func (ic NetworkProfileIpConfigurationAttributes) LoadBalancerBackendAddressPoolIds() terra.SetValue[terra.StringValue]

func (NetworkProfileIpConfigurationAttributes) LoadBalancerInboundNatRulesIds

func (ic NetworkProfileIpConfigurationAttributes) LoadBalancerInboundNatRulesIds() terra.SetValue[terra.StringValue]

func (NetworkProfileIpConfigurationAttributes) Name

func (NetworkProfileIpConfigurationAttributes) Primary

func (NetworkProfileIpConfigurationAttributes) SubnetId

type NetworkProfileIpConfigurationPublicIpAddressConfiguration

type NetworkProfileIpConfigurationPublicIpAddressConfiguration struct {
	// DomainNameLabel: string, required
	DomainNameLabel terra.StringValue `hcl:"domain_name_label,attr" validate:"required"`
	// IdleTimeout: number, required
	IdleTimeout terra.NumberValue `hcl:"idle_timeout,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes

type NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes struct {
	// contains filtered or unexported fields
}

func (NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes) DomainNameLabel

func (NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes) IdleTimeout

func (NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes) InternalRef

func (NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes) InternalTokens

func (NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes) InternalWithRef

func (NetworkProfileIpConfigurationPublicIpAddressConfigurationAttributes) Name

type NetworkProfileIpConfigurationPublicIpAddressConfigurationState

type NetworkProfileIpConfigurationPublicIpAddressConfigurationState struct {
	DomainNameLabel string  `json:"domain_name_label"`
	IdleTimeout     float64 `json:"idle_timeout"`
	Name            string  `json:"name"`
}

type NetworkProfileIpConfigurationState

type NetworkProfileIpConfigurationState struct {
	ApplicationGatewayBackendAddressPoolIds []string                                                         `json:"application_gateway_backend_address_pool_ids"`
	ApplicationSecurityGroupIds             []string                                                         `json:"application_security_group_ids"`
	LoadBalancerBackendAddressPoolIds       []string                                                         `json:"load_balancer_backend_address_pool_ids"`
	LoadBalancerInboundNatRulesIds          []string                                                         `json:"load_balancer_inbound_nat_rules_ids"`
	Name                                    string                                                           `json:"name"`
	Primary                                 bool                                                             `json:"primary"`
	SubnetId                                string                                                           `json:"subnet_id"`
	PublicIpAddressConfiguration            []NetworkProfileIpConfigurationPublicIpAddressConfigurationState `json:"public_ip_address_configuration"`
}

type NetworkProfileState

type NetworkProfileState struct {
	AcceleratedNetworking  bool                                 `json:"accelerated_networking"`
	IpForwarding           bool                                 `json:"ip_forwarding"`
	Name                   string                               `json:"name"`
	NetworkSecurityGroupId string                               `json:"network_security_group_id"`
	Primary                bool                                 `json:"primary"`
	DnsSettings            []NetworkProfileDnsSettingsState     `json:"dns_settings"`
	IpConfiguration        []NetworkProfileIpConfigurationState `json:"ip_configuration"`
}

type OsProfile

type OsProfile struct {
	// AdminPassword: string, optional
	AdminPassword terra.StringValue `hcl:"admin_password,attr"`
	// AdminUsername: string, required
	AdminUsername terra.StringValue `hcl:"admin_username,attr" validate:"required"`
	// ComputerNamePrefix: string, required
	ComputerNamePrefix terra.StringValue `hcl:"computer_name_prefix,attr" validate:"required"`
	// CustomData: string, optional
	CustomData terra.StringValue `hcl:"custom_data,attr"`
}

type OsProfileAttributes

type OsProfileAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileAttributes) AdminPassword

func (op OsProfileAttributes) AdminPassword() terra.StringValue

func (OsProfileAttributes) AdminUsername

func (op OsProfileAttributes) AdminUsername() terra.StringValue

func (OsProfileAttributes) ComputerNamePrefix

func (op OsProfileAttributes) ComputerNamePrefix() terra.StringValue

func (OsProfileAttributes) CustomData

func (op OsProfileAttributes) CustomData() terra.StringValue

func (OsProfileAttributes) InternalRef

func (op OsProfileAttributes) InternalRef() (terra.Reference, error)

func (OsProfileAttributes) InternalTokens

func (op OsProfileAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsProfileAttributes) InternalWithRef

func (op OsProfileAttributes) InternalWithRef(ref terra.Reference) OsProfileAttributes

type OsProfileLinuxConfig

type OsProfileLinuxConfig struct {
	// DisablePasswordAuthentication: bool, optional
	DisablePasswordAuthentication terra.BoolValue `hcl:"disable_password_authentication,attr"`
	// OsProfileLinuxConfigSshKeys: min=0
	SshKeys []OsProfileLinuxConfigSshKeys `hcl:"ssh_keys,block" validate:"min=0"`
}

type OsProfileLinuxConfigAttributes

type OsProfileLinuxConfigAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileLinuxConfigAttributes) DisablePasswordAuthentication

func (oplc OsProfileLinuxConfigAttributes) DisablePasswordAuthentication() terra.BoolValue

func (OsProfileLinuxConfigAttributes) InternalRef

func (oplc OsProfileLinuxConfigAttributes) InternalRef() (terra.Reference, error)

func (OsProfileLinuxConfigAttributes) InternalTokens

func (oplc OsProfileLinuxConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsProfileLinuxConfigAttributes) InternalWithRef

func (OsProfileLinuxConfigAttributes) SshKeys

type OsProfileLinuxConfigSshKeys

type OsProfileLinuxConfigSshKeys struct {
	// KeyData: string, optional
	KeyData terra.StringValue `hcl:"key_data,attr"`
	// Path: string, required
	Path terra.StringValue `hcl:"path,attr" validate:"required"`
}

type OsProfileLinuxConfigSshKeysAttributes

type OsProfileLinuxConfigSshKeysAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileLinuxConfigSshKeysAttributes) InternalRef

func (OsProfileLinuxConfigSshKeysAttributes) InternalTokens

func (OsProfileLinuxConfigSshKeysAttributes) InternalWithRef

func (OsProfileLinuxConfigSshKeysAttributes) KeyData

func (OsProfileLinuxConfigSshKeysAttributes) Path

type OsProfileLinuxConfigSshKeysState

type OsProfileLinuxConfigSshKeysState struct {
	KeyData string `json:"key_data"`
	Path    string `json:"path"`
}

type OsProfileLinuxConfigState

type OsProfileLinuxConfigState struct {
	DisablePasswordAuthentication bool                               `json:"disable_password_authentication"`
	SshKeys                       []OsProfileLinuxConfigSshKeysState `json:"ssh_keys"`
}

type OsProfileSecrets

type OsProfileSecrets struct {
	// SourceVaultId: string, required
	SourceVaultId terra.StringValue `hcl:"source_vault_id,attr" validate:"required"`
	// OsProfileSecretsVaultCertificates: min=0
	VaultCertificates []OsProfileSecretsVaultCertificates `hcl:"vault_certificates,block" validate:"min=0"`
}

type OsProfileSecretsAttributes

type OsProfileSecretsAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileSecretsAttributes) InternalRef

func (ops OsProfileSecretsAttributes) InternalRef() (terra.Reference, error)

func (OsProfileSecretsAttributes) InternalTokens

func (ops OsProfileSecretsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsProfileSecretsAttributes) InternalWithRef

func (OsProfileSecretsAttributes) SourceVaultId

func (ops OsProfileSecretsAttributes) SourceVaultId() terra.StringValue

func (OsProfileSecretsAttributes) VaultCertificates

type OsProfileSecretsState

type OsProfileSecretsState struct {
	SourceVaultId     string                                   `json:"source_vault_id"`
	VaultCertificates []OsProfileSecretsVaultCertificatesState `json:"vault_certificates"`
}

type OsProfileSecretsVaultCertificates

type OsProfileSecretsVaultCertificates struct {
	// CertificateStore: string, optional
	CertificateStore terra.StringValue `hcl:"certificate_store,attr"`
	// CertificateUrl: string, required
	CertificateUrl terra.StringValue `hcl:"certificate_url,attr" validate:"required"`
}

type OsProfileSecretsVaultCertificatesAttributes

type OsProfileSecretsVaultCertificatesAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileSecretsVaultCertificatesAttributes) CertificateStore

func (OsProfileSecretsVaultCertificatesAttributes) CertificateUrl

func (OsProfileSecretsVaultCertificatesAttributes) InternalRef

func (OsProfileSecretsVaultCertificatesAttributes) InternalTokens

func (OsProfileSecretsVaultCertificatesAttributes) InternalWithRef

type OsProfileSecretsVaultCertificatesState

type OsProfileSecretsVaultCertificatesState struct {
	CertificateStore string `json:"certificate_store"`
	CertificateUrl   string `json:"certificate_url"`
}

type OsProfileState

type OsProfileState struct {
	AdminPassword      string `json:"admin_password"`
	AdminUsername      string `json:"admin_username"`
	ComputerNamePrefix string `json:"computer_name_prefix"`
	CustomData         string `json:"custom_data"`
}

type OsProfileWindowsConfig

type OsProfileWindowsConfig struct {
	// EnableAutomaticUpgrades: bool, optional
	EnableAutomaticUpgrades terra.BoolValue `hcl:"enable_automatic_upgrades,attr"`
	// ProvisionVmAgent: bool, optional
	ProvisionVmAgent terra.BoolValue `hcl:"provision_vm_agent,attr"`
	// OsProfileWindowsConfigAdditionalUnattendConfig: min=0
	AdditionalUnattendConfig []OsProfileWindowsConfigAdditionalUnattendConfig `hcl:"additional_unattend_config,block" validate:"min=0"`
	// OsProfileWindowsConfigWinrm: min=0
	Winrm []OsProfileWindowsConfigWinrm `hcl:"winrm,block" validate:"min=0"`
}

type OsProfileWindowsConfigAdditionalUnattendConfig

type OsProfileWindowsConfigAdditionalUnattendConfig struct {
	// Component: string, required
	Component terra.StringValue `hcl:"component,attr" validate:"required"`
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// Pass: string, required
	Pass terra.StringValue `hcl:"pass,attr" validate:"required"`
	// SettingName: string, required
	SettingName terra.StringValue `hcl:"setting_name,attr" validate:"required"`
}

type OsProfileWindowsConfigAdditionalUnattendConfigAttributes

type OsProfileWindowsConfigAdditionalUnattendConfigAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileWindowsConfigAdditionalUnattendConfigAttributes) Component

func (OsProfileWindowsConfigAdditionalUnattendConfigAttributes) Content

func (OsProfileWindowsConfigAdditionalUnattendConfigAttributes) InternalRef

func (OsProfileWindowsConfigAdditionalUnattendConfigAttributes) InternalTokens

func (OsProfileWindowsConfigAdditionalUnattendConfigAttributes) InternalWithRef

func (OsProfileWindowsConfigAdditionalUnattendConfigAttributes) Pass

func (OsProfileWindowsConfigAdditionalUnattendConfigAttributes) SettingName

type OsProfileWindowsConfigAdditionalUnattendConfigState

type OsProfileWindowsConfigAdditionalUnattendConfigState struct {
	Component   string `json:"component"`
	Content     string `json:"content"`
	Pass        string `json:"pass"`
	SettingName string `json:"setting_name"`
}

type OsProfileWindowsConfigAttributes

type OsProfileWindowsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileWindowsConfigAttributes) AdditionalUnattendConfig

func (OsProfileWindowsConfigAttributes) EnableAutomaticUpgrades

func (opwc OsProfileWindowsConfigAttributes) EnableAutomaticUpgrades() terra.BoolValue

func (OsProfileWindowsConfigAttributes) InternalRef

func (opwc OsProfileWindowsConfigAttributes) InternalRef() (terra.Reference, error)

func (OsProfileWindowsConfigAttributes) InternalTokens

func (opwc OsProfileWindowsConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsProfileWindowsConfigAttributes) InternalWithRef

func (OsProfileWindowsConfigAttributes) ProvisionVmAgent

func (opwc OsProfileWindowsConfigAttributes) ProvisionVmAgent() terra.BoolValue

func (OsProfileWindowsConfigAttributes) Winrm

type OsProfileWindowsConfigState

type OsProfileWindowsConfigState struct {
	EnableAutomaticUpgrades  bool                                                  `json:"enable_automatic_upgrades"`
	ProvisionVmAgent         bool                                                  `json:"provision_vm_agent"`
	AdditionalUnattendConfig []OsProfileWindowsConfigAdditionalUnattendConfigState `json:"additional_unattend_config"`
	Winrm                    []OsProfileWindowsConfigWinrmState                    `json:"winrm"`
}

type OsProfileWindowsConfigWinrm

type OsProfileWindowsConfigWinrm struct {
	// CertificateUrl: string, optional
	CertificateUrl terra.StringValue `hcl:"certificate_url,attr"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
}

type OsProfileWindowsConfigWinrmAttributes

type OsProfileWindowsConfigWinrmAttributes struct {
	// contains filtered or unexported fields
}

func (OsProfileWindowsConfigWinrmAttributes) CertificateUrl

func (OsProfileWindowsConfigWinrmAttributes) InternalRef

func (OsProfileWindowsConfigWinrmAttributes) InternalTokens

func (OsProfileWindowsConfigWinrmAttributes) InternalWithRef

func (OsProfileWindowsConfigWinrmAttributes) Protocol

type OsProfileWindowsConfigWinrmState

type OsProfileWindowsConfigWinrmState struct {
	CertificateUrl string `json:"certificate_url"`
	Protocol       string `json:"protocol"`
}

type Plan

type Plan struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Product: string, required
	Product terra.StringValue `hcl:"product,attr" validate:"required"`
	// Publisher: string, required
	Publisher terra.StringValue `hcl:"publisher,attr" validate:"required"`
}

type PlanAttributes

type PlanAttributes struct {
	// contains filtered or unexported fields
}

func (PlanAttributes) InternalRef

func (p PlanAttributes) InternalRef() (terra.Reference, error)

func (PlanAttributes) InternalTokens

func (p PlanAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlanAttributes) InternalWithRef

func (p PlanAttributes) InternalWithRef(ref terra.Reference) PlanAttributes

func (PlanAttributes) Name

func (p PlanAttributes) Name() terra.StringValue

func (PlanAttributes) Product

func (p PlanAttributes) Product() terra.StringValue

func (PlanAttributes) Publisher

func (p PlanAttributes) Publisher() terra.StringValue

type PlanState

type PlanState struct {
	Name      string `json:"name"`
	Product   string `json:"product"`
	Publisher string `json:"publisher"`
}

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_virtual_machine_scale_set.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (avmss *Resource) Attributes() azurermVirtualMachineScaleSetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (avmss *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (avmss *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (avmss *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (avmss *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (avmss *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (avmss *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (avmss *Resource) State() (*azurermVirtualMachineScaleSetState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (avmss *Resource) StateMust() *azurermVirtualMachineScaleSetState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (avmss *Resource) Type() string

Type returns the Terraform object type for Resource.

type RollingUpgradePolicy

type RollingUpgradePolicy struct {
	// MaxBatchInstancePercent: number, optional
	MaxBatchInstancePercent terra.NumberValue `hcl:"max_batch_instance_percent,attr"`
	// MaxUnhealthyInstancePercent: number, optional
	MaxUnhealthyInstancePercent terra.NumberValue `hcl:"max_unhealthy_instance_percent,attr"`
	// MaxUnhealthyUpgradedInstancePercent: number, optional
	MaxUnhealthyUpgradedInstancePercent terra.NumberValue `hcl:"max_unhealthy_upgraded_instance_percent,attr"`
	// PauseTimeBetweenBatches: string, optional
	PauseTimeBetweenBatches terra.StringValue `hcl:"pause_time_between_batches,attr"`
}

type RollingUpgradePolicyAttributes

type RollingUpgradePolicyAttributes struct {
	// contains filtered or unexported fields
}

func (RollingUpgradePolicyAttributes) InternalRef

func (rup RollingUpgradePolicyAttributes) InternalRef() (terra.Reference, error)

func (RollingUpgradePolicyAttributes) InternalTokens

func (rup RollingUpgradePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RollingUpgradePolicyAttributes) InternalWithRef

func (RollingUpgradePolicyAttributes) MaxBatchInstancePercent

func (rup RollingUpgradePolicyAttributes) MaxBatchInstancePercent() terra.NumberValue

func (RollingUpgradePolicyAttributes) MaxUnhealthyInstancePercent

func (rup RollingUpgradePolicyAttributes) MaxUnhealthyInstancePercent() terra.NumberValue

func (RollingUpgradePolicyAttributes) MaxUnhealthyUpgradedInstancePercent

func (rup RollingUpgradePolicyAttributes) MaxUnhealthyUpgradedInstancePercent() terra.NumberValue

func (RollingUpgradePolicyAttributes) PauseTimeBetweenBatches

func (rup RollingUpgradePolicyAttributes) PauseTimeBetweenBatches() terra.StringValue

type RollingUpgradePolicyState

type RollingUpgradePolicyState struct {
	MaxBatchInstancePercent             float64 `json:"max_batch_instance_percent"`
	MaxUnhealthyInstancePercent         float64 `json:"max_unhealthy_instance_percent"`
	MaxUnhealthyUpgradedInstancePercent float64 `json:"max_unhealthy_upgraded_instance_percent"`
	PauseTimeBetweenBatches             string  `json:"pause_time_between_batches"`
}

type Sku

type Sku struct {
	// Capacity: number, required
	Capacity terra.NumberValue `hcl:"capacity,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Tier: string, optional
	Tier terra.StringValue `hcl:"tier,attr"`
}

type SkuAttributes

type SkuAttributes struct {
	// contains filtered or unexported fields
}

func (SkuAttributes) Capacity

func (s SkuAttributes) Capacity() terra.NumberValue

func (SkuAttributes) InternalRef

func (s SkuAttributes) InternalRef() (terra.Reference, error)

func (SkuAttributes) InternalTokens

func (s SkuAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SkuAttributes) InternalWithRef

func (s SkuAttributes) InternalWithRef(ref terra.Reference) SkuAttributes

func (SkuAttributes) Name

func (s SkuAttributes) Name() terra.StringValue

func (SkuAttributes) Tier

func (s SkuAttributes) Tier() terra.StringValue

type SkuState

type SkuState struct {
	Capacity float64 `json:"capacity"`
	Name     string  `json:"name"`
	Tier     string  `json:"tier"`
}

type StorageProfileDataDisk

type StorageProfileDataDisk struct {
	// Caching: string, optional
	Caching terra.StringValue `hcl:"caching,attr"`
	// CreateOption: string, required
	CreateOption terra.StringValue `hcl:"create_option,attr" validate:"required"`
	// DiskSizeGb: number, optional
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"`
	// Lun: number, required
	Lun terra.NumberValue `hcl:"lun,attr" validate:"required"`
	// ManagedDiskType: string, optional
	ManagedDiskType terra.StringValue `hcl:"managed_disk_type,attr"`
}

type StorageProfileDataDiskAttributes

type StorageProfileDataDiskAttributes struct {
	// contains filtered or unexported fields
}

func (StorageProfileDataDiskAttributes) Caching

func (StorageProfileDataDiskAttributes) CreateOption

func (StorageProfileDataDiskAttributes) DiskSizeGb

func (StorageProfileDataDiskAttributes) InternalRef

func (spdd StorageProfileDataDiskAttributes) InternalRef() (terra.Reference, error)

func (StorageProfileDataDiskAttributes) InternalTokens

func (spdd StorageProfileDataDiskAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageProfileDataDiskAttributes) InternalWithRef

func (StorageProfileDataDiskAttributes) Lun

func (StorageProfileDataDiskAttributes) ManagedDiskType

func (spdd StorageProfileDataDiskAttributes) ManagedDiskType() terra.StringValue

type StorageProfileDataDiskState

type StorageProfileDataDiskState struct {
	Caching         string  `json:"caching"`
	CreateOption    string  `json:"create_option"`
	DiskSizeGb      float64 `json:"disk_size_gb"`
	Lun             float64 `json:"lun"`
	ManagedDiskType string  `json:"managed_disk_type"`
}

type StorageProfileImageReference

type StorageProfileImageReference struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Offer: string, optional
	Offer terra.StringValue `hcl:"offer,attr"`
	// Publisher: string, optional
	Publisher terra.StringValue `hcl:"publisher,attr"`
	// Sku: string, optional
	Sku terra.StringValue `hcl:"sku,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type StorageProfileImageReferenceAttributes

type StorageProfileImageReferenceAttributes struct {
	// contains filtered or unexported fields
}

func (StorageProfileImageReferenceAttributes) Id

func (StorageProfileImageReferenceAttributes) InternalRef

func (StorageProfileImageReferenceAttributes) InternalTokens

func (StorageProfileImageReferenceAttributes) InternalWithRef

func (StorageProfileImageReferenceAttributes) Offer

func (StorageProfileImageReferenceAttributes) Publisher

func (StorageProfileImageReferenceAttributes) Sku

func (StorageProfileImageReferenceAttributes) Version

type StorageProfileImageReferenceState

type StorageProfileImageReferenceState struct {
	Id        string `json:"id"`
	Offer     string `json:"offer"`
	Publisher string `json:"publisher"`
	Sku       string `json:"sku"`
	Version   string `json:"version"`
}

type StorageProfileOsDisk

type StorageProfileOsDisk struct {
	// Caching: string, optional
	Caching terra.StringValue `hcl:"caching,attr"`
	// CreateOption: string, required
	CreateOption terra.StringValue `hcl:"create_option,attr" validate:"required"`
	// Image: string, optional
	Image terra.StringValue `hcl:"image,attr"`
	// ManagedDiskType: string, optional
	ManagedDiskType terra.StringValue `hcl:"managed_disk_type,attr"`
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// OsType: string, optional
	OsType terra.StringValue `hcl:"os_type,attr"`
	// VhdContainers: set of string, optional
	VhdContainers terra.SetValue[terra.StringValue] `hcl:"vhd_containers,attr"`
}

type StorageProfileOsDiskAttributes

type StorageProfileOsDiskAttributes struct {
	// contains filtered or unexported fields
}

func (StorageProfileOsDiskAttributes) Caching

func (StorageProfileOsDiskAttributes) CreateOption

func (spod StorageProfileOsDiskAttributes) CreateOption() terra.StringValue

func (StorageProfileOsDiskAttributes) Image

func (StorageProfileOsDiskAttributes) InternalRef

func (spod StorageProfileOsDiskAttributes) InternalRef() (terra.Reference, error)

func (StorageProfileOsDiskAttributes) InternalTokens

func (spod StorageProfileOsDiskAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageProfileOsDiskAttributes) InternalWithRef

func (StorageProfileOsDiskAttributes) ManagedDiskType

func (spod StorageProfileOsDiskAttributes) ManagedDiskType() terra.StringValue

func (StorageProfileOsDiskAttributes) Name

func (StorageProfileOsDiskAttributes) OsType

func (StorageProfileOsDiskAttributes) VhdContainers

type StorageProfileOsDiskState

type StorageProfileOsDiskState struct {
	Caching         string   `json:"caching"`
	CreateOption    string   `json:"create_option"`
	Image           string   `json:"image"`
	ManagedDiskType string   `json:"managed_disk_type"`
	Name            string   `json:"name"`
	OsType          string   `json:"os_type"`
	VhdContainers   []string `json:"vhd_containers"`
}

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 (TimeoutsAttributes) Delete

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 (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL