compute

package
v0.20230918.1115907 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/compute/2021-07-01/compute Documentation

The compute SDK allows for interaction with the Azure Resource Manager Service compute (API Version 2021-07-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2021-07-01/compute"

Client Initialization

client := compute.NewComputeClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ComputeClient.RestorePointsCreate

ctx := context.TODO()
id := compute.NewRestorePointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "restorePointCollectionValue", "restorePointValue")

payload := compute.RestorePoint{
	// ...
}


if err := client.RestorePointsCreateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ComputeClient.RestorePointsDelete

ctx := context.TODO()
id := compute.NewRestorePointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "restorePointCollectionValue", "restorePointValue")

if err := client.RestorePointsDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ComputeClient.RestorePointsGet

ctx := context.TODO()
id := compute.NewRestorePointID("12345678-1234-9876-4563-123456789012", "example-resource-group", "restorePointCollectionValue", "restorePointValue")

read, err := client.RestorePointsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCachingTypes

func PossibleValuesForCachingTypes() []string

func PossibleValuesForComponentNames

func PossibleValuesForComponentNames() []string

func PossibleValuesForConsistencyModeTypes

func PossibleValuesForConsistencyModeTypes() []string

func PossibleValuesForLinuxPatchAssessmentMode

func PossibleValuesForLinuxPatchAssessmentMode() []string

func PossibleValuesForLinuxVMGuestPatchMode

func PossibleValuesForLinuxVMGuestPatchMode() []string

func PossibleValuesForOperatingSystemType

func PossibleValuesForOperatingSystemType() []string

func PossibleValuesForPassNames

func PossibleValuesForPassNames() []string

func PossibleValuesForProtocolTypes

func PossibleValuesForProtocolTypes() []string

func PossibleValuesForSecurityTypes

func PossibleValuesForSecurityTypes() []string

func PossibleValuesForSettingNames

func PossibleValuesForSettingNames() []string

func PossibleValuesForStorageAccountTypes

func PossibleValuesForStorageAccountTypes() []string

func PossibleValuesForVirtualMachineSizeTypes

func PossibleValuesForVirtualMachineSizeTypes() []string

func PossibleValuesForWindowsPatchAssessmentMode

func PossibleValuesForWindowsPatchAssessmentMode() []string

func PossibleValuesForWindowsVMGuestPatchMode

func PossibleValuesForWindowsVMGuestPatchMode() []string

func ValidateRestorePointID

func ValidateRestorePointID(input interface{}, key string) (warnings []string, errors []error)

ValidateRestorePointID checks that 'input' can be parsed as a Restore Point ID

Types

type AdditionalUnattendContent

type AdditionalUnattendContent struct {
	ComponentName *ComponentNames `json:"componentName,omitempty"`
	Content       *string         `json:"content,omitempty"`
	PassName      *PassNames      `json:"passName,omitempty"`
	SettingName   *SettingNames   `json:"settingName,omitempty"`
}

type ApiEntityReference

type ApiEntityReference struct {
	Id *string `json:"id,omitempty"`
}

type BootDiagnostics

type BootDiagnostics struct {
	Enabled    *bool   `json:"enabled,omitempty"`
	StorageUri *string `json:"storageUri,omitempty"`
}

type CachingTypes

type CachingTypes string
const (
	CachingTypesNone      CachingTypes = "None"
	CachingTypesReadOnly  CachingTypes = "ReadOnly"
	CachingTypesReadWrite CachingTypes = "ReadWrite"
)

func (*CachingTypes) UnmarshalJSON added in v0.20230808.1103829

func (s *CachingTypes) UnmarshalJSON(bytes []byte) error

type ComponentNames

type ComponentNames string
const (
	ComponentNamesMicrosoftNegativeWindowsNegativeShellNegativeSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
)

func (*ComponentNames) UnmarshalJSON added in v0.20230808.1103829

func (s *ComponentNames) UnmarshalJSON(bytes []byte) error

type ComputeClient

type ComputeClient struct {
	Client *resourcemanager.Client
}

func NewComputeClientWithBaseURI

func NewComputeClientWithBaseURI(sdkApi sdkEnv.Api) (*ComputeClient, error)

func (ComputeClient) RestorePointsCreate

func (c ComputeClient) RestorePointsCreate(ctx context.Context, id RestorePointId, input RestorePoint) (result RestorePointsCreateOperationResponse, err error)

RestorePointsCreate ...

func (ComputeClient) RestorePointsCreateThenPoll

func (c ComputeClient) RestorePointsCreateThenPoll(ctx context.Context, id RestorePointId, input RestorePoint) error

RestorePointsCreateThenPoll performs RestorePointsCreate then polls until it's completed

func (ComputeClient) RestorePointsDelete

func (c ComputeClient) RestorePointsDelete(ctx context.Context, id RestorePointId) (result RestorePointsDeleteOperationResponse, err error)

RestorePointsDelete ...

func (ComputeClient) RestorePointsDeleteThenPoll

func (c ComputeClient) RestorePointsDeleteThenPoll(ctx context.Context, id RestorePointId) error

RestorePointsDeleteThenPoll performs RestorePointsDelete then polls until it's completed

func (ComputeClient) RestorePointsGet

