virtualmachineinstances

package
v0.20240223.1153421 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2023-09-01-preview/virtualmachineinstances Documentation

The virtualmachineinstances SDK allows for interaction with the Azure Resource Manager Service azurestackhci (API Version 2023-09-01-preview).

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

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2023-09-01-preview/virtualmachineinstances"

Client Initialization

client := virtualmachineinstances.NewVirtualMachineInstancesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualMachineInstancesClient.CreateOrUpdate

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

payload := virtualmachineinstances.VirtualMachineInstance{
	// ...
}


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

Example Usage: VirtualMachineInstancesClient.Delete

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Example Usage: VirtualMachineInstancesClient.Get

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Example Usage: VirtualMachineInstancesClient.List

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: VirtualMachineInstancesClient.Restart

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Example Usage: VirtualMachineInstancesClient.Start

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Example Usage: VirtualMachineInstancesClient.Stop

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Example Usage: VirtualMachineInstancesClient.Update

ctx := context.TODO()
id := commonids.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

payload := virtualmachineinstances.VirtualMachineInstanceUpdateRequest{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForExtendedLocationTypes

func PossibleValuesForExtendedLocationTypes() []string

func PossibleValuesForOperatingSystemTypes

func PossibleValuesForOperatingSystemTypes() []string

func PossibleValuesForPowerStateEnum

func PossibleValuesForPowerStateEnum() []string

func PossibleValuesForProvisioningStateEnum

func PossibleValuesForProvisioningStateEnum() []string

func PossibleValuesForSecurityTypes

func PossibleValuesForSecurityTypes() []string

func PossibleValuesForStatus

func PossibleValuesForStatus() []string

func PossibleValuesForStatusLevelTypes

func PossibleValuesForStatusLevelTypes() []string

func PossibleValuesForStatusTypes

func PossibleValuesForStatusTypes() []string

func PossibleValuesForVMSizeEnum

func PossibleValuesForVMSizeEnum() []string

Types

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstance
}

type DeleteOperationResponse

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

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorDetail

type ErrorDetail struct {
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	Code           *string                `json:"code,omitempty"`
	Details        *[]ErrorDetail         `json:"details,omitempty"`
	Message        *string                `json:"message,omitempty"`
	Target         *string                `json:"target,omitempty"`
}

type ExtendedLocation

type ExtendedLocation struct {
	Name *string                `json:"name,omitempty"`
	Type *ExtendedLocationTypes `json:"type,omitempty"`
}

type ExtendedLocationTypes

type ExtendedLocationTypes string
const (
	ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)

func (*ExtendedLocationTypes) UnmarshalJSON

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

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstance
}

type GuestAgentInstallStatus

type GuestAgentInstallStatus struct {
	AgentVersion     *string        `json:"agentVersion,omitempty"`
	ErrorDetails     *[]ErrorDetail `json:"errorDetails,omitempty"`
	LastStatusChange *string        `json:"lastStatusChange,omitempty"`
	Status           *StatusTypes   `json:"status,omitempty"`
	VMUuid           *string        `json:"vmUuid,omitempty"`
}

func (*GuestAgentInstallStatus) GetLastStatusChangeAsTime

func (o *GuestAgentInstallStatus) GetLastStatusChangeAsTime() (*time.Time, error)

func (*GuestAgentInstallStatus) SetLastStatusChangeAsTime

func (o *GuestAgentInstallStatus) SetLastStatusChangeAsTime(input time.Time)

type HTTPProxyConfiguration

type HTTPProxyConfiguration struct {
	HTTPProxy  *string   `json:"httpProxy,omitempty"`
	HTTPSProxy *string   `json:"httpsProxy,omitempty"`
	NoProxy    *[]string `json:"noProxy,omitempty"`
	TrustedCa  *string   `json:"trustedCa,omitempty"`
}

type HardwareProfileUpdate

type HardwareProfileUpdate struct {
	MemoryMB   *int64      `json:"memoryMB,omitempty"`
	Processors *int64      `json:"processors,omitempty"`
	VMSize     *VMSizeEnum `json:"vmSize,omitempty"`
}

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 ListCompleteResult

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualMachineInstance
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualMachineInstance
}

