azurestack_windows_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 AdditionalCapabilities

type AdditionalCapabilities struct {
	// UltraSsdEnabled: bool, optional
	UltraSsdEnabled terra.BoolValue `hcl:"ultra_ssd_enabled,attr"`
}

type AdditionalCapabilitiesAttributes

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

func (AdditionalCapabilitiesAttributes) InternalRef

func (AdditionalCapabilitiesAttributes) InternalTokens

func (ac AdditionalCapabilitiesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdditionalCapabilitiesAttributes) InternalWithRef

func (AdditionalCapabilitiesAttributes) UltraSsdEnabled

func (ac AdditionalCapabilitiesAttributes) UltraSsdEnabled() terra.BoolValue

type AdditionalCapabilitiesState

type AdditionalCapabilitiesState struct {
	UltraSsdEnabled bool `json:"ultra_ssd_enabled"`
}

type AdditionalUnattendContent

type AdditionalUnattendContent struct {
	// Content: string, required
	Content terra.StringValue `hcl:"content,attr" validate:"required"`
	// Setting: string, required
	Setting terra.StringValue `hcl:"setting,attr" validate:"required"`
}

type AdditionalUnattendContentAttributes

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

func (AdditionalUnattendContentAttributes) Content

func (AdditionalUnattendContentAttributes) InternalRef

func (AdditionalUnattendContentAttributes) InternalTokens

func (auc AdditionalUnattendContentAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdditionalUnattendContentAttributes) InternalWithRef

func (AdditionalUnattendContentAttributes) Setting

type AdditionalUnattendContentState

type AdditionalUnattendContentState struct {
	Content string `json:"content"`
	Setting string `json:"setting"`
}

type Args