func (c ComputeClient) RestorePointsGet(ctx context.Context, id RestorePointId) (result RestorePointsGetOperationResponse, err error)

RestorePointsGet ...

type ConsistencyModeTypes

type ConsistencyModeTypes string
const (
	ConsistencyModeTypesApplicationConsistent ConsistencyModeTypes = "ApplicationConsistent"
	ConsistencyModeTypesCrashConsistent       ConsistencyModeTypes = "CrashConsistent"
	ConsistencyModeTypesFileSystemConsistent  ConsistencyModeTypes = "FileSystemConsistent"
)

func (*ConsistencyModeTypes) UnmarshalJSON added in v0.20230808.1103829

func (s *ConsistencyModeTypes) UnmarshalJSON(bytes []byte) error

type DiagnosticsProfile

type DiagnosticsProfile struct {
	BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}

type DiskEncryptionSettings

type DiskEncryptionSettings struct {
	DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`
	Enabled           *bool                    `json:"enabled,omitempty"`
	KeyEncryptionKey  *KeyVaultKeyReference    `json:"keyEncryptionKey,omitempty"`
}

type HardwareProfile

type HardwareProfile struct {
	VMSize           *VirtualMachineSizeTypes `json:"vmSize,omitempty"`
	VMSizeProperties *VMSizeProperties        `json:"vmSizeProperties,omitempty"`
}

type KeyVaultKeyReference

type KeyVaultKeyReference struct {
	KeyUrl      string      `json:"keyUrl"`
	SourceVault SubResource `json:"sourceVault"`
}

type KeyVaultSecretReference

type KeyVaultSecretReference struct {
	SecretUrl   string      `json:"secretUrl"`
	SourceVault SubResource `json:"sourceVault"`
}

type LinuxConfiguration

type LinuxConfiguration struct {
	DisablePasswordAuthentication *bool               `json:"disablePasswordAuthentication,omitempty"`
	PatchSettings                 *LinuxPatchSettings `json:"patchSettings,omitempty"`
	ProvisionVMAgent              *bool               `json:"provisionVMAgent,omitempty"`
	Ssh                           *SshConfiguration   `json:"ssh,omitempty"`
}

type LinuxPatchAssessmentMode

type LinuxPatchAssessmentMode string
const (
	LinuxPatchAssessmentModeAutomaticByPlatform LinuxPatchAssessmentMode = "AutomaticByPlatform"
	LinuxPatchAssessmentModeImageDefault        LinuxPatchAssessmentMode = "ImageDefault"
)

func (*LinuxPatchAssessmentMode) UnmarshalJSON added in v0.20230808.1103829

func (s *LinuxPatchAssessmentMode) UnmarshalJSON(bytes []byte) error

type LinuxPatchSettings

type LinuxPatchSettings struct {
	AssessmentMode *LinuxPatchAssessmentMode `json:"assessmentMode,omitempty"`
	PatchMode      *LinuxVMGuestPatchMode    `json:"patchMode,omitempty"`
}

type LinuxVMGuestPatchMode

type LinuxVMGuestPatchMode string
const (
	LinuxVMGuestPatchModeAutomaticByPlatform LinuxVMGuestPatchMode = "AutomaticByPlatform"
	LinuxVMGuestPatchModeImageDefault        LinuxVMGuestPatchMode = "ImageDefault"
)

func (*LinuxVMGuestPatchMode) UnmarshalJSON added in v0.20230808.1103829

func (s *LinuxVMGuestPatchMode) UnmarshalJSON(bytes []byte) error

type ManagedDiskParameters

type ManagedDiskParameters struct {
	DiskEncryptionSet  *SubResource         `json:"diskEncryptionSet,omitempty"`
	Id                 *string              `json:"id,omitempty"`
	StorageAccountType *StorageAccountTypes `json:"storageAccountType,omitempty"`
}

type OSProfile

type OSProfile struct {
	AdminPassword               *string               `json:"adminPassword,omitempty"`
	AdminUsername               *string               `json:"adminUsername,omitempty"`
	AllowExtensionOperations    *bool                 `json:"allowExtensionOperations,omitempty"`
	ComputerName                *string               `json:"computerName,omitempty"`
	CustomData                  *string               `json:"customData,omitempty"`
	LinuxConfiguration          *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	RequireGuestProvisionSignal *bool                 `json:"requireGuestProvisionSignal,omitempty"`
	Secrets                     *[]VaultSecretGroup   `json:"secrets,omitempty"`
	WindowsConfiguration        *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

type OperatingSystemType

type OperatingSystemType string
const (
	OperatingSystemTypeLinux   OperatingSystemType = "Linux"
	OperatingSystemTypeWindows OperatingSystemType = "Windows"
)

func (*OperatingSystemType) UnmarshalJSON added in v0.20230808.1103829

func (s *OperatingSystemType) UnmarshalJSON(bytes []byte) error

type PassNames

type PassNames string
const (
	PassNamesOobeSystem PassNames = "OobeSystem"
)

func (*PassNames) UnmarshalJSON added in v0.20230808.1103829

func (s *PassNames) UnmarshalJSON(bytes []byte) error

type PatchSettings

type PatchSettings struct {
	AssessmentMode    *WindowsPatchAssessmentMode `json:"assessmentMode,omitempty"`
	EnableHotpatching *bool                       `json:"enableHotpatching,omitempty"`
	PatchMode         *WindowsVMGuestPatchMode    `json:"patchMode,omitempty"`
}

type ProtocolTypes

type ProtocolTypes string
const (
	ProtocolTypesHTTP  ProtocolTypes = "Http"
	ProtocolTypesHTTPS ProtocolTypes = "Https"
)

func (*ProtocolTypes) UnmarshalJSON added in v0.20230808.1103829

func (s *ProtocolTypes) UnmarshalJSON(bytes []byte) error

type RestorePoint

type RestorePoint struct {
	Id         *string                 `json:"id,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	Properties *RestorePointProperties `json:"properties,omitempty"`
	Type       *string                 `json:"type,omitempty"`
}