type NetworkProfileUpdate

type NetworkProfileUpdate struct {
	NetworkInterfaces *[]NetworkProfileUpdateNetworkInterfacesInlined `json:"networkInterfaces,omitempty"`
}

type NetworkProfileUpdateNetworkInterfacesInlined

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

type OperatingSystemTypes

type OperatingSystemTypes string
const (
	OperatingSystemTypesLinux   OperatingSystemTypes = "Linux"
	OperatingSystemTypesWindows OperatingSystemTypes = "Windows"
)

func (*OperatingSystemTypes) UnmarshalJSON

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

type OsProfileUpdate

type OsProfileUpdate struct {
	ComputerName         *string                              `json:"computerName,omitempty"`
	LinuxConfiguration   *OsProfileUpdateLinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	WindowsConfiguration *OsProfileUpdateWindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

type OsProfileUpdateLinuxConfiguration

type OsProfileUpdateLinuxConfiguration struct {
	ProvisionVMAgent       *bool `json:"provisionVMAgent,omitempty"`
	ProvisionVMConfigAgent *bool `json:"provisionVMConfigAgent,omitempty"`
}

type OsProfileUpdateWindowsConfiguration

type OsProfileUpdateWindowsConfiguration struct {
	ProvisionVMAgent       *bool `json:"provisionVMAgent,omitempty"`
	ProvisionVMConfigAgent *bool `json:"provisionVMConfigAgent,omitempty"`
}

type PowerStateEnum

type PowerStateEnum string
const (
	PowerStateEnumDeallocated  PowerStateEnum = "Deallocated"
	PowerStateEnumDeallocating PowerStateEnum = "Deallocating"
	PowerStateEnumRunning      PowerStateEnum = "Running"
	PowerStateEnumStarting     PowerStateEnum = "Starting"
	PowerStateEnumStopped      PowerStateEnum = "Stopped"
	PowerStateEnumStopping     PowerStateEnum = "Stopping"
	PowerStateEnumUnknown      PowerStateEnum = "Unknown"
)

func (*PowerStateEnum) UnmarshalJSON

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

type ProvisioningStateEnum

type ProvisioningStateEnum string
const (
	ProvisioningStateEnumAccepted   ProvisioningStateEnum = "Accepted"
	ProvisioningStateEnumCanceled   ProvisioningStateEnum = "Canceled"
	ProvisioningStateEnumDeleting   ProvisioningStateEnum = "Deleting"
	ProvisioningStateEnumFailed     ProvisioningStateEnum = "Failed"
	ProvisioningStateEnumInProgress ProvisioningStateEnum = "InProgress"
	ProvisioningStateEnumSucceeded  ProvisioningStateEnum = "Succeeded"
)

func (*ProvisioningStateEnum) UnmarshalJSON

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

type RestartOperationResponse

type RestartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstance
}

type SecurityTypes

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

func (*SecurityTypes) UnmarshalJSON

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

type SshConfiguration

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

type SshPublicKey

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

type StartOperationResponse

type StartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstance
}

type Status

type Status string
const (
	StatusFailed     Status = "Failed"
	StatusInProgress Status = "InProgress"
	StatusSucceeded  Status = "Succeeded"
)

func (*Status) UnmarshalJSON

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

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 StatusTypes

type StatusTypes string
const (
	StatusTypesFailed     StatusTypes = "Failed"
	StatusTypesInProgress StatusTypes = "InProgress"
	StatusTypesSucceeded  StatusTypes = "Succeeded"
)

func (*StatusTypes) UnmarshalJSON

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

type StopOperationResponse

type StopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstance
}

type StorageProfileUpdate

type StorageProfileUpdate struct {
	DataDisks *[]StorageProfileUpdateDataDisksInlined `json:"dataDisks,omitempty"`
}

type StorageProfileUpdateDataDisksInlined

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

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *VirtualMachineInstance
}

type VMSizeEnum