type Args struct {
	// AdminPassword: string, required
	AdminPassword terra.StringValue `hcl:"admin_password,attr" validate:"required"`
	// AdminUsername: string, required
	AdminUsername terra.StringValue `hcl:"admin_username,attr" validate:"required"`
	// ComputerNamePrefix: string, optional
	ComputerNamePrefix terra.StringValue `hcl:"computer_name_prefix,attr"`
	// CustomData: string, optional
	CustomData terra.StringValue `hcl:"custom_data,attr"`
	// DoNotRunExtensionsOnOverprovisionedMachines: bool, optional
	DoNotRunExtensionsOnOverprovisionedMachines terra.BoolValue `hcl:"do_not_run_extensions_on_overprovisioned_machines,attr"`
	// EnableAutomaticUpdates: bool, optional
	EnableAutomaticUpdates terra.BoolValue `hcl:"enable_automatic_updates,attr"`
	// EncryptionAtHostEnabled: bool, optional
	EncryptionAtHostEnabled terra.BoolValue `hcl:"encryption_at_host_enabled,attr"`
	// HealthProbeId: string, optional
	HealthProbeId terra.StringValue `hcl:"health_probe_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Instances: number, required
	Instances terra.NumberValue `hcl:"instances,attr" validate:"required"`
	// 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"`
	// PlatformFaultDomainCount: number, optional
	PlatformFaultDomainCount terra.NumberValue `hcl:"platform_fault_domain_count,attr"`
	// ProvisionVmAgent: bool, optional
	ProvisionVmAgent terra.BoolValue `hcl:"provision_vm_agent,attr"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// ScaleInPolicy: string, optional
	ScaleInPolicy terra.StringValue `hcl:"scale_in_policy,attr"`
	// SinglePlacementGroup: bool, optional
	SinglePlacementGroup terra.BoolValue `hcl:"single_placement_group,attr"`
	// Sku: string, required
	Sku terra.StringValue `hcl:"sku,attr" validate:"required"`
	// SourceImageId: string, optional
	SourceImageId terra.StringValue `hcl:"source_image_id,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Timezone: string, optional
	Timezone terra.StringValue `hcl:"timezone,attr"`
	// UpgradeMode: string, optional
	UpgradeMode terra.StringValue `hcl:"upgrade_mode,attr"`
	// AdditionalCapabilities: optional
	AdditionalCapabilities *AdditionalCapabilities `hcl:"additional_capabilities,block"`
	// AdditionalUnattendContent: min=0
	AdditionalUnattendContent []AdditionalUnattendContent `hcl:"additional_unattend_content,block" validate:"min=0"`
	// AutomaticInstanceRepair: optional
	AutomaticInstanceRepair *AutomaticInstanceRepair `hcl:"automatic_instance_repair,block"`
	// AutomaticOsUpgradePolicy: optional
	AutomaticOsUpgradePolicy *AutomaticOsUpgradePolicy `hcl:"automatic_os_upgrade_policy,block"`
	// BootDiagnostics: optional
	BootDiagnostics *BootDiagnostics `hcl:"boot_diagnostics,block"`
	// DataDisk: min=0
	DataDisk []DataDisk `hcl:"data_disk,block" validate:"min=0"`
	// Extension: min=0
	Extension []Extension `hcl:"extension,block" validate:"min=0"`
	// NetworkInterface: min=1
	NetworkInterface []NetworkInterface `hcl:"network_interface,block" validate:"min=1"`
	// OsDisk: required
	OsDisk *OsDisk `hcl:"os_disk,block" validate:"required"`
	// Plan: optional
	Plan *Plan `hcl:"plan,block"`
	// Secret: min=0
	Secret []Secret `hcl:"secret,block" validate:"min=0"`
	// SourceImageReference: optional
	SourceImageReference *SourceImageReference `hcl:"source_image_reference,block"`
	// TerminateNotification: optional
	TerminateNotification *TerminateNotification `hcl:"terminate_notification,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// WinrmListener: min=0
	WinrmListener []WinrmListener `hcl:"winrm_listener,block" validate:"min=0"`
}

Args contains the configurations for azurestack_windows_virtual_machine_scale_set.

type AutomaticInstanceRepair

type AutomaticInstanceRepair struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// GracePeriod: string, optional
	GracePeriod terra.StringValue `hcl:"grace_period,attr"`
}

type AutomaticInstanceRepairAttributes

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

func (AutomaticInstanceRepairAttributes) Enabled

func (AutomaticInstanceRepairAttributes) GracePeriod

func (AutomaticInstanceRepairAttributes) InternalRef

func (AutomaticInstanceRepairAttributes) InternalTokens

func (air AutomaticInstanceRepairAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutomaticInstanceRepairAttributes) InternalWithRef

type AutomaticInstanceRepairState

type AutomaticInstanceRepairState struct {
	Enabled     bool   `json:"enabled"`
	GracePeriod string `json:"grace_period"`
}

type AutomaticOsUpgradePolicy

type AutomaticOsUpgradePolicy struct {
	// DisableAutomaticRollback: bool, required
	DisableAutomaticRollback terra.BoolValue `hcl:"disable_automatic_rollback,attr" validate:"required"`
	// EnableAutomaticOsUpgrade: bool, required
	EnableAutomaticOsUpgrade terra.BoolValue `hcl:"enable_automatic_os_upgrade,attr" validate:"required"`
}

type AutomaticOsUpgradePolicyAttributes

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

func (AutomaticOsUpgradePolicyAttributes) DisableAutomaticRollback

func (aoup AutomaticOsUpgradePolicyAttributes) DisableAutomaticRollback() terra.BoolValue

func (AutomaticOsUpgradePolicyAttributes) EnableAutomaticOsUpgrade

func (aoup AutomaticOsUpgradePolicyAttributes) EnableAutomaticOsUpgrade() terra.BoolValue

func (AutomaticOsUpgradePolicyAttributes) InternalRef

func (AutomaticOsUpgradePolicyAttributes) InternalTokens

func (aoup AutomaticOsUpgradePolicyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AutomaticOsUpgradePolicyAttributes) InternalWithRef

type AutomaticOsUpgradePolicyState

type AutomaticOsUpgradePolicyState struct {
	DisableAutomaticRollback bool `json:"disable_automatic_rollback"`
	EnableAutomaticOsUpgrade bool `json:"enable_automatic_os_upgrade"`
}

type BootDiagnostics

type BootDiagnostics struct {
	// StorageAccountUri: string, required
	StorageAccountUri terra.StringValue `hcl:"storage_account_uri,attr" validate:"required"`
}

type BootDiagnosticsAttributes

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

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) StorageAccountUri

func (bd BootDiagnosticsAttributes) StorageAccountUri() terra.StringValue

type BootDiagnosticsState

type BootDiagnosticsState struct {
	StorageAccountUri string `json:"storage_account_uri"`
}

type DataDisk

type DataDisk struct {
	// Caching: string, required
	Caching terra.StringValue `hcl:"caching,attr" validate:"required"`
	// CreateOption: string, optional
	CreateOption terra.StringValue `hcl:"create_option,attr"`
	// DiskEncryptionSetId: string, optional
	DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"`
	// DiskSizeGb: number, required
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr" validate:"required"`
	// Lun: number, required
	Lun terra.NumberValue `hcl:"lun,attr" validate:"required"`
	// StorageAccountType: string, required
	StorageAccountType terra.StringValue `hcl:"storage_account_type,attr" validate:"required"`
	// WriteAcceleratorEnabled: bool, optional
	WriteAcceleratorEnabled terra.BoolValue `hcl:"write_accelerator_enabled,attr"`
}