type RestorePointId

type RestorePointId struct {
	SubscriptionId             string
	ResourceGroupName          string
	RestorePointCollectionName string
	RestorePointName           string
}

RestorePointId is a struct representing the Resource ID for a Restore Point

func NewRestorePointID

func NewRestorePointID(subscriptionId string, resourceGroupName string, restorePointCollectionName string, restorePointName string) RestorePointId

NewRestorePointID returns a new RestorePointId struct

func ParseRestorePointID

func ParseRestorePointID(input string) (*RestorePointId, error)

ParseRestorePointID parses 'input' into a RestorePointId

func ParseRestorePointIDInsensitively

func ParseRestorePointIDInsensitively(input string) (*RestorePointId, error)

ParseRestorePointIDInsensitively parses 'input' case-insensitively into a RestorePointId note: this method should only be used for API response data and not user input

func (RestorePointId) ID

func (id RestorePointId) ID() string

ID returns the formatted Restore Point ID

func (RestorePointId) Segments

func (id RestorePointId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Restore Point ID

func (RestorePointId) String

func (id RestorePointId) String() string

String returns a human-readable description of this Restore Point ID

type RestorePointProperties

type RestorePointProperties struct {
	ConsistencyMode   *ConsistencyModeTypes       `json:"consistencyMode,omitempty"`
	ExcludeDisks      *[]ApiEntityReference       `json:"excludeDisks,omitempty"`
	ProvisioningState *string                     `json:"provisioningState,omitempty"`
	SourceMetadata    *RestorePointSourceMetadata `json:"sourceMetadata,omitempty"`
	TimeCreated       *string                     `json:"timeCreated,omitempty"`
}

func (*RestorePointProperties) GetTimeCreatedAsTime

func (o *RestorePointProperties) GetTimeCreatedAsTime() (*time.Time, error)

func (*RestorePointProperties) SetTimeCreatedAsTime

func (o *RestorePointProperties) SetTimeCreatedAsTime(input time.Time)

type RestorePointSourceMetadata

type RestorePointSourceMetadata struct {
	DiagnosticsProfile *DiagnosticsProfile                 `json:"diagnosticsProfile,omitempty"`
	HardwareProfile    *HardwareProfile                    `json:"hardwareProfile,omitempty"`
	LicenseType        *string                             `json:"licenseType,omitempty"`
	Location           *string                             `json:"location,omitempty"`
	OsProfile          *OSProfile                          `json:"osProfile,omitempty"`
	SecurityProfile    *SecurityProfile                    `json:"securityProfile,omitempty"`
	StorageProfile     *RestorePointSourceVMStorageProfile `json:"storageProfile,omitempty"`
	VMId               *string                             `json:"vmId,omitempty"`
}

type RestorePointSourceVMDataDisk

type RestorePointSourceVMDataDisk struct {
	Caching          *CachingTypes          `json:"caching,omitempty"`
	DiskRestorePoint *ApiEntityReference    `json:"diskRestorePoint,omitempty"`
	DiskSizeGB       *int64                 `json:"diskSizeGB,omitempty"`
	Lun              *int64                 `json:"lun,omitempty"`
	ManagedDisk      *ManagedDiskParameters `json:"managedDisk,omitempty"`
	Name             *string                `json:"name,omitempty"`
}

type RestorePointSourceVMOSDisk

type RestorePointSourceVMOSDisk struct {
	Caching            *CachingTypes           `json:"caching,omitempty"`
	DiskRestorePoint   *ApiEntityReference     `json:"diskRestorePoint,omitempty"`
	DiskSizeGB         *int64                  `json:"diskSizeGB,omitempty"`
	EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
	ManagedDisk        *ManagedDiskParameters  `json:"managedDisk,omitempty"`
	Name               *string                 `json:"name,omitempty"`
	OsType             *OperatingSystemType    `json:"osType,omitempty"`
}

type RestorePointSourceVMStorageProfile

type RestorePointSourceVMStorageProfile struct {
	DataDisks *[]RestorePointSourceVMDataDisk `json:"dataDisks,omitempty"`
	OsDisk    *RestorePointSourceVMOSDisk     `json:"osDisk,omitempty"`
}

type RestorePointsCreateOperationResponse

type RestorePointsCreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type RestorePointsDeleteOperationResponse

type RestorePointsDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type RestorePointsGetOperationResponse

type RestorePointsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorePoint
}

type SecurityProfile