type VMSizeEnum string
const (
	VMSizeEnumCustom                   VMSizeEnum = "Custom"
	VMSizeEnumDefault                  VMSizeEnum = "Default"
	VMSizeEnumStandardAFourVTwo        VMSizeEnum = "Standard_A4_v2"
	VMSizeEnumStandardATwoVTwo         VMSizeEnum = "Standard_A2_v2"
	VMSizeEnumStandardDEightsVThree    VMSizeEnum = "Standard_D8s_v3"
	VMSizeEnumStandardDFoursVThree     VMSizeEnum = "Standard_D4s_v3"
	VMSizeEnumStandardDOneSixsVThree   VMSizeEnum = "Standard_D16s_v3"
	VMSizeEnumStandardDSFiveVTwo       VMSizeEnum = "Standard_DS5_v2"
	VMSizeEnumStandardDSFourVTwo       VMSizeEnum = "Standard_DS4_v2"
	VMSizeEnumStandardDSOneThreeVTwo   VMSizeEnum = "Standard_DS13_v2"
	VMSizeEnumStandardDSThreeVTwo      VMSizeEnum = "Standard_DS3_v2"
	VMSizeEnumStandardDSTwoVTwo        VMSizeEnum = "Standard_DS2_v2"
	VMSizeEnumStandardDThreeTwosVThree VMSizeEnum = "Standard_D32s_v3"
	VMSizeEnumStandardDTwosVThree      VMSizeEnum = "Standard_D2s_v3"
	VMSizeEnumStandardKEightSFiveVOne  VMSizeEnum = "Standard_K8S5_v1"
	VMSizeEnumStandardKEightSFourVOne  VMSizeEnum = "Standard_K8S4_v1"
	VMSizeEnumStandardKEightSThreeVOne VMSizeEnum = "Standard_K8S3_v1"
	VMSizeEnumStandardKEightSTwoVOne   VMSizeEnum = "Standard_K8S2_v1"
	VMSizeEnumStandardKEightSVOne      VMSizeEnum = "Standard_K8S_v1"
	VMSizeEnumStandardNKOneTwo         VMSizeEnum = "Standard_NK12"
	VMSizeEnumStandardNKSix            VMSizeEnum = "Standard_NK6"
	VMSizeEnumStandardNVOneTwo         VMSizeEnum = "Standard_NV12"
	VMSizeEnumStandardNVSix            VMSizeEnum = "Standard_NV6"
)

func (*VMSizeEnum) UnmarshalJSON

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

type VirtualMachineConfigAgentInstanceView

type VirtualMachineConfigAgentInstanceView struct {
	Statuses             *[]InstanceViewStatus `json:"statuses,omitempty"`
	VMConfigAgentVersion *string               `json:"vmConfigAgentVersion,omitempty"`
}

type VirtualMachineInstance

type VirtualMachineInstance struct {
	ExtendedLocation *ExtendedLocation                 `json:"extendedLocation,omitempty"`
	Id               *string                           `json:"id,omitempty"`
	Identity         *identity.SystemAssigned          `json:"identity,omitempty"`
	Name             *string                           `json:"name,omitempty"`
	Properties       *VirtualMachineInstanceProperties `json:"properties,omitempty"`
	SystemData       *systemdata.SystemData            `json:"systemData,omitempty"`
	Type             *string                           `json:"type,omitempty"`
}

type VirtualMachineInstanceOperationPredicate

type VirtualMachineInstanceOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (VirtualMachineInstanceOperationPredicate) Matches

type VirtualMachineInstanceProperties

type VirtualMachineInstanceProperties struct {
	GuestAgentInstallStatus *GuestAgentInstallStatus                         `json:"guestAgentInstallStatus,omitempty"`
	HTTPProxyConfig         *HTTPProxyConfiguration                          `json:"httpProxyConfig,omitempty"`
	HardwareProfile         *VirtualMachineInstancePropertiesHardwareProfile `json:"hardwareProfile,omitempty"`
	InstanceView            *VirtualMachineInstanceView                      `json:"instanceView,omitempty"`
	NetworkProfile          *VirtualMachineInstancePropertiesNetworkProfile  `json:"networkProfile,omitempty"`
	OsProfile               *VirtualMachineInstancePropertiesOsProfile       `json:"osProfile,omitempty"`
	ProvisioningState       *ProvisioningStateEnum                           `json:"provisioningState,omitempty"`
	ResourceUid             *string                                          `json:"resourceUid,omitempty"`
	SecurityProfile         *VirtualMachineInstancePropertiesSecurityProfile `json:"securityProfile,omitempty"`
	Status                  *VirtualMachineInstanceStatus                    `json:"status,omitempty"`
	StorageProfile          *VirtualMachineInstancePropertiesStorageProfile  `json:"storageProfile,omitempty"`
	VMId                    *string                                          `json:"vmId,omitempty"`
}

