Documentation ¶
Index ¶
- func PossibleValuesForCachingTypes() []string
- func PossibleValuesForComponentNames() []string
- func PossibleValuesForDeleteOptions() []string
- func PossibleValuesForDiffDiskOptions() []string
- func PossibleValuesForDiffDiskPlacement() []string
- func PossibleValuesForDiskCreateOptionTypes() []string
- func PossibleValuesForDiskDeleteOptionTypes() []string
- func PossibleValuesForDiskDetachOptionTypes() []string
- func PossibleValuesForHyperVGenerationType() []string
- func PossibleValuesForIPVersions() []string
- func PossibleValuesForInstanceViewTypes() []string
- func PossibleValuesForLinuxPatchAssessmentMode() []string
- func PossibleValuesForLinuxVMGuestPatchMode() []string
- func PossibleValuesForMaintenanceOperationResultCodeTypes() []string
- func PossibleValuesForNetworkApiVersion() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForPassNames() []string
- func PossibleValuesForPatchAssessmentState() []string
- func PossibleValuesForPatchInstallationState() []string
- func PossibleValuesForPatchOperationStatus() []string
- func PossibleValuesForProtocolTypes() []string
- func PossibleValuesForPublicIPAddressSkuName() []string
- func PossibleValuesForPublicIPAddressSkuTier() []string
- func PossibleValuesForPublicIPAllocationMethod() []string
- func PossibleValuesForSecurityEncryptionTypes() []string
- func PossibleValuesForSecurityTypes() []string
- func PossibleValuesForSettingNames() []string
- func PossibleValuesForStatusLevelTypes() []string
- func PossibleValuesForStorageAccountTypes() []string
- func PossibleValuesForVMGuestPatchClassificationLinux() []string
- func PossibleValuesForVMGuestPatchClassificationWindows() []string
- func PossibleValuesForVMGuestPatchRebootBehavior() []string
- func PossibleValuesForVMGuestPatchRebootSetting() []string
- func PossibleValuesForVMGuestPatchRebootStatus() []string
- func PossibleValuesForVirtualMachineEvictionPolicyTypes() []string
- func PossibleValuesForVirtualMachinePriorityTypes() []string
- func PossibleValuesForVirtualMachineSizeTypes() []string
- func PossibleValuesForWindowsPatchAssessmentMode() []string
- func PossibleValuesForWindowsVMGuestPatchMode() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error)
- type AdditionalCapabilities
- type AdditionalUnattendContent
- type ApiError
- type ApiErrorBase
- type ApplicationProfile
- type AssessPatchesOperationResponse
- type AvailablePatchSummary
- type BillingProfile
- type BootDiagnostics
- type BootDiagnosticsInstanceView
- type CachingTypes
- type CapacityReservationProfile
- type CaptureOperationResponse
- type ComponentNames
- type ConvertToManagedDisksOperationResponse
- type CreateOrUpdateOperationResponse
- type DataDisk
- type DeallocateOperationOptions
- type DeallocateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DeleteOptions
- type DiagnosticsProfile
- type DiffDiskOptions
- type DiffDiskPlacement
- type DiffDiskSettings
- type DiskCreateOptionTypes
- type DiskDeleteOptionTypes
- type DiskDetachOptionTypes
- type DiskEncryptionSettings
- type DiskInstanceView
- type GeneralizeOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type HardwareProfile
- type HyperVGenerationType
- type IPVersions
- type ImageReference
- type InnerError
- type InstallPatchesOperationResponse
- type InstanceViewOperationResponse
- type InstanceViewStatus
- type InstanceViewTypes
- type KeyVaultKeyReference
- type KeyVaultSecretReference
- type LastPatchInstallationSummary
- func (o *LastPatchInstallationSummary) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *LastPatchInstallationSummary) GetStartTimeAsTime() (*time.Time, error)
- func (o *LastPatchInstallationSummary) SetLastModifiedTimeAsTime(input time.Time)
- func (o *LastPatchInstallationSummary) SetStartTimeAsTime(input time.Time)
- type LinuxConfiguration
- type LinuxParameters
- type LinuxPatchAssessmentMode
- type LinuxPatchSettings
- type LinuxVMGuestPatchMode
- type ListAllCompleteResult
- type ListAllOperationOptions
- type ListAllOperationResponse
- type ListAvailableSizesOperationResponse
- type ListByLocationCompleteResult
- type ListByLocationOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type LocationId
- type MaintenanceOperationResultCodeTypes
- type MaintenanceRedeployStatus
- func (o *MaintenanceRedeployStatus) GetMaintenanceWindowEndTimeAsTime() (*time.Time, error)
- func (o *MaintenanceRedeployStatus) GetMaintenanceWindowStartTimeAsTime() (*time.Time, error)
- func (o *MaintenanceRedeployStatus) GetPreMaintenanceWindowEndTimeAsTime() (*time.Time, error)
- func (o *MaintenanceRedeployStatus) GetPreMaintenanceWindowStartTimeAsTime() (*time.Time, error)
- func (o *MaintenanceRedeployStatus) SetMaintenanceWindowEndTimeAsTime(input time.Time)
- func (o *MaintenanceRedeployStatus) SetMaintenanceWindowStartTimeAsTime(input time.Time)
- func (o *MaintenanceRedeployStatus) SetPreMaintenanceWindowEndTimeAsTime(input time.Time)
- func (o *MaintenanceRedeployStatus) SetPreMaintenanceWindowStartTimeAsTime(input time.Time)
- type ManagedDiskParameters
- type NetworkApiVersion
- type NetworkInterfaceReference
- type NetworkInterfaceReferenceProperties
- type NetworkProfile
- type OSDisk
- type OSProfile
- type OperatingSystemTypes
- type PassNames
- type PatchAssessmentState
- type PatchInstallationDetail
- type PatchInstallationState
- type PatchOperationStatus
- type PatchSettings
- type PerformMaintenanceOperationResponse
- type Plan
- type PowerOffOperationOptions
- type PowerOffOperationResponse
- type ProtocolTypes
- type PublicIPAddressSku
- type PublicIPAddressSkuName
- type PublicIPAddressSkuTier
- type PublicIPAllocationMethod
- type ReapplyOperationResponse
- type RedeployOperationResponse
- type ReimageOperationResponse
- type RestartOperationResponse
- type RetrieveBootDiagnosticsDataOperationOptions
- type RetrieveBootDiagnosticsDataOperationResponse
- type RetrieveBootDiagnosticsDataResult
- type RunCommandInput
- type RunCommandInputParameter
- type RunCommandOperationResponse
- type RunCommandResult
- type ScheduledEventsProfile
- type SecurityEncryptionTypes
- type SecurityProfile
- type SecurityTypes
- type SettingNames
- type SimulateEvictionOperationResponse
- type SshConfiguration
- type SshPublicKey
- type StartOperationResponse
- type StatusLevelTypes
- type StorageAccountTypes
- type StorageProfile
- type SubResource
- type TerminateNotificationProfile
- type UefiSettings
- type UpdateOperationResponse
- type VMDiskSecurityProfile
- type VMGalleryApplication
- type VMGuestPatchClassificationLinux
- type VMGuestPatchClassificationWindows
- type VMGuestPatchRebootBehavior
- type VMGuestPatchRebootSetting
- type VMGuestPatchRebootStatus
- type VMSizeProperties
- type VaultCertificate
- type VaultSecretGroup
- type VirtualHardDisk
- type VirtualMachine
- type VirtualMachineAgentInstanceView
- type VirtualMachineAssessPatchesResult
- type VirtualMachineCaptureParameters
- type VirtualMachineCaptureResult
- type VirtualMachineEvictionPolicyTypes
- type VirtualMachineExtension
- type VirtualMachineExtensionHandlerInstanceView
- type VirtualMachineExtensionInstanceView
- type VirtualMachineExtensionProperties
- type VirtualMachineHealthStatus
- type VirtualMachineIPTag
- type VirtualMachineId
- type VirtualMachineInstallPatchesParameters
- type VirtualMachineInstallPatchesResult
- type VirtualMachineInstanceView
- type VirtualMachineNetworkInterfaceConfiguration
- type VirtualMachineNetworkInterfaceConfigurationProperties
- type VirtualMachineNetworkInterfaceDnsSettingsConfiguration
- type VirtualMachineNetworkInterfaceIPConfiguration
- type VirtualMachineNetworkInterfaceIPConfigurationProperties
- type VirtualMachineOperationPredicate
- type VirtualMachinePatchStatus
- type VirtualMachinePriorityTypes
- type VirtualMachineProperties
- type VirtualMachinePublicIPAddressConfiguration
- type VirtualMachinePublicIPAddressConfigurationProperties
- type VirtualMachinePublicIPAddressDnsSettingsConfiguration
- type VirtualMachineReimageParameters
- type VirtualMachineSize
- type VirtualMachineSizeListResult
- type VirtualMachineSizeTypes
- type VirtualMachineSoftwarePatchProperties
- func (o *VirtualMachineSoftwarePatchProperties) GetLastModifiedDateTimeAsTime() (*time.Time, error)
- func (o *VirtualMachineSoftwarePatchProperties) GetPublishedDateAsTime() (*time.Time, error)
- func (o *VirtualMachineSoftwarePatchProperties) SetLastModifiedDateTimeAsTime(input time.Time)
- func (o *VirtualMachineSoftwarePatchProperties) SetPublishedDateAsTime(input time.Time)
- type VirtualMachineUpdate
- type VirtualMachinesClient
- func (c VirtualMachinesClient) AssessPatches(ctx context.Context, id VirtualMachineId) (result AssessPatchesOperationResponse, err error)
- func (c VirtualMachinesClient) AssessPatchesThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Capture(ctx context.Context, id VirtualMachineId, ...) (result CaptureOperationResponse, err error)
- func (c VirtualMachinesClient) CaptureThenPoll(ctx context.Context, id VirtualMachineId, ...) error
- func (c VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, id VirtualMachineId) (result ConvertToManagedDisksOperationResponse, err error)
- func (c VirtualMachinesClient) ConvertToManagedDisksThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) CreateOrUpdate(ctx context.Context, id VirtualMachineId, input VirtualMachine) (result CreateOrUpdateOperationResponse, err error)
- func (c VirtualMachinesClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachine) error
- func (c VirtualMachinesClient) Deallocate(ctx context.Context, id VirtualMachineId, options DeallocateOperationOptions) (result DeallocateOperationResponse, err error)
- func (c VirtualMachinesClient) DeallocateThenPoll(ctx context.Context, id VirtualMachineId, options DeallocateOperationOptions) error
- func (c VirtualMachinesClient) Delete(ctx context.Context, id VirtualMachineId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c VirtualMachinesClient) DeleteThenPoll(ctx context.Context, id VirtualMachineId, options DeleteOperationOptions) error
- func (c VirtualMachinesClient) Generalize(ctx context.Context, id VirtualMachineId) (result GeneralizeOperationResponse, err error)
- func (c VirtualMachinesClient) Get(ctx context.Context, id VirtualMachineId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c VirtualMachinesClient) InstallPatches(ctx context.Context, id VirtualMachineId, ...) (result InstallPatchesOperationResponse, err error)
- func (c VirtualMachinesClient) InstallPatchesThenPoll(ctx context.Context, id VirtualMachineId, ...) error
- func (c VirtualMachinesClient) InstanceView(ctx context.Context, id VirtualMachineId) (result InstanceViewOperationResponse, err error)
- func (c VirtualMachinesClient) List(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListOperationResponse, err error)
- func (c VirtualMachinesClient) ListAll(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllOperationResponse, err error)
- func (c VirtualMachinesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId, ...) (ListAllCompleteResult, error)
- func (c VirtualMachinesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListAllCompleteResult, err error)
- func (c VirtualMachinesClient) ListAvailableSizes(ctx context.Context, id VirtualMachineId) (result ListAvailableSizesOperationResponse, err error)
- func (c VirtualMachinesClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
- func (c VirtualMachinesClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
- func (c VirtualMachinesClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate VirtualMachineOperationPredicate) (result ListByLocationCompleteResult, err error)
- func (c VirtualMachinesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (ListCompleteResult, error)
- func (c VirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c VirtualMachinesClient) PerformMaintenance(ctx context.Context, id VirtualMachineId) (result PerformMaintenanceOperationResponse, err error)
- func (c VirtualMachinesClient) PerformMaintenanceThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) PowerOff(ctx context.Context, id VirtualMachineId, options PowerOffOperationOptions) (result PowerOffOperationResponse, err error)
- func (c VirtualMachinesClient) PowerOffThenPoll(ctx context.Context, id VirtualMachineId, options PowerOffOperationOptions) error
- func (c VirtualMachinesClient) Reapply(ctx context.Context, id VirtualMachineId) (result ReapplyOperationResponse, err error)
- func (c VirtualMachinesClient) ReapplyThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Redeploy(ctx context.Context, id VirtualMachineId) (result RedeployOperationResponse, err error)
- func (c VirtualMachinesClient) RedeployThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Reimage(ctx context.Context, id VirtualMachineId, ...) (result ReimageOperationResponse, err error)
- func (c VirtualMachinesClient) ReimageThenPoll(ctx context.Context, id VirtualMachineId, ...) error
- func (c VirtualMachinesClient) Restart(ctx context.Context, id VirtualMachineId) (result RestartOperationResponse, err error)
- func (c VirtualMachinesClient) RestartThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) RetrieveBootDiagnosticsData(ctx context.Context, id VirtualMachineId, ...) (result RetrieveBootDiagnosticsDataOperationResponse, err error)
- func (c VirtualMachinesClient) RunCommand(ctx context.Context, id VirtualMachineId, input RunCommandInput) (result RunCommandOperationResponse, err error)
- func (c VirtualMachinesClient) RunCommandThenPoll(ctx context.Context, id VirtualMachineId, input RunCommandInput) error
- func (c VirtualMachinesClient) SimulateEviction(ctx context.Context, id VirtualMachineId) (result SimulateEvictionOperationResponse, err error)
- func (c VirtualMachinesClient) Start(ctx context.Context, id VirtualMachineId) (result StartOperationResponse, err error)
- func (c VirtualMachinesClient) StartThenPoll(ctx context.Context, id VirtualMachineId) error
- func (c VirtualMachinesClient) Update(ctx context.Context, id VirtualMachineId, input VirtualMachineUpdate) (result UpdateOperationResponse, err error)
- func (c VirtualMachinesClient) UpdateThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachineUpdate) error
- type WinRMConfiguration
- type WinRMListener
- type WindowsConfiguration
- type WindowsParameters
- type WindowsPatchAssessmentMode
- type WindowsVMGuestPatchMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCachingTypes ¶
func PossibleValuesForCachingTypes() []string
func PossibleValuesForComponentNames ¶
func PossibleValuesForComponentNames() []string
func PossibleValuesForDeleteOptions ¶
func PossibleValuesForDeleteOptions() []string
func PossibleValuesForDiffDiskOptions ¶
func PossibleValuesForDiffDiskOptions() []string
func PossibleValuesForDiffDiskPlacement ¶
func PossibleValuesForDiffDiskPlacement() []string
func PossibleValuesForDiskCreateOptionTypes ¶
func PossibleValuesForDiskCreateOptionTypes() []string
func PossibleValuesForDiskDeleteOptionTypes ¶
func PossibleValuesForDiskDeleteOptionTypes() []string
func PossibleValuesForDiskDetachOptionTypes ¶
func PossibleValuesForDiskDetachOptionTypes() []string
func PossibleValuesForHyperVGenerationType ¶
func PossibleValuesForHyperVGenerationType() []string
func PossibleValuesForIPVersions ¶
func PossibleValuesForIPVersions() []string
func PossibleValuesForInstanceViewTypes ¶
func PossibleValuesForInstanceViewTypes() []string
func PossibleValuesForLinuxPatchAssessmentMode ¶
func PossibleValuesForLinuxPatchAssessmentMode() []string
func PossibleValuesForLinuxVMGuestPatchMode ¶
func PossibleValuesForLinuxVMGuestPatchMode() []string
func PossibleValuesForMaintenanceOperationResultCodeTypes ¶
func PossibleValuesForMaintenanceOperationResultCodeTypes() []string
func PossibleValuesForNetworkApiVersion ¶
func PossibleValuesForNetworkApiVersion() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForPassNames ¶
func PossibleValuesForPassNames() []string
func PossibleValuesForPatchAssessmentState ¶
func PossibleValuesForPatchAssessmentState() []string
func PossibleValuesForPatchInstallationState ¶
func PossibleValuesForPatchInstallationState() []string
func PossibleValuesForPatchOperationStatus ¶
func PossibleValuesForPatchOperationStatus() []string
func PossibleValuesForProtocolTypes ¶
func PossibleValuesForProtocolTypes() []string
func PossibleValuesForPublicIPAddressSkuName ¶
func PossibleValuesForPublicIPAddressSkuName() []string
func PossibleValuesForPublicIPAddressSkuTier ¶
func PossibleValuesForPublicIPAddressSkuTier() []string
func PossibleValuesForPublicIPAllocationMethod ¶
func PossibleValuesForPublicIPAllocationMethod() []string
func PossibleValuesForSecurityEncryptionTypes ¶
func PossibleValuesForSecurityEncryptionTypes() []string
func PossibleValuesForSecurityTypes ¶
func PossibleValuesForSecurityTypes() []string
func PossibleValuesForSettingNames ¶
func PossibleValuesForSettingNames() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func PossibleValuesForStorageAccountTypes ¶
func PossibleValuesForStorageAccountTypes() []string
func PossibleValuesForVMGuestPatchClassificationLinux ¶
func PossibleValuesForVMGuestPatchClassificationLinux() []string
func PossibleValuesForVMGuestPatchClassificationWindows ¶
func PossibleValuesForVMGuestPatchClassificationWindows() []string
func PossibleValuesForVMGuestPatchRebootBehavior ¶
func PossibleValuesForVMGuestPatchRebootBehavior() []string
func PossibleValuesForVMGuestPatchRebootSetting ¶
func PossibleValuesForVMGuestPatchRebootSetting() []string
func PossibleValuesForVMGuestPatchRebootStatus ¶
func PossibleValuesForVMGuestPatchRebootStatus() []string
func PossibleValuesForVirtualMachineEvictionPolicyTypes ¶
func PossibleValuesForVirtualMachineEvictionPolicyTypes() []string
func PossibleValuesForVirtualMachinePriorityTypes ¶
func PossibleValuesForVirtualMachinePriorityTypes() []string
func PossibleValuesForVirtualMachineSizeTypes ¶
func PossibleValuesForVirtualMachineSizeTypes() []string
func PossibleValuesForWindowsPatchAssessmentMode ¶
func PossibleValuesForWindowsPatchAssessmentMode() []string
func PossibleValuesForWindowsVMGuestPatchMode ¶
func PossibleValuesForWindowsVMGuestPatchMode() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateVirtualMachineID ¶
ValidateVirtualMachineID checks that 'input' can be parsed as a Virtual Machine ID
Types ¶
type AdditionalCapabilities ¶
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 ApiError ¶
type ApiError struct { Code *string `json:"code,omitempty"` Details *[]ApiErrorBase `json:"details,omitempty"` Innererror *InnerError `json:"innererror,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type ApiErrorBase ¶
type ApplicationProfile ¶
type ApplicationProfile struct {
GalleryApplications *[]VMGalleryApplication `json:"galleryApplications,omitempty"`
}
type AvailablePatchSummary ¶
type AvailablePatchSummary struct { AssessmentActivityId *string `json:"assessmentActivityId,omitempty"` CriticalAndSecurityPatchCount *int64 `json:"criticalAndSecurityPatchCount,omitempty"` Error *ApiError `json:"error,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` OtherPatchCount *int64 `json:"otherPatchCount,omitempty"` RebootPending *bool `json:"rebootPending,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *PatchOperationStatus `json:"status,omitempty"` }
func (*AvailablePatchSummary) GetLastModifiedTimeAsTime ¶
func (o *AvailablePatchSummary) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*AvailablePatchSummary) GetStartTimeAsTime ¶
func (o *AvailablePatchSummary) GetStartTimeAsTime() (*time.Time, error)
func (*AvailablePatchSummary) SetLastModifiedTimeAsTime ¶
func (o *AvailablePatchSummary) SetLastModifiedTimeAsTime(input time.Time)
func (*AvailablePatchSummary) SetStartTimeAsTime ¶
func (o *AvailablePatchSummary) SetStartTimeAsTime(input time.Time)
type BillingProfile ¶
type BillingProfile struct {
MaxPrice *float64 `json:"maxPrice,omitempty"`
}
type BootDiagnostics ¶
type BootDiagnosticsInstanceView ¶
type BootDiagnosticsInstanceView struct { ConsoleScreenshotBlobUri *string `json:"consoleScreenshotBlobUri,omitempty"` SerialConsoleLogBlobUri *string `json:"serialConsoleLogBlobUri,omitempty"` Status *InstanceViewStatus `json:"status,omitempty"` }
type CachingTypes ¶
type CachingTypes string
const ( CachingTypesNone CachingTypes = "None" CachingTypesReadOnly CachingTypes = "ReadOnly" CachingTypesReadWrite CachingTypes = "ReadWrite" )
func (*CachingTypes) UnmarshalJSON ¶
func (s *CachingTypes) UnmarshalJSON(bytes []byte) error
type CapacityReservationProfile ¶
type CapacityReservationProfile struct {
CapacityReservationGroup *SubResource `json:"capacityReservationGroup,omitempty"`
}
type ComponentNames ¶
type ComponentNames string
const (
ComponentNamesMicrosoftNegativeWindowsNegativeShellNegativeSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
)
func (*ComponentNames) UnmarshalJSON ¶
func (s *ComponentNames) UnmarshalJSON(bytes []byte) error
type DataDisk ¶
type DataDisk struct { Caching *CachingTypes `json:"caching,omitempty"` CreateOption DiskCreateOptionTypes `json:"createOption"` DeleteOption *DiskDeleteOptionTypes `json:"deleteOption,omitempty"` DetachOption *DiskDetachOptionTypes `json:"detachOption,omitempty"` DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"` DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` Image *VirtualHardDisk `json:"image,omitempty"` Lun int64 `json:"lun"` ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` Name *string `json:"name,omitempty"` ToBeDetached *bool `json:"toBeDetached,omitempty"` Vhd *VirtualHardDisk `json:"vhd,omitempty"` WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` }
type DeallocateOperationOptions ¶
type DeallocateOperationOptions struct {
Hibernate *bool
}
func DefaultDeallocateOperationOptions ¶
func DefaultDeallocateOperationOptions() DeallocateOperationOptions
func (DeallocateOperationOptions) ToHeaders ¶
func (o DeallocateOperationOptions) ToHeaders() *client.Headers
func (DeallocateOperationOptions) ToOData ¶
func (o DeallocateOperationOptions) ToOData() *odata.Query
func (DeallocateOperationOptions) ToQuery ¶
func (o DeallocateOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
ForceDeletion *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type DeleteOptions ¶
type DeleteOptions string
const ( DeleteOptionsDelete DeleteOptions = "Delete" DeleteOptionsDetach DeleteOptions = "Detach" )
func (*DeleteOptions) UnmarshalJSON ¶
func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error
type DiagnosticsProfile ¶
type DiagnosticsProfile struct {
BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}
type DiffDiskOptions ¶
type DiffDiskOptions string
const (
DiffDiskOptionsLocal DiffDiskOptions = "Local"
)
func (*DiffDiskOptions) UnmarshalJSON ¶
func (s *DiffDiskOptions) UnmarshalJSON(bytes []byte) error
type DiffDiskPlacement ¶
type DiffDiskPlacement string
const ( DiffDiskPlacementCacheDisk DiffDiskPlacement = "CacheDisk" DiffDiskPlacementResourceDisk DiffDiskPlacement = "ResourceDisk" )
func (*DiffDiskPlacement) UnmarshalJSON ¶
func (s *DiffDiskPlacement) UnmarshalJSON(bytes []byte) error
type DiffDiskSettings ¶
type DiffDiskSettings struct { Option *DiffDiskOptions `json:"option,omitempty"` Placement *DiffDiskPlacement `json:"placement,omitempty"` }
type DiskCreateOptionTypes ¶
type DiskCreateOptionTypes string
const ( DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach" DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty" DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage" )
func (*DiskCreateOptionTypes) UnmarshalJSON ¶
func (s *DiskCreateOptionTypes) UnmarshalJSON(bytes []byte) error
type DiskDeleteOptionTypes ¶
type DiskDeleteOptionTypes string
const ( DiskDeleteOptionTypesDelete DiskDeleteOptionTypes = "Delete" DiskDeleteOptionTypesDetach DiskDeleteOptionTypes = "Detach" )
func (*DiskDeleteOptionTypes) UnmarshalJSON ¶
func (s *DiskDeleteOptionTypes) UnmarshalJSON(bytes []byte) error
type DiskDetachOptionTypes ¶
type DiskDetachOptionTypes string
const (
DiskDetachOptionTypesForceDetach DiskDetachOptionTypes = "ForceDetach"
)
func (*DiskDetachOptionTypes) UnmarshalJSON ¶
func (s *DiskDetachOptionTypes) UnmarshalJSON(bytes []byte) error
type DiskEncryptionSettings ¶
type DiskEncryptionSettings struct { DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"` Enabled *bool `json:"enabled,omitempty"` KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"` }
type DiskInstanceView ¶
type DiskInstanceView struct { EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"` Name *string `json:"name,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *InstanceViewTypes
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachine }
type HardwareProfile ¶
type HardwareProfile struct { VMSize *VirtualMachineSizeTypes `json:"vmSize,omitempty"` VMSizeProperties *VMSizeProperties `json:"vmSizeProperties,omitempty"` }
type HyperVGenerationType ¶
type HyperVGenerationType string
const ( HyperVGenerationTypeVOne HyperVGenerationType = "V1" HyperVGenerationTypeVTwo HyperVGenerationType = "V2" )
func (*HyperVGenerationType) UnmarshalJSON ¶
func (s *HyperVGenerationType) UnmarshalJSON(bytes []byte) error
type IPVersions ¶
type IPVersions string
const ( IPVersionsIPvFour IPVersions = "IPv4" IPVersionsIPvSix IPVersions = "IPv6" )
func (*IPVersions) UnmarshalJSON ¶
func (s *IPVersions) UnmarshalJSON(bytes []byte) error
type ImageReference ¶
type ImageReference struct { CommunityGalleryImageId *string `json:"communityGalleryImageId,omitempty"` ExactVersion *string `json:"exactVersion,omitempty"` Id *string `json:"id,omitempty"` Offer *string `json:"offer,omitempty"` Publisher *string `json:"publisher,omitempty"` Sku *string `json:"sku,omitempty"` Version *string `json:"version,omitempty"` }
type InnerError ¶
type InstanceViewOperationResponse ¶
type InstanceViewOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineInstanceView }
type InstanceViewStatus ¶
type InstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*InstanceViewStatus) GetTimeAsTime ¶
func (o *InstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*InstanceViewStatus) SetTimeAsTime ¶
func (o *InstanceViewStatus) SetTimeAsTime(input time.Time)
type InstanceViewTypes ¶
type InstanceViewTypes string
const ( InstanceViewTypesInstanceView InstanceViewTypes = "instanceView" InstanceViewTypesUserData InstanceViewTypes = "userData" )
func (*InstanceViewTypes) UnmarshalJSON ¶
func (s *InstanceViewTypes) UnmarshalJSON(bytes []byte) error
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 LastPatchInstallationSummary ¶
type LastPatchInstallationSummary struct { Error *ApiError `json:"error,omitempty"` ExcludedPatchCount *int64 `json:"excludedPatchCount,omitempty"` FailedPatchCount *int64 `json:"failedPatchCount,omitempty"` InstallationActivityId *string `json:"installationActivityId,omitempty"` InstalledPatchCount *int64 `json:"installedPatchCount,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` MaintenanceWindowExceeded *bool `json:"maintenanceWindowExceeded,omitempty"` NotSelectedPatchCount *int64 `json:"notSelectedPatchCount,omitempty"` PendingPatchCount *int64 `json:"pendingPatchCount,omitempty"` StartTime *string `json:"startTime,omitempty"` Status *PatchOperationStatus `json:"status,omitempty"` }
func (*LastPatchInstallationSummary) GetLastModifiedTimeAsTime ¶
func (o *LastPatchInstallationSummary) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*LastPatchInstallationSummary) GetStartTimeAsTime ¶
func (o *LastPatchInstallationSummary) GetStartTimeAsTime() (*time.Time, error)
func (*LastPatchInstallationSummary) SetLastModifiedTimeAsTime ¶
func (o *LastPatchInstallationSummary) SetLastModifiedTimeAsTime(input time.Time)
func (*LastPatchInstallationSummary) SetStartTimeAsTime ¶
func (o *LastPatchInstallationSummary) SetStartTimeAsTime(input time.Time)
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 LinuxParameters ¶
type LinuxParameters struct { ClassificationsToInclude *[]VMGuestPatchClassificationLinux `json:"classificationsToInclude,omitempty"` MaintenanceRunId *string `json:"maintenanceRunId,omitempty"` PackageNameMasksToExclude *[]string `json:"packageNameMasksToExclude,omitempty"` PackageNameMasksToInclude *[]string `json:"packageNameMasksToInclude,omitempty"` }
type LinuxPatchAssessmentMode ¶
type LinuxPatchAssessmentMode string
const ( LinuxPatchAssessmentModeAutomaticByPlatform LinuxPatchAssessmentMode = "AutomaticByPlatform" LinuxPatchAssessmentModeImageDefault LinuxPatchAssessmentMode = "ImageDefault" )
func (*LinuxPatchAssessmentMode) UnmarshalJSON ¶
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 ¶
func (s *LinuxVMGuestPatchMode) UnmarshalJSON(bytes []byte) error
type ListAllCompleteResult ¶
type ListAllCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualMachine }
type ListAllOperationOptions ¶
func DefaultListAllOperationOptions ¶
func DefaultListAllOperationOptions() ListAllOperationOptions
func (ListAllOperationOptions) ToHeaders ¶
func (o ListAllOperationOptions) ToHeaders() *client.Headers
func (ListAllOperationOptions) ToOData ¶
func (o ListAllOperationOptions) ToOData() *odata.Query
func (ListAllOperationOptions) ToQuery ¶
func (o ListAllOperationOptions) ToQuery() *client.QueryParams
type ListAllOperationResponse ¶
type ListAllOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachine }
type ListAvailableSizesOperationResponse ¶
type ListAvailableSizesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VirtualMachineSizeListResult }
type ListByLocationCompleteResult ¶
type ListByLocationCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualMachine }
type ListByLocationOperationResponse ¶
type ListByLocationOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachine }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []VirtualMachine }
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VirtualMachine }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type MaintenanceOperationResultCodeTypes ¶
type MaintenanceOperationResultCodeTypes string
const ( MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = "MaintenanceAborted" MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted" MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = "None" MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = "RetryLater" )
func (*MaintenanceOperationResultCodeTypes) UnmarshalJSON ¶
func (s *MaintenanceOperationResultCodeTypes) UnmarshalJSON(bytes []byte) error
type MaintenanceRedeployStatus ¶
type MaintenanceRedeployStatus struct { IsCustomerInitiatedMaintenanceAllowed *bool `json:"isCustomerInitiatedMaintenanceAllowed,omitempty"` LastOperationMessage *string `json:"lastOperationMessage,omitempty"` LastOperationResultCode *MaintenanceOperationResultCodeTypes `json:"lastOperationResultCode,omitempty"` MaintenanceWindowEndTime *string `json:"maintenanceWindowEndTime,omitempty"` MaintenanceWindowStartTime *string `json:"maintenanceWindowStartTime,omitempty"` PreMaintenanceWindowEndTime *string `json:"preMaintenanceWindowEndTime,omitempty"` PreMaintenanceWindowStartTime *string `json:"preMaintenanceWindowStartTime,omitempty"` }
func (*MaintenanceRedeployStatus) GetMaintenanceWindowEndTimeAsTime ¶
func (o *MaintenanceRedeployStatus) GetMaintenanceWindowEndTimeAsTime() (*time.Time, error)
func (*MaintenanceRedeployStatus) GetMaintenanceWindowStartTimeAsTime ¶
func (o *MaintenanceRedeployStatus) GetMaintenanceWindowStartTimeAsTime() (*time.Time, error)
func (*MaintenanceRedeployStatus) GetPreMaintenanceWindowEndTimeAsTime ¶
func (o *MaintenanceRedeployStatus) GetPreMaintenanceWindowEndTimeAsTime() (*time.Time, error)
func (*MaintenanceRedeployStatus) GetPreMaintenanceWindowStartTimeAsTime ¶
func (o *MaintenanceRedeployStatus) GetPreMaintenanceWindowStartTimeAsTime() (*time.Time, error)
func (*MaintenanceRedeployStatus) SetMaintenanceWindowEndTimeAsTime ¶
func (o *MaintenanceRedeployStatus) SetMaintenanceWindowEndTimeAsTime(input time.Time)
func (*MaintenanceRedeployStatus) SetMaintenanceWindowStartTimeAsTime ¶
func (o *MaintenanceRedeployStatus) SetMaintenanceWindowStartTimeAsTime(input time.Time)
func (*MaintenanceRedeployStatus) SetPreMaintenanceWindowEndTimeAsTime ¶
func (o *MaintenanceRedeployStatus) SetPreMaintenanceWindowEndTimeAsTime(input time.Time)
func (*MaintenanceRedeployStatus) SetPreMaintenanceWindowStartTimeAsTime ¶
func (o *MaintenanceRedeployStatus) SetPreMaintenanceWindowStartTimeAsTime(input time.Time)
type ManagedDiskParameters ¶
type ManagedDiskParameters struct { DiskEncryptionSet *SubResource `json:"diskEncryptionSet,omitempty"` Id *string `json:"id,omitempty"` SecurityProfile *VMDiskSecurityProfile `json:"securityProfile,omitempty"` StorageAccountType *StorageAccountTypes `json:"storageAccountType,omitempty"` }
type NetworkApiVersion ¶
type NetworkApiVersion string
const (
NetworkApiVersionTwoZeroTwoZeroNegativeOneOneNegativeZeroOne NetworkApiVersion = "2020-11-01"
)
func (*NetworkApiVersion) UnmarshalJSON ¶
func (s *NetworkApiVersion) UnmarshalJSON(bytes []byte) error
type NetworkInterfaceReference ¶
type NetworkInterfaceReference struct { Id *string `json:"id,omitempty"` Properties *NetworkInterfaceReferenceProperties `json:"properties,omitempty"` }
type NetworkInterfaceReferenceProperties ¶
type NetworkInterfaceReferenceProperties struct { DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` Primary *bool `json:"primary,omitempty"` }
type NetworkProfile ¶
type NetworkProfile struct { NetworkApiVersion *NetworkApiVersion `json:"networkApiVersion,omitempty"` NetworkInterfaceConfigurations *[]VirtualMachineNetworkInterfaceConfiguration `json:"networkInterfaceConfigurations,omitempty"` NetworkInterfaces *[]NetworkInterfaceReference `json:"networkInterfaces,omitempty"` }
type OSDisk ¶
type OSDisk struct { Caching *CachingTypes `json:"caching,omitempty"` CreateOption DiskCreateOptionTypes `json:"createOption"` DeleteOption *DiskDeleteOptionTypes `json:"deleteOption,omitempty"` DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"` Image *VirtualHardDisk `json:"image,omitempty"` ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"` Name *string `json:"name,omitempty"` OsType *OperatingSystemTypes `json:"osType,omitempty"` Vhd *VirtualHardDisk `json:"vhd,omitempty"` WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,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 OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type PassNames ¶
type PassNames string
const (
PassNamesOobeSystem PassNames = "OobeSystem"
)
func (*PassNames) UnmarshalJSON ¶
type PatchAssessmentState ¶
type PatchAssessmentState string
const ( PatchAssessmentStateAvailable PatchAssessmentState = "Available" PatchAssessmentStateUnknown PatchAssessmentState = "Unknown" )
func (*PatchAssessmentState) UnmarshalJSON ¶
func (s *PatchAssessmentState) UnmarshalJSON(bytes []byte) error
type PatchInstallationDetail ¶
type PatchInstallationDetail struct { Classifications *[]string `json:"classifications,omitempty"` InstallationState *PatchInstallationState `json:"installationState,omitempty"` KbId *string `json:"kbId,omitempty"` Name *string `json:"name,omitempty"` PatchId *string `json:"patchId,omitempty"` Version *string `json:"version,omitempty"` }
type PatchInstallationState ¶
type PatchInstallationState string
const ( PatchInstallationStateExcluded PatchInstallationState = "Excluded" PatchInstallationStateFailed PatchInstallationState = "Failed" PatchInstallationStateInstalled PatchInstallationState = "Installed" PatchInstallationStateNotSelected PatchInstallationState = "NotSelected" PatchInstallationStatePending PatchInstallationState = "Pending" PatchInstallationStateUnknown PatchInstallationState = "Unknown" )
func (*PatchInstallationState) UnmarshalJSON ¶
func (s *PatchInstallationState) UnmarshalJSON(bytes []byte) error
type PatchOperationStatus ¶
type PatchOperationStatus string
const ( PatchOperationStatusCompletedWithWarnings PatchOperationStatus = "CompletedWithWarnings" PatchOperationStatusFailed PatchOperationStatus = "Failed" PatchOperationStatusInProgress PatchOperationStatus = "InProgress" PatchOperationStatusSucceeded PatchOperationStatus = "Succeeded" PatchOperationStatusUnknown PatchOperationStatus = "Unknown" )
func (*PatchOperationStatus) UnmarshalJSON ¶
func (s *PatchOperationStatus) 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 PowerOffOperationOptions ¶
type PowerOffOperationOptions struct {
SkipShutdown *bool
}
func DefaultPowerOffOperationOptions ¶
func DefaultPowerOffOperationOptions() PowerOffOperationOptions
func (PowerOffOperationOptions) ToHeaders ¶
func (o PowerOffOperationOptions) ToHeaders() *client.Headers
func (PowerOffOperationOptions) ToOData ¶
func (o PowerOffOperationOptions) ToOData() *odata.Query
func (PowerOffOperationOptions) ToQuery ¶
func (o PowerOffOperationOptions) ToQuery() *client.QueryParams
type ProtocolTypes ¶
type ProtocolTypes string
const ( ProtocolTypesHTTP ProtocolTypes = "Http" ProtocolTypesHTTPS ProtocolTypes = "Https" )
func (*ProtocolTypes) UnmarshalJSON ¶
func (s *ProtocolTypes) UnmarshalJSON(bytes []byte) error
type PublicIPAddressSku ¶
type PublicIPAddressSku struct { Name *PublicIPAddressSkuName `json:"name,omitempty"` Tier *PublicIPAddressSkuTier `json:"tier,omitempty"` }
type PublicIPAddressSkuName ¶
type PublicIPAddressSkuName string
const ( PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic" PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard" )
func (*PublicIPAddressSkuName) UnmarshalJSON ¶
func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error
type PublicIPAddressSkuTier ¶
type PublicIPAddressSkuTier string
const ( PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global" PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional" )
func (*PublicIPAddressSkuTier) UnmarshalJSON ¶
func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error
type PublicIPAllocationMethod ¶
type PublicIPAllocationMethod string
const ( PublicIPAllocationMethodDynamic PublicIPAllocationMethod = "Dynamic" PublicIPAllocationMethodStatic PublicIPAllocationMethod = "Static" )
func (*PublicIPAllocationMethod) UnmarshalJSON ¶
func (s *PublicIPAllocationMethod) UnmarshalJSON(bytes []byte) error
type RetrieveBootDiagnosticsDataOperationOptions ¶
type RetrieveBootDiagnosticsDataOperationOptions struct {
SasUriExpirationTimeInMinutes *int64
}
func DefaultRetrieveBootDiagnosticsDataOperationOptions ¶
func DefaultRetrieveBootDiagnosticsDataOperationOptions() RetrieveBootDiagnosticsDataOperationOptions
func (RetrieveBootDiagnosticsDataOperationOptions) ToHeaders ¶
func (o RetrieveBootDiagnosticsDataOperationOptions) ToHeaders() *client.Headers
func (RetrieveBootDiagnosticsDataOperationOptions) ToOData ¶
func (o RetrieveBootDiagnosticsDataOperationOptions) ToOData() *odata.Query
func (RetrieveBootDiagnosticsDataOperationOptions) ToQuery ¶
func (o RetrieveBootDiagnosticsDataOperationOptions) ToQuery() *client.QueryParams
type RetrieveBootDiagnosticsDataOperationResponse ¶
type RetrieveBootDiagnosticsDataOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RetrieveBootDiagnosticsDataResult }
type RunCommandInput ¶
type RunCommandInput struct { CommandId string `json:"commandId"` Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"` Script *[]string `json:"script,omitempty"` }
type RunCommandResult ¶
type RunCommandResult struct {
Value *[]InstanceViewStatus `json:"value,omitempty"`
}
type ScheduledEventsProfile ¶
type ScheduledEventsProfile struct {
TerminateNotificationProfile *TerminateNotificationProfile `json:"terminateNotificationProfile,omitempty"`
}
type SecurityEncryptionTypes ¶
type SecurityEncryptionTypes string
const ( SecurityEncryptionTypesDiskWithVMGuestState SecurityEncryptionTypes = "DiskWithVMGuestState" SecurityEncryptionTypesVMGuestStateOnly SecurityEncryptionTypes = "VMGuestStateOnly" )
func (*SecurityEncryptionTypes) UnmarshalJSON ¶
func (s *SecurityEncryptionTypes) UnmarshalJSON(bytes []byte) error
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 ( SecurityTypesConfidentialVM SecurityTypes = "ConfidentialVM" SecurityTypesTrustedLaunch SecurityTypes = "TrustedLaunch" )
func (*SecurityTypes) UnmarshalJSON ¶
func (s *SecurityTypes) UnmarshalJSON(bytes []byte) error
type SettingNames ¶
type SettingNames string
const ( SettingNamesAutoLogon SettingNames = "AutoLogon" SettingNamesFirstLogonCommands SettingNames = "FirstLogonCommands" )
func (*SettingNames) UnmarshalJSON ¶
func (s *SettingNames) UnmarshalJSON(bytes []byte) error
type SshConfiguration ¶
type SshConfiguration struct {
PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}
type SshPublicKey ¶
type StartOperationResponse ¶
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
func (*StatusLevelTypes) UnmarshalJSON ¶
func (s *StatusLevelTypes) UnmarshalJSON(bytes []byte) error
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 ¶
func (s *StorageAccountTypes) UnmarshalJSON(bytes []byte) error
type StorageProfile ¶
type StorageProfile struct { DataDisks *[]DataDisk `json:"dataDisks,omitempty"` ImageReference *ImageReference `json:"imageReference,omitempty"` OsDisk *OSDisk `json:"osDisk,omitempty"` }
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type UefiSettings ¶
type UpdateOperationResponse ¶
type VMDiskSecurityProfile ¶
type VMDiskSecurityProfile struct { DiskEncryptionSet *SubResource `json:"diskEncryptionSet,omitempty"` SecurityEncryptionType *SecurityEncryptionTypes `json:"securityEncryptionType,omitempty"` }
type VMGalleryApplication ¶
type VMGuestPatchClassificationLinux ¶
type VMGuestPatchClassificationLinux string
const ( VMGuestPatchClassificationLinuxCritical VMGuestPatchClassificationLinux = "Critical" VMGuestPatchClassificationLinuxOther VMGuestPatchClassificationLinux = "Other" VMGuestPatchClassificationLinuxSecurity VMGuestPatchClassificationLinux = "Security" )
func (*VMGuestPatchClassificationLinux) UnmarshalJSON ¶
func (s *VMGuestPatchClassificationLinux) UnmarshalJSON(bytes []byte) error
type VMGuestPatchClassificationWindows ¶
type VMGuestPatchClassificationWindows string
const ( VMGuestPatchClassificationWindowsCritical VMGuestPatchClassificationWindows = "Critical" VMGuestPatchClassificationWindowsDefinition VMGuestPatchClassificationWindows = "Definition" VMGuestPatchClassificationWindowsFeaturePack VMGuestPatchClassificationWindows = "FeaturePack" VMGuestPatchClassificationWindowsSecurity VMGuestPatchClassificationWindows = "Security" VMGuestPatchClassificationWindowsServicePack VMGuestPatchClassificationWindows = "ServicePack" VMGuestPatchClassificationWindowsTools VMGuestPatchClassificationWindows = "Tools" VMGuestPatchClassificationWindowsUpdateRollUp VMGuestPatchClassificationWindows = "UpdateRollUp" VMGuestPatchClassificationWindowsUpdates VMGuestPatchClassificationWindows = "Updates" )
func (*VMGuestPatchClassificationWindows) UnmarshalJSON ¶
func (s *VMGuestPatchClassificationWindows) UnmarshalJSON(bytes []byte) error
type VMGuestPatchRebootBehavior ¶
type VMGuestPatchRebootBehavior string
const ( VMGuestPatchRebootBehaviorAlwaysRequiresReboot VMGuestPatchRebootBehavior = "AlwaysRequiresReboot" VMGuestPatchRebootBehaviorCanRequestReboot VMGuestPatchRebootBehavior = "CanRequestReboot" VMGuestPatchRebootBehaviorNeverReboots VMGuestPatchRebootBehavior = "NeverReboots" VMGuestPatchRebootBehaviorUnknown VMGuestPatchRebootBehavior = "Unknown" )
func (*VMGuestPatchRebootBehavior) UnmarshalJSON ¶
func (s *VMGuestPatchRebootBehavior) UnmarshalJSON(bytes []byte) error
type VMGuestPatchRebootSetting ¶
type VMGuestPatchRebootSetting string
const ( VMGuestPatchRebootSettingAlways VMGuestPatchRebootSetting = "Always" VMGuestPatchRebootSettingIfRequired VMGuestPatchRebootSetting = "IfRequired" VMGuestPatchRebootSettingNever VMGuestPatchRebootSetting = "Never" )
func (*VMGuestPatchRebootSetting) UnmarshalJSON ¶
func (s *VMGuestPatchRebootSetting) UnmarshalJSON(bytes []byte) error
type VMGuestPatchRebootStatus ¶
type VMGuestPatchRebootStatus string
const ( VMGuestPatchRebootStatusCompleted VMGuestPatchRebootStatus = "Completed" VMGuestPatchRebootStatusFailed VMGuestPatchRebootStatus = "Failed" VMGuestPatchRebootStatusNotNeeded VMGuestPatchRebootStatus = "NotNeeded" VMGuestPatchRebootStatusRequired VMGuestPatchRebootStatus = "Required" VMGuestPatchRebootStatusStarted VMGuestPatchRebootStatus = "Started" VMGuestPatchRebootStatusUnknown VMGuestPatchRebootStatus = "Unknown" )
func (*VMGuestPatchRebootStatus) UnmarshalJSON ¶
func (s *VMGuestPatchRebootStatus) UnmarshalJSON(bytes []byte) error
type VMSizeProperties ¶
type VaultCertificate ¶
type VaultSecretGroup ¶
type VaultSecretGroup struct { SourceVault *SubResource `json:"sourceVault,omitempty"` VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"` }
type VirtualHardDisk ¶
type VirtualHardDisk struct {
Uri *string `json:"uri,omitempty"`
}
type VirtualMachine ¶
type VirtualMachine struct { ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *VirtualMachineProperties `json:"properties,omitempty"` Resources *[]VirtualMachineExtension `json:"resources,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type VirtualMachineAgentInstanceView ¶
type VirtualMachineAgentInstanceView struct { ExtensionHandlers *[]VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` VMAgentVersion *string `json:"vmAgentVersion,omitempty"` }
type VirtualMachineAssessPatchesResult ¶
type VirtualMachineAssessPatchesResult struct { AssessmentActivityId *string `json:"assessmentActivityId,omitempty"` AvailablePatches *[]VirtualMachineSoftwarePatchProperties `json:"availablePatches,omitempty"` CriticalAndSecurityPatchCount *int64 `json:"criticalAndSecurityPatchCount,omitempty"` Error *ApiError `json:"error,omitempty"` OtherPatchCount *int64 `json:"otherPatchCount,omitempty"` RebootPending *bool `json:"rebootPending,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` Status *PatchOperationStatus `json:"status,omitempty"` }
func (*VirtualMachineAssessPatchesResult) GetStartDateTimeAsTime ¶
func (o *VirtualMachineAssessPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)
func (*VirtualMachineAssessPatchesResult) SetStartDateTimeAsTime ¶
func (o *VirtualMachineAssessPatchesResult) SetStartDateTimeAsTime(input time.Time)
type VirtualMachineEvictionPolicyTypes ¶
type VirtualMachineEvictionPolicyTypes string
const ( VirtualMachineEvictionPolicyTypesDeallocate VirtualMachineEvictionPolicyTypes = "Deallocate" VirtualMachineEvictionPolicyTypesDelete VirtualMachineEvictionPolicyTypes = "Delete" )
func (*VirtualMachineEvictionPolicyTypes) UnmarshalJSON ¶
func (s *VirtualMachineEvictionPolicyTypes) UnmarshalJSON(bytes []byte) error
type VirtualMachineExtension ¶
type VirtualMachineExtension struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *VirtualMachineExtensionProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VirtualMachineExtensionHandlerInstanceView ¶
type VirtualMachineExtensionHandlerInstanceView struct { Status *InstanceViewStatus `json:"status,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type VirtualMachineExtensionInstanceView ¶
type VirtualMachineExtensionInstanceView struct { Name *string `json:"name,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` Substatuses *[]InstanceViewStatus `json:"substatuses,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type VirtualMachineExtensionProperties ¶
type VirtualMachineExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` InstanceView *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` ProtectedSettingsFromKeyVault *interface{} `json:"protectedSettingsFromKeyVault,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Publisher *string `json:"publisher,omitempty"` Settings *interface{} `json:"settings,omitempty"` SuppressFailures *bool `json:"suppressFailures,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type VirtualMachineHealthStatus ¶
type VirtualMachineHealthStatus struct {
Status *InstanceViewStatus `json:"status,omitempty"`
}
type VirtualMachineIPTag ¶
type VirtualMachineId ¶
type VirtualMachineId struct { SubscriptionId string ResourceGroupName string VirtualMachineName string }
VirtualMachineId is a struct representing the Resource ID for a Virtual Machine
func NewVirtualMachineID ¶
func NewVirtualMachineID(subscriptionId string, resourceGroupName string, virtualMachineName string) VirtualMachineId
NewVirtualMachineID returns a new VirtualMachineId struct
func ParseVirtualMachineID ¶
func ParseVirtualMachineID(input string) (*VirtualMachineId, error)
ParseVirtualMachineID parses 'input' into a VirtualMachineId
func ParseVirtualMachineIDInsensitively ¶
func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error)
ParseVirtualMachineIDInsensitively parses 'input' case-insensitively into a VirtualMachineId note: this method should only be used for API response data and not user input
func (*VirtualMachineId) FromParseResult ¶
func (id *VirtualMachineId) FromParseResult(input resourceids.ParseResult) error
func (VirtualMachineId) ID ¶
func (id VirtualMachineId) ID() string
ID returns the formatted Virtual Machine ID
func (VirtualMachineId) Segments ¶
func (id VirtualMachineId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Virtual Machine ID
func (VirtualMachineId) String ¶
func (id VirtualMachineId) String() string
String returns a human-readable description of this Virtual Machine ID
type VirtualMachineInstallPatchesParameters ¶
type VirtualMachineInstallPatchesParameters struct { LinuxParameters *LinuxParameters `json:"linuxParameters,omitempty"` MaximumDuration *string `json:"maximumDuration,omitempty"` RebootSetting VMGuestPatchRebootSetting `json:"rebootSetting"` WindowsParameters *WindowsParameters `json:"windowsParameters,omitempty"` }
type VirtualMachineInstallPatchesResult ¶
type VirtualMachineInstallPatchesResult struct { Error *ApiError `json:"error,omitempty"` ExcludedPatchCount *int64 `json:"excludedPatchCount,omitempty"` FailedPatchCount *int64 `json:"failedPatchCount,omitempty"` InstallationActivityId *string `json:"installationActivityId,omitempty"` InstalledPatchCount *int64 `json:"installedPatchCount,omitempty"` MaintenanceWindowExceeded *bool `json:"maintenanceWindowExceeded,omitempty"` NotSelectedPatchCount *int64 `json:"notSelectedPatchCount,omitempty"` Patches *[]PatchInstallationDetail `json:"patches,omitempty"` PendingPatchCount *int64 `json:"pendingPatchCount,omitempty"` RebootStatus *VMGuestPatchRebootStatus `json:"rebootStatus,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` Status *PatchOperationStatus `json:"status,omitempty"` }
func (*VirtualMachineInstallPatchesResult) GetStartDateTimeAsTime ¶
func (o *VirtualMachineInstallPatchesResult) GetStartDateTimeAsTime() (*time.Time, error)
func (*VirtualMachineInstallPatchesResult) SetStartDateTimeAsTime ¶
func (o *VirtualMachineInstallPatchesResult) SetStartDateTimeAsTime(input time.Time)
type VirtualMachineInstanceView ¶
type VirtualMachineInstanceView struct { AssignedHost *string `json:"assignedHost,omitempty"` BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"` ComputerName *string `json:"computerName,omitempty"` Disks *[]DiskInstanceView `json:"disks,omitempty"` Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"` HyperVGeneration *HyperVGenerationType `json:"hyperVGeneration,omitempty"` MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"` OsName *string `json:"osName,omitempty"` OsVersion *string `json:"osVersion,omitempty"` PatchStatus *VirtualMachinePatchStatus `json:"patchStatus,omitempty"` PlatformFaultDomain *int64 `json:"platformFaultDomain,omitempty"` PlatformUpdateDomain *int64 `json:"platformUpdateDomain,omitempty"` RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"` Statuses *[]InstanceViewStatus `json:"statuses,omitempty"` VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"` VMHealth *VirtualMachineHealthStatus `json:"vmHealth,omitempty"` }
type VirtualMachineNetworkInterfaceConfiguration ¶
type VirtualMachineNetworkInterfaceConfiguration struct { Name string `json:"name"` Properties *VirtualMachineNetworkInterfaceConfigurationProperties `json:"properties,omitempty"` }
type VirtualMachineNetworkInterfaceConfigurationProperties ¶
type VirtualMachineNetworkInterfaceConfigurationProperties struct { DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` DnsSettings *VirtualMachineNetworkInterfaceDnsSettingsConfiguration `json:"dnsSettings,omitempty"` DscpConfiguration *SubResource `json:"dscpConfiguration,omitempty"` EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` EnableFpga *bool `json:"enableFpga,omitempty"` EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"` IPConfigurations []VirtualMachineNetworkInterfaceIPConfiguration `json:"ipConfigurations"` NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"` Primary *bool `json:"primary,omitempty"` }
type VirtualMachineNetworkInterfaceDnsSettingsConfiguration ¶
type VirtualMachineNetworkInterfaceDnsSettingsConfiguration struct {
DnsServers *[]string `json:"dnsServers,omitempty"`
}
type VirtualMachineNetworkInterfaceIPConfiguration ¶
type VirtualMachineNetworkInterfaceIPConfiguration struct { Name string `json:"name"` Properties *VirtualMachineNetworkInterfaceIPConfigurationProperties `json:"properties,omitempty"` }
type VirtualMachineNetworkInterfaceIPConfigurationProperties ¶
type VirtualMachineNetworkInterfaceIPConfigurationProperties struct { ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"` ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"` LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"` Primary *bool `json:"primary,omitempty"` PrivateIPAddressVersion *IPVersions `json:"privateIPAddressVersion,omitempty"` PublicIPAddressConfiguration *VirtualMachinePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` Subnet *SubResource `json:"subnet,omitempty"` }
type VirtualMachineOperationPredicate ¶
type VirtualMachineOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (VirtualMachineOperationPredicate) Matches ¶
func (p VirtualMachineOperationPredicate) Matches(input VirtualMachine) bool
type VirtualMachinePatchStatus ¶
type VirtualMachinePatchStatus struct { AvailablePatchSummary *AvailablePatchSummary `json:"availablePatchSummary,omitempty"` ConfigurationStatuses *[]InstanceViewStatus `json:"configurationStatuses,omitempty"` LastPatchInstallationSummary *LastPatchInstallationSummary `json:"lastPatchInstallationSummary,omitempty"` }
type VirtualMachinePriorityTypes ¶
type VirtualMachinePriorityTypes string
const ( VirtualMachinePriorityTypesLow VirtualMachinePriorityTypes = "Low" VirtualMachinePriorityTypesRegular VirtualMachinePriorityTypes = "Regular" VirtualMachinePriorityTypesSpot VirtualMachinePriorityTypes = "Spot" )
func (*VirtualMachinePriorityTypes) UnmarshalJSON ¶
func (s *VirtualMachinePriorityTypes) UnmarshalJSON(bytes []byte) error
type VirtualMachineProperties ¶
type VirtualMachineProperties struct { AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"` ApplicationProfile *ApplicationProfile `json:"applicationProfile,omitempty"` AvailabilitySet *SubResource `json:"availabilitySet,omitempty"` BillingProfile *BillingProfile `json:"billingProfile,omitempty"` CapacityReservation *CapacityReservationProfile `json:"capacityReservation,omitempty"` DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"` EvictionPolicy *VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"` ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty"` HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"` Host *SubResource `json:"host,omitempty"` HostGroup *SubResource `json:"hostGroup,omitempty"` InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"` LicenseType *string `json:"licenseType,omitempty"` NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` OsProfile *OSProfile `json:"osProfile,omitempty"` PlatformFaultDomain *int64 `json:"platformFaultDomain,omitempty"` Priority *VirtualMachinePriorityTypes `json:"priority,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"` ScheduledEventsProfile *ScheduledEventsProfile `json:"scheduledEventsProfile,omitempty"` SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` StorageProfile *StorageProfile `json:"storageProfile,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` UserData *string `json:"userData,omitempty"` VMId *string `json:"vmId,omitempty"` VirtualMachineScaleSet *SubResource `json:"virtualMachineScaleSet,omitempty"` }
func (*VirtualMachineProperties) GetTimeCreatedAsTime ¶
func (o *VirtualMachineProperties) GetTimeCreatedAsTime() (*time.Time, error)
func (*VirtualMachineProperties) SetTimeCreatedAsTime ¶
func (o *VirtualMachineProperties) SetTimeCreatedAsTime(input time.Time)
type VirtualMachinePublicIPAddressConfiguration ¶
type VirtualMachinePublicIPAddressConfiguration struct { Name string `json:"name"` Properties *VirtualMachinePublicIPAddressConfigurationProperties `json:"properties,omitempty"` Sku *PublicIPAddressSku `json:"sku,omitempty"` }
type VirtualMachinePublicIPAddressConfigurationProperties ¶
type VirtualMachinePublicIPAddressConfigurationProperties struct { DeleteOption *DeleteOptions `json:"deleteOption,omitempty"` DnsSettings *VirtualMachinePublicIPAddressDnsSettingsConfiguration `json:"dnsSettings,omitempty"` IPTags *[]VirtualMachineIPTag `json:"ipTags,omitempty"` IdleTimeoutInMinutes *int64 `json:"idleTimeoutInMinutes,omitempty"` PublicIPAddressVersion *IPVersions `json:"publicIPAddressVersion,omitempty"` PublicIPAllocationMethod *PublicIPAllocationMethod `json:"publicIPAllocationMethod,omitempty"` PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"` }
type VirtualMachinePublicIPAddressDnsSettingsConfiguration ¶
type VirtualMachinePublicIPAddressDnsSettingsConfiguration struct {
DomainNameLabel string `json:"domainNameLabel"`
}
type VirtualMachineReimageParameters ¶
type VirtualMachineReimageParameters struct {
TempDisk *bool `json:"tempDisk,omitempty"`
}
type VirtualMachineSize ¶
type VirtualMachineSize struct { MaxDataDiskCount *int64 `json:"maxDataDiskCount,omitempty"` MemoryInMB *int64 `json:"memoryInMB,omitempty"` Name *string `json:"name,omitempty"` NumberOfCores *int64 `json:"numberOfCores,omitempty"` OsDiskSizeInMB *int64 `json:"osDiskSizeInMB,omitempty"` ResourceDiskSizeInMB *int64 `json:"resourceDiskSizeInMB,omitempty"` }
type VirtualMachineSizeListResult ¶
type VirtualMachineSizeListResult struct {
Value *[]VirtualMachineSize `json:"value,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 ¶
func (s *VirtualMachineSizeTypes) UnmarshalJSON(bytes []byte) error
type VirtualMachineSoftwarePatchProperties ¶
type VirtualMachineSoftwarePatchProperties struct { ActivityId *string `json:"activityId,omitempty"` AssessmentState *PatchAssessmentState `json:"assessmentState,omitempty"` Classifications *[]string `json:"classifications,omitempty"` KbId *string `json:"kbId,omitempty"` LastModifiedDateTime *string `json:"lastModifiedDateTime,omitempty"` Name *string `json:"name,omitempty"` PatchId *string `json:"patchId,omitempty"` PublishedDate *string `json:"publishedDate,omitempty"` RebootBehavior *VMGuestPatchRebootBehavior `json:"rebootBehavior,omitempty"` Version *string `json:"version,omitempty"` }
func (*VirtualMachineSoftwarePatchProperties) GetLastModifiedDateTimeAsTime ¶
func (o *VirtualMachineSoftwarePatchProperties) GetLastModifiedDateTimeAsTime() (*time.Time, error)
func (*VirtualMachineSoftwarePatchProperties) GetPublishedDateAsTime ¶
func (o *VirtualMachineSoftwarePatchProperties) GetPublishedDateAsTime() (*time.Time, error)
func (*VirtualMachineSoftwarePatchProperties) SetLastModifiedDateTimeAsTime ¶
func (o *VirtualMachineSoftwarePatchProperties) SetLastModifiedDateTimeAsTime(input time.Time)
func (*VirtualMachineSoftwarePatchProperties) SetPublishedDateAsTime ¶
func (o *VirtualMachineSoftwarePatchProperties) SetPublishedDateAsTime(input time.Time)
type VirtualMachineUpdate ¶
type VirtualMachineUpdate struct { Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *VirtualMachineProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type VirtualMachinesClient ¶
type VirtualMachinesClient struct {
Client *resourcemanager.Client
}
func NewVirtualMachinesClientWithBaseURI ¶
func NewVirtualMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachinesClient, error)
func (VirtualMachinesClient) AssessPatches ¶
func (c VirtualMachinesClient) AssessPatches(ctx context.Context, id VirtualMachineId) (result AssessPatchesOperationResponse, err error)
AssessPatches ...
func (VirtualMachinesClient) AssessPatchesThenPoll ¶
func (c VirtualMachinesClient) AssessPatchesThenPoll(ctx context.Context, id VirtualMachineId) error
AssessPatchesThenPoll performs AssessPatches then polls until it's completed
func (VirtualMachinesClient) Capture ¶
func (c VirtualMachinesClient) Capture(ctx context.Context, id VirtualMachineId, input VirtualMachineCaptureParameters) (result CaptureOperationResponse, err error)
Capture ...
func (VirtualMachinesClient) CaptureThenPoll ¶
func (c VirtualMachinesClient) CaptureThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachineCaptureParameters) error
CaptureThenPoll performs Capture then polls until it's completed
func (VirtualMachinesClient) ConvertToManagedDisks ¶
func (c VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, id VirtualMachineId) (result ConvertToManagedDisksOperationResponse, err error)
ConvertToManagedDisks ...
func (VirtualMachinesClient) ConvertToManagedDisksThenPoll ¶
func (c VirtualMachinesClient) ConvertToManagedDisksThenPoll(ctx context.Context, id VirtualMachineId) error
ConvertToManagedDisksThenPoll performs ConvertToManagedDisks then polls until it's completed
func (VirtualMachinesClient) CreateOrUpdate ¶
func (c VirtualMachinesClient) CreateOrUpdate(ctx context.Context, id VirtualMachineId, input VirtualMachine) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VirtualMachinesClient) CreateOrUpdateThenPoll ¶
func (c VirtualMachinesClient) CreateOrUpdateThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachine) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VirtualMachinesClient) Deallocate ¶
func (c VirtualMachinesClient) Deallocate(ctx context.Context, id VirtualMachineId, options DeallocateOperationOptions) (result DeallocateOperationResponse, err error)
Deallocate ...
func (VirtualMachinesClient) DeallocateThenPoll ¶
func (c VirtualMachinesClient) DeallocateThenPoll(ctx context.Context, id VirtualMachineId, options DeallocateOperationOptions) error
DeallocateThenPoll performs Deallocate then polls until it's completed
func (VirtualMachinesClient) Delete ¶
func (c VirtualMachinesClient) Delete(ctx context.Context, id VirtualMachineId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (VirtualMachinesClient) DeleteThenPoll ¶
func (c VirtualMachinesClient) DeleteThenPoll(ctx context.Context, id VirtualMachineId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (VirtualMachinesClient) Generalize ¶
func (c VirtualMachinesClient) Generalize(ctx context.Context, id VirtualMachineId) (result GeneralizeOperationResponse, err error)
Generalize ...
func (VirtualMachinesClient) Get ¶
func (c VirtualMachinesClient) Get(ctx context.Context, id VirtualMachineId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (VirtualMachinesClient) InstallPatches ¶
func (c VirtualMachinesClient) InstallPatches(ctx context.Context, id VirtualMachineId, input VirtualMachineInstallPatchesParameters) (result InstallPatchesOperationResponse, err error)
InstallPatches ...
func (VirtualMachinesClient) InstallPatchesThenPoll ¶
func (c VirtualMachinesClient) InstallPatchesThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachineInstallPatchesParameters) error
InstallPatchesThenPoll performs InstallPatches then polls until it's completed
func (VirtualMachinesClient) InstanceView ¶
func (c VirtualMachinesClient) InstanceView(ctx context.Context, id VirtualMachineId) (result InstanceViewOperationResponse, err error)
InstanceView ...
func (VirtualMachinesClient) List ¶
func (c VirtualMachinesClient) List(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (VirtualMachinesClient) ListAll ¶
func (c VirtualMachinesClient) ListAll(ctx context.Context, id commonids.SubscriptionId, options ListAllOperationOptions) (result ListAllOperationResponse, err error)
ListAll ...
func (VirtualMachinesClient) ListAllComplete ¶
func (c VirtualMachinesClient) ListAllComplete(ctx context.Context, id commonids.SubscriptionId, options ListAllOperationOptions) (ListAllCompleteResult, error)
ListAllComplete retrieves all the results into a single object
func (VirtualMachinesClient) ListAllCompleteMatchingPredicate ¶
func (c VirtualMachinesClient) ListAllCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListAllOperationOptions, predicate VirtualMachineOperationPredicate) (result ListAllCompleteResult, err error)
ListAllCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachinesClient) ListAvailableSizes ¶
func (c VirtualMachinesClient) ListAvailableSizes(ctx context.Context, id VirtualMachineId) (result ListAvailableSizesOperationResponse, err error)
ListAvailableSizes ...
func (VirtualMachinesClient) ListByLocation ¶
func (c VirtualMachinesClient) ListByLocation(ctx context.Context, id LocationId) (result ListByLocationOperationResponse, err error)
ListByLocation ...
func (VirtualMachinesClient) ListByLocationComplete ¶
func (c VirtualMachinesClient) ListByLocationComplete(ctx context.Context, id LocationId) (ListByLocationCompleteResult, error)
ListByLocationComplete retrieves all the results into a single object
func (VirtualMachinesClient) ListByLocationCompleteMatchingPredicate ¶
func (c VirtualMachinesClient) ListByLocationCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate VirtualMachineOperationPredicate) (result ListByLocationCompleteResult, err error)
ListByLocationCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachinesClient) ListComplete ¶
func (c VirtualMachinesClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VirtualMachinesClient) ListCompleteMatchingPredicate ¶
func (c VirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options ListOperationOptions, predicate VirtualMachineOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VirtualMachinesClient) PerformMaintenance ¶
func (c VirtualMachinesClient) PerformMaintenance(ctx context.Context, id VirtualMachineId) (result PerformMaintenanceOperationResponse, err error)
PerformMaintenance ...
func (VirtualMachinesClient) PerformMaintenanceThenPoll ¶
func (c VirtualMachinesClient) PerformMaintenanceThenPoll(ctx context.Context, id VirtualMachineId) error
PerformMaintenanceThenPoll performs PerformMaintenance then polls until it's completed
func (VirtualMachinesClient) PowerOff ¶
func (c VirtualMachinesClient) PowerOff(ctx context.Context, id VirtualMachineId, options PowerOffOperationOptions) (result PowerOffOperationResponse, err error)
PowerOff ...
func (VirtualMachinesClient) PowerOffThenPoll ¶
func (c VirtualMachinesClient) PowerOffThenPoll(ctx context.Context, id VirtualMachineId, options PowerOffOperationOptions) error
PowerOffThenPoll performs PowerOff then polls until it's completed
func (VirtualMachinesClient) Reapply ¶
func (c VirtualMachinesClient) Reapply(ctx context.Context, id VirtualMachineId) (result ReapplyOperationResponse, err error)
Reapply ...
func (VirtualMachinesClient) ReapplyThenPoll ¶
func (c VirtualMachinesClient) ReapplyThenPoll(ctx context.Context, id VirtualMachineId) error
ReapplyThenPoll performs Reapply then polls until it's completed
func (VirtualMachinesClient) Redeploy ¶
func (c VirtualMachinesClient) Redeploy(ctx context.Context, id VirtualMachineId) (result RedeployOperationResponse, err error)
Redeploy ...
func (VirtualMachinesClient) RedeployThenPoll ¶
func (c VirtualMachinesClient) RedeployThenPoll(ctx context.Context, id VirtualMachineId) error
RedeployThenPoll performs Redeploy then polls until it's completed
func (VirtualMachinesClient) Reimage ¶
func (c VirtualMachinesClient) Reimage(ctx context.Context, id VirtualMachineId, input VirtualMachineReimageParameters) (result ReimageOperationResponse, err error)
Reimage ...
func (VirtualMachinesClient) ReimageThenPoll ¶
func (c VirtualMachinesClient) ReimageThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachineReimageParameters) error
ReimageThenPoll performs Reimage then polls until it's completed
func (VirtualMachinesClient) Restart ¶
func (c VirtualMachinesClient) Restart(ctx context.Context, id VirtualMachineId) (result RestartOperationResponse, err error)
Restart ...
func (VirtualMachinesClient) RestartThenPoll ¶
func (c VirtualMachinesClient) RestartThenPoll(ctx context.Context, id VirtualMachineId) error
RestartThenPoll performs Restart then polls until it's completed
func (VirtualMachinesClient) RetrieveBootDiagnosticsData ¶
func (c VirtualMachinesClient) RetrieveBootDiagnosticsData(ctx context.Context, id VirtualMachineId, options RetrieveBootDiagnosticsDataOperationOptions) (result RetrieveBootDiagnosticsDataOperationResponse, err error)
RetrieveBootDiagnosticsData ...
func (VirtualMachinesClient) RunCommand ¶
func (c VirtualMachinesClient) RunCommand(ctx context.Context, id VirtualMachineId, input RunCommandInput) (result RunCommandOperationResponse, err error)
RunCommand ...
func (VirtualMachinesClient) RunCommandThenPoll ¶
func (c VirtualMachinesClient) RunCommandThenPoll(ctx context.Context, id VirtualMachineId, input RunCommandInput) error
RunCommandThenPoll performs RunCommand then polls until it's completed
func (VirtualMachinesClient) SimulateEviction ¶
func (c VirtualMachinesClient) SimulateEviction(ctx context.Context, id VirtualMachineId) (result SimulateEvictionOperationResponse, err error)
SimulateEviction ...
func (VirtualMachinesClient) Start ¶
func (c VirtualMachinesClient) Start(ctx context.Context, id VirtualMachineId) (result StartOperationResponse, err error)
Start ...
func (VirtualMachinesClient) StartThenPoll ¶
func (c VirtualMachinesClient) StartThenPoll(ctx context.Context, id VirtualMachineId) error
StartThenPoll performs Start then polls until it's completed
func (VirtualMachinesClient) Update ¶
func (c VirtualMachinesClient) Update(ctx context.Context, id VirtualMachineId, input VirtualMachineUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VirtualMachinesClient) UpdateThenPoll ¶
func (c VirtualMachinesClient) UpdateThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachineUpdate) error
UpdateThenPoll performs Update then polls until it's completed
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 WindowsParameters ¶
type WindowsParameters struct { ClassificationsToInclude *[]VMGuestPatchClassificationWindows `json:"classificationsToInclude,omitempty"` ExcludeKbsRequiringReboot *bool `json:"excludeKbsRequiringReboot,omitempty"` KbNumbersToExclude *[]string `json:"kbNumbersToExclude,omitempty"` KbNumbersToInclude *[]string `json:"kbNumbersToInclude,omitempty"` MaxPatchPublishDate *string `json:"maxPatchPublishDate,omitempty"` }
func (*WindowsParameters) GetMaxPatchPublishDateAsTime ¶
func (o *WindowsParameters) GetMaxPatchPublishDateAsTime() (*time.Time, error)
func (*WindowsParameters) SetMaxPatchPublishDateAsTime ¶
func (o *WindowsParameters) SetMaxPatchPublishDateAsTime(input time.Time)
type WindowsPatchAssessmentMode ¶
type WindowsPatchAssessmentMode string
const ( WindowsPatchAssessmentModeAutomaticByPlatform WindowsPatchAssessmentMode = "AutomaticByPlatform" WindowsPatchAssessmentModeImageDefault WindowsPatchAssessmentMode = "ImageDefault" )
func (*WindowsPatchAssessmentMode) UnmarshalJSON ¶
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 ¶
func (s *WindowsVMGuestPatchMode) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_virtualmachine.go
- method_assesspatches.go
- method_capture.go
- method_converttomanageddisks.go
- method_createorupdate.go
- method_deallocate.go
- method_delete.go
- method_generalize.go
- method_get.go
- method_installpatches.go
- method_instanceview.go
- method_list.go
- method_listall.go
- method_listavailablesizes.go
- method_listbylocation.go
- method_performmaintenance.go
- method_poweroff.go
- method_reapply.go
- method_redeploy.go
- method_reimage.go
- method_restart.go
- method_retrievebootdiagnosticsdata.go
- method_runcommand.go
- method_simulateeviction.go
- method_start.go
- method_update.go
- model_additionalcapabilities.go
- model_additionalunattendcontent.go
- model_apierror.go
- model_apierrorbase.go
- model_applicationprofile.go
- model_availablepatchsummary.go
- model_billingprofile.go
- model_bootdiagnostics.go
- model_bootdiagnosticsinstanceview.go
- model_capacityreservationprofile.go
- model_datadisk.go
- model_diagnosticsprofile.go
- model_diffdisksettings.go
- model_diskencryptionsettings.go
- model_diskinstanceview.go
- model_hardwareprofile.go
- model_imagereference.go
- model_innererror.go
- model_instanceviewstatus.go
- model_keyvaultkeyreference.go
- model_keyvaultsecretreference.go
- model_lastpatchinstallationsummary.go
- model_linuxconfiguration.go
- model_linuxparameters.go
- model_linuxpatchsettings.go
- model_maintenanceredeploystatus.go
- model_manageddiskparameters.go
- model_networkinterfacereference.go
- model_networkinterfacereferenceproperties.go
- model_networkprofile.go
- model_osdisk.go
- model_osprofile.go
- model_patchinstallationdetail.go
- model_patchsettings.go
- model_plan.go
- model_publicipaddresssku.go
- model_retrievebootdiagnosticsdataresult.go
- model_runcommandinput.go
- model_runcommandinputparameter.go
- model_runcommandresult.go
- model_scheduledeventsprofile.go
- model_securityprofile.go
- model_sshconfiguration.go
- model_sshpublickey.go
- model_storageprofile.go
- model_subresource.go
- model_terminatenotificationprofile.go
- model_uefisettings.go
- model_vaultcertificate.go
- model_vaultsecretgroup.go
- model_virtualharddisk.go
- model_virtualmachine.go
- model_virtualmachineagentinstanceview.go
- model_virtualmachineassesspatchesresult.go
- model_virtualmachinecaptureparameters.go
- model_virtualmachinecaptureresult.go
- model_virtualmachineextension.go
- model_virtualmachineextensionhandlerinstanceview.go
- model_virtualmachineextensioninstanceview.go
- model_virtualmachineextensionproperties.go
- model_virtualmachinehealthstatus.go
- model_virtualmachineinstallpatchesparameters.go
- model_virtualmachineinstallpatchesresult.go
- model_virtualmachineinstanceview.go
- model_virtualmachineiptag.go
- model_virtualmachinenetworkinterfaceconfiguration.go
- model_virtualmachinenetworkinterfaceconfigurationproperties.go
- model_virtualmachinenetworkinterfacednssettingsconfiguration.go
- model_virtualmachinenetworkinterfaceipconfiguration.go
- model_virtualmachinenetworkinterfaceipconfigurationproperties.go
- model_virtualmachinepatchstatus.go
- model_virtualmachineproperties.go
- model_virtualmachinepublicipaddressconfiguration.go
- model_virtualmachinepublicipaddressconfigurationproperties.go
- model_virtualmachinepublicipaddressdnssettingsconfiguration.go
- model_virtualmachinereimageparameters.go
- model_virtualmachinesize.go
- model_virtualmachinesizelistresult.go
- model_virtualmachinesoftwarepatchproperties.go
- model_virtualmachineupdate.go
- model_vmdisksecurityprofile.go
- model_vmgalleryapplication.go
- model_vmsizeproperties.go
- model_windowsconfiguration.go
- model_windowsparameters.go
- model_winrmconfiguration.go
- model_winrmlistener.go
- predicates.go
- version.go