type SecurityProfile struct {
	EncryptionAtHost *bool          `json:"encryptionAtHost,omitempty"`
	SecurityType     *SecurityTypes `json:"securityType,omitempty"`
	UefiSettings     *UefiSettings  `json:"uefiSettings,omitempty"`
}

type SecurityTypes

type SecurityTypes string
const (
	SecurityTypesTrustedLaunch SecurityTypes = "TrustedLaunch"
)

func (*SecurityTypes) UnmarshalJSON added in v0.20230808.1103829

func (s *SecurityTypes) UnmarshalJSON(bytes []byte) error

type SettingNames

type SettingNames string
const (
	SettingNamesAutoLogon          SettingNames = "AutoLogon"
	SettingNamesFirstLogonCommands SettingNames = "FirstLogonCommands"
)

func (*SettingNames) UnmarshalJSON added in v0.20230808.1103829

func (s *SettingNames) UnmarshalJSON(bytes []byte) error

type SshConfiguration

type SshConfiguration struct {
	PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}

type SshPublicKey

type SshPublicKey struct {
	KeyData *string `json:"keyData,omitempty"`
	Path    *string `json:"path,omitempty"`
}

type StorageAccountTypes

type StorageAccountTypes string
const (
	StorageAccountTypesPremiumLRS     StorageAccountTypes = "Premium_LRS"
	StorageAccountTypesPremiumZRS     StorageAccountTypes = "Premium_ZRS"
	StorageAccountTypesStandardLRS    StorageAccountTypes = "Standard_LRS"
	StorageAccountTypesStandardSSDLRS StorageAccountTypes = "StandardSSD_LRS"
	StorageAccountTypesStandardSSDZRS StorageAccountTypes = "StandardSSD_ZRS"
	StorageAccountTypesUltraSSDLRS    StorageAccountTypes = "UltraSSD_LRS"
)

func (*StorageAccountTypes) UnmarshalJSON added in v0.20230808.1103829

func (s *StorageAccountTypes) UnmarshalJSON(bytes []byte) error

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type UefiSettings

type UefiSettings struct {
	SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
	VTpmEnabled       *bool `json:"vTpmEnabled,omitempty"`
}

type VMSizeProperties

type VMSizeProperties struct {
	VCPUsAvailable *int64 `json:"vCPUsAvailable,omitempty"`
	VCPUsPerCore   *int64 `json:"vCPUsPerCore,omitempty"`
}

type VaultCertificate

type VaultCertificate struct {
	CertificateStore *string `json:"certificateStore,omitempty"`
	CertificateUrl   *string `json:"certificateUrl,omitempty"`
}

type VaultSecretGroup

type VaultSecretGroup struct {
	SourceVault       *SubResource        `json:"sourceVault,omitempty"`
	VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"`
}

type VirtualMachineSizeTypes