type VirtualMachineInstancePropertiesHardwareProfile

type VirtualMachineInstancePropertiesHardwareProfile struct {
	DynamicMemoryConfig *VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig `json:"dynamicMemoryConfig,omitempty"`
	MemoryMB            *int64                                                              `json:"memoryMB,omitempty"`
	Processors          *int64                                                              `json:"processors,omitempty"`
	VMSize              *VMSizeEnum                                                         `json:"vmSize,omitempty"`
}

type VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig

type VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig struct {
	MaximumMemoryMB    *int64 `json:"maximumMemoryMB,omitempty"`
	MinimumMemoryMB    *int64 `json:"minimumMemoryMB,omitempty"`
	TargetMemoryBuffer *int64 `json:"targetMemoryBuffer,omitempty"`
}

type VirtualMachineInstancePropertiesNetworkProfile

type VirtualMachineInstancePropertiesNetworkProfile struct {
	NetworkInterfaces *[]VirtualMachineInstancePropertiesNetworkProfileNetworkInterfacesInlined `json:"networkInterfaces,omitempty"`
}

type VirtualMachineInstancePropertiesNetworkProfileNetworkInterfacesInlined

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

type VirtualMachineInstancePropertiesOsProfile

type VirtualMachineInstancePropertiesOsProfile struct {
	AdminPassword        *string                                                        `json:"adminPassword,omitempty"`
	AdminUsername        *string                                                        `json:"adminUsername,omitempty"`
	ComputerName         *string                                                        `json:"computerName,omitempty"`
	LinuxConfiguration   *VirtualMachineInstancePropertiesOsProfileLinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	WindowsConfiguration *VirtualMachineInstancePropertiesOsProfileWindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

type VirtualMachineInstancePropertiesOsProfileLinuxConfiguration

type VirtualMachineInstancePropertiesOsProfileLinuxConfiguration struct {
	DisablePasswordAuthentication *bool             `json:"disablePasswordAuthentication,omitempty"`
	ProvisionVMAgent              *bool             `json:"provisionVMAgent,omitempty"`
	ProvisionVMConfigAgent        *bool             `json:"provisionVMConfigAgent,omitempty"`
	Ssh                           *SshConfiguration `json:"ssh,omitempty"`
}

type VirtualMachineInstancePropertiesOsProfileWindowsConfiguration

type VirtualMachineInstancePropertiesOsProfileWindowsConfiguration struct {
	EnableAutomaticUpdates *bool             `json:"enableAutomaticUpdates,omitempty"`
	ProvisionVMAgent       *bool             `json:"provisionVMAgent,omitempty"`
	ProvisionVMConfigAgent *bool             `json:"provisionVMConfigAgent,omitempty"`
	Ssh                    *SshConfiguration `json:"ssh,omitempty"`
	TimeZone               *string           `json:"timeZone,omitempty"`
}

type VirtualMachineInstancePropertiesSecurityProfile

type VirtualMachineInstancePropertiesSecurityProfile struct {
	EnableTPM    *bool                                                        `json:"enableTPM,omitempty"`
	SecurityType *SecurityTypes                                               `json:"securityType,omitempty"`
	UefiSettings *VirtualMachineInstancePropertiesSecurityProfileUefiSettings `json:"uefiSettings,omitempty"`
}

type VirtualMachineInstancePropertiesSecurityProfileUefiSettings

type VirtualMachineInstancePropertiesSecurityProfileUefiSettings struct {
	SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
}

type VirtualMachineInstancePropertiesStorageProfile

type VirtualMachineInstancePropertiesStorageProfile struct {
	DataDisks             *[]VirtualMachineInstancePropertiesStorageProfileDataDisksInlined `json:"dataDisks,omitempty"`
	ImageReference        *VirtualMachineInstancePropertiesStorageProfileImageReference     `json:"imageReference,omitempty"`
	OsDisk                *VirtualMachineInstancePropertiesStorageProfileOsDisk             `json:"osDisk,omitempty"`
	VMConfigStoragePathId *string                                                           `json:"vmConfigStoragePathId,omitempty"`
}

type VirtualMachineInstancePropertiesStorageProfileDataDisksInlined

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

type VirtualMachineInstancePropertiesStorageProfileImageReference

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

type VirtualMachineInstancePropertiesStorageProfileOsDisk

type VirtualMachineInstancePropertiesStorageProfileOsDisk struct {
	Id     *string               `json:"id,omitempty"`
	OsType *OperatingSystemTypes `json:"osType,omitempty"`
}

type VirtualMachineInstanceStatus

type VirtualMachineInstanceStatus struct {
	ErrorCode          *string                                         `json:"errorCode,omitempty"`
	ErrorMessage       *string                                         `json:"errorMessage,omitempty"`
	PowerState         *PowerStateEnum                                 `json:"powerState,omitempty"`
	ProvisioningStatus *VirtualMachineInstanceStatusProvisioningStatus `json:"provisioningStatus,omitempty"`
}

type VirtualMachineInstanceStatusProvisioningStatus

type VirtualMachineInstanceStatusProvisioningStatus struct {
	OperationId *string `json:"operationId,omitempty"`
	Status      *Status `json:"status,omitempty"`
}

type VirtualMachineInstanceUpdateProperties

type VirtualMachineInstanceUpdateProperties struct {
	HardwareProfile *HardwareProfileUpdate `json:"hardwareProfile,omitempty"`
	NetworkProfile  *NetworkProfileUpdate  `json:"networkProfile,omitempty"`
	OsProfile       *OsProfileUpdate       `json:"osProfile,omitempty"`
	StorageProfile  *StorageProfileUpdate  `json:"storageProfile,omitempty"`
}

type VirtualMachineInstanceUpdateRequest

type VirtualMachineInstanceUpdateRequest struct {
	Identity   *identity.SystemAssigned                `json:"identity,omitempty"`
	Properties *VirtualMachineInstanceUpdateProperties `json:"properties,omitempty"`
}

type VirtualMachineInstanceView

type VirtualMachineInstanceView struct {
	VMAgent *VirtualMachineConfigAgentInstanceView `json:"vmAgent,omitempty"`
}

type VirtualMachineInstancesClient

type VirtualMachineInstancesClient struct {
	Client *resourcemanager.Client
}

func NewVirtualMachineInstancesClientWithBaseURI

func NewVirtualMachineInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineInstancesClient, error)