type DataDiskAttributes

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

func (DataDiskAttributes) Caching

func (dd DataDiskAttributes) Caching() terra.StringValue

func (DataDiskAttributes) CreateOption

func (dd DataDiskAttributes) CreateOption() terra.StringValue

func (DataDiskAttributes) DiskEncryptionSetId

func (dd DataDiskAttributes) DiskEncryptionSetId() terra.StringValue

func (DataDiskAttributes) DiskSizeGb

func (dd DataDiskAttributes) DiskSizeGb() terra.NumberValue

func (DataDiskAttributes) InternalRef

func (dd DataDiskAttributes) InternalRef() (terra.Reference, error)

func (DataDiskAttributes) InternalTokens

func (dd DataDiskAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataDiskAttributes) InternalWithRef

func (dd DataDiskAttributes) InternalWithRef(ref terra.Reference) DataDiskAttributes

func (DataDiskAttributes) Lun

func (DataDiskAttributes) StorageAccountType

func (dd DataDiskAttributes) StorageAccountType() terra.StringValue

func (DataDiskAttributes) WriteAcceleratorEnabled

func (dd DataDiskAttributes) WriteAcceleratorEnabled() terra.BoolValue

type DataDiskState

type DataDiskState struct {
	Caching                 string  `json:"caching"`
	CreateOption            string  `json:"create_option"`
	DiskEncryptionSetId     string  `json:"disk_encryption_set_id"`
	DiskSizeGb              float64 `json:"disk_size_gb"`
	Lun                     float64 `json:"lun"`
	StorageAccountType      string  `json:"storage_account_type"`
	WriteAcceleratorEnabled bool    `json:"write_accelerator_enabled"`
}

type Extension