type VirtualMachineSizeTypes string
const (
	VirtualMachineSizeTypesBasicAFour                              VirtualMachineSizeTypes = "Basic_A4"
	VirtualMachineSizeTypesBasicAOne                               VirtualMachineSizeTypes = "Basic_A1"
	VirtualMachineSizeTypesBasicAThree                             VirtualMachineSizeTypes = "Basic_A3"
	VirtualMachineSizeTypesBasicATwo                               VirtualMachineSizeTypes = "Basic_A2"
	VirtualMachineSizeTypesBasicAZero                              VirtualMachineSizeTypes = "Basic_A0"
	VirtualMachineSizeTypesStandardAEight                          VirtualMachineSizeTypes = "Standard_A8"
	VirtualMachineSizeTypesStandardAEightVTwo                      VirtualMachineSizeTypes = "Standard_A8_v2"
	VirtualMachineSizeTypesStandardAEightmVTwo                     VirtualMachineSizeTypes = "Standard_A8m_v2"
	VirtualMachineSizeTypesStandardAFive                           VirtualMachineSizeTypes = "Standard_A5"
	VirtualMachineSizeTypesStandardAFour                           VirtualMachineSizeTypes = "Standard_A4"
	VirtualMachineSizeTypesStandardAFourVTwo                       VirtualMachineSizeTypes = "Standard_A4_v2"
	VirtualMachineSizeTypesStandardAFourmVTwo                      VirtualMachineSizeTypes = "Standard_A4m_v2"
	VirtualMachineSizeTypesStandardANine                           VirtualMachineSizeTypes = "Standard_A9"
	VirtualMachineSizeTypesStandardAOne                            VirtualMachineSizeTypes = "Standard_A1"
	VirtualMachineSizeTypesStandardAOneOne                         VirtualMachineSizeTypes = "Standard_A11"
	VirtualMachineSizeTypesStandardAOneVTwo                        VirtualMachineSizeTypes = "Standard_A1_v2"
	VirtualMachineSizeTypesStandardAOneZero                        VirtualMachineSizeTypes = "Standard_A10"
	VirtualMachineSizeTypesStandardASeven                          VirtualMachineSizeTypes = "Standard_A7"
	VirtualMachineSizeTypesStandardASix                            VirtualMachineSizeTypes = "Standard_A6"
	VirtualMachineSizeTypesStandardAThree                          VirtualMachineSizeTypes = "Standard_A3"
	VirtualMachineSizeTypesStandardATwo                            VirtualMachineSizeTypes = "Standard_A2"
	VirtualMachineSizeTypesStandardATwoVTwo                        VirtualMachineSizeTypes = "Standard_A2_v2"
	VirtualMachineSizeTypesStandardATwomVTwo                       VirtualMachineSizeTypes = "Standard_A2m_v2"
	VirtualMachineSizeTypesStandardAZero                           VirtualMachineSizeTypes = "Standard_A0"
	VirtualMachineSizeTypesStandardBEightms                        VirtualMachineSizeTypes = "Standard_B8ms"
	VirtualMachineSizeTypesStandardBFourms                         VirtualMachineSizeTypes = "Standard_B4ms"
	VirtualMachineSizeTypesStandardBOnems                          VirtualMachineSizeTypes = "Standard_B1ms"
	VirtualMachineSizeTypesStandardBOnes                           VirtualMachineSizeTypes = "Standard_B1s"
	VirtualMachineSizeTypesStandardBTwoms                          VirtualMachineSizeTypes = "Standard_B2ms"
	VirtualMachineSizeTypesStandardBTwos                           VirtualMachineSizeTypes = "Standard_B2s"
	VirtualMachineSizeTypesStandardDEightVThree                    VirtualMachineSizeTypes = "Standard_D8_v3"
	VirtualMachineSizeTypesStandardDEightsVThree                   VirtualMachineSizeTypes = "Standard_D8s_v3"
	VirtualMachineSizeTypesStandardDFiveVTwo                       VirtualMachineSizeTypes = "Standard_D5_v2"
	VirtualMachineSizeTypesStandardDFour                           VirtualMachineSizeTypes = "Standard_D4"
	VirtualMachineSizeTypesStandardDFourVThree                     VirtualMachineSizeTypes = "Standard_D4_v3"
	VirtualMachineSizeTypesStandardDFourVTwo                       VirtualMachineSizeTypes = "Standard_D4_v2"
	VirtualMachineSizeTypesStandardDFoursVThree                    VirtualMachineSizeTypes = "Standard_D4s_v3"
	VirtualMachineSizeTypesStandardDOne                            VirtualMachineSizeTypes = "Standard_D1"
	VirtualMachineSizeTypesStandardDOneFiveVTwo                    VirtualMachineSizeTypes = "Standard_D15_v2"
	VirtualMachineSizeTypesStandardDOneFour                        VirtualMachineSizeTypes = "Standard_D14"
	VirtualMachineSizeTypesStandardDOneFourVTwo                    VirtualMachineSizeTypes = "Standard_D14_v2"
	VirtualMachineSizeTypesStandardDOneOne                         VirtualMachineSizeTypes = "Standard_D11"
	VirtualMachineSizeTypesStandardDOneOneVTwo                     VirtualMachineSizeTypes = "Standard_D11_v2"
	VirtualMachineSizeTypesStandardDOneSixVThree                   VirtualMachineSizeTypes = "Standard_D16_v3"
	VirtualMachineSizeTypesStandardDOneSixsVThree                  VirtualMachineSizeTypes = "Standard_D16s_v3"
	VirtualMachineSizeTypesStandardDOneThree                       VirtualMachineSizeTypes = "Standard_D13"
	VirtualMachineSizeTypesStandardDOneThreeVTwo                   VirtualMachineSizeTypes = "Standard_D13_v2"
	VirtualMachineSizeTypesStandardDOneTwo                         VirtualMachineSizeTypes = "Standard_D12"
	VirtualMachineSizeTypesStandardDOneTwoVTwo                     VirtualMachineSizeTypes = "Standard_D12_v2"
	VirtualMachineSizeTypesStandardDOneVTwo                        VirtualMachineSizeTypes = "Standard_D1_v2"
	VirtualMachineSizeTypesStandardDSFiveVTwo                      VirtualMachineSizeTypes = "Standard_DS5_v2"
	VirtualMachineSizeTypesStandardDSFour                          VirtualMachineSizeTypes = "Standard_DS4"
	VirtualMachineSizeTypesStandardDSFourVTwo                      VirtualMachineSizeTypes = "Standard_DS4_v2"
	VirtualMachineSizeTypesStandardDSOne                           VirtualMachineSizeTypes = "Standard_DS1"
	VirtualMachineSizeTypesStandardDSOneFiveVTwo                   VirtualMachineSizeTypes = "Standard_DS15_v2"
	VirtualMachineSizeTypesStandardDSOneFour                       VirtualMachineSizeTypes = "Standard_DS14"
	VirtualMachineSizeTypesStandardDSOneFourNegativeEightVTwo      VirtualMachineSizeTypes = "Standard_DS14-8_v2"
	VirtualMachineSizeTypesStandardDSOneFourNegativeFourVTwo       VirtualMachineSizeTypes = "Standard_DS14-4_v2"
	VirtualMachineSizeTypesStandardDSOneFourVTwo                   VirtualMachineSizeTypes = "Standard_DS14_v2"
	VirtualMachineSizeTypesStandardDSOneOne                        VirtualMachineSizeTypes = "Standard_DS11"
	VirtualMachineSizeTypesStandardDSOneOneVTwo                    VirtualMachineSizeTypes = "Standard_DS11_v2"
	VirtualMachineSizeTypesStandardDSOneThree                      VirtualMachineSizeTypes = "Standard_DS13"
	VirtualMachineSizeTypesStandardDSOneThreeNegativeFourVTwo      VirtualMachineSizeTypes = "Standard_DS13-4_v2"
	VirtualMachineSizeTypesStandardDSOneThreeNegativeTwoVTwo       VirtualMachineSizeTypes = "Standard_DS13-2_v2"
	VirtualMachineSizeTypesStandardDSOneThreeVTwo                  VirtualMachineSizeTypes = "Standard_DS13_v2"
	VirtualMachineSizeTypesStandardDSOneTwo                        VirtualMachineSizeTypes = "Standard_DS12"
	VirtualMachineSizeTypesStandardDSOneTwoVTwo                    VirtualMachineSizeTypes = "Standard_DS12_v2"
	VirtualMachineSizeTypesStandardDSOneVTwo                       VirtualMachineSizeTypes = "Standard_DS1_v2"
	VirtualMachineSizeTypesStandardDSThree                         VirtualMachineSizeTypes = "Standard_DS3"
	VirtualMachineSizeTypesStandardDSThreeVTwo                     VirtualMachineSizeTypes = "Standard_DS3_v2"
	VirtualMachineSizeTypesStandardDSTwo                           VirtualMachineSizeTypes = "Standard_DS2"
	VirtualMachineSizeTypesStandardDSTwoVTwo                       VirtualMachineSizeTypes = "Standard_DS2_v2"
	VirtualMachineSizeTypesStandardDSixFourVThree                  VirtualMachineSizeTypes = "Standard_D64_v3"
	VirtualMachineSizeTypesStandardDSixFoursVThree                 VirtualMachineSizeTypes = "Standard_D64s_v3"
	VirtualMachineSizeTypesStandardDThree                          VirtualMachineSizeTypes = "Standard_D3"
	VirtualMachineSizeTypesStandardDThreeTwoVThree                 VirtualMachineSizeTypes = "Standard_D32_v3"
	VirtualMachineSizeTypesStandardDThreeTwosVThree                VirtualMachineSizeTypes = "Standard_D32s_v3"
	VirtualMachineSizeTypesStandardDThreeVTwo                      VirtualMachineSizeTypes = "Standard_D3_v2"
	VirtualMachineSizeTypesStandardDTwo                            VirtualMachineSizeTypes = "Standard_D2"
	VirtualMachineSizeTypesStandardDTwoVThree                      VirtualMachineSizeTypes = "Standard_D2_v3"
	VirtualMachineSizeTypesStandardDTwoVTwo                        VirtualMachineSizeTypes = "Standard_D2_v2"
	VirtualMachineSizeTypesStandardDTwosVThree                     VirtualMachineSizeTypes = "Standard_D2s_v3"
	VirtualMachineSizeTypesStandardEEightVThree                    VirtualMachineSizeTypes = "Standard_E8_v3"
	VirtualMachineSizeTypesStandardEEightsVThree                   VirtualMachineSizeTypes = "Standard_E8s_v3"
	VirtualMachineSizeTypesStandardEFourVThree                     VirtualMachineSizeTypes = "Standard_E4_v3"
	VirtualMachineSizeTypesStandardEFoursVThree                    VirtualMachineSizeTypes = "Standard_E4s_v3"
	VirtualMachineSizeTypesStandardEOneSixVThree                   VirtualMachineSizeTypes = "Standard_E16_v3"
	VirtualMachineSizeTypesStandardEOneSixsVThree                  VirtualMachineSizeTypes = "Standard_E16s_v3"
	VirtualMachineSizeTypesStandardESixFourNegativeOneSixsVThree   VirtualMachineSizeTypes = "Standard_E64-16s_v3"
	VirtualMachineSizeTypesStandardESixFourNegativeThreeTwosVThree VirtualMachineSizeTypes = "Standard_E64-32s_v3"
	VirtualMachineSizeTypesStandardESixFourVThree                  VirtualMachineSizeTypes = "Standard_E64_v3"
	VirtualMachineSizeTypesStandardESixFoursVThree                 VirtualMachineSizeTypes = "Standard_E64s_v3"
	VirtualMachineSizeTypesStandardEThreeTwoNegativeEightsVThree   VirtualMachineSizeTypes = "Standard_E32-8s_v3"
	VirtualMachineSizeTypesStandardEThreeTwoNegativeOneSixVThree   VirtualMachineSizeTypes = "Standard_E32-16_v3"
	VirtualMachineSizeTypesStandardEThreeTwoVThree                 VirtualMachineSizeTypes = "Standard_E32_v3"
	VirtualMachineSizeTypesStandardEThreeTwosVThree                VirtualMachineSizeTypes = "Standard_E32s_v3"
	VirtualMachineSizeTypesStandardETwoVThree                      VirtualMachineSizeTypes = "Standard_E2_v3"
	VirtualMachineSizeTypesStandardETwosVThree                     VirtualMachineSizeTypes = "Standard_E2s_v3"
	VirtualMachineSizeTypesStandardFEight                          VirtualMachineSizeTypes = "Standard_F8"
	VirtualMachineSizeTypesStandardFEights                         VirtualMachineSizeTypes = "Standard_F8s"
	VirtualMachineSizeTypesStandardFEightsVTwo                     VirtualMachineSizeTypes = "Standard_F8s_v2"
	VirtualMachineSizeTypesStandardFFour                           VirtualMachineSizeTypes = "Standard_F4"
	VirtualMachineSizeTypesStandardFFours                          VirtualMachineSizeTypes = "Standard_F4s"
	VirtualMachineSizeTypesStandardFFoursVTwo                      VirtualMachineSizeTypes = "Standard_F4s_v2"
	VirtualMachineSizeTypesStandardFOne                            VirtualMachineSizeTypes = "Standard_F1"
	VirtualMachineSizeTypesStandardFOneSix                         VirtualMachineSizeTypes = "Standard_F16"
	VirtualMachineSizeTypesStandardFOneSixs                        VirtualMachineSizeTypes = "Standard_F16s"
	VirtualMachineSizeTypesStandardFOneSixsVTwo                    VirtualMachineSizeTypes = "Standard_F16s_v2"
	VirtualMachineSizeTypesStandardFOnes                           VirtualMachineSizeTypes = "Standard_F1s"
	VirtualMachineSizeTypesStandardFSevenTwosVTwo                  VirtualMachineSizeTypes = "Standard_F72s_v2"
	VirtualMachineSizeTypesStandardFSixFoursVTwo                   VirtualMachineSizeTypes = "Standard_F64s_v2"
	VirtualMachineSizeTypesStandardFThreeTwosVTwo                  VirtualMachineSizeTypes = "Standard_F32s_v2"
	VirtualMachineSizeTypesStandardFTwo                            VirtualMachineSizeTypes = "Standard_F2"
	VirtualMachineSizeTypesStandardFTwos                           VirtualMachineSizeTypes = "Standard_F2s"
	VirtualMachineSizeTypesStandardFTwosVTwo                       VirtualMachineSizeTypes = "Standard_F2s_v2"
	VirtualMachineSizeTypesStandardGFive                           VirtualMachineSizeTypes = "Standard_G5"
	VirtualMachineSizeTypesStandardGFour                           VirtualMachineSizeTypes = "Standard_G4"
	VirtualMachineSizeTypesStandardGOne                            VirtualMachineSizeTypes = "Standard_G1"
	VirtualMachineSizeTypesStandardGSFive                          VirtualMachineSizeTypes = "Standard_GS5"
	VirtualMachineSizeTypesStandardGSFiveNegativeEight             VirtualMachineSizeTypes = "Standard_GS5-8"
	VirtualMachineSizeTypesStandardGSFiveNegativeOneSix            VirtualMachineSizeTypes = "Standard_GS5-16"
	VirtualMachineSizeTypesStandardGSFour                          VirtualMachineSizeTypes = "Standard_GS4"
	VirtualMachineSizeTypesStandardGSFourNegativeEight             VirtualMachineSizeTypes = "Standard_GS4-8"
	VirtualMachineSizeTypesStandardGSFourNegativeFour              VirtualMachineSizeTypes = "Standard_GS4-4"
	VirtualMachineSizeTypesStandardGSOne                           VirtualMachineSizeTypes = "Standard_GS1"
	VirtualMachineSizeTypesStandardGSThree                         VirtualMachineSizeTypes = "Standard_GS3"
	VirtualMachineSizeTypesStandardGSTwo                           VirtualMachineSizeTypes = "Standard_GS2"
	VirtualMachineSizeTypesStandardGThree                          VirtualMachineSizeTypes = "Standard_G3"
	VirtualMachineSizeTypesStandardGTwo                            VirtualMachineSizeTypes = "Standard_G2"
	VirtualMachineSizeTypesStandardHEight                          VirtualMachineSizeTypes = "Standard_H8"
	VirtualMachineSizeTypesStandardHEightm                         VirtualMachineSizeTypes = "Standard_H8m"
	VirtualMachineSizeTypesStandardHOneSix                         VirtualMachineSizeTypes = "Standard_H16"
	VirtualMachineSizeTypesStandardHOneSixm                        VirtualMachineSizeTypes = "Standard_H16m"
	VirtualMachineSizeTypesStandardHOneSixmr                       VirtualMachineSizeTypes = "Standard_H16mr"
	VirtualMachineSizeTypesStandardHOneSixr                        VirtualMachineSizeTypes = "Standard_H16r"
	VirtualMachineSizeTypesStandardLEights                         VirtualMachineSizeTypes = "Standard_L8s"
	VirtualMachineSizeTypesStandardLFours                          VirtualMachineSizeTypes = "Standard_L4s"
	VirtualMachineSizeTypesStandardLOneSixs                        VirtualMachineSizeTypes = "Standard_L16s"
	VirtualMachineSizeTypesStandardLThreeTwos                      VirtualMachineSizeTypes = "Standard_L32s"
	VirtualMachineSizeTypesStandardMOneTwoEightNegativeSixFourms   VirtualMachineSizeTypes = "Standard_M128-64ms"
	VirtualMachineSizeTypesStandardMOneTwoEightNegativeThreeTwoms  VirtualMachineSizeTypes = "Standard_M128-32ms"
	VirtualMachineSizeTypesStandardMOneTwoEightms                  VirtualMachineSizeTypes = "Standard_M128ms"
	VirtualMachineSizeTypesStandardMOneTwoEights                   VirtualMachineSizeTypes = "Standard_M128s"
	VirtualMachineSizeTypesStandardMSixFourNegativeOneSixms        VirtualMachineSizeTypes = "Standard_M64-16ms"
	VirtualMachineSizeTypesStandardMSixFourNegativeThreeTwoms      VirtualMachineSizeTypes = "Standard_M64-32ms"
	VirtualMachineSizeTypesStandardMSixFourms                      VirtualMachineSizeTypes = "Standard_M64ms"
	VirtualMachineSizeTypesStandardMSixFours                       VirtualMachineSizeTypes = "Standard_M64s"
	VirtualMachineSizeTypesStandardNCOneTwo                        VirtualMachineSizeTypes = "Standard_NC12"
	VirtualMachineSizeTypesStandardNCOneTwosVThree                 VirtualMachineSizeTypes = "Standard_NC12s_v3"
	VirtualMachineSizeTypesStandardNCOneTwosVTwo                   VirtualMachineSizeTypes = "Standard_NC12s_v2"
	VirtualMachineSizeTypesStandardNCSix                           VirtualMachineSizeTypes = "Standard_NC6"
	VirtualMachineSizeTypesStandardNCSixsVThree                    VirtualMachineSizeTypes = "Standard_NC6s_v3"
	VirtualMachineSizeTypesStandardNCSixsVTwo                      VirtualMachineSizeTypes = "Standard_NC6s_v2"
	VirtualMachineSizeTypesStandardNCTwoFour                       VirtualMachineSizeTypes = "Standard_NC24"
	VirtualMachineSizeTypesStandardNCTwoFourr                      VirtualMachineSizeTypes = "Standard_NC24r"
	VirtualMachineSizeTypesStandardNCTwoFourrsVThree               VirtualMachineSizeTypes = "Standard_NC24rs_v3"
	VirtualMachineSizeTypesStandardNCTwoFourrsVTwo                 VirtualMachineSizeTypes = "Standard_NC24rs_v2"
	VirtualMachineSizeTypesStandardNCTwoFoursVThree                VirtualMachineSizeTypes = "Standard_NC24s_v3"
	VirtualMachineSizeTypesStandardNCTwoFoursVTwo                  VirtualMachineSizeTypes = "Standard_NC24s_v2"
	VirtualMachineSizeTypesStandardNDOneTwos                       VirtualMachineSizeTypes = "Standard_ND12s"
	VirtualMachineSizeTypesStandardNDSixs                          VirtualMachineSizeTypes = "Standard_ND6s"
	VirtualMachineSizeTypesStandardNDTwoFourrs                     VirtualMachineSizeTypes = "Standard_ND24rs"
	VirtualMachineSizeTypesStandardNDTwoFours                      VirtualMachineSizeTypes = "Standard_ND24s"
	VirtualMachineSizeTypesStandardNVOneTwo                        VirtualMachineSizeTypes = "Standard_NV12"
	VirtualMachineSizeTypesStandardNVSix                           VirtualMachineSizeTypes = "Standard_NV6"
	VirtualMachineSizeTypesStandardNVTwoFour                       VirtualMachineSizeTypes = "Standard_NV24"
)