func (VirtualMachineInstancesClient) CreateOrUpdate

CreateOrUpdate ...

func (VirtualMachineInstancesClient) CreateOrUpdateThenPoll

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (VirtualMachineInstancesClient) Delete

Delete ...

func (VirtualMachineInstancesClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (VirtualMachineInstancesClient) Get

Get ...

func (VirtualMachineInstancesClient) List

List ...

func (VirtualMachineInstancesClient) ListComplete

ListComplete retrieves all the results into a single object

func (VirtualMachineInstancesClient) ListCompleteMatchingPredicate

func (c VirtualMachineInstancesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate VirtualMachineInstanceOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualMachineInstancesClient) Restart

Restart ...

func (VirtualMachineInstancesClient) RestartThenPoll

RestartThenPoll performs Restart then polls until it's completed

func (VirtualMachineInstancesClient) Start

Start ...

func (VirtualMachineInstancesClient) StartThenPoll

StartThenPoll performs Start then polls until it's completed

func (VirtualMachineInstancesClient) Stop

Stop ...

func (VirtualMachineInstancesClient) StopThenPoll

StopThenPoll performs Stop then polls until it's completed

func (VirtualMachineInstancesClient) Update

Update ...

func (VirtualMachineInstancesClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

Source Files

Jump to

Keyboard shortcuts

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