type Extension struct {
	// AutoUpgradeMinorVersion: bool, optional
	AutoUpgradeMinorVersion terra.BoolValue `hcl:"auto_upgrade_minor_version,attr"`
	// AutomaticUpgradeEnabled: bool, optional
	AutomaticUpgradeEnabled terra.BoolValue `hcl:"automatic_upgrade_enabled,attr"`
	// ForceUpdateTag: string, optional
	ForceUpdateTag terra.StringValue `hcl:"force_update_tag,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ProtectedSettings: string, optional
	ProtectedSettings terra.StringValue `hcl:"protected_settings,attr"`
	// ProvisionAfterExtensions: list of string, optional
	ProvisionAfterExtensions terra.ListValue[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) AutomaticUpgradeEnabled

func (e ExtensionAttributes) AutomaticUpgradeEnabled() terra.BoolValue

func (ExtensionAttributes) ForceUpdateTag

func (e ExtensionAttributes) ForceUpdateTag() terra.StringValue

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.ListValue[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"`
	AutomaticUpgradeEnabled  bool     `json:"automatic_upgrade_enabled"`
	ForceUpdateTag           string   `json:"force_update_tag"`
	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 NetworkInterface

type NetworkInterface struct {
	// DnsServers: list of string, optional
	DnsServers terra.ListValue[terra.StringValue] `hcl:"dns_servers,attr"`
	// EnableIpForwarding: bool, optional
	EnableIpForwarding terra.BoolValue `hcl:"enable_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, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// NetworkInterfaceIpConfiguration: min=1
	IpConfiguration []NetworkInterfaceIpConfiguration `hcl:"ip_configuration,block" validate:"min=1"`
}

type NetworkInterfaceAttributes

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

func (NetworkInterfaceAttributes) DnsServers

func (NetworkInterfaceAttributes) EnableIpForwarding

func (ni NetworkInterfaceAttributes) EnableIpForwarding() terra.BoolValue

func (NetworkInterfaceAttributes) InternalRef

func (ni NetworkInterfaceAttributes) InternalRef() (terra.Reference, error)

func (NetworkInterfaceAttributes) InternalTokens

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

func (NetworkInterfaceAttributes) InternalWithRef

func (NetworkInterfaceAttributes) IpConfiguration

func (NetworkInterfaceAttributes) Name

func (NetworkInterfaceAttributes) NetworkSecurityGroupId

func (ni NetworkInterfaceAttributes) NetworkSecurityGroupId() terra.StringValue

func (NetworkInterfaceAttributes) Primary

type NetworkInterfaceIpConfiguration

type NetworkInterfaceIpConfiguration struct {
	// 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, optional
	Primary terra.BoolValue `hcl:"primary,attr"`
	// SubnetId: string, optional
	SubnetId terra.StringValue `hcl:"subnet_id,attr"`
	// Version: string, optional
	Version terra.StringValue `hcl:"version,attr"`
}

type NetworkInterfaceIpConfigurationAttributes

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

func (NetworkInterfaceIpConfigurationAttributes) InternalRef

func (NetworkInterfaceIpConfigurationAttributes) InternalTokens

func (NetworkInterfaceIpConfigurationAttributes) InternalWithRef

func (NetworkInterfaceIpConfigurationAttributes) LoadBalancerBackendAddressPoolIds

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

func (NetworkInterfaceIpConfigurationAttributes) LoadBalancerInboundNatRulesIds

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

func (NetworkInterfaceIpConfigurationAttributes) Name

func (NetworkInterfaceIpConfigurationAttributes) Primary

func (NetworkInterfaceIpConfigurationAttributes) SubnetId

func (NetworkInterfaceIpConfigurationAttributes) Version

type NetworkInterfaceIpConfigurationState

type NetworkInterfaceIpConfigurationState struct {
	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"`
}

type NetworkInterfaceState

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

type OsDisk

type OsDisk struct {
	// Caching: string, required
	Caching terra.StringValue `hcl:"caching,attr" validate:"required"`
	// DiskEncryptionSetId: string, optional
	DiskEncryptionSetId terra.StringValue `hcl:"disk_encryption_set_id,attr"`
	// DiskSizeGb: number, optional
	DiskSizeGb terra.NumberValue `hcl:"disk_size_gb,attr"`
	// StorageAccountType: string, required
	StorageAccountType terra.StringValue `hcl:"storage_account_type,attr" validate:"required"`
	// WriteAcceleratorEnabled: bool, optional
	WriteAcceleratorEnabled terra.BoolValue `hcl:"write_accelerator_enabled,attr"`
	// OsDiskDiffDiskSettings: optional
	DiffDiskSettings *OsDiskDiffDiskSettings `hcl:"diff_disk_settings,block"`
}

type OsDiskAttributes

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

func (OsDiskAttributes) Caching

func (od OsDiskAttributes) Caching() terra.StringValue

func (OsDiskAttributes) DiffDiskSettings

func (OsDiskAttributes) DiskEncryptionSetId

func (od OsDiskAttributes) DiskEncryptionSetId() terra.StringValue

func (OsDiskAttributes) DiskSizeGb

func (od OsDiskAttributes) DiskSizeGb() terra.NumberValue

func (OsDiskAttributes) InternalRef

func (od OsDiskAttributes) InternalRef() (terra.Reference, error)

func (OsDiskAttributes) InternalTokens

func (od OsDiskAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsDiskAttributes) InternalWithRef

func (od OsDiskAttributes) InternalWithRef(ref terra.Reference) OsDiskAttributes

func (OsDiskAttributes) StorageAccountType

func (od OsDiskAttributes) StorageAccountType() terra.StringValue

func (OsDiskAttributes) WriteAcceleratorEnabled

func (od OsDiskAttributes) WriteAcceleratorEnabled() terra.BoolValue

type OsDiskDiffDiskSettings

type OsDiskDiffDiskSettings struct {
	// Option: string, required
	Option terra.StringValue `hcl:"option,attr" validate:"required"`
}

type OsDiskDiffDiskSettingsAttributes

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

func (OsDiskDiffDiskSettingsAttributes) InternalRef

func (OsDiskDiffDiskSettingsAttributes) InternalTokens

func (dds OsDiskDiffDiskSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (OsDiskDiffDiskSettingsAttributes) InternalWithRef

func (OsDiskDiffDiskSettingsAttributes) Option

type OsDiskDiffDiskSettingsState

type OsDiskDiffDiskSettingsState struct {
	Option string `json:"option"`
}

type OsDiskState

type OsDiskState struct {
	Caching                 string                        `json:"caching"`
	DiskEncryptionSetId     string                        `json:"disk_encryption_set_id"`
	DiskSizeGb              float64                       `json:"disk_size_gb"`
	StorageAccountType      string                        `json:"storage_account_type"`
	WriteAcceleratorEnabled bool                          `json:"write_accelerator_enabled"`
	DiffDiskSettings        []OsDiskDiffDiskSettingsState `json:"diff_disk_settings"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (awvmss *Resource) Attributes() azurestackWindowsVirtualMachineScaleSetAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (awvmss *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (awvmss *Resource) State() (*azurestackWindowsVirtualMachineScaleSetState, bool)

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

func (*Resource) StateMust

func (awvmss *Resource) StateMust() *azurestackWindowsVirtualMachineScaleSetState

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

func (*Resource) Type

func (awvmss *Resource) Type() string

Type returns the Terraform object type for Resource.

type Secret

type Secret struct {
	// KeyVaultId: string, required
	KeyVaultId terra.StringValue `hcl:"key_vault_id,attr" validate:"required"`
	// SecretCertificate: min=1
	Certificate []SecretCertificate `hcl:"certificate,block" validate:"min=1"`
}

type SecretAttributes

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

func (SecretAttributes) Certificate

func (SecretAttributes) InternalRef

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

func (SecretAttributes) InternalTokens

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

func (SecretAttributes) InternalWithRef

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

func (SecretAttributes) KeyVaultId

func (s SecretAttributes) KeyVaultId() terra.StringValue

type SecretCertificate

type SecretCertificate struct {
	// Store: string, required
	Store terra.StringValue `hcl:"store,attr" validate:"required"`
}

type SecretCertificateAttributes

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

func (SecretCertificateAttributes) InternalRef

func (c SecretCertificateAttributes) InternalRef() (terra.Reference, error)

func (SecretCertificateAttributes) InternalTokens

func (c SecretCertificateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SecretCertificateAttributes) InternalWithRef

func (SecretCertificateAttributes) Store

type SecretCertificateState

type SecretCertificateState struct {
	Store string `json:"store"`
}

type SecretState

type SecretState struct {
	KeyVaultId  string                   `json:"key_vault_id"`
	Certificate []SecretCertificateState `json:"certificate"`
}

type SourceImageReference

type SourceImageReference struct {
	// Offer: string, required
	Offer terra.StringValue `hcl:"offer,attr" validate:"required"`
	// Publisher: string, required
	Publisher terra.StringValue `hcl:"publisher,attr" validate:"required"`
	// Sku: string, required
	Sku terra.StringValue `hcl:"sku,attr" validate:"required"`
	// Version: string, required
	Version terra.StringValue `hcl:"version,attr" validate:"required"`
}

type SourceImageReferenceAttributes

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

func (SourceImageReferenceAttributes) InternalRef

func (sir SourceImageReferenceAttributes) InternalRef() (terra.Reference, error)

func (SourceImageReferenceAttributes) InternalTokens

func (sir SourceImageReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceImageReferenceAttributes) InternalWithRef

func (SourceImageReferenceAttributes) Offer

func (SourceImageReferenceAttributes) Publisher

func (SourceImageReferenceAttributes) Sku

func (SourceImageReferenceAttributes) Version

type SourceImageReferenceState

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

type TerminateNotification

type TerminateNotification struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// Timeout: string, optional
	Timeout terra.StringValue `hcl:"timeout,attr"`
}

type TerminateNotificationAttributes

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

func (TerminateNotificationAttributes) Enabled

func (TerminateNotificationAttributes) InternalRef

func (TerminateNotificationAttributes) InternalTokens

func (tn TerminateNotificationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TerminateNotificationAttributes) InternalWithRef

func (TerminateNotificationAttributes) Timeout

type TerminateNotificationState

type TerminateNotificationState struct {
	Enabled bool   `json:"enabled"`
	Timeout string `json:"timeout"`
}

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"`
}

type WinrmListener

type WinrmListener struct {
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
}

type WinrmListenerAttributes

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

func (WinrmListenerAttributes) InternalRef

func (wl WinrmListenerAttributes) InternalRef() (terra.Reference, error)

func (WinrmListenerAttributes) InternalTokens

func (wl WinrmListenerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WinrmListenerAttributes) InternalWithRef

func (WinrmListenerAttributes) Protocol

type WinrmListenerState

type WinrmListenerState struct {
	Protocol string `json:"protocol"`
}

Jump to

Keyboard shortcuts

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