func (*VirtualMachineSizeTypes) UnmarshalJSON added in v0.20230808.1103829

func (s *VirtualMachineSizeTypes) UnmarshalJSON(bytes []byte) error

type WinRMConfiguration

type WinRMConfiguration struct {
	Listeners *[]WinRMListener `json:"listeners,omitempty"`
}

type WinRMListener

type WinRMListener struct {
	CertificateUrl *string        `json:"certificateUrl,omitempty"`
	Protocol       *ProtocolTypes `json:"protocol,omitempty"`
}

type WindowsConfiguration

type WindowsConfiguration struct {
	AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"`
	EnableAutomaticUpdates    *bool                        `json:"enableAutomaticUpdates,omitempty"`
	PatchSettings             *PatchSettings               `json:"patchSettings,omitempty"`
	ProvisionVMAgent          *bool                        `json:"provisionVMAgent,omitempty"`
	TimeZone                  *string                      `json:"timeZone,omitempty"`
	WinRM                     *WinRMConfiguration          `json:"winRM,omitempty"`
}

type WindowsPatchAssessmentMode

type WindowsPatchAssessmentMode string
const (
	WindowsPatchAssessmentModeAutomaticByPlatform WindowsPatchAssessmentMode = "AutomaticByPlatform"
	WindowsPatchAssessmentModeImageDefault        WindowsPatchAssessmentMode = "ImageDefault"
)

func (*WindowsPatchAssessmentMode) UnmarshalJSON added in v0.20230808.1103829

func (s *WindowsPatchAssessmentMode) UnmarshalJSON(bytes []byte) error

type WindowsVMGuestPatchMode

type WindowsVMGuestPatchMode string
const (
	WindowsVMGuestPatchModeAutomaticByOS       WindowsVMGuestPatchMode = "AutomaticByOS"
	WindowsVMGuestPatchModeAutomaticByPlatform WindowsVMGuestPatchMode = "AutomaticByPlatform"
	WindowsVMGuestPatchModeManual              WindowsVMGuestPatchMode = "Manual"
)

func (*WindowsVMGuestPatchMode) UnmarshalJSON added in v0.20230808.1103829

func (s *WindowsVMGuestPatchMode) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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