...

Package compute

import "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2021-12-01/compute"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

Package compute implements the Azure ARM Compute service API version .

Compute Client

Index ▾

Constants
func UserAgent() string
func Version() string
type APIEntityReference
type APIError
type APIErrorBase
type AccessLevel
    func PossibleAccessLevelValues() []AccessLevel
type AccessURI
    func (au AccessURI) MarshalJSON() ([]byte, error)
type AdditionalCapabilities
type AdditionalUnattendContent
type AggregatedReplicationState
    func PossibleAggregatedReplicationStateValues() []AggregatedReplicationState
type ApplicationProfile
type Architecture
    func PossibleArchitectureValues() []Architecture
type ArchitectureTypes
    func PossibleArchitectureTypesValues() []ArchitectureTypes
type AutomaticOSUpgradePolicy
type AutomaticOSUpgradeProperties
type AutomaticRepairsPolicy
type AvailabilitySet
    func (as AvailabilitySet) MarshalJSON() ([]byte, error)
    func (as *AvailabilitySet) UnmarshalJSON(body []byte) error
type AvailabilitySetListResult
    func (aslr AvailabilitySetListResult) IsEmpty() bool
type AvailabilitySetListResultIterator
    func NewAvailabilitySetListResultIterator(page AvailabilitySetListResultPage) AvailabilitySetListResultIterator
    func (iter *AvailabilitySetListResultIterator) Next() error
    func (iter *AvailabilitySetListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AvailabilitySetListResultIterator) NotDone() bool
    func (iter AvailabilitySetListResultIterator) Response() AvailabilitySetListResult
    func (iter AvailabilitySetListResultIterator) Value() AvailabilitySet
type AvailabilitySetListResultPage
    func NewAvailabilitySetListResultPage(cur AvailabilitySetListResult, getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage
    func (page *AvailabilitySetListResultPage) Next() error
    func (page *AvailabilitySetListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page AvailabilitySetListResultPage) NotDone() bool
    func (page AvailabilitySetListResultPage) Response() AvailabilitySetListResult
    func (page AvailabilitySetListResultPage) Values() []AvailabilitySet
type AvailabilitySetProperties
    func (asp AvailabilitySetProperties) MarshalJSON() ([]byte, error)
type AvailabilitySetSkuTypes
    func PossibleAvailabilitySetSkuTypesValues() []AvailabilitySetSkuTypes
type AvailabilitySetUpdate
    func (asu AvailabilitySetUpdate) MarshalJSON() ([]byte, error)
    func (asu *AvailabilitySetUpdate) UnmarshalJSON(body []byte) error
type AvailabilitySetsClient
    func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient
    func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient
    func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (result AvailabilitySet, err error)
    func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (*http.Request, error)
    func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error)
    func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client AvailabilitySetsClient) Delete(ctx context.Context, resourceGroupName string, availabilitySetName string) (result autorest.Response, err error)
    func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
    func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client AvailabilitySetsClient) Get(ctx context.Context, resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)
    func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
    func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error)
    func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client AvailabilitySetsClient) List(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultPage, err error)
    func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)
    func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)
    func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
    func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
    func (client AvailabilitySetsClient) ListBySubscription(ctx context.Context, expand string) (result AvailabilitySetListResultPage, err error)
    func (client AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, expand string) (result AvailabilitySetListResultIterator, err error)
    func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Context, expand string) (*http.Request, error)
    func (client AvailabilitySetsClient) ListBySubscriptionResponder(resp *http.Response) (result AvailabilitySetListResult, err error)
    func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client AvailabilitySetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultIterator, err error)
    func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error)
    func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client AvailabilitySetsClient) Update(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (result AvailabilitySet, err error)
    func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (*http.Request, error)
    func (client AvailabilitySetsClient) UpdateResponder(resp *http.Response) (result AvailabilitySet, err error)
    func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error)
type AvailablePatchSummary
    func (aps AvailablePatchSummary) MarshalJSON() ([]byte, error)
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type BillingProfile
type BootDiagnostics
type BootDiagnosticsInstanceView
    func (bdiv BootDiagnosticsInstanceView) MarshalJSON() ([]byte, error)
type CachingTypes
    func PossibleCachingTypesValues() []CachingTypes
type CapacityReservation
    func (cr CapacityReservation) MarshalJSON() ([]byte, error)
    func (cr *CapacityReservation) UnmarshalJSON(body []byte) error
type CapacityReservationGroup
    func (crg CapacityReservationGroup) MarshalJSON() ([]byte, error)
    func (crg *CapacityReservationGroup) UnmarshalJSON(body []byte) error
type CapacityReservationGroupInstanceView
    func (crgiv CapacityReservationGroupInstanceView) MarshalJSON() ([]byte, error)
type CapacityReservationGroupInstanceViewTypes
    func PossibleCapacityReservationGroupInstanceViewTypesValues() []CapacityReservationGroupInstanceViewTypes
type CapacityReservationGroupListResult
    func (crglr CapacityReservationGroupListResult) IsEmpty() bool
type CapacityReservationGroupListResultIterator
    func NewCapacityReservationGroupListResultIterator(page CapacityReservationGroupListResultPage) CapacityReservationGroupListResultIterator
    func (iter *CapacityReservationGroupListResultIterator) Next() error
    func (iter *CapacityReservationGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter CapacityReservationGroupListResultIterator) NotDone() bool
    func (iter CapacityReservationGroupListResultIterator) Response() CapacityReservationGroupListResult
    func (iter CapacityReservationGroupListResultIterator) Value() CapacityReservationGroup
type CapacityReservationGroupListResultPage
    func NewCapacityReservationGroupListResultPage(cur CapacityReservationGroupListResult, getNextPage func(context.Context, CapacityReservationGroupListResult) (CapacityReservationGroupListResult, error)) CapacityReservationGroupListResultPage
    func (page *CapacityReservationGroupListResultPage) Next() error
    func (page *CapacityReservationGroupListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page CapacityReservationGroupListResultPage) NotDone() bool
    func (page CapacityReservationGroupListResultPage) Response() CapacityReservationGroupListResult
    func (page CapacityReservationGroupListResultPage) Values() []CapacityReservationGroup
type CapacityReservationGroupProperties
    func (crgp CapacityReservationGroupProperties) MarshalJSON() ([]byte, error)
type CapacityReservationGroupUpdate
    func (crgu CapacityReservationGroupUpdate) MarshalJSON() ([]byte, error)
    func (crgu *CapacityReservationGroupUpdate) UnmarshalJSON(body []byte) error
type CapacityReservationGroupsClient
    func NewCapacityReservationGroupsClient(subscriptionID string) CapacityReservationGroupsClient
    func NewCapacityReservationGroupsClientWithBaseURI(baseURI string, subscriptionID string) CapacityReservationGroupsClient
    func (client CapacityReservationGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroup) (result CapacityReservationGroup, err error)
    func (client CapacityReservationGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroup) (*http.Request, error)
    func (client CapacityReservationGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityReservationGroup, err error)
    func (client CapacityReservationGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client CapacityReservationGroupsClient) Delete(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (result autorest.Response, err error)
    func (client CapacityReservationGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (*http.Request, error)
    func (client CapacityReservationGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CapacityReservationGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client CapacityReservationGroupsClient) Get(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, expand CapacityReservationGroupInstanceViewTypes) (result CapacityReservationGroup, err error)
    func (client CapacityReservationGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, expand CapacityReservationGroupInstanceViewTypes) (*http.Request, error)
    func (client CapacityReservationGroupsClient) GetResponder(resp *http.Response) (result CapacityReservationGroup, err error)
    func (client CapacityReservationGroupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client CapacityReservationGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultPage, err error)
    func (client CapacityReservationGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultIterator, err error)
    func (client CapacityReservationGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expand ExpandTypesForGetCapacityReservationGroups) (*http.Request, error)
    func (client CapacityReservationGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result CapacityReservationGroupListResult, err error)
    func (client CapacityReservationGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client CapacityReservationGroupsClient) ListBySubscription(ctx context.Context, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultPage, err error)
    func (client CapacityReservationGroupsClient) ListBySubscriptionComplete(ctx context.Context, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultIterator, err error)
    func (client CapacityReservationGroupsClient) ListBySubscriptionPreparer(ctx context.Context, expand ExpandTypesForGetCapacityReservationGroups) (*http.Request, error)
    func (client CapacityReservationGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result CapacityReservationGroupListResult, err error)
    func (client CapacityReservationGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client CapacityReservationGroupsClient) Update(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroupUpdate) (result CapacityReservationGroup, err error)
    func (client CapacityReservationGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroupUpdate) (*http.Request, error)
    func (client CapacityReservationGroupsClient) UpdateResponder(resp *http.Response) (result CapacityReservationGroup, err error)
    func (client CapacityReservationGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
type CapacityReservationInstanceView
type CapacityReservationInstanceViewTypes
    func PossibleCapacityReservationInstanceViewTypesValues() []CapacityReservationInstanceViewTypes
type CapacityReservationInstanceViewWithName
    func (crivwn CapacityReservationInstanceViewWithName) MarshalJSON() ([]byte, error)
type CapacityReservationListResult
    func (crlr CapacityReservationListResult) IsEmpty() bool
type CapacityReservationListResultIterator
    func NewCapacityReservationListResultIterator(page CapacityReservationListResultPage) CapacityReservationListResultIterator
    func (iter *CapacityReservationListResultIterator) Next() error
    func (iter *CapacityReservationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter CapacityReservationListResultIterator) NotDone() bool
    func (iter CapacityReservationListResultIterator) Response() CapacityReservationListResult
    func (iter CapacityReservationListResultIterator) Value() CapacityReservation
type CapacityReservationListResultPage
    func NewCapacityReservationListResultPage(cur CapacityReservationListResult, getNextPage func(context.Context, CapacityReservationListResult) (CapacityReservationListResult, error)) CapacityReservationListResultPage
    func (page *CapacityReservationListResultPage) Next() error
    func (page *CapacityReservationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page CapacityReservationListResultPage) NotDone() bool
    func (page CapacityReservationListResultPage) Response() CapacityReservationListResult
    func (page CapacityReservationListResultPage) Values() []CapacityReservation
type CapacityReservationProfile
type CapacityReservationProperties
    func (crp CapacityReservationProperties) MarshalJSON() ([]byte, error)
type CapacityReservationUpdate
    func (cru CapacityReservationUpdate) MarshalJSON() ([]byte, error)
    func (cru *CapacityReservationUpdate) UnmarshalJSON(body []byte) error
type CapacityReservationUtilization
    func (cru CapacityReservationUtilization) MarshalJSON() ([]byte, error)
type CapacityReservationsClient
    func NewCapacityReservationsClient(subscriptionID string) CapacityReservationsClient
    func NewCapacityReservationsClientWithBaseURI(baseURI string, subscriptionID string) CapacityReservationsClient
    func (client CapacityReservationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservation) (result CapacityReservationsCreateOrUpdateFuture, err error)
    func (client CapacityReservationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservation) (*http.Request, error)
    func (client CapacityReservationsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityReservation, err error)
    func (client CapacityReservationsClient) CreateOrUpdateSender(req *http.Request) (future CapacityReservationsCreateOrUpdateFuture, err error)
    func (client CapacityReservationsClient) Delete(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string) (result CapacityReservationsDeleteFuture, err error)
    func (client CapacityReservationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string) (*http.Request, error)
    func (client CapacityReservationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CapacityReservationsClient) DeleteSender(req *http.Request) (future CapacityReservationsDeleteFuture, err error)
    func (client CapacityReservationsClient) Get(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, expand CapacityReservationInstanceViewTypes) (result CapacityReservation, err error)
    func (client CapacityReservationsClient) GetPreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, expand CapacityReservationInstanceViewTypes) (*http.Request, error)
    func (client CapacityReservationsClient) GetResponder(resp *http.Response) (result CapacityReservation, err error)
    func (client CapacityReservationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client CapacityReservationsClient) ListByCapacityReservationGroup(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (result CapacityReservationListResultPage, err error)
    func (client CapacityReservationsClient) ListByCapacityReservationGroupComplete(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (result CapacityReservationListResultIterator, err error)
    func (client CapacityReservationsClient) ListByCapacityReservationGroupPreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (*http.Request, error)
    func (client CapacityReservationsClient) ListByCapacityReservationGroupResponder(resp *http.Response) (result CapacityReservationListResult, err error)
    func (client CapacityReservationsClient) ListByCapacityReservationGroupSender(req *http.Request) (*http.Response, error)
    func (client CapacityReservationsClient) Update(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservationUpdate) (result CapacityReservationsUpdateFuture, err error)
    func (client CapacityReservationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservationUpdate) (*http.Request, error)
    func (client CapacityReservationsClient) UpdateResponder(resp *http.Response) (result CapacityReservation, err error)
    func (client CapacityReservationsClient) UpdateSender(req *http.Request) (future CapacityReservationsUpdateFuture, err error)
type CapacityReservationsCreateOrUpdateFuture
    func (future *CapacityReservationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type CapacityReservationsDeleteFuture
    func (future *CapacityReservationsDeleteFuture) UnmarshalJSON(body []byte) error
type CapacityReservationsUpdateFuture
    func (future *CapacityReservationsUpdateFuture) UnmarshalJSON(body []byte) error
type CloudError
type CloudService
    func (cs CloudService) MarshalJSON() ([]byte, error)
type CloudServiceExtensionProfile
type CloudServiceExtensionProperties
    func (csep CloudServiceExtensionProperties) MarshalJSON() ([]byte, error)
type CloudServiceInstanceView
    func (csiv CloudServiceInstanceView) MarshalJSON() ([]byte, error)
type CloudServiceListResult
    func (cslr CloudServiceListResult) IsEmpty() bool
type CloudServiceListResultIterator
    func NewCloudServiceListResultIterator(page CloudServiceListResultPage) CloudServiceListResultIterator
    func (iter *CloudServiceListResultIterator) Next() error
    func (iter *CloudServiceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter CloudServiceListResultIterator) NotDone() bool
    func (iter CloudServiceListResultIterator) Response() CloudServiceListResult
    func (iter CloudServiceListResultIterator) Value() CloudService
type CloudServiceListResultPage
    func NewCloudServiceListResultPage(cur CloudServiceListResult, getNextPage func(context.Context, CloudServiceListResult) (CloudServiceListResult, error)) CloudServiceListResultPage
    func (page *CloudServiceListResultPage) Next() error
    func (page *CloudServiceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page CloudServiceListResultPage) NotDone() bool
    func (page CloudServiceListResultPage) Response() CloudServiceListResult
    func (page CloudServiceListResultPage) Values() []CloudService
type CloudServiceNetworkProfile
type CloudServiceOperatingSystemsClient
    func NewCloudServiceOperatingSystemsClient(subscriptionID string) CloudServiceOperatingSystemsClient
    func NewCloudServiceOperatingSystemsClientWithBaseURI(baseURI string, subscriptionID string) CloudServiceOperatingSystemsClient
    func (client CloudServiceOperatingSystemsClient) GetOSFamily(ctx context.Context, location string, osFamilyName string) (result OSFamily, err error)
    func (client CloudServiceOperatingSystemsClient) GetOSFamilyPreparer(ctx context.Context, location string, osFamilyName string) (*http.Request, error)
    func (client CloudServiceOperatingSystemsClient) GetOSFamilyResponder(resp *http.Response) (result OSFamily, err error)
    func (client CloudServiceOperatingSystemsClient) GetOSFamilySender(req *http.Request) (*http.Response, error)
    func (client CloudServiceOperatingSystemsClient) GetOSVersion(ctx context.Context, location string, osVersionName string) (result OSVersion, err error)
    func (client CloudServiceOperatingSystemsClient) GetOSVersionPreparer(ctx context.Context, location string, osVersionName string) (*http.Request, error)
    func (client CloudServiceOperatingSystemsClient) GetOSVersionResponder(resp *http.Response) (result OSVersion, err error)
    func (client CloudServiceOperatingSystemsClient) GetOSVersionSender(req *http.Request) (*http.Response, error)
    func (client CloudServiceOperatingSystemsClient) ListOSFamilies(ctx context.Context, location string) (result OSFamilyListResultPage, err error)
    func (client CloudServiceOperatingSystemsClient) ListOSFamiliesComplete(ctx context.Context, location string) (result OSFamilyListResultIterator, err error)
    func (client CloudServiceOperatingSystemsClient) ListOSFamiliesPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client CloudServiceOperatingSystemsClient) ListOSFamiliesResponder(resp *http.Response) (result OSFamilyListResult, err error)
    func (client CloudServiceOperatingSystemsClient) ListOSFamiliesSender(req *http.Request) (*http.Response, error)
    func (client CloudServiceOperatingSystemsClient) ListOSVersions(ctx context.Context, location string) (result OSVersionListResultPage, err error)
    func (client CloudServiceOperatingSystemsClient) ListOSVersionsComplete(ctx context.Context, location string) (result OSVersionListResultIterator, err error)
    func (client CloudServiceOperatingSystemsClient) ListOSVersionsPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client CloudServiceOperatingSystemsClient) ListOSVersionsResponder(resp *http.Response) (result OSVersionListResult, err error)
    func (client CloudServiceOperatingSystemsClient) ListOSVersionsSender(req *http.Request) (*http.Response, error)
type CloudServiceOsProfile
type CloudServiceProperties
    func (csp CloudServiceProperties) MarshalJSON() ([]byte, error)
type CloudServiceRole
    func (csr CloudServiceRole) MarshalJSON() ([]byte, error)
type CloudServiceRoleInstancesClient
    func NewCloudServiceRoleInstancesClient(subscriptionID string) CloudServiceRoleInstancesClient
    func NewCloudServiceRoleInstancesClientWithBaseURI(baseURI string, subscriptionID string) CloudServiceRoleInstancesClient
    func (client CloudServiceRoleInstancesClient) Delete(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesDeleteFuture, err error)
    func (client CloudServiceRoleInstancesClient) DeletePreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServiceRoleInstancesClient) DeleteSender(req *http.Request) (future CloudServiceRoleInstancesDeleteFuture, err error)
    func (client CloudServiceRoleInstancesClient) Get(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (result RoleInstance, err error)
    func (client CloudServiceRoleInstancesClient) GetInstanceView(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result RoleInstanceInstanceView, err error)
    func (client CloudServiceRoleInstancesClient) GetInstanceViewPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) GetInstanceViewResponder(resp *http.Response) (result RoleInstanceInstanceView, err error)
    func (client CloudServiceRoleInstancesClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
    func (client CloudServiceRoleInstancesClient) GetPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFile(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result ReadCloser, err error)
    func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFilePreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFileResponder(resp *http.Response) (result ReadCloser, err error)
    func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFileSender(req *http.Request) (*http.Response, error)
    func (client CloudServiceRoleInstancesClient) GetResponder(resp *http.Response) (result RoleInstance, err error)
    func (client CloudServiceRoleInstancesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client CloudServiceRoleInstancesClient) List(ctx context.Context, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (result RoleInstanceListResultPage, err error)
    func (client CloudServiceRoleInstancesClient) ListComplete(ctx context.Context, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (result RoleInstanceListResultIterator, err error)
    func (client CloudServiceRoleInstancesClient) ListPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) ListResponder(resp *http.Response) (result RoleInstanceListResult, err error)
    func (client CloudServiceRoleInstancesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client CloudServiceRoleInstancesClient) Rebuild(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesRebuildFuture, err error)
    func (client CloudServiceRoleInstancesClient) RebuildPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) RebuildResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServiceRoleInstancesClient) RebuildSender(req *http.Request) (future CloudServiceRoleInstancesRebuildFuture, err error)
    func (client CloudServiceRoleInstancesClient) Reimage(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesReimageFuture, err error)
    func (client CloudServiceRoleInstancesClient) ReimagePreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServiceRoleInstancesClient) ReimageSender(req *http.Request) (future CloudServiceRoleInstancesReimageFuture, err error)
    func (client CloudServiceRoleInstancesClient) Restart(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesRestartFuture, err error)
    func (client CloudServiceRoleInstancesClient) RestartPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRoleInstancesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServiceRoleInstancesClient) RestartSender(req *http.Request) (future CloudServiceRoleInstancesRestartFuture, err error)
type CloudServiceRoleInstancesDeleteFuture
    func (future *CloudServiceRoleInstancesDeleteFuture) UnmarshalJSON(body []byte) error
type CloudServiceRoleInstancesRebuildFuture
    func (future *CloudServiceRoleInstancesRebuildFuture) UnmarshalJSON(body []byte) error
type CloudServiceRoleInstancesReimageFuture
    func (future *CloudServiceRoleInstancesReimageFuture) UnmarshalJSON(body []byte) error
type CloudServiceRoleInstancesRestartFuture
    func (future *CloudServiceRoleInstancesRestartFuture) UnmarshalJSON(body []byte) error
type CloudServiceRoleListResult
    func (csrlr CloudServiceRoleListResult) IsEmpty() bool
type CloudServiceRoleListResultIterator
    func NewCloudServiceRoleListResultIterator(page CloudServiceRoleListResultPage) CloudServiceRoleListResultIterator
    func (iter *CloudServiceRoleListResultIterator) Next() error
    func (iter *CloudServiceRoleListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter CloudServiceRoleListResultIterator) NotDone() bool
    func (iter CloudServiceRoleListResultIterator) Response() CloudServiceRoleListResult
    func (iter CloudServiceRoleListResultIterator) Value() CloudServiceRole
type CloudServiceRoleListResultPage
    func NewCloudServiceRoleListResultPage(cur CloudServiceRoleListResult, getNextPage func(context.Context, CloudServiceRoleListResult) (CloudServiceRoleListResult, error)) CloudServiceRoleListResultPage
    func (page *CloudServiceRoleListResultPage) Next() error
    func (page *CloudServiceRoleListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page CloudServiceRoleListResultPage) NotDone() bool
    func (page CloudServiceRoleListResultPage) Response() CloudServiceRoleListResult
    func (page CloudServiceRoleListResultPage) Values() []CloudServiceRole
type CloudServiceRoleProfile
type CloudServiceRoleProfileProperties
type CloudServiceRoleProperties
    func (csrp CloudServiceRoleProperties) MarshalJSON() ([]byte, error)
type CloudServiceRoleSku
type CloudServiceRolesClient
    func NewCloudServiceRolesClient(subscriptionID string) CloudServiceRolesClient
    func NewCloudServiceRolesClientWithBaseURI(baseURI string, subscriptionID string) CloudServiceRolesClient
    func (client CloudServiceRolesClient) Get(ctx context.Context, roleName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRole, err error)
    func (client CloudServiceRolesClient) GetPreparer(ctx context.Context, roleName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRolesClient) GetResponder(resp *http.Response) (result CloudServiceRole, err error)
    func (client CloudServiceRolesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client CloudServiceRolesClient) List(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleListResultPage, err error)
    func (client CloudServiceRolesClient) ListComplete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleListResultIterator, err error)
    func (client CloudServiceRolesClient) ListPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServiceRolesClient) ListResponder(resp *http.Response) (result CloudServiceRoleListResult, err error)
    func (client CloudServiceRolesClient) ListSender(req *http.Request) (*http.Response, error)
type CloudServiceUpdate
    func (csu CloudServiceUpdate) MarshalJSON() ([]byte, error)
type CloudServiceUpgradeMode
    func PossibleCloudServiceUpgradeModeValues() []CloudServiceUpgradeMode
type CloudServiceVaultAndSecretReference
type CloudServiceVaultCertificate
type CloudServiceVaultSecretGroup
type CloudServicesClient
    func NewCloudServicesClient(subscriptionID string) CloudServicesClient
    func NewCloudServicesClientWithBaseURI(baseURI string, subscriptionID string) CloudServicesClient
    func (client CloudServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudService) (result CloudServicesCreateOrUpdateFuture, err error)
    func (client CloudServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudService) (*http.Request, error)
    func (client CloudServicesClient) CreateOrUpdateResponder(resp *http.Response) (result CloudService, err error)
    func (client CloudServicesClient) CreateOrUpdateSender(req *http.Request) (future CloudServicesCreateOrUpdateFuture, err error)
    func (client CloudServicesClient) Delete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServicesDeleteFuture, err error)
    func (client CloudServicesClient) DeleteInstances(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesDeleteInstancesFuture, err error)
    func (client CloudServicesClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)
    func (client CloudServicesClient) DeleteInstancesResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesClient) DeleteInstancesSender(req *http.Request) (future CloudServicesDeleteInstancesFuture, err error)
    func (client CloudServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesClient) DeleteSender(req *http.Request) (future CloudServicesDeleteFuture, err error)
    func (client CloudServicesClient) Get(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudService, err error)
    func (client CloudServicesClient) GetInstanceView(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServiceInstanceView, err error)
    func (client CloudServicesClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServicesClient) GetInstanceViewResponder(resp *http.Response) (result CloudServiceInstanceView, err error)
    func (client CloudServicesClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
    func (client CloudServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServicesClient) GetResponder(resp *http.Response) (result CloudService, err error)
    func (client CloudServicesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client CloudServicesClient) List(ctx context.Context, resourceGroupName string) (result CloudServiceListResultPage, err error)
    func (client CloudServicesClient) ListAll(ctx context.Context) (result CloudServiceListResultPage, err error)
    func (client CloudServicesClient) ListAllComplete(ctx context.Context) (result CloudServiceListResultIterator, err error)
    func (client CloudServicesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
    func (client CloudServicesClient) ListAllResponder(resp *http.Response) (result CloudServiceListResult, err error)
    func (client CloudServicesClient) ListAllSender(req *http.Request) (*http.Response, error)
    func (client CloudServicesClient) ListComplete(ctx context.Context, resourceGroupName string) (result CloudServiceListResultIterator, err error)
    func (client CloudServicesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client CloudServicesClient) ListResponder(resp *http.Response) (result CloudServiceListResult, err error)
    func (client CloudServicesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client CloudServicesClient) PowerOff(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServicesPowerOffFuture, err error)
    func (client CloudServicesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServicesClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesClient) PowerOffSender(req *http.Request) (future CloudServicesPowerOffFuture, err error)
    func (client CloudServicesClient) Rebuild(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesRebuildFuture, err error)
    func (client CloudServicesClient) RebuildPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)
    func (client CloudServicesClient) RebuildResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesClient) RebuildSender(req *http.Request) (future CloudServicesRebuildFuture, err error)
    func (client CloudServicesClient) Reimage(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesReimageFuture, err error)
    func (client CloudServicesClient) ReimagePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)
    func (client CloudServicesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesClient) ReimageSender(req *http.Request) (future CloudServicesReimageFuture, err error)
    func (client CloudServicesClient) Restart(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesRestartFuture, err error)
    func (client CloudServicesClient) RestartPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)
    func (client CloudServicesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesClient) RestartSender(req *http.Request) (future CloudServicesRestartFuture, err error)
    func (client CloudServicesClient) Start(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServicesStartFuture, err error)
    func (client CloudServicesClient) StartPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServicesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesClient) StartSender(req *http.Request) (future CloudServicesStartFuture, err error)
    func (client CloudServicesClient) Update(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudServiceUpdate) (result CloudServicesUpdateFuture, err error)
    func (client CloudServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudServiceUpdate) (*http.Request, error)
    func (client CloudServicesClient) UpdateResponder(resp *http.Response) (result CloudService, err error)
    func (client CloudServicesClient) UpdateSender(req *http.Request) (future CloudServicesUpdateFuture, err error)
type CloudServicesCreateOrUpdateFuture
    func (future *CloudServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type CloudServicesDeleteFuture
    func (future *CloudServicesDeleteFuture) UnmarshalJSON(body []byte) error
type CloudServicesDeleteInstancesFuture
    func (future *CloudServicesDeleteInstancesFuture) UnmarshalJSON(body []byte) error
type CloudServicesPowerOffFuture
    func (future *CloudServicesPowerOffFuture) UnmarshalJSON(body []byte) error
type CloudServicesRebuildFuture
    func (future *CloudServicesRebuildFuture) UnmarshalJSON(body []byte) error
type CloudServicesReimageFuture
    func (future *CloudServicesReimageFuture) UnmarshalJSON(body []byte) error
type CloudServicesRestartFuture
    func (future *CloudServicesRestartFuture) UnmarshalJSON(body []byte) error
type CloudServicesStartFuture
    func (future *CloudServicesStartFuture) UnmarshalJSON(body []byte) error
type CloudServicesUpdateDomainClient
    func NewCloudServicesUpdateDomainClient(subscriptionID string) CloudServicesUpdateDomainClient
    func NewCloudServicesUpdateDomainClientWithBaseURI(baseURI string, subscriptionID string) CloudServicesUpdateDomainClient
    func (client CloudServicesUpdateDomainClient) GetUpdateDomain(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32) (result UpdateDomain, err error)
    func (client CloudServicesUpdateDomainClient) GetUpdateDomainPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32) (*http.Request, error)
    func (client CloudServicesUpdateDomainClient) GetUpdateDomainResponder(resp *http.Response) (result UpdateDomain, err error)
    func (client CloudServicesUpdateDomainClient) GetUpdateDomainSender(req *http.Request) (*http.Response, error)
    func (client CloudServicesUpdateDomainClient) ListUpdateDomains(ctx context.Context, resourceGroupName string, cloudServiceName string) (result UpdateDomainListResultPage, err error)
    func (client CloudServicesUpdateDomainClient) ListUpdateDomainsComplete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result UpdateDomainListResultIterator, err error)
    func (client CloudServicesUpdateDomainClient) ListUpdateDomainsPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)
    func (client CloudServicesUpdateDomainClient) ListUpdateDomainsResponder(resp *http.Response) (result UpdateDomainListResult, err error)
    func (client CloudServicesUpdateDomainClient) ListUpdateDomainsSender(req *http.Request) (*http.Response, error)
    func (client CloudServicesUpdateDomainClient) WalkUpdateDomain(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32, parameters *UpdateDomain) (result CloudServicesUpdateDomainWalkUpdateDomainFuture, err error)
    func (client CloudServicesUpdateDomainClient) WalkUpdateDomainPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32, parameters *UpdateDomain) (*http.Request, error)
    func (client CloudServicesUpdateDomainClient) WalkUpdateDomainResponder(resp *http.Response) (result autorest.Response, err error)
    func (client CloudServicesUpdateDomainClient) WalkUpdateDomainSender(req *http.Request) (future CloudServicesUpdateDomainWalkUpdateDomainFuture, err error)
type CloudServicesUpdateDomainWalkUpdateDomainFuture
    func (future *CloudServicesUpdateDomainWalkUpdateDomainFuture) UnmarshalJSON(body []byte) error
type CloudServicesUpdateFuture
    func (future *CloudServicesUpdateFuture) UnmarshalJSON(body []byte) error
type CommunityGalleriesClient
    func NewCommunityGalleriesClient(subscriptionID string) CommunityGalleriesClient
    func NewCommunityGalleriesClientWithBaseURI(baseURI string, subscriptionID string) CommunityGalleriesClient
    func (client CommunityGalleriesClient) Get(ctx context.Context, location string, publicGalleryName string) (result CommunityGallery, err error)
    func (client CommunityGalleriesClient) GetPreparer(ctx context.Context, location string, publicGalleryName string) (*http.Request, error)
    func (client CommunityGalleriesClient) GetResponder(resp *http.Response) (result CommunityGallery, err error)
    func (client CommunityGalleriesClient) GetSender(req *http.Request) (*http.Response, error)
type CommunityGallery
    func (cg CommunityGallery) MarshalJSON() ([]byte, error)
    func (cg *CommunityGallery) UnmarshalJSON(body []byte) error
type CommunityGalleryIdentifier
type CommunityGalleryImage
    func (cgiVar CommunityGalleryImage) MarshalJSON() ([]byte, error)
    func (cgiVar *CommunityGalleryImage) UnmarshalJSON(body []byte) error
type CommunityGalleryImageProperties
type CommunityGalleryImageVersion
    func (cgiv CommunityGalleryImageVersion) MarshalJSON() ([]byte, error)
    func (cgiv *CommunityGalleryImageVersion) UnmarshalJSON(body []byte) error
type CommunityGalleryImageVersionProperties
type CommunityGalleryImageVersionsClient
    func NewCommunityGalleryImageVersionsClient(subscriptionID string) CommunityGalleryImageVersionsClient
    func NewCommunityGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) CommunityGalleryImageVersionsClient
    func (client CommunityGalleryImageVersionsClient) Get(ctx context.Context, location string, publicGalleryName string, galleryImageName string, galleryImageVersionName string) (result CommunityGalleryImageVersion, err error)
    func (client CommunityGalleryImageVersionsClient) GetPreparer(ctx context.Context, location string, publicGalleryName string, galleryImageName string, galleryImageVersionName string) (*http.Request, error)
    func (client CommunityGalleryImageVersionsClient) GetResponder(resp *http.Response) (result CommunityGalleryImageVersion, err error)
    func (client CommunityGalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error)
type CommunityGalleryImagesClient
    func NewCommunityGalleryImagesClient(subscriptionID string) CommunityGalleryImagesClient
    func NewCommunityGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) CommunityGalleryImagesClient
    func (client CommunityGalleryImagesClient) Get(ctx context.Context, location string, publicGalleryName string, galleryImageName string) (result CommunityGalleryImage, err error)
    func (client CommunityGalleryImagesClient) GetPreparer(ctx context.Context, location string, publicGalleryName string, galleryImageName string) (*http.Request, error)
    func (client CommunityGalleryImagesClient) GetResponder(resp *http.Response) (result CommunityGalleryImage, err error)
    func (client CommunityGalleryImagesClient) GetSender(req *http.Request) (*http.Response, error)
type CommunityGalleryInfo
    func (cgiVar CommunityGalleryInfo) MarshalJSON() ([]byte, error)
type ComponentNames
    func PossibleComponentNamesValues() []ComponentNames
type ConfidentialVMEncryptionType
    func PossibleConfidentialVMEncryptionTypeValues() []ConfidentialVMEncryptionType
type ConsistencyModeTypes
    func PossibleConsistencyModeTypesValues() []ConsistencyModeTypes
type CreationData
    func (cd CreationData) MarshalJSON() ([]byte, error)
type DataAccessAuthMode
    func PossibleDataAccessAuthModeValues() []DataAccessAuthMode
type DataDisk
    func (dd DataDisk) MarshalJSON() ([]byte, error)
type DataDiskImage
    func (ddi DataDiskImage) MarshalJSON() ([]byte, error)
type DataDiskImageEncryption
type DedicatedHost
    func (dh DedicatedHost) MarshalJSON() ([]byte, error)
    func (dh *DedicatedHost) UnmarshalJSON(body []byte) error
type DedicatedHostAllocatableVM
type DedicatedHostAvailableCapacity
type DedicatedHostGroup
    func (dhg DedicatedHostGroup) MarshalJSON() ([]byte, error)
    func (dhg *DedicatedHostGroup) UnmarshalJSON(body []byte) error
type DedicatedHostGroupInstanceView
type DedicatedHostGroupListResult
    func (dhglr DedicatedHostGroupListResult) IsEmpty() bool
type DedicatedHostGroupListResultIterator
    func NewDedicatedHostGroupListResultIterator(page DedicatedHostGroupListResultPage) DedicatedHostGroupListResultIterator
    func (iter *DedicatedHostGroupListResultIterator) Next() error
    func (iter *DedicatedHostGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DedicatedHostGroupListResultIterator) NotDone() bool
    func (iter DedicatedHostGroupListResultIterator) Response() DedicatedHostGroupListResult
    func (iter DedicatedHostGroupListResultIterator) Value() DedicatedHostGroup
type DedicatedHostGroupListResultPage
    func NewDedicatedHostGroupListResultPage(cur DedicatedHostGroupListResult, getNextPage func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)) DedicatedHostGroupListResultPage
    func (page *DedicatedHostGroupListResultPage) Next() error
    func (page *DedicatedHostGroupListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DedicatedHostGroupListResultPage) NotDone() bool
    func (page DedicatedHostGroupListResultPage) Response() DedicatedHostGroupListResult
    func (page DedicatedHostGroupListResultPage) Values() []DedicatedHostGroup
type DedicatedHostGroupProperties
    func (dhgp DedicatedHostGroupProperties) MarshalJSON() ([]byte, error)
type DedicatedHostGroupUpdate
    func (dhgu DedicatedHostGroupUpdate) MarshalJSON() ([]byte, error)
    func (dhgu *DedicatedHostGroupUpdate) UnmarshalJSON(body []byte) error
type DedicatedHostGroupsClient
    func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClient
    func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient
    func (client DedicatedHostGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (result DedicatedHostGroup, err error)
    func (client DedicatedHostGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (*http.Request, error)
    func (client DedicatedHostGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)
    func (client DedicatedHostGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client DedicatedHostGroupsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error)
    func (client DedicatedHostGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)
    func (client DedicatedHostGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DedicatedHostGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client DedicatedHostGroupsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, expand InstanceViewTypes) (result DedicatedHostGroup, err error)
    func (client DedicatedHostGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, expand InstanceViewTypes) (*http.Request, error)
    func (client DedicatedHostGroupsClient) GetResponder(resp *http.Response) (result DedicatedHostGroup, err error)
    func (client DedicatedHostGroupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DedicatedHostGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultPage, err error)
    func (client DedicatedHostGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultIterator, err error)
    func (client DedicatedHostGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DedicatedHostGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)
    func (client DedicatedHostGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DedicatedHostGroupsClient) ListBySubscription(ctx context.Context) (result DedicatedHostGroupListResultPage, err error)
    func (client DedicatedHostGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result DedicatedHostGroupListResultIterator, err error)
    func (client DedicatedHostGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client DedicatedHostGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)
    func (client DedicatedHostGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client DedicatedHostGroupsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (result DedicatedHostGroup, err error)
    func (client DedicatedHostGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (*http.Request, error)
    func (client DedicatedHostGroupsClient) UpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)
    func (client DedicatedHostGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
type DedicatedHostInstanceView
    func (dhiv DedicatedHostInstanceView) MarshalJSON() ([]byte, error)
type DedicatedHostInstanceViewWithName
    func (dhivwn DedicatedHostInstanceViewWithName) MarshalJSON() ([]byte, error)
type DedicatedHostLicenseTypes
    func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes
type DedicatedHostListResult
    func (dhlr DedicatedHostListResult) IsEmpty() bool
type DedicatedHostListResultIterator
    func NewDedicatedHostListResultIterator(page DedicatedHostListResultPage) DedicatedHostListResultIterator
    func (iter *DedicatedHostListResultIterator) Next() error
    func (iter *DedicatedHostListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DedicatedHostListResultIterator) NotDone() bool
    func (iter DedicatedHostListResultIterator) Response() DedicatedHostListResult
    func (iter DedicatedHostListResultIterator) Value() DedicatedHost
type DedicatedHostListResultPage
    func NewDedicatedHostListResultPage(cur DedicatedHostListResult, getNextPage func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)) DedicatedHostListResultPage
    func (page *DedicatedHostListResultPage) Next() error
    func (page *DedicatedHostListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page DedicatedHostListResultPage) NotDone() bool
    func (page DedicatedHostListResultPage) Response() DedicatedHostListResult
    func (page DedicatedHostListResultPage) Values() []DedicatedHost
type DedicatedHostProperties
    func (dhp DedicatedHostProperties) MarshalJSON() ([]byte, error)
type DedicatedHostUpdate
    func (dhu DedicatedHostUpdate) MarshalJSON() ([]byte, error)
    func (dhu *DedicatedHostUpdate) UnmarshalJSON(body []byte) error
type DedicatedHostsClient
    func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient
    func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient
    func (client DedicatedHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (result DedicatedHostsCreateOrUpdateFuture, err error)
    func (client DedicatedHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (*http.Request, error)
    func (client DedicatedHostsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHost, err error)
    func (client DedicatedHostsClient) CreateOrUpdateSender(req *http.Request) (future DedicatedHostsCreateOrUpdateFuture, err error)
    func (client DedicatedHostsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result DedicatedHostsDeleteFuture, err error)
    func (client DedicatedHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (*http.Request, error)
    func (client DedicatedHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DedicatedHostsClient) DeleteSender(req *http.Request) (future DedicatedHostsDeleteFuture, err error)
    func (client DedicatedHostsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (result DedicatedHost, err error)
    func (client DedicatedHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (*http.Request, error)
    func (client DedicatedHostsClient) GetResponder(resp *http.Response) (result DedicatedHost, err error)
    func (client DedicatedHostsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DedicatedHostsClient) ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultPage, err error)
    func (client DedicatedHostsClient) ListByHostGroupComplete(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultIterator, err error)
    func (client DedicatedHostsClient) ListByHostGroupPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)
    func (client DedicatedHostsClient) ListByHostGroupResponder(resp *http.Response) (result DedicatedHostListResult, err error)
    func (client DedicatedHostsClient) ListByHostGroupSender(req *http.Request) (*http.Response, error)
    func (client DedicatedHostsClient) Restart(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result DedicatedHostsRestartFuture, err error)
    func (client DedicatedHostsClient) RestartPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (*http.Request, error)
    func (client DedicatedHostsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DedicatedHostsClient) RestartSender(req *http.Request) (future DedicatedHostsRestartFuture, err error)
    func (client DedicatedHostsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (result DedicatedHostsUpdateFuture, err error)
    func (client DedicatedHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (*http.Request, error)
    func (client DedicatedHostsClient) UpdateResponder(resp *http.Response) (result DedicatedHost, err error)
    func (client DedicatedHostsClient) UpdateSender(req *http.Request) (future DedicatedHostsUpdateFuture, err error)
type DedicatedHostsCreateOrUpdateFuture
    func (future *DedicatedHostsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type DedicatedHostsDeleteFuture
    func (future *DedicatedHostsDeleteFuture) UnmarshalJSON(body []byte) error
type DedicatedHostsRestartFuture
    func (future *DedicatedHostsRestartFuture) UnmarshalJSON(body []byte) error
type DedicatedHostsUpdateFuture
    func (future *DedicatedHostsUpdateFuture) UnmarshalJSON(body []byte) error
type DeleteOptions
    func PossibleDeleteOptionsValues() []DeleteOptions
type DiagnosticsProfile
type DiffDiskOptions
    func PossibleDiffDiskOptionsValues() []DiffDiskOptions
type DiffDiskPlacement
    func PossibleDiffDiskPlacementValues() []DiffDiskPlacement
type DiffDiskSettings
type Disallowed
type DisallowedConfiguration
type Disk
    func (d Disk) MarshalJSON() ([]byte, error)
    func (d *Disk) UnmarshalJSON(body []byte) error
type DiskAccess
    func (da DiskAccess) MarshalJSON() ([]byte, error)
    func (da *DiskAccess) UnmarshalJSON(body []byte) error
type DiskAccessList
    func (dal DiskAccessList) IsEmpty() bool
type DiskAccessListIterator
    func NewDiskAccessListIterator(page DiskAccessListPage) DiskAccessListIterator
    func (iter *DiskAccessListIterator) Next() error
    func (iter *DiskAccessListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DiskAccessListIterator) NotDone() bool
    func (iter DiskAccessListIterator) Response() DiskAccessList
    func (iter DiskAccessListIterator) Value() DiskAccess
type DiskAccessListPage
    func NewDiskAccessListPage(cur DiskAccessList, getNextPage func(context.Context, DiskAccessList) (DiskAccessList, error)) DiskAccessListPage
    func (page *DiskAccessListPage) Next() error
    func (page *DiskAccessListPage) NextWithContext(ctx context.Context) (err error)
    func (page DiskAccessListPage) NotDone() bool
    func (page DiskAccessListPage) Response() DiskAccessList
    func (page DiskAccessListPage) Values() []DiskAccess
type DiskAccessProperties
    func (dap DiskAccessProperties) MarshalJSON() ([]byte, error)
type DiskAccessUpdate
    func (dau DiskAccessUpdate) MarshalJSON() ([]byte, error)
type DiskAccessesClient
    func NewDiskAccessesClient(subscriptionID string) DiskAccessesClient
    func NewDiskAccessesClientWithBaseURI(baseURI string, subscriptionID string) DiskAccessesClient
    func (client DiskAccessesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccess) (result DiskAccessesCreateOrUpdateFuture, err error)
    func (client DiskAccessesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccess) (*http.Request, error)
    func (client DiskAccessesClient) CreateOrUpdateResponder(resp *http.Response) (result DiskAccess, err error)
    func (client DiskAccessesClient) CreateOrUpdateSender(req *http.Request) (future DiskAccessesCreateOrUpdateFuture, err error)
    func (client DiskAccessesClient) Delete(ctx context.Context, resourceGroupName string, diskAccessName string) (result DiskAccessesDeleteFuture, err error)
    func (client DiskAccessesClient) DeleteAPrivateEndpointConnection(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (result DiskAccessesDeleteAPrivateEndpointConnectionFuture, err error)
    func (client DiskAccessesClient) DeleteAPrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (*http.Request, error)
    func (client DiskAccessesClient) DeleteAPrivateEndpointConnectionResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DiskAccessesClient) DeleteAPrivateEndpointConnectionSender(req *http.Request) (future DiskAccessesDeleteAPrivateEndpointConnectionFuture, err error)
    func (client DiskAccessesClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)
    func (client DiskAccessesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DiskAccessesClient) DeleteSender(req *http.Request) (future DiskAccessesDeleteFuture, err error)
    func (client DiskAccessesClient) Get(ctx context.Context, resourceGroupName string, diskAccessName string) (result DiskAccess, err error)
    func (client DiskAccessesClient) GetAPrivateEndpointConnection(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)
    func (client DiskAccessesClient) GetAPrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (*http.Request, error)
    func (client DiskAccessesClient) GetAPrivateEndpointConnectionResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
    func (client DiskAccessesClient) GetAPrivateEndpointConnectionSender(req *http.Request) (*http.Response, error)
    func (client DiskAccessesClient) GetPreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)
    func (client DiskAccessesClient) GetPrivateLinkResources(ctx context.Context, resourceGroupName string, diskAccessName string) (result PrivateLinkResourceListResult, err error)
    func (client DiskAccessesClient) GetPrivateLinkResourcesPreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)
    func (client DiskAccessesClient) GetPrivateLinkResourcesResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)
    func (client DiskAccessesClient) GetPrivateLinkResourcesSender(req *http.Request) (*http.Response, error)
    func (client DiskAccessesClient) GetResponder(resp *http.Response) (result DiskAccess, err error)
    func (client DiskAccessesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DiskAccessesClient) List(ctx context.Context) (result DiskAccessListPage, err error)
    func (client DiskAccessesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskAccessListPage, err error)
    func (client DiskAccessesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskAccessListIterator, err error)
    func (client DiskAccessesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DiskAccessesClient) ListByResourceGroupResponder(resp *http.Response) (result DiskAccessList, err error)
    func (client DiskAccessesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DiskAccessesClient) ListComplete(ctx context.Context) (result DiskAccessListIterator, err error)
    func (client DiskAccessesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client DiskAccessesClient) ListPrivateEndpointConnections(ctx context.Context, resourceGroupName string, diskAccessName string) (result PrivateEndpointConnectionListResultPage, err error)
    func (client DiskAccessesClient) ListPrivateEndpointConnectionsComplete(ctx context.Context, resourceGroupName string, diskAccessName string) (result PrivateEndpointConnectionListResultIterator, err error)
    func (client DiskAccessesClient) ListPrivateEndpointConnectionsPreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)
    func (client DiskAccessesClient) ListPrivateEndpointConnectionsResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)
    func (client DiskAccessesClient) ListPrivateEndpointConnectionsSender(req *http.Request) (*http.Response, error)
    func (client DiskAccessesClient) ListResponder(resp *http.Response) (result DiskAccessList, err error)
    func (client DiskAccessesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client DiskAccessesClient) Update(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccessUpdate) (result DiskAccessesUpdateFuture, err error)
    func (client DiskAccessesClient) UpdateAPrivateEndpointConnection(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (result DiskAccessesUpdateAPrivateEndpointConnectionFuture, err error)
    func (client DiskAccessesClient) UpdateAPrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (*http.Request, error)
    func (client DiskAccessesClient) UpdateAPrivateEndpointConnectionResponder(resp *http.Response) (result PrivateEndpointConnection, err error)
    func (client DiskAccessesClient) UpdateAPrivateEndpointConnectionSender(req *http.Request) (future DiskAccessesUpdateAPrivateEndpointConnectionFuture, err error)
    func (client DiskAccessesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccessUpdate) (*http.Request, error)
    func (client DiskAccessesClient) UpdateResponder(resp *http.Response) (result DiskAccess, err error)
    func (client DiskAccessesClient) UpdateSender(req *http.Request) (future DiskAccessesUpdateFuture, err error)
type DiskAccessesCreateOrUpdateFuture
    func (future *DiskAccessesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type DiskAccessesDeleteAPrivateEndpointConnectionFuture
    func (future *DiskAccessesDeleteAPrivateEndpointConnectionFuture) UnmarshalJSON(body []byte) error
type DiskAccessesDeleteFuture
    func (future *DiskAccessesDeleteFuture) UnmarshalJSON(body []byte) error
type DiskAccessesUpdateAPrivateEndpointConnectionFuture
    func (future *DiskAccessesUpdateAPrivateEndpointConnectionFuture) UnmarshalJSON(body []byte) error
type DiskAccessesUpdateFuture
    func (future *DiskAccessesUpdateFuture) UnmarshalJSON(body []byte) error
type DiskCreateOption
    func PossibleDiskCreateOptionValues() []DiskCreateOption
type DiskCreateOptionTypes
    func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes
type DiskDeleteOptionTypes
    func PossibleDiskDeleteOptionTypesValues() []DiskDeleteOptionTypes
type DiskDetachOptionTypes
    func PossibleDiskDetachOptionTypesValues() []DiskDetachOptionTypes
type DiskEncryptionSet
    func (desVar DiskEncryptionSet) MarshalJSON() ([]byte, error)
    func (desVar *DiskEncryptionSet) UnmarshalJSON(body []byte) error
type DiskEncryptionSetIdentityType
    func PossibleDiskEncryptionSetIdentityTypeValues() []DiskEncryptionSetIdentityType
type DiskEncryptionSetList
    func (desl DiskEncryptionSetList) IsEmpty() bool
type DiskEncryptionSetListIterator
    func NewDiskEncryptionSetListIterator(page DiskEncryptionSetListPage) DiskEncryptionSetListIterator
    func (iter *DiskEncryptionSetListIterator) Next() error
    func (iter *DiskEncryptionSetListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DiskEncryptionSetListIterator) NotDone() bool
    func (iter DiskEncryptionSetListIterator) Response() DiskEncryptionSetList
    func (iter DiskEncryptionSetListIterator) Value() DiskEncryptionSet
type DiskEncryptionSetListPage
    func NewDiskEncryptionSetListPage(cur DiskEncryptionSetList, getNextPage func(context.Context, DiskEncryptionSetList) (DiskEncryptionSetList, error)) DiskEncryptionSetListPage
    func (page *DiskEncryptionSetListPage) Next() error
    func (page *DiskEncryptionSetListPage) NextWithContext(ctx context.Context) (err error)
    func (page DiskEncryptionSetListPage) NotDone() bool
    func (page DiskEncryptionSetListPage) Response() DiskEncryptionSetList
    func (page DiskEncryptionSetListPage) Values() []DiskEncryptionSet
type DiskEncryptionSetParameters
type DiskEncryptionSetType
    func PossibleDiskEncryptionSetTypeValues() []DiskEncryptionSetType
type DiskEncryptionSetUpdate
    func (desu DiskEncryptionSetUpdate) MarshalJSON() ([]byte, error)
    func (desu *DiskEncryptionSetUpdate) UnmarshalJSON(body []byte) error
type DiskEncryptionSetUpdateProperties
type DiskEncryptionSetsClient
    func NewDiskEncryptionSetsClient(subscriptionID string) DiskEncryptionSetsClient
    func NewDiskEncryptionSetsClientWithBaseURI(baseURI string, subscriptionID string) DiskEncryptionSetsClient
    func (client DiskEncryptionSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSet) (result DiskEncryptionSetsCreateOrUpdateFuture, err error)
    func (client DiskEncryptionSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSet) (*http.Request, error)
    func (client DiskEncryptionSetsClient) CreateOrUpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)
    func (client DiskEncryptionSetsClient) CreateOrUpdateSender(req *http.Request) (future DiskEncryptionSetsCreateOrUpdateFuture, err error)
    func (client DiskEncryptionSetsClient) Delete(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSetsDeleteFuture, err error)
    func (client DiskEncryptionSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)
    func (client DiskEncryptionSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DiskEncryptionSetsClient) DeleteSender(req *http.Request) (future DiskEncryptionSetsDeleteFuture, err error)
    func (client DiskEncryptionSetsClient) Get(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSet, err error)
    func (client DiskEncryptionSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)
    func (client DiskEncryptionSetsClient) GetResponder(resp *http.Response) (result DiskEncryptionSet, err error)
    func (client DiskEncryptionSetsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DiskEncryptionSetsClient) List(ctx context.Context) (result DiskEncryptionSetListPage, err error)
    func (client DiskEncryptionSetsClient) ListAssociatedResources(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result ResourceURIListPage, err error)
    func (client DiskEncryptionSetsClient) ListAssociatedResourcesComplete(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result ResourceURIListIterator, err error)
    func (client DiskEncryptionSetsClient) ListAssociatedResourcesPreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)
    func (client DiskEncryptionSetsClient) ListAssociatedResourcesResponder(resp *http.Response) (result ResourceURIList, err error)
    func (client DiskEncryptionSetsClient) ListAssociatedResourcesSender(req *http.Request) (*http.Response, error)
    func (client DiskEncryptionSetsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListPage, err error)
    func (client DiskEncryptionSetsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListIterator, err error)
    func (client DiskEncryptionSetsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DiskEncryptionSetsClient) ListByResourceGroupResponder(resp *http.Response) (result DiskEncryptionSetList, err error)
    func (client DiskEncryptionSetsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DiskEncryptionSetsClient) ListComplete(ctx context.Context) (result DiskEncryptionSetListIterator, err error)
    func (client DiskEncryptionSetsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client DiskEncryptionSetsClient) ListResponder(resp *http.Response) (result DiskEncryptionSetList, err error)
    func (client DiskEncryptionSetsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client DiskEncryptionSetsClient) Update(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSetUpdate) (result DiskEncryptionSetsUpdateFuture, err error)
    func (client DiskEncryptionSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSetUpdate) (*http.Request, error)
    func (client DiskEncryptionSetsClient) UpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)
    func (client DiskEncryptionSetsClient) UpdateSender(req *http.Request) (future DiskEncryptionSetsUpdateFuture, err error)
type DiskEncryptionSetsCreateOrUpdateFuture
    func (future *DiskEncryptionSetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type DiskEncryptionSetsDeleteFuture
    func (future *DiskEncryptionSetsDeleteFuture) UnmarshalJSON(body []byte) error
type DiskEncryptionSetsUpdateFuture
    func (future *DiskEncryptionSetsUpdateFuture) UnmarshalJSON(body []byte) error
type DiskEncryptionSettings
type DiskImageEncryption
type DiskInstanceView
type DiskList
    func (dl DiskList) IsEmpty() bool
type DiskListIterator
    func NewDiskListIterator(page DiskListPage) DiskListIterator
    func (iter *DiskListIterator) Next() error
    func (iter *DiskListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DiskListIterator) NotDone() bool
    func (iter DiskListIterator) Response() DiskList
    func (iter DiskListIterator) Value() Disk
type DiskListPage
    func NewDiskListPage(cur DiskList, getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage
    func (page *DiskListPage) Next() error
    func (page *DiskListPage) NextWithContext(ctx context.Context) (err error)
    func (page DiskListPage) NotDone() bool
    func (page DiskListPage) Response() DiskList
    func (page DiskListPage) Values() []Disk
type DiskProperties
    func (dp DiskProperties) MarshalJSON() ([]byte, error)
type DiskRestorePoint
    func (drp DiskRestorePoint) MarshalJSON() ([]byte, error)
    func (drp *DiskRestorePoint) UnmarshalJSON(body []byte) error
type DiskRestorePointClient
    func NewDiskRestorePointClient(subscriptionID string) DiskRestorePointClient
    func NewDiskRestorePointClientWithBaseURI(baseURI string, subscriptionID string) DiskRestorePointClient
    func (client DiskRestorePointClient) Get(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (result DiskRestorePoint, err error)
    func (client DiskRestorePointClient) GetPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (*http.Request, error)
    func (client DiskRestorePointClient) GetResponder(resp *http.Response) (result DiskRestorePoint, err error)
    func (client DiskRestorePointClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DiskRestorePointClient) GrantAccess(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string, grantAccessData GrantAccessData) (result DiskRestorePointGrantAccessFuture, err error)
    func (client DiskRestorePointClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string, grantAccessData GrantAccessData) (*http.Request, error)
    func (client DiskRestorePointClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
    func (client DiskRestorePointClient) GrantAccessSender(req *http.Request) (future DiskRestorePointGrantAccessFuture, err error)
    func (client DiskRestorePointClient) ListByRestorePoint(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string) (result DiskRestorePointListPage, err error)
    func (client DiskRestorePointClient) ListByRestorePointComplete(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string) (result DiskRestorePointListIterator, err error)
    func (client DiskRestorePointClient) ListByRestorePointPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string) (*http.Request, error)
    func (client DiskRestorePointClient) ListByRestorePointResponder(resp *http.Response) (result DiskRestorePointList, err error)
    func (client DiskRestorePointClient) ListByRestorePointSender(req *http.Request) (*http.Response, error)
    func (client DiskRestorePointClient) RevokeAccess(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (result DiskRestorePointRevokeAccessFuture, err error)
    func (client DiskRestorePointClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (*http.Request, error)
    func (client DiskRestorePointClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DiskRestorePointClient) RevokeAccessSender(req *http.Request) (future DiskRestorePointRevokeAccessFuture, err error)
type DiskRestorePointGrantAccessFuture
    func (future *DiskRestorePointGrantAccessFuture) UnmarshalJSON(body []byte) error
type DiskRestorePointInstanceView
type DiskRestorePointList
    func (drpl DiskRestorePointList) IsEmpty() bool
type DiskRestorePointListIterator
    func NewDiskRestorePointListIterator(page DiskRestorePointListPage) DiskRestorePointListIterator
    func (iter *DiskRestorePointListIterator) Next() error
    func (iter *DiskRestorePointListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter DiskRestorePointListIterator) NotDone() bool
    func (iter DiskRestorePointListIterator) Response() DiskRestorePointList
    func (iter DiskRestorePointListIterator) Value() DiskRestorePoint
type DiskRestorePointListPage
    func NewDiskRestorePointListPage(cur DiskRestorePointList, getNextPage func(context.Context, DiskRestorePointList) (DiskRestorePointList, error)) DiskRestorePointListPage
    func (page *DiskRestorePointListPage) Next() error
    func (page *DiskRestorePointListPage) NextWithContext(ctx context.Context) (err error)
    func (page DiskRestorePointListPage) NotDone() bool
    func (page DiskRestorePointListPage) Response() DiskRestorePointList
    func (page DiskRestorePointListPage) Values() []DiskRestorePoint
type DiskRestorePointProperties
    func (drpp DiskRestorePointProperties) MarshalJSON() ([]byte, error)
type DiskRestorePointReplicationStatus
type DiskRestorePointRevokeAccessFuture
    func (future *DiskRestorePointRevokeAccessFuture) UnmarshalJSON(body []byte) error
type DiskSecurityProfile
type DiskSecurityTypes
    func PossibleDiskSecurityTypesValues() []DiskSecurityTypes
type DiskSku
    func (ds DiskSku) MarshalJSON() ([]byte, error)
type DiskState
    func PossibleDiskStateValues() []DiskState
type DiskStorageAccountTypes
    func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes
type DiskUpdate
    func (du DiskUpdate) MarshalJSON() ([]byte, error)
    func (du *DiskUpdate) UnmarshalJSON(body []byte) error
type DiskUpdateProperties
    func (dup DiskUpdateProperties) MarshalJSON() ([]byte, error)
type DisksClient
    func NewDisksClient(subscriptionID string) DisksClient
    func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient
    func (client DisksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (result DisksCreateOrUpdateFuture, err error)
    func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (*http.Request, error)
    func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)
    func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error)
    func (client DisksClient) Delete(ctx context.Context, resourceGroupName string, diskName string) (result DisksDeleteFuture, err error)
    func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
    func (client DisksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error)
    func (client DisksClient) Get(ctx context.Context, resourceGroupName string, diskName string) (result Disk, err error)
    func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
    func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error)
    func (client DisksClient) GetSender(req *http.Request) (*http.Response, error)
    func (client DisksClient) GrantAccess(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (result DisksGrantAccessFuture, err error)
    func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (*http.Request, error)
    func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
    func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error)
    func (client DisksClient) List(ctx context.Context) (result DiskListPage, err error)
    func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskListPage, err error)
    func (client DisksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskListIterator, err error)
    func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error)
    func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client DisksClient) ListComplete(ctx context.Context) (result DiskListIterator, err error)
    func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error)
    func (client DisksClient) ListSender(req *http.Request) (*http.Response, error)
    func (client DisksClient) RevokeAccess(ctx context.Context, resourceGroupName string, diskName string) (result DisksRevokeAccessFuture, err error)
    func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)
    func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)
    func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error)
    func (client DisksClient) Update(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (result DisksUpdateFuture, err error)
    func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (*http.Request, error)
    func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)
    func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error)
type DisksCreateOrUpdateFuture
    func (future *DisksCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type DisksDeleteFuture
    func (future *DisksDeleteFuture) UnmarshalJSON(body []byte) error
type DisksGrantAccessFuture
    func (future *DisksGrantAccessFuture) UnmarshalJSON(body []byte) error
type DisksRevokeAccessFuture
    func (future *DisksRevokeAccessFuture) UnmarshalJSON(body []byte) error
type DisksUpdateFuture
    func (future *DisksUpdateFuture) UnmarshalJSON(body []byte) error
type Encryption
type EncryptionImages
type EncryptionSetIdentity
    func (esi EncryptionSetIdentity) MarshalJSON() ([]byte, error)
type EncryptionSetProperties
    func (esp EncryptionSetProperties) MarshalJSON() ([]byte, error)
type EncryptionSettingsCollection
type EncryptionSettingsElement
type EncryptionType
    func PossibleEncryptionTypeValues() []EncryptionType
type ExecutionState
    func PossibleExecutionStateValues() []ExecutionState
type ExpandTypesForGetCapacityReservationGroups
    func PossibleExpandTypesForGetCapacityReservationGroupsValues() []ExpandTypesForGetCapacityReservationGroups
type ExpandTypesForGetVMScaleSets
    func PossibleExpandTypesForGetVMScaleSetsValues() []ExpandTypesForGetVMScaleSets
type ExtendedLocation
type ExtendedLocationType
    func PossibleExtendedLocationTypeValues() []ExtendedLocationType
type ExtendedLocationTypes
    func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes
type Extension
type GalleriesClient
    func NewGalleriesClient(subscriptionID string) GalleriesClient
    func NewGalleriesClientWithBaseURI(baseURI string, subscriptionID string) GalleriesClient
    func (client GalleriesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, gallery Gallery) (result GalleriesCreateOrUpdateFuture, err error)
    func (client GalleriesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, gallery Gallery) (*http.Request, error)
    func (client GalleriesClient) CreateOrUpdateResponder(resp *http.Response) (result Gallery, err error)
    func (client GalleriesClient) CreateOrUpdateSender(req *http.Request) (future GalleriesCreateOrUpdateFuture, err error)
    func (client GalleriesClient) Delete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleriesDeleteFuture, err error)
    func (client GalleriesClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error)
    func (client GalleriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client GalleriesClient) DeleteSender(req *http.Request) (future GalleriesDeleteFuture, err error)
    func (client GalleriesClient) Get(ctx context.Context, resourceGroupName string, galleryName string, selectParameter SelectPermissions, expand GalleryExpandParams) (result Gallery, err error)
    func (client GalleriesClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, selectParameter SelectPermissions, expand GalleryExpandParams) (*http.Request, error)
    func (client GalleriesClient) GetResponder(resp *http.Response) (result Gallery, err error)
    func (client GalleriesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client GalleriesClient) List(ctx context.Context) (result GalleryListPage, err error)
    func (client GalleriesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result GalleryListPage, err error)
    func (client GalleriesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result GalleryListIterator, err error)
    func (client GalleriesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client GalleriesClient) ListByResourceGroupResponder(resp *http.Response) (result GalleryList, err error)
    func (client GalleriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client GalleriesClient) ListComplete(ctx context.Context) (result GalleryListIterator, err error)
    func (client GalleriesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client GalleriesClient) ListResponder(resp *http.Response) (result GalleryList, err error)
    func (client GalleriesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client GalleriesClient) Update(ctx context.Context, resourceGroupName string, galleryName string, gallery GalleryUpdate) (result GalleriesUpdateFuture, err error)
    func (client GalleriesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, gallery GalleryUpdate) (*http.Request, error)
    func (client GalleriesClient) UpdateResponder(resp *http.Response) (result Gallery, err error)
    func (client GalleriesClient) UpdateSender(req *http.Request) (future GalleriesUpdateFuture, err error)
type GalleriesCreateOrUpdateFuture
    func (future *GalleriesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type GalleriesDeleteFuture
    func (future *GalleriesDeleteFuture) UnmarshalJSON(body []byte) error
type GalleriesUpdateFuture
    func (future *GalleriesUpdateFuture) UnmarshalJSON(body []byte) error
type Gallery
    func (g Gallery) MarshalJSON() ([]byte, error)
    func (g *Gallery) UnmarshalJSON(body []byte) error
type GalleryApplication
    func (ga GalleryApplication) MarshalJSON() ([]byte, error)
    func (ga *GalleryApplication) UnmarshalJSON(body []byte) error
type GalleryApplicationList
    func (gal GalleryApplicationList) IsEmpty() bool
type GalleryApplicationListIterator
    func NewGalleryApplicationListIterator(page GalleryApplicationListPage) GalleryApplicationListIterator
    func (iter *GalleryApplicationListIterator) Next() error
    func (iter *GalleryApplicationListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter GalleryApplicationListIterator) NotDone() bool
    func (iter GalleryApplicationListIterator) Response() GalleryApplicationList
    func (iter GalleryApplicationListIterator) Value() GalleryApplication
type GalleryApplicationListPage
    func NewGalleryApplicationListPage(cur GalleryApplicationList, getNextPage func(context.Context, GalleryApplicationList) (GalleryApplicationList, error)) GalleryApplicationListPage
    func (page *GalleryApplicationListPage) Next() error
    func (page *GalleryApplicationListPage) NextWithContext(ctx context.Context) (err error)
    func (page GalleryApplicationListPage) NotDone() bool
    func (page GalleryApplicationListPage) Response() GalleryApplicationList
    func (page GalleryApplicationListPage) Values() []GalleryApplication
type GalleryApplicationProperties
type GalleryApplicationUpdate
    func (gau GalleryApplicationUpdate) MarshalJSON() ([]byte, error)
    func (gau *GalleryApplicationUpdate) UnmarshalJSON(body []byte) error
type GalleryApplicationVersion
    func (gav GalleryApplicationVersion) MarshalJSON() ([]byte, error)
    func (gav *GalleryApplicationVersion) UnmarshalJSON(body []byte) error
type GalleryApplicationVersionList
    func (gavl GalleryApplicationVersionList) IsEmpty() bool
type GalleryApplicationVersionListIterator
    func NewGalleryApplicationVersionListIterator(page GalleryApplicationVersionListPage) GalleryApplicationVersionListIterator
    func (iter *GalleryApplicationVersionListIterator) Next() error
    func (iter *GalleryApplicationVersionListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter GalleryApplicationVersionListIterator) NotDone() bool
    func (iter GalleryApplicationVersionListIterator) Response() GalleryApplicationVersionList
    func (iter GalleryApplicationVersionListIterator) Value() GalleryApplicationVersion
type GalleryApplicationVersionListPage
    func NewGalleryApplicationVersionListPage(cur GalleryApplicationVersionList, getNextPage func(context.Context, GalleryApplicationVersionList) (GalleryApplicationVersionList, error)) GalleryApplicationVersionListPage
    func (page *GalleryApplicationVersionListPage) Next() error
    func (page *GalleryApplicationVersionListPage) NextWithContext(ctx context.Context) (err error)
    func (page GalleryApplicationVersionListPage) NotDone() bool
    func (page GalleryApplicationVersionListPage) Response() GalleryApplicationVersionList
    func (page GalleryApplicationVersionListPage) Values() []GalleryApplicationVersion
type GalleryApplicationVersionProperties
    func (gavp GalleryApplicationVersionProperties) MarshalJSON() ([]byte, error)
type GalleryApplicationVersionPublishingProfile
    func (gavpp GalleryApplicationVersionPublishingProfile) MarshalJSON() ([]byte, error)
type GalleryApplicationVersionUpdate
    func (gavu GalleryApplicationVersionUpdate) MarshalJSON() ([]byte, error)
    func (gavu *GalleryApplicationVersionUpdate) UnmarshalJSON(body []byte) error
type GalleryApplicationVersionsClient
    func NewGalleryApplicationVersionsClient(subscriptionID string) GalleryApplicationVersionsClient
    func NewGalleryApplicationVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationVersionsClient
    func (client GalleryApplicationVersionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersion) (result GalleryApplicationVersionsCreateOrUpdateFuture, err error)
    func (client GalleryApplicationVersionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersion) (*http.Request, error)
    func (client GalleryApplicationVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryApplicationVersion, err error)
    func (client GalleryApplicationVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryApplicationVersionsCreateOrUpdateFuture, err error)
    func (client GalleryApplicationVersionsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string) (result GalleryApplicationVersionsDeleteFuture, err error)
    func (client GalleryApplicationVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string) (*http.Request, error)
    func (client GalleryApplicationVersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client GalleryApplicationVersionsClient) DeleteSender(req *http.Request) (future GalleryApplicationVersionsDeleteFuture, err error)
    func (client GalleryApplicationVersionsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, expand ReplicationStatusTypes) (result GalleryApplicationVersion, err error)
    func (client GalleryApplicationVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, expand ReplicationStatusTypes) (*http.Request, error)
    func (client GalleryApplicationVersionsClient) GetResponder(resp *http.Response) (result GalleryApplicationVersion, err error)
    func (client GalleryApplicationVersionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client GalleryApplicationVersionsClient) ListByGalleryApplication(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationVersionListPage, err error)
    func (client GalleryApplicationVersionsClient) ListByGalleryApplicationComplete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationVersionListIterator, err error)
    func (client GalleryApplicationVersionsClient) ListByGalleryApplicationPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error)
    func (client GalleryApplicationVersionsClient) ListByGalleryApplicationResponder(resp *http.Response) (result GalleryApplicationVersionList, err error)
    func (client GalleryApplicationVersionsClient) ListByGalleryApplicationSender(req *http.Request) (*http.Response, error)
    func (client GalleryApplicationVersionsClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersionUpdate) (result GalleryApplicationVersionsUpdateFuture, err error)
    func (client GalleryApplicationVersionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersionUpdate) (*http.Request, error)
    func (client GalleryApplicationVersionsClient) UpdateResponder(resp *http.Response) (result GalleryApplicationVersion, err error)
    func (client GalleryApplicationVersionsClient) UpdateSender(req *http.Request) (future GalleryApplicationVersionsUpdateFuture, err error)
type GalleryApplicationVersionsCreateOrUpdateFuture
    func (future *GalleryApplicationVersionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryApplicationVersionsDeleteFuture
    func (future *GalleryApplicationVersionsDeleteFuture) UnmarshalJSON(body []byte) error
type GalleryApplicationVersionsUpdateFuture
    func (future *GalleryApplicationVersionsUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryApplicationsClient
    func NewGalleryApplicationsClient(subscriptionID string) GalleryApplicationsClient
    func NewGalleryApplicationsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationsClient
    func (client GalleryApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplication) (result GalleryApplicationsCreateOrUpdateFuture, err error)
    func (client GalleryApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplication) (*http.Request, error)
    func (client GalleryApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryApplication, err error)
    func (client GalleryApplicationsClient) CreateOrUpdateSender(req *http.Request) (future GalleryApplicationsCreateOrUpdateFuture, err error)
    func (client GalleryApplicationsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationsDeleteFuture, err error)
    func (client GalleryApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error)
    func (client GalleryApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client GalleryApplicationsClient) DeleteSender(req *http.Request) (future GalleryApplicationsDeleteFuture, err error)
    func (client GalleryApplicationsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplication, err error)
    func (client GalleryApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error)
    func (client GalleryApplicationsClient) GetResponder(resp *http.Response) (result GalleryApplication, err error)
    func (client GalleryApplicationsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client GalleryApplicationsClient) ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryApplicationListPage, err error)
    func (client GalleryApplicationsClient) ListByGalleryComplete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryApplicationListIterator, err error)
    func (client GalleryApplicationsClient) ListByGalleryPreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error)
    func (client GalleryApplicationsClient) ListByGalleryResponder(resp *http.Response) (result GalleryApplicationList, err error)
    func (client GalleryApplicationsClient) ListByGallerySender(req *http.Request) (*http.Response, error)
    func (client GalleryApplicationsClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplicationUpdate) (result GalleryApplicationsUpdateFuture, err error)
    func (client GalleryApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplicationUpdate) (*http.Request, error)
    func (client GalleryApplicationsClient) UpdateResponder(resp *http.Response) (result GalleryApplication, err error)
    func (client GalleryApplicationsClient) UpdateSender(req *http.Request) (future GalleryApplicationsUpdateFuture, err error)
type GalleryApplicationsCreateOrUpdateFuture
    func (future *GalleryApplicationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryApplicationsDeleteFuture
    func (future *GalleryApplicationsDeleteFuture) UnmarshalJSON(body []byte) error
type GalleryApplicationsUpdateFuture
    func (future *GalleryApplicationsUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryArtifactPublishingProfileBase
    func (gappb GalleryArtifactPublishingProfileBase) MarshalJSON() ([]byte, error)
type GalleryArtifactSource
type GalleryArtifactVersionSource
type GalleryDataDiskImage
    func (gddi GalleryDataDiskImage) MarshalJSON() ([]byte, error)
type GalleryDiskImage
    func (gdi GalleryDiskImage) MarshalJSON() ([]byte, error)
type GalleryExpandParams
    func PossibleGalleryExpandParamsValues() []GalleryExpandParams
type GalleryExtendedLocation
type GalleryExtendedLocationType
    func PossibleGalleryExtendedLocationTypeValues() []GalleryExtendedLocationType
type GalleryIdentifier
    func (gi GalleryIdentifier) MarshalJSON() ([]byte, error)
type GalleryImage
    func (gi GalleryImage) MarshalJSON() ([]byte, error)
    func (gi *GalleryImage) UnmarshalJSON(body []byte) error
type GalleryImageFeature
type GalleryImageIdentifier
type GalleryImageList
    func (gil GalleryImageList) IsEmpty() bool
type GalleryImageListIterator
    func NewGalleryImageListIterator(page GalleryImageListPage) GalleryImageListIterator
    func (iter *GalleryImageListIterator) Next() error
    func (iter *GalleryImageListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter GalleryImageListIterator) NotDone() bool
    func (iter GalleryImageListIterator) Response() GalleryImageList
    func (iter GalleryImageListIterator) Value() GalleryImage
type GalleryImageListPage
    func NewGalleryImageListPage(cur GalleryImageList, getNextPage func(context.Context, GalleryImageList) (GalleryImageList, error)) GalleryImageListPage
    func (page *GalleryImageListPage) Next() error
    func (page *GalleryImageListPage) NextWithContext(ctx context.Context) (err error)
    func (page GalleryImageListPage) NotDone() bool
    func (page GalleryImageListPage) Response() GalleryImageList
    func (page GalleryImageListPage) Values() []GalleryImage
type GalleryImageProperties
    func (gip GalleryImageProperties) MarshalJSON() ([]byte, error)
type GalleryImageUpdate
    func (giu GalleryImageUpdate) MarshalJSON() ([]byte, error)
    func (giu *GalleryImageUpdate) UnmarshalJSON(body []byte) error
type GalleryImageVersion
    func (giv GalleryImageVersion) MarshalJSON() ([]byte, error)
    func (giv *GalleryImageVersion) UnmarshalJSON(body []byte) error
type GalleryImageVersionList
    func (givl GalleryImageVersionList) IsEmpty() bool
type GalleryImageVersionListIterator
    func NewGalleryImageVersionListIterator(page GalleryImageVersionListPage) GalleryImageVersionListIterator
    func (iter *GalleryImageVersionListIterator) Next() error
    func (iter *GalleryImageVersionListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter GalleryImageVersionListIterator) NotDone() bool
    func (iter GalleryImageVersionListIterator) Response() GalleryImageVersionList
    func (iter GalleryImageVersionListIterator) Value() GalleryImageVersion
type GalleryImageVersionListPage
    func NewGalleryImageVersionListPage(cur GalleryImageVersionList, getNextPage func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error)) GalleryImageVersionListPage
    func (page *GalleryImageVersionListPage) Next() error
    func (page *GalleryImageVersionListPage) NextWithContext(ctx context.Context) (err error)
    func (page GalleryImageVersionListPage) NotDone() bool
    func (page GalleryImageVersionListPage) Response() GalleryImageVersionList
    func (page GalleryImageVersionListPage) Values() []GalleryImageVersion
type GalleryImageVersionProperties
    func (givp GalleryImageVersionProperties) MarshalJSON() ([]byte, error)
type GalleryImageVersionPublishingProfile
    func (givpp GalleryImageVersionPublishingProfile) MarshalJSON() ([]byte, error)
type GalleryImageVersionStorageProfile
type GalleryImageVersionUpdate
    func (givu GalleryImageVersionUpdate) MarshalJSON() ([]byte, error)
    func (givu *GalleryImageVersionUpdate) UnmarshalJSON(body []byte) error
type GalleryImageVersionsClient
    func NewGalleryImageVersionsClient(subscriptionID string) GalleryImageVersionsClient
    func NewGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryImageVersionsClient
    func (client GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersion) (result GalleryImageVersionsCreateOrUpdateFuture, err error)
    func (client GalleryImageVersionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersion) (*http.Request, error)
    func (client GalleryImageVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryImageVersion, err error)
    func (client GalleryImageVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryImageVersionsCreateOrUpdateFuture, err error)
    func (client GalleryImageVersionsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string) (result GalleryImageVersionsDeleteFuture, err error)
    func (client GalleryImageVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string) (*http.Request, error)
    func (client GalleryImageVersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client GalleryImageVersionsClient) DeleteSender(req *http.Request) (future GalleryImageVersionsDeleteFuture, err error)
    func (client GalleryImageVersionsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, expand ReplicationStatusTypes) (result GalleryImageVersion, err error)
    func (client GalleryImageVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, expand ReplicationStatusTypes) (*http.Request, error)
    func (client GalleryImageVersionsClient) GetResponder(resp *http.Response) (result GalleryImageVersion, err error)
    func (client GalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImageVersionListPage, err error)
    func (client GalleryImageVersionsClient) ListByGalleryImageComplete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImageVersionListIterator, err error)
    func (client GalleryImageVersionsClient) ListByGalleryImagePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error)
    func (client GalleryImageVersionsClient) ListByGalleryImageResponder(resp *http.Response) (result GalleryImageVersionList, err error)
    func (client GalleryImageVersionsClient) ListByGalleryImageSender(req *http.Request) (*http.Response, error)
    func (client GalleryImageVersionsClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersionUpdate) (result GalleryImageVersionsUpdateFuture, err error)
    func (client GalleryImageVersionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersionUpdate) (*http.Request, error)
    func (client GalleryImageVersionsClient) UpdateResponder(resp *http.Response) (result GalleryImageVersion, err error)
    func (client GalleryImageVersionsClient) UpdateSender(req *http.Request) (future GalleryImageVersionsUpdateFuture, err error)
type GalleryImageVersionsCreateOrUpdateFuture
    func (future *GalleryImageVersionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryImageVersionsDeleteFuture
    func (future *GalleryImageVersionsDeleteFuture) UnmarshalJSON(body []byte) error
type GalleryImageVersionsUpdateFuture
    func (future *GalleryImageVersionsUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryImagesClient
    func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient
    func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient
    func (client GalleryImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImage) (result GalleryImagesCreateOrUpdateFuture, err error)
    func (client GalleryImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImage) (*http.Request, error)
    func (client GalleryImagesClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryImage, err error)
    func (client GalleryImagesClient) CreateOrUpdateSender(req *http.Request) (future GalleryImagesCreateOrUpdateFuture, err error)
    func (client GalleryImagesClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImagesDeleteFuture, err error)
    func (client GalleryImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error)
    func (client GalleryImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client GalleryImagesClient) DeleteSender(req *http.Request) (future GalleryImagesDeleteFuture, err error)
    func (client GalleryImagesClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImage, err error)
    func (client GalleryImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error)
    func (client GalleryImagesClient) GetResponder(resp *http.Response) (result GalleryImage, err error)
    func (client GalleryImagesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client GalleryImagesClient) ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryImageListPage, err error)
    func (client GalleryImagesClient) ListByGalleryComplete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryImageListIterator, err error)
    func (client GalleryImagesClient) ListByGalleryPreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error)
    func (client GalleryImagesClient) ListByGalleryResponder(resp *http.Response) (result GalleryImageList, err error)
    func (client GalleryImagesClient) ListByGallerySender(req *http.Request) (*http.Response, error)
    func (client GalleryImagesClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImageUpdate) (result GalleryImagesUpdateFuture, err error)
    func (client GalleryImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImageUpdate) (*http.Request, error)
    func (client GalleryImagesClient) UpdateResponder(resp *http.Response) (result GalleryImage, err error)
    func (client GalleryImagesClient) UpdateSender(req *http.Request) (future GalleryImagesUpdateFuture, err error)
type GalleryImagesCreateOrUpdateFuture
    func (future *GalleryImagesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryImagesDeleteFuture
    func (future *GalleryImagesDeleteFuture) UnmarshalJSON(body []byte) error
type GalleryImagesUpdateFuture
    func (future *GalleryImagesUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryList
    func (gl GalleryList) IsEmpty() bool
type GalleryListIterator
    func NewGalleryListIterator(page GalleryListPage) GalleryListIterator
    func (iter *GalleryListIterator) Next() error
    func (iter *GalleryListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter GalleryListIterator) NotDone() bool
    func (iter GalleryListIterator) Response() GalleryList
    func (iter GalleryListIterator) Value() Gallery
type GalleryListPage
    func NewGalleryListPage(cur GalleryList, getNextPage func(context.Context, GalleryList) (GalleryList, error)) GalleryListPage
    func (page *GalleryListPage) Next() error
    func (page *GalleryListPage) NextWithContext(ctx context.Context) (err error)
    func (page GalleryListPage) NotDone() bool
    func (page GalleryListPage) Response() GalleryList
    func (page GalleryListPage) Values() []Gallery
type GalleryOSDiskImage
    func (godi GalleryOSDiskImage) MarshalJSON() ([]byte, error)
type GalleryProperties
    func (gp GalleryProperties) MarshalJSON() ([]byte, error)
type GallerySharingPermissionTypes
    func PossibleGallerySharingPermissionTypesValues() []GallerySharingPermissionTypes
type GallerySharingProfileClient
    func NewGallerySharingProfileClient(subscriptionID string) GallerySharingProfileClient
    func NewGallerySharingProfileClientWithBaseURI(baseURI string, subscriptionID string) GallerySharingProfileClient
    func (client GallerySharingProfileClient) Update(ctx context.Context, resourceGroupName string, galleryName string, sharingUpdate SharingUpdate) (result GallerySharingProfileUpdateFuture, err error)
    func (client GallerySharingProfileClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, sharingUpdate SharingUpdate) (*http.Request, error)
    func (client GallerySharingProfileClient) UpdateResponder(resp *http.Response) (result SharingUpdate, err error)
    func (client GallerySharingProfileClient) UpdateSender(req *http.Request) (future GallerySharingProfileUpdateFuture, err error)
type GallerySharingProfileUpdateFuture
    func (future *GallerySharingProfileUpdateFuture) UnmarshalJSON(body []byte) error
type GalleryTargetExtendedLocation
type GalleryUpdate
    func (gu GalleryUpdate) MarshalJSON() ([]byte, error)
    func (gu *GalleryUpdate) UnmarshalJSON(body []byte) error
type GrantAccessData
type HardwareProfile
type HostCaching
    func PossibleHostCachingValues() []HostCaching
type HyperVGeneration
    func PossibleHyperVGenerationValues() []HyperVGeneration
type HyperVGenerationType
    func PossibleHyperVGenerationTypeValues() []HyperVGenerationType
type HyperVGenerationTypes
    func PossibleHyperVGenerationTypesValues() []HyperVGenerationTypes
type IPVersion
    func PossibleIPVersionValues() []IPVersion
type IPVersions
    func PossibleIPVersionsValues() []IPVersions
type Image
    func (i Image) MarshalJSON() ([]byte, error)
    func (i *Image) UnmarshalJSON(body []byte) error
type ImageDataDisk
type ImageDisk
type ImageDiskReference
type ImageListResult
    func (ilr ImageListResult) IsEmpty() bool
type ImageListResultIterator
    func NewImageListResultIterator(page ImageListResultPage) ImageListResultIterator
    func (iter *ImageListResultIterator) Next() error
    func (iter *ImageListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ImageListResultIterator) NotDone() bool
    func (iter ImageListResultIterator) Response() ImageListResult
    func (iter ImageListResultIterator) Value() Image
type ImageListResultPage
    func NewImageListResultPage(cur ImageListResult, getNextPage func(context.Context, ImageListResult) (ImageListResult, error)) ImageListResultPage
    func (page *ImageListResultPage) Next() error
    func (page *ImageListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ImageListResultPage) NotDone() bool
    func (page ImageListResultPage) Response() ImageListResult
    func (page ImageListResultPage) Values() []Image
type ImageOSDisk
type ImageProperties
    func (IP ImageProperties) MarshalJSON() ([]byte, error)
type ImagePurchasePlan
type ImageReference
    func (ir ImageReference) MarshalJSON() ([]byte, error)
type ImageStorageProfile
type ImageUpdate
    func (iu ImageUpdate) MarshalJSON() ([]byte, error)
    func (iu *ImageUpdate) UnmarshalJSON(body []byte) error
type ImagesClient
    func NewImagesClient(subscriptionID string) ImagesClient
    func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient
    func (client ImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (result ImagesCreateOrUpdateFuture, err error)
    func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (*http.Request, error)
    func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)
    func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error)
    func (client ImagesClient) Delete(ctx context.Context, resourceGroupName string, imageName string) (result ImagesDeleteFuture, err error)
    func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageName string) (*http.Request, error)
    func (client ImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error)
    func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result Image, err error)
    func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, imageName string, expand string) (*http.Request, error)
    func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error)
    func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ImagesClient) List(ctx context.Context) (result ImageListResultPage, err error)
    func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageListResultPage, err error)
    func (client ImagesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageListResultIterator, err error)
    func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error)
    func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ImagesClient) ListComplete(ctx context.Context) (result ImageListResultIterator, err error)
    func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)
    func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client ImagesClient) Update(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (result ImagesUpdateFuture, err error)
    func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (*http.Request, error)
    func (client ImagesClient) UpdateResponder(resp *http.Response) (result Image, err error)
    func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error)
type ImagesCreateOrUpdateFuture
    func (future *ImagesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type ImagesDeleteFuture
    func (future *ImagesDeleteFuture) UnmarshalJSON(body []byte) error
type ImagesUpdateFuture
    func (future *ImagesUpdateFuture) UnmarshalJSON(body []byte) error
type InnerError
type InstanceSku
    func (is InstanceSku) MarshalJSON() ([]byte, error)
type InstanceViewStatus
type InstanceViewStatusesSummary
    func (ivss InstanceViewStatusesSummary) MarshalJSON() ([]byte, error)
type InstanceViewTypes
    func PossibleInstanceViewTypesValues() []InstanceViewTypes
type IntervalInMins
    func PossibleIntervalInMinsValues() []IntervalInMins
type KeyForDiskEncryptionSet
type KeyVaultAndKeyReference
type KeyVaultAndSecretReference
type KeyVaultKeyReference
type KeyVaultSecretReference
type LastPatchInstallationSummary
    func (lpis LastPatchInstallationSummary) MarshalJSON() ([]byte, error)
type LinuxConfiguration
type LinuxParameters
type LinuxPatchAssessmentMode
    func PossibleLinuxPatchAssessmentModeValues() []LinuxPatchAssessmentMode
type LinuxPatchSettings
type LinuxVMGuestPatchMode
    func PossibleLinuxVMGuestPatchModeValues() []LinuxVMGuestPatchMode
type ListUsagesResult
    func (lur ListUsagesResult) IsEmpty() bool
type ListUsagesResultIterator
    func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIterator
    func (iter *ListUsagesResultIterator) Next() error
    func (iter *ListUsagesResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ListUsagesResultIterator) NotDone() bool
    func (iter ListUsagesResultIterator) Response() ListUsagesResult
    func (iter ListUsagesResultIterator) Value() Usage
type ListUsagesResultPage
    func NewListUsagesResultPage(cur ListUsagesResult, getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage
    func (page *ListUsagesResultPage) Next() error
    func (page *ListUsagesResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ListUsagesResultPage) NotDone() bool
    func (page ListUsagesResultPage) Response() ListUsagesResult
    func (page ListUsagesResultPage) Values() []Usage
type ListVirtualMachineExtensionImage
type ListVirtualMachineImageResource
type LoadBalancerConfiguration
type LoadBalancerConfigurationProperties
type LoadBalancerFrontendIPConfiguration
type LoadBalancerFrontendIPConfigurationProperties
type LogAnalyticsClient
    func NewLogAnalyticsClient(subscriptionID string) LogAnalyticsClient
    func NewLogAnalyticsClientWithBaseURI(baseURI string, subscriptionID string) LogAnalyticsClient
    func (client LogAnalyticsClient) ExportRequestRateByInterval(ctx context.Context, parameters RequestRateByIntervalInput, location string) (result LogAnalyticsExportRequestRateByIntervalFuture, err error)
    func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context.Context, parameters RequestRateByIntervalInput, location string) (*http.Request, error)
    func (client LogAnalyticsClient) ExportRequestRateByIntervalResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)
    func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error)
    func (client LogAnalyticsClient) ExportThrottledRequests(ctx context.Context, parameters ThrottledRequestsInput, location string) (result LogAnalyticsExportThrottledRequestsFuture, err error)
    func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Context, parameters ThrottledRequestsInput, location string) (*http.Request, error)
    func (client LogAnalyticsClient) ExportThrottledRequestsResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)
    func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error)
type LogAnalyticsExportRequestRateByIntervalFuture
    func (future *LogAnalyticsExportRequestRateByIntervalFuture) UnmarshalJSON(body []byte) error
type LogAnalyticsExportThrottledRequestsFuture
    func (future *LogAnalyticsExportThrottledRequestsFuture) UnmarshalJSON(body []byte) error
type LogAnalyticsInputBase
type LogAnalyticsOperationResult
    func (laor LogAnalyticsOperationResult) MarshalJSON() ([]byte, error)
type LogAnalyticsOutput
    func (lao LogAnalyticsOutput) MarshalJSON() ([]byte, error)
type MaintenanceOperationResultCodeTypes
    func PossibleMaintenanceOperationResultCodeTypesValues() []MaintenanceOperationResultCodeTypes
type MaintenanceRedeployStatus
type ManagedArtifact
type ManagedDiskParameters
type NetworkAPIVersion
    func PossibleNetworkAPIVersionValues() []NetworkAPIVersion
type NetworkAccessPolicy
    func PossibleNetworkAccessPolicyValues() []NetworkAccessPolicy
type NetworkInterfaceReference
    func (nir NetworkInterfaceReference) MarshalJSON() ([]byte, error)
    func (nir *NetworkInterfaceReference) UnmarshalJSON(body []byte) error
type NetworkInterfaceReferenceProperties
type NetworkProfile
type OSDisk
type OSDiskImage
type OSDiskImageEncryption
type OSDiskImageSecurityProfile
type OSFamily
    func (of OSFamily) MarshalJSON() ([]byte, error)
type OSFamilyListResult
    func (oflr OSFamilyListResult) IsEmpty() bool
type OSFamilyListResultIterator
    func NewOSFamilyListResultIterator(page OSFamilyListResultPage) OSFamilyListResultIterator
    func (iter *OSFamilyListResultIterator) Next() error
    func (iter *OSFamilyListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OSFamilyListResultIterator) NotDone() bool
    func (iter OSFamilyListResultIterator) Response() OSFamilyListResult
    func (iter OSFamilyListResultIterator) Value() OSFamily
type OSFamilyListResultPage
    func NewOSFamilyListResultPage(cur OSFamilyListResult, getNextPage func(context.Context, OSFamilyListResult) (OSFamilyListResult, error)) OSFamilyListResultPage
    func (page *OSFamilyListResultPage) Next() error
    func (page *OSFamilyListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OSFamilyListResultPage) NotDone() bool
    func (page OSFamilyListResultPage) Response() OSFamilyListResult
    func (page OSFamilyListResultPage) Values() []OSFamily
type OSFamilyProperties
    func (ofp OSFamilyProperties) MarshalJSON() ([]byte, error)
type OSProfile
type OSVersion
    func (ov OSVersion) MarshalJSON() ([]byte, error)
type OSVersionListResult
    func (ovlr OSVersionListResult) IsEmpty() bool
type OSVersionListResultIterator
    func NewOSVersionListResultIterator(page OSVersionListResultPage) OSVersionListResultIterator
    func (iter *OSVersionListResultIterator) Next() error
    func (iter *OSVersionListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OSVersionListResultIterator) NotDone() bool
    func (iter OSVersionListResultIterator) Response() OSVersionListResult
    func (iter OSVersionListResultIterator) Value() OSVersion
type OSVersionListResultPage
    func NewOSVersionListResultPage(cur OSVersionListResult, getNextPage func(context.Context, OSVersionListResult) (OSVersionListResult, error)) OSVersionListResultPage
    func (page *OSVersionListResultPage) Next() error
    func (page *OSVersionListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OSVersionListResultPage) NotDone() bool
    func (page OSVersionListResultPage) Response() OSVersionListResult
    func (page OSVersionListResultPage) Values() []OSVersion
type OSVersionProperties
    func (ovp OSVersionProperties) MarshalJSON() ([]byte, error)
type OSVersionPropertiesBase
    func (ovpb OSVersionPropertiesBase) MarshalJSON() ([]byte, error)
type OperatingSystemStateTypes
    func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes
type OperatingSystemType
    func PossibleOperatingSystemTypeValues() []OperatingSystemType
type OperatingSystemTypes
    func PossibleOperatingSystemTypesValues() []OperatingSystemTypes
type OperationListResult
    func (olr OperationListResult) MarshalJSON() ([]byte, error)
type OperationValue
    func (ov OperationValue) MarshalJSON() ([]byte, error)
    func (ov *OperationValue) UnmarshalJSON(body []byte) error
type OperationValueDisplay
    func (ovd OperationValueDisplay) MarshalJSON() ([]byte, error)
type OperationsClient
    func NewOperationsClient(subscriptionID string) OperationsClient
    func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
    func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
    func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
    func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
type OrchestrationMode
    func PossibleOrchestrationModeValues() []OrchestrationMode
type OrchestrationServiceNames
    func PossibleOrchestrationServiceNamesValues() []OrchestrationServiceNames
type OrchestrationServiceState
    func PossibleOrchestrationServiceStateValues() []OrchestrationServiceState
type OrchestrationServiceStateAction
    func PossibleOrchestrationServiceStateActionValues() []OrchestrationServiceStateAction
type OrchestrationServiceStateInput
type OrchestrationServiceSummary
    func (oss OrchestrationServiceSummary) MarshalJSON() ([]byte, error)
type PassNames
    func PossiblePassNamesValues() []PassNames
type PatchAssessmentState
    func PossiblePatchAssessmentStateValues() []PatchAssessmentState
type PatchInstallationDetail
    func (pid PatchInstallationDetail) MarshalJSON() ([]byte, error)
type PatchInstallationState
    func PossiblePatchInstallationStateValues() []PatchInstallationState
type PatchOperationStatus
    func PossiblePatchOperationStatusValues() []PatchOperationStatus
type PatchSettings
type PirCommunityGalleryResource
    func (pcgr PirCommunityGalleryResource) MarshalJSON() ([]byte, error)
    func (pcgr *PirCommunityGalleryResource) UnmarshalJSON(body []byte) error
type PirResource
    func (pr PirResource) MarshalJSON() ([]byte, error)
type PirSharedGalleryResource
    func (psgr PirSharedGalleryResource) MarshalJSON() ([]byte, error)
    func (psgr *PirSharedGalleryResource) UnmarshalJSON(body []byte) error
type Plan
type PrivateEndpoint
    func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)
type PrivateEndpointConnection
    func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)
    func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error
type PrivateEndpointConnectionListResult
    func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool
type PrivateEndpointConnectionListResultIterator
    func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator
    func (iter *PrivateEndpointConnectionListResultIterator) Next() error
    func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool
    func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult
    func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection
type PrivateEndpointConnectionListResultPage
    func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage
    func (page *PrivateEndpointConnectionListResultPage) Next() error
    func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page PrivateEndpointConnectionListResultPage) NotDone() bool
    func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult
    func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection
type PrivateEndpointConnectionProperties
    func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)
type PrivateEndpointConnectionProvisioningState
    func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState
type PrivateEndpointServiceConnectionStatus
    func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus
type PrivateLinkResource
    func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)
    func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error
type PrivateLinkResourceListResult
type PrivateLinkResourceProperties
    func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
type PrivateLinkServiceConnectionState
type PropertyUpdatesInProgress
type ProtocolTypes
    func PossibleProtocolTypesValues() []ProtocolTypes
type ProvisioningState
    func PossibleProvisioningStateValues() []ProvisioningState
type ProvisioningState1
    func PossibleProvisioningState1Values() []ProvisioningState1
type ProvisioningState2
    func PossibleProvisioningState2Values() []ProvisioningState2
type ProvisioningState3
    func PossibleProvisioningState3Values() []ProvisioningState3
type ProximityPlacementGroup
    func (ppg ProximityPlacementGroup) MarshalJSON() ([]byte, error)
    func (ppg *ProximityPlacementGroup) UnmarshalJSON(body []byte) error
type ProximityPlacementGroupListResult
    func (ppglr ProximityPlacementGroupListResult) IsEmpty() bool
type ProximityPlacementGroupListResultIterator
    func NewProximityPlacementGroupListResultIterator(page ProximityPlacementGroupListResultPage) ProximityPlacementGroupListResultIterator
    func (iter *ProximityPlacementGroupListResultIterator) Next() error
    func (iter *ProximityPlacementGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ProximityPlacementGroupListResultIterator) NotDone() bool
    func (iter ProximityPlacementGroupListResultIterator) Response() ProximityPlacementGroupListResult
    func (iter ProximityPlacementGroupListResultIterator) Value() ProximityPlacementGroup
type ProximityPlacementGroupListResultPage
    func NewProximityPlacementGroupListResultPage(cur ProximityPlacementGroupListResult, getNextPage func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error)) ProximityPlacementGroupListResultPage
    func (page *ProximityPlacementGroupListResultPage) Next() error
    func (page *ProximityPlacementGroupListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ProximityPlacementGroupListResultPage) NotDone() bool
    func (page ProximityPlacementGroupListResultPage) Response() ProximityPlacementGroupListResult
    func (page ProximityPlacementGroupListResultPage) Values() []ProximityPlacementGroup
type ProximityPlacementGroupProperties
    func (ppgp ProximityPlacementGroupProperties) MarshalJSON() ([]byte, error)
type ProximityPlacementGroupType
    func PossibleProximityPlacementGroupTypeValues() []ProximityPlacementGroupType
type ProximityPlacementGroupUpdate
    func (ppgu ProximityPlacementGroupUpdate) MarshalJSON() ([]byte, error)
type ProximityPlacementGroupsClient
    func NewProximityPlacementGroupsClient(subscriptionID string) ProximityPlacementGroupsClient
    func NewProximityPlacementGroupsClientWithBaseURI(baseURI string, subscriptionID string) ProximityPlacementGroupsClient
    func (client ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (result ProximityPlacementGroup, err error)
    func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (*http.Request, error)
    func (client ProximityPlacementGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
    func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client ProximityPlacementGroupsClient) Delete(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (result autorest.Response, err error)
    func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (*http.Request, error)
    func (client ProximityPlacementGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client ProximityPlacementGroupsClient) Get(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, includeColocationStatus string) (result ProximityPlacementGroup, err error)
    func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, includeColocationStatus string) (*http.Request, error)
    func (client ProximityPlacementGroupsClient) GetResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
    func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultPage, err error)
    func (client ProximityPlacementGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultIterator, err error)
    func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client ProximityPlacementGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)
    func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client ProximityPlacementGroupsClient) ListBySubscription(ctx context.Context) (result ProximityPlacementGroupListResultPage, err error)
    func (client ProximityPlacementGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result ProximityPlacementGroupListResultIterator, err error)
    func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client ProximityPlacementGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)
    func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client ProximityPlacementGroupsClient) Update(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (result ProximityPlacementGroup, err error)
    func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (*http.Request, error)
    func (client ProximityPlacementGroupsClient) UpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)
    func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)
type ProxyOnlyResource
    func (por ProxyOnlyResource) MarshalJSON() ([]byte, error)
type ProxyResource
    func (pr ProxyResource) MarshalJSON() ([]byte, error)
type PublicIPAddressSku
type PublicIPAddressSkuName
    func PossiblePublicIPAddressSkuNameValues() []PublicIPAddressSkuName
type PublicIPAddressSkuTier
    func PossiblePublicIPAddressSkuTierValues() []PublicIPAddressSkuTier
type PublicIPAllocationMethod
    func PossiblePublicIPAllocationMethodValues() []PublicIPAllocationMethod
type PublicNetworkAccess
    func PossiblePublicNetworkAccessValues() []PublicNetworkAccess
type PurchasePlan
type ReadCloser
type RecommendedMachineConfiguration
type RecoveryWalkResponse
    func (rwr RecoveryWalkResponse) MarshalJSON() ([]byte, error)
type RegionalReplicationStatus
    func (rrs RegionalReplicationStatus) MarshalJSON() ([]byte, error)
type RegionalSharingStatus
type RepairAction
    func PossibleRepairActionValues() []RepairAction
type ReplicationMode
    func PossibleReplicationModeValues() []ReplicationMode
type ReplicationState
    func PossibleReplicationStateValues() []ReplicationState
type ReplicationStatus
    func (rs ReplicationStatus) MarshalJSON() ([]byte, error)
type ReplicationStatusTypes
    func PossibleReplicationStatusTypesValues() []ReplicationStatusTypes
type RequestRateByIntervalInput
type Resource
    func (r Resource) MarshalJSON() ([]byte, error)
type ResourceIdentityType
    func PossibleResourceIdentityTypeValues() []ResourceIdentityType
type ResourceInstanceViewStatus
    func (rivs ResourceInstanceViewStatus) MarshalJSON() ([]byte, error)
type ResourceRange
type ResourceSku
    func (rs ResourceSku) MarshalJSON() ([]byte, error)
type ResourceSkuCapabilities
    func (rsc ResourceSkuCapabilities) MarshalJSON() ([]byte, error)
type ResourceSkuCapacity
    func (rsc ResourceSkuCapacity) MarshalJSON() ([]byte, error)
type ResourceSkuCapacityScaleType
    func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType
type ResourceSkuCosts
    func (rsc ResourceSkuCosts) MarshalJSON() ([]byte, error)
type ResourceSkuLocationInfo
    func (rsli ResourceSkuLocationInfo) MarshalJSON() ([]byte, error)
type ResourceSkuRestrictionInfo
    func (rsri ResourceSkuRestrictionInfo) MarshalJSON() ([]byte, error)
type ResourceSkuRestrictions
    func (rsr ResourceSkuRestrictions) MarshalJSON() ([]byte, error)
type ResourceSkuRestrictionsReasonCode
    func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode
type ResourceSkuRestrictionsType
    func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType
type ResourceSkuZoneDetails
    func (rszd ResourceSkuZoneDetails) MarshalJSON() ([]byte, error)
type ResourceSkusClient
    func NewResourceSkusClient(subscriptionID string) ResourceSkusClient
    func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient
    func (client ResourceSkusClient) List(ctx context.Context, filter string, includeExtendedLocations string) (result ResourceSkusResultPage, err error)
    func (client ResourceSkusClient) ListComplete(ctx context.Context, filter string, includeExtendedLocations string) (result ResourceSkusResultIterator, err error)
    func (client ResourceSkusClient) ListPreparer(ctx context.Context, filter string, includeExtendedLocations string) (*http.Request, error)
    func (client ResourceSkusClient) ListResponder(resp *http.Response) (result ResourceSkusResult, err error)
    func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error)
type ResourceSkusResult
    func (rsr ResourceSkusResult) IsEmpty() bool
type ResourceSkusResultIterator
    func NewResourceSkusResultIterator(page ResourceSkusResultPage) ResourceSkusResultIterator
    func (iter *ResourceSkusResultIterator) Next() error
    func (iter *ResourceSkusResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResourceSkusResultIterator) NotDone() bool
    func (iter ResourceSkusResultIterator) Response() ResourceSkusResult
    func (iter ResourceSkusResultIterator) Value() ResourceSku
type ResourceSkusResultPage
    func NewResourceSkusResultPage(cur ResourceSkusResult, getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage
    func (page *ResourceSkusResultPage) Next() error
    func (page *ResourceSkusResultPage) NextWithContext(ctx context.Context) (err error)
    func (page ResourceSkusResultPage) NotDone() bool
    func (page ResourceSkusResultPage) Response() ResourceSkusResult
    func (page ResourceSkusResultPage) Values() []ResourceSku
type ResourceURIList
    func (rul ResourceURIList) IsEmpty() bool
type ResourceURIListIterator
    func NewResourceURIListIterator(page ResourceURIListPage) ResourceURIListIterator
    func (iter *ResourceURIListIterator) Next() error
    func (iter *ResourceURIListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter ResourceURIListIterator) NotDone() bool
    func (iter ResourceURIListIterator) Response() ResourceURIList
    func (iter ResourceURIListIterator) Value() string
type ResourceURIListPage
    func NewResourceURIListPage(cur ResourceURIList, getNextPage func(context.Context, ResourceURIList) (ResourceURIList, error)) ResourceURIListPage
    func (page *ResourceURIListPage) Next() error
    func (page *ResourceURIListPage) NextWithContext(ctx context.Context) (err error)
    func (page ResourceURIListPage) NotDone() bool
    func (page ResourceURIListPage) Response() ResourceURIList
    func (page ResourceURIListPage) Values() []string
type RestorePoint
    func (rp RestorePoint) MarshalJSON() ([]byte, error)
    func (rp *RestorePoint) UnmarshalJSON(body []byte) error
type RestorePointCollection
    func (RPCVar RestorePointCollection) MarshalJSON() ([]byte, error)
    func (RPCVar *RestorePointCollection) UnmarshalJSON(body []byte) error
type RestorePointCollectionExpandOptions
    func PossibleRestorePointCollectionExpandOptionsValues() []RestorePointCollectionExpandOptions
type RestorePointCollectionListResult
    func (rpclr RestorePointCollectionListResult) IsEmpty() bool
type RestorePointCollectionListResultIterator
    func NewRestorePointCollectionListResultIterator(page RestorePointCollectionListResultPage) RestorePointCollectionListResultIterator
    func (iter *RestorePointCollectionListResultIterator) Next() error
    func (iter *RestorePointCollectionListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter RestorePointCollectionListResultIterator) NotDone() bool
    func (iter RestorePointCollectionListResultIterator) Response() RestorePointCollectionListResult
    func (iter RestorePointCollectionListResultIterator) Value() RestorePointCollection
type RestorePointCollectionListResultPage
    func NewRestorePointCollectionListResultPage(cur RestorePointCollectionListResult, getNextPage func(context.Context, RestorePointCollectionListResult) (RestorePointCollectionListResult, error)) RestorePointCollectionListResultPage
    func (page *RestorePointCollectionListResultPage) Next() error
    func (page *RestorePointCollectionListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page RestorePointCollectionListResultPage) NotDone() bool
    func (page RestorePointCollectionListResultPage) Response() RestorePointCollectionListResult
    func (page RestorePointCollectionListResultPage) Values() []RestorePointCollection
type RestorePointCollectionProperties
    func (rpcp RestorePointCollectionProperties) MarshalJSON() ([]byte, error)
type RestorePointCollectionSourceProperties
    func (rpcsp RestorePointCollectionSourceProperties) MarshalJSON() ([]byte, error)
type RestorePointCollectionUpdate
    func (rpcu RestorePointCollectionUpdate) MarshalJSON() ([]byte, error)
    func (rpcu *RestorePointCollectionUpdate) UnmarshalJSON(body []byte) error
type RestorePointCollectionsClient
    func NewRestorePointCollectionsClient(subscriptionID string) RestorePointCollectionsClient
    func NewRestorePointCollectionsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointCollectionsClient
    func (client RestorePointCollectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollection) (result RestorePointCollection, err error)
    func (client RestorePointCollectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollection) (*http.Request, error)
    func (client RestorePointCollectionsClient) CreateOrUpdateResponder(resp *http.Response) (result RestorePointCollection, err error)
    func (client RestorePointCollectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
    func (client RestorePointCollectionsClient) Delete(ctx context.Context, resourceGroupName string, restorePointCollectionName string) (result RestorePointCollectionsDeleteFuture, err error)
    func (client RestorePointCollectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string) (*http.Request, error)
    func (client RestorePointCollectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client RestorePointCollectionsClient) DeleteSender(req *http.Request) (future RestorePointCollectionsDeleteFuture, err error)
    func (client RestorePointCollectionsClient) Get(ctx context.Context, resourceGroupName string, restorePointCollectionName string, expand RestorePointCollectionExpandOptions) (result RestorePointCollection, err error)
    func (client RestorePointCollectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, expand RestorePointCollectionExpandOptions) (*http.Request, error)
    func (client RestorePointCollectionsClient) GetResponder(resp *http.Response) (result RestorePointCollection, err error)
    func (client RestorePointCollectionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client RestorePointCollectionsClient) List(ctx context.Context, resourceGroupName string) (result RestorePointCollectionListResultPage, err error)
    func (client RestorePointCollectionsClient) ListAll(ctx context.Context) (result RestorePointCollectionListResultPage, err error)
    func (client RestorePointCollectionsClient) ListAllComplete(ctx context.Context) (result RestorePointCollectionListResultIterator, err error)
    func (client RestorePointCollectionsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
    func (client RestorePointCollectionsClient) ListAllResponder(resp *http.Response) (result RestorePointCollectionListResult, err error)
    func (client RestorePointCollectionsClient) ListAllSender(req *http.Request) (*http.Response, error)
    func (client RestorePointCollectionsClient) ListComplete(ctx context.Context, resourceGroupName string) (result RestorePointCollectionListResultIterator, err error)
    func (client RestorePointCollectionsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client RestorePointCollectionsClient) ListResponder(resp *http.Response) (result RestorePointCollectionListResult, err error)
    func (client RestorePointCollectionsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client RestorePointCollectionsClient) Update(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollectionUpdate) (result RestorePointCollection, err error)
    func (client RestorePointCollectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollectionUpdate) (*http.Request, error)
    func (client RestorePointCollectionsClient) UpdateResponder(resp *http.Response) (result RestorePointCollection, err error)
    func (client RestorePointCollectionsClient) UpdateSender(req *http.Request) (*http.Response, error)
type RestorePointCollectionsDeleteFuture
    func (future *RestorePointCollectionsDeleteFuture) UnmarshalJSON(body []byte) error
type RestorePointExpandOptions
    func PossibleRestorePointExpandOptionsValues() []RestorePointExpandOptions
type RestorePointInstanceView
type RestorePointProperties
    func (rpp RestorePointProperties) MarshalJSON() ([]byte, error)
type RestorePointSourceMetadata
type RestorePointSourceVMDataDisk
type RestorePointSourceVMOSDisk
type RestorePointSourceVMStorageProfile
type RestorePointsClient
    func NewRestorePointsClient(subscriptionID string) RestorePointsClient
    func NewRestorePointsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointsClient
    func (client RestorePointsClient) Create(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, parameters RestorePoint) (result RestorePointsCreateFuture, err error)
    func (client RestorePointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, parameters RestorePoint) (*http.Request, error)
    func (client RestorePointsClient) CreateResponder(resp *http.Response) (result RestorePoint, err error)
    func (client RestorePointsClient) CreateSender(req *http.Request) (future RestorePointsCreateFuture, err error)
    func (client RestorePointsClient) Delete(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string) (result RestorePointsDeleteFuture, err error)
    func (client RestorePointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string) (*http.Request, error)
    func (client RestorePointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client RestorePointsClient) DeleteSender(req *http.Request) (future RestorePointsDeleteFuture, err error)
    func (client RestorePointsClient) Get(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, expand RestorePointExpandOptions) (result RestorePoint, err error)
    func (client RestorePointsClient) GetPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, expand RestorePointExpandOptions) (*http.Request, error)
    func (client RestorePointsClient) GetResponder(resp *http.Response) (result RestorePoint, err error)
    func (client RestorePointsClient) GetSender(req *http.Request) (*http.Response, error)
type RestorePointsCreateFuture
    func (future *RestorePointsCreateFuture) UnmarshalJSON(body []byte) error
type RestorePointsDeleteFuture
    func (future *RestorePointsDeleteFuture) UnmarshalJSON(body []byte) error
type RetrieveBootDiagnosticsDataResult
    func (rbddr RetrieveBootDiagnosticsDataResult) MarshalJSON() ([]byte, error)
type RoleInstance
    func (ri RoleInstance) MarshalJSON() ([]byte, error)
type RoleInstanceInstanceView
    func (riiv RoleInstanceInstanceView) MarshalJSON() ([]byte, error)
type RoleInstanceListResult
    func (rilr RoleInstanceListResult) IsEmpty() bool
type RoleInstanceListResultIterator
    func NewRoleInstanceListResultIterator(page RoleInstanceListResultPage) RoleInstanceListResultIterator
    func (iter *RoleInstanceListResultIterator) Next() error
    func (iter *RoleInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter RoleInstanceListResultIterator) NotDone() bool
    func (iter RoleInstanceListResultIterator) Response() RoleInstanceListResult
    func (iter RoleInstanceListResultIterator) Value() RoleInstance
type RoleInstanceListResultPage
    func NewRoleInstanceListResultPage(cur RoleInstanceListResult, getNextPage func(context.Context, RoleInstanceListResult) (RoleInstanceListResult, error)) RoleInstanceListResultPage
    func (page *RoleInstanceListResultPage) Next() error
    func (page *RoleInstanceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page RoleInstanceListResultPage) NotDone() bool
    func (page RoleInstanceListResultPage) Response() RoleInstanceListResult
    func (page RoleInstanceListResultPage) Values() []RoleInstance
type RoleInstanceNetworkProfile
    func (rinp RoleInstanceNetworkProfile) MarshalJSON() ([]byte, error)
type RoleInstanceProperties
type RoleInstances
type RollbackStatusInfo
    func (rsi RollbackStatusInfo) MarshalJSON() ([]byte, error)
type RollingUpgradeActionType
    func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType
type RollingUpgradePolicy
type RollingUpgradeProgressInfo
    func (rupi RollingUpgradeProgressInfo) MarshalJSON() ([]byte, error)
type RollingUpgradeRunningStatus
    func (rurs RollingUpgradeRunningStatus) MarshalJSON() ([]byte, error)
type RollingUpgradeStatusCode
    func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode
type RollingUpgradeStatusInfo
    func (rusi RollingUpgradeStatusInfo) MarshalJSON() ([]byte, error)
    func (rusi *RollingUpgradeStatusInfo) UnmarshalJSON(body []byte) error
type RollingUpgradeStatusInfoProperties
    func (rusip RollingUpgradeStatusInfoProperties) MarshalJSON() ([]byte, error)
type RunCommandDocument
type RunCommandDocumentBase
type RunCommandInput
type RunCommandInputParameter
type RunCommandListResult
    func (rclr RunCommandListResult) IsEmpty() bool
type RunCommandListResultIterator
    func NewRunCommandListResultIterator(page RunCommandListResultPage) RunCommandListResultIterator
    func (iter *RunCommandListResultIterator) Next() error
    func (iter *RunCommandListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter RunCommandListResultIterator) NotDone() bool
    func (iter RunCommandListResultIterator) Response() RunCommandListResult
    func (iter RunCommandListResultIterator) Value() RunCommandDocumentBase
type RunCommandListResultPage
    func NewRunCommandListResultPage(cur RunCommandListResult, getNextPage func(context.Context, RunCommandListResult) (RunCommandListResult, error)) RunCommandListResultPage
    func (page *RunCommandListResultPage) Next() error
    func (page *RunCommandListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page RunCommandListResultPage) NotDone() bool
    func (page RunCommandListResultPage) Response() RunCommandListResult
    func (page RunCommandListResultPage) Values() []RunCommandDocumentBase
type RunCommandParameterDefinition
type RunCommandResult
type SSHConfiguration
type SSHPublicKey
type SSHPublicKeyGenerateKeyPairResult
type SSHPublicKeyResource
    func (spkr SSHPublicKeyResource) MarshalJSON() ([]byte, error)
    func (spkr *SSHPublicKeyResource) UnmarshalJSON(body []byte) error
type SSHPublicKeyResourceProperties
type SSHPublicKeyUpdateResource
    func (spkur SSHPublicKeyUpdateResource) MarshalJSON() ([]byte, error)
    func (spkur *SSHPublicKeyUpdateResource) UnmarshalJSON(body []byte) error
type SSHPublicKeysClient
    func NewSSHPublicKeysClient(subscriptionID string) SSHPublicKeysClient
    func NewSSHPublicKeysClientWithBaseURI(baseURI string, subscriptionID string) SSHPublicKeysClient
    func (client SSHPublicKeysClient) Create(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyResource) (result SSHPublicKeyResource, err error)
    func (client SSHPublicKeysClient) CreatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyResource) (*http.Request, error)
    func (client SSHPublicKeysClient) CreateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
    func (client SSHPublicKeysClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client SSHPublicKeysClient) Delete(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result autorest.Response, err error)
    func (client SSHPublicKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
    func (client SSHPublicKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SSHPublicKeysClient) DeleteSender(req *http.Request) (*http.Response, error)
    func (client SSHPublicKeysClient) GenerateKeyPair(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyGenerateKeyPairResult, err error)
    func (client SSHPublicKeysClient) GenerateKeyPairPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
    func (client SSHPublicKeysClient) GenerateKeyPairResponder(resp *http.Response) (result SSHPublicKeyGenerateKeyPairResult, err error)
    func (client SSHPublicKeysClient) GenerateKeyPairSender(req *http.Request) (*http.Response, error)
    func (client SSHPublicKeysClient) Get(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyResource, err error)
    func (client SSHPublicKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)
    func (client SSHPublicKeysClient) GetResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
    func (client SSHPublicKeysClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SSHPublicKeysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultPage, err error)
    func (client SSHPublicKeysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultIterator, err error)
    func (client SSHPublicKeysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client SSHPublicKeysClient) ListByResourceGroupResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)
    func (client SSHPublicKeysClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client SSHPublicKeysClient) ListBySubscription(ctx context.Context) (result SSHPublicKeysGroupListResultPage, err error)
    func (client SSHPublicKeysClient) ListBySubscriptionComplete(ctx context.Context) (result SSHPublicKeysGroupListResultIterator, err error)
    func (client SSHPublicKeysClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client SSHPublicKeysClient) ListBySubscriptionResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)
    func (client SSHPublicKeysClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client SSHPublicKeysClient) Update(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyUpdateResource) (result SSHPublicKeyResource, err error)
    func (client SSHPublicKeysClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyUpdateResource) (*http.Request, error)
    func (client SSHPublicKeysClient) UpdateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)
    func (client SSHPublicKeysClient) UpdateSender(req *http.Request) (*http.Response, error)
type SSHPublicKeysGroupListResult
    func (spkglr SSHPublicKeysGroupListResult) IsEmpty() bool
type SSHPublicKeysGroupListResultIterator
    func NewSSHPublicKeysGroupListResultIterator(page SSHPublicKeysGroupListResultPage) SSHPublicKeysGroupListResultIterator
    func (iter *SSHPublicKeysGroupListResultIterator) Next() error
    func (iter *SSHPublicKeysGroupListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SSHPublicKeysGroupListResultIterator) NotDone() bool
    func (iter SSHPublicKeysGroupListResultIterator) Response() SSHPublicKeysGroupListResult
    func (iter SSHPublicKeysGroupListResultIterator) Value() SSHPublicKeyResource
type SSHPublicKeysGroupListResultPage
    func NewSSHPublicKeysGroupListResultPage(cur SSHPublicKeysGroupListResult, getNextPage func(context.Context, SSHPublicKeysGroupListResult) (SSHPublicKeysGroupListResult, error)) SSHPublicKeysGroupListResultPage
    func (page *SSHPublicKeysGroupListResultPage) Next() error
    func (page *SSHPublicKeysGroupListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page SSHPublicKeysGroupListResultPage) NotDone() bool
    func (page SSHPublicKeysGroupListResultPage) Response() SSHPublicKeysGroupListResult
    func (page SSHPublicKeysGroupListResultPage) Values() []SSHPublicKeyResource
type ScaleInPolicy
type ScheduledEventsProfile
type SecurityEncryptionTypes
    func PossibleSecurityEncryptionTypesValues() []SecurityEncryptionTypes
type SecurityProfile
type SecurityTypes
    func PossibleSecurityTypesValues() []SecurityTypes
type SelectPermissions
    func PossibleSelectPermissionsValues() []SelectPermissions
type SettingNames
    func PossibleSettingNamesValues() []SettingNames
type ShareInfoElement
    func (sie ShareInfoElement) MarshalJSON() ([]byte, error)
type SharedGalleriesClient
    func NewSharedGalleriesClient(subscriptionID string) SharedGalleriesClient
    func NewSharedGalleriesClientWithBaseURI(baseURI string, subscriptionID string) SharedGalleriesClient
    func (client SharedGalleriesClient) Get(ctx context.Context, location string, galleryUniqueName string) (result SharedGallery, err error)
    func (client SharedGalleriesClient) GetPreparer(ctx context.Context, location string, galleryUniqueName string) (*http.Request, error)
    func (client SharedGalleriesClient) GetResponder(resp *http.Response) (result SharedGallery, err error)
    func (client SharedGalleriesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SharedGalleriesClient) List(ctx context.Context, location string, sharedTo SharedToValues) (result SharedGalleryListPage, err error)
    func (client SharedGalleriesClient) ListComplete(ctx context.Context, location string, sharedTo SharedToValues) (result SharedGalleryListIterator, err error)
    func (client SharedGalleriesClient) ListPreparer(ctx context.Context, location string, sharedTo SharedToValues) (*http.Request, error)
    func (client SharedGalleriesClient) ListResponder(resp *http.Response) (result SharedGalleryList, err error)
    func (client SharedGalleriesClient) ListSender(req *http.Request) (*http.Response, error)
type SharedGallery
    func (sg SharedGallery) MarshalJSON() ([]byte, error)
    func (sg *SharedGallery) UnmarshalJSON(body []byte) error
type SharedGalleryIdentifier
type SharedGalleryImage
    func (sgi SharedGalleryImage) MarshalJSON() ([]byte, error)
    func (sgi *SharedGalleryImage) UnmarshalJSON(body []byte) error
type SharedGalleryImageList
    func (sgil SharedGalleryImageList) IsEmpty() bool
type SharedGalleryImageListIterator
    func NewSharedGalleryImageListIterator(page SharedGalleryImageListPage) SharedGalleryImageListIterator
    func (iter *SharedGalleryImageListIterator) Next() error
    func (iter *SharedGalleryImageListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SharedGalleryImageListIterator) NotDone() bool
    func (iter SharedGalleryImageListIterator) Response() SharedGalleryImageList
    func (iter SharedGalleryImageListIterator) Value() SharedGalleryImage
type SharedGalleryImageListPage
    func NewSharedGalleryImageListPage(cur SharedGalleryImageList, getNextPage func(context.Context, SharedGalleryImageList) (SharedGalleryImageList, error)) SharedGalleryImageListPage
    func (page *SharedGalleryImageListPage) Next() error
    func (page *SharedGalleryImageListPage) NextWithContext(ctx context.Context) (err error)
    func (page SharedGalleryImageListPage) NotDone() bool
    func (page SharedGalleryImageListPage) Response() SharedGalleryImageList
    func (page SharedGalleryImageListPage) Values() []SharedGalleryImage
type SharedGalleryImageProperties
type SharedGalleryImageVersion
    func (sgiv SharedGalleryImageVersion) MarshalJSON() ([]byte, error)
    func (sgiv *SharedGalleryImageVersion) UnmarshalJSON(body []byte) error
type SharedGalleryImageVersionList
    func (sgivl SharedGalleryImageVersionList) IsEmpty() bool
type SharedGalleryImageVersionListIterator
    func NewSharedGalleryImageVersionListIterator(page SharedGalleryImageVersionListPage) SharedGalleryImageVersionListIterator
    func (iter *SharedGalleryImageVersionListIterator) Next() error
    func (iter *SharedGalleryImageVersionListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SharedGalleryImageVersionListIterator) NotDone() bool
    func (iter SharedGalleryImageVersionListIterator) Response() SharedGalleryImageVersionList
    func (iter SharedGalleryImageVersionListIterator) Value() SharedGalleryImageVersion
type SharedGalleryImageVersionListPage
    func NewSharedGalleryImageVersionListPage(cur SharedGalleryImageVersionList, getNextPage func(context.Context, SharedGalleryImageVersionList) (SharedGalleryImageVersionList, error)) SharedGalleryImageVersionListPage
    func (page *SharedGalleryImageVersionListPage) Next() error
    func (page *SharedGalleryImageVersionListPage) NextWithContext(ctx context.Context) (err error)
    func (page SharedGalleryImageVersionListPage) NotDone() bool
    func (page SharedGalleryImageVersionListPage) Response() SharedGalleryImageVersionList
    func (page SharedGalleryImageVersionListPage) Values() []SharedGalleryImageVersion
type SharedGalleryImageVersionProperties
type SharedGalleryImageVersionsClient
    func NewSharedGalleryImageVersionsClient(subscriptionID string) SharedGalleryImageVersionsClient
    func NewSharedGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) SharedGalleryImageVersionsClient
    func (client SharedGalleryImageVersionsClient) Get(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, galleryImageVersionName string) (result SharedGalleryImageVersion, err error)
    func (client SharedGalleryImageVersionsClient) GetPreparer(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, galleryImageVersionName string) (*http.Request, error)
    func (client SharedGalleryImageVersionsClient) GetResponder(resp *http.Response) (result SharedGalleryImageVersion, err error)
    func (client SharedGalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SharedGalleryImageVersionsClient) List(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, sharedTo SharedToValues) (result SharedGalleryImageVersionListPage, err error)
    func (client SharedGalleryImageVersionsClient) ListComplete(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, sharedTo SharedToValues) (result SharedGalleryImageVersionListIterator, err error)
    func (client SharedGalleryImageVersionsClient) ListPreparer(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, sharedTo SharedToValues) (*http.Request, error)
    func (client SharedGalleryImageVersionsClient) ListResponder(resp *http.Response) (result SharedGalleryImageVersionList, err error)
    func (client SharedGalleryImageVersionsClient) ListSender(req *http.Request) (*http.Response, error)
type SharedGalleryImagesClient
    func NewSharedGalleryImagesClient(subscriptionID string) SharedGalleryImagesClient
    func NewSharedGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) SharedGalleryImagesClient
    func (client SharedGalleryImagesClient) Get(ctx context.Context, location string, galleryUniqueName string, galleryImageName string) (result SharedGalleryImage, err error)
    func (client SharedGalleryImagesClient) GetPreparer(ctx context.Context, location string, galleryUniqueName string, galleryImageName string) (*http.Request, error)
    func (client SharedGalleryImagesClient) GetResponder(resp *http.Response) (result SharedGalleryImage, err error)
    func (client SharedGalleryImagesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SharedGalleryImagesClient) List(ctx context.Context, location string, galleryUniqueName string, sharedTo SharedToValues) (result SharedGalleryImageListPage, err error)
    func (client SharedGalleryImagesClient) ListComplete(ctx context.Context, location string, galleryUniqueName string, sharedTo SharedToValues) (result SharedGalleryImageListIterator, err error)
    func (client SharedGalleryImagesClient) ListPreparer(ctx context.Context, location string, galleryUniqueName string, sharedTo SharedToValues) (*http.Request, error)
    func (client SharedGalleryImagesClient) ListResponder(resp *http.Response) (result SharedGalleryImageList, err error)
    func (client SharedGalleryImagesClient) ListSender(req *http.Request) (*http.Response, error)
type SharedGalleryList
    func (sgl SharedGalleryList) IsEmpty() bool
type SharedGalleryListIterator
    func NewSharedGalleryListIterator(page SharedGalleryListPage) SharedGalleryListIterator
    func (iter *SharedGalleryListIterator) Next() error
    func (iter *SharedGalleryListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SharedGalleryListIterator) NotDone() bool
    func (iter SharedGalleryListIterator) Response() SharedGalleryList
    func (iter SharedGalleryListIterator) Value() SharedGallery
type SharedGalleryListPage
    func NewSharedGalleryListPage(cur SharedGalleryList, getNextPage func(context.Context, SharedGalleryList) (SharedGalleryList, error)) SharedGalleryListPage
    func (page *SharedGalleryListPage) Next() error
    func (page *SharedGalleryListPage) NextWithContext(ctx context.Context) (err error)
    func (page SharedGalleryListPage) NotDone() bool
    func (page SharedGalleryListPage) Response() SharedGalleryList
    func (page SharedGalleryListPage) Values() []SharedGallery
type SharedToValues
    func PossibleSharedToValuesValues() []SharedToValues
type SharingProfile
    func (sp SharingProfile) MarshalJSON() ([]byte, error)
type SharingProfileGroup
type SharingProfileGroupTypes
    func PossibleSharingProfileGroupTypesValues() []SharingProfileGroupTypes
type SharingState
    func PossibleSharingStateValues() []SharingState
type SharingStatus
type SharingUpdate
type SharingUpdateOperationTypes
    func PossibleSharingUpdateOperationTypesValues() []SharingUpdateOperationTypes
type Sku
type Snapshot
    func (s Snapshot) MarshalJSON() ([]byte, error)
    func (s *Snapshot) UnmarshalJSON(body []byte) error
type SnapshotList
    func (sl SnapshotList) IsEmpty() bool
type SnapshotListIterator
    func NewSnapshotListIterator(page SnapshotListPage) SnapshotListIterator
    func (iter *SnapshotListIterator) Next() error
    func (iter *SnapshotListIterator) NextWithContext(ctx context.Context) (err error)
    func (iter SnapshotListIterator) NotDone() bool
    func (iter SnapshotListIterator) Response() SnapshotList
    func (iter SnapshotListIterator) Value() Snapshot
type SnapshotListPage
    func NewSnapshotListPage(cur SnapshotList, getNextPage func(context.Context, SnapshotList) (SnapshotList, error)) SnapshotListPage
    func (page *SnapshotListPage) Next() error
    func (page *SnapshotListPage) NextWithContext(ctx context.Context) (err error)
    func (page SnapshotListPage) NotDone() bool
    func (page SnapshotListPage) Response() SnapshotList
    func (page SnapshotListPage) Values() []Snapshot
type SnapshotProperties
    func (sp SnapshotProperties) MarshalJSON() ([]byte, error)
type SnapshotSku
    func (ss SnapshotSku) MarshalJSON() ([]byte, error)
type SnapshotStorageAccountTypes
    func PossibleSnapshotStorageAccountTypesValues() []SnapshotStorageAccountTypes
type SnapshotUpdate
    func (su SnapshotUpdate) MarshalJSON() ([]byte, error)
    func (su *SnapshotUpdate) UnmarshalJSON(body []byte) error
type SnapshotUpdateProperties
type SnapshotsClient
    func NewSnapshotsClient(subscriptionID string) SnapshotsClient
    func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient
    func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (result SnapshotsCreateOrUpdateFuture, err error)
    func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (*http.Request, error)
    func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)
    func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error)
    func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsDeleteFuture, err error)
    func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
    func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)
    func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, snapshotName string) (result Snapshot, err error)
    func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
    func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)
    func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client SnapshotsClient) GrantAccess(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (result SnapshotsGrantAccessFuture, err error)
    func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (*http.Request, error)
    func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)
    func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error)
    func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage, err error)
    func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListPage, err error)
    func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListIterator, err error)
    func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error)
    func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client SnapshotsClient) ListComplete(ctx context.Context) (result SnapshotListIterator, err error)
    func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error)
    func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client SnapshotsClient) RevokeAccess(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsRevokeAccessFuture, err error)
    func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)
    func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)
    func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error)
    func (client SnapshotsClient) Update(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (result SnapshotsUpdateFuture, err error)
    func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (*http.Request, error)
    func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)
    func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)
type SnapshotsCreateOrUpdateFuture
    func (future *SnapshotsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type SnapshotsDeleteFuture
    func (future *SnapshotsDeleteFuture) UnmarshalJSON(body []byte) error
type SnapshotsGrantAccessFuture
    func (future *SnapshotsGrantAccessFuture) UnmarshalJSON(body []byte) error
type SnapshotsRevokeAccessFuture
    func (future *SnapshotsRevokeAccessFuture) UnmarshalJSON(body []byte) error
type SnapshotsUpdateFuture
    func (future *SnapshotsUpdateFuture) UnmarshalJSON(body []byte) error
type SoftDeletePolicy
type SourceVault
type SpotRestorePolicy
type StatusCodeCount
    func (scc StatusCodeCount) MarshalJSON() ([]byte, error)
type StatusLevelTypes
    func PossibleStatusLevelTypesValues() []StatusLevelTypes
type StorageAccountType
    func PossibleStorageAccountTypeValues() []StorageAccountType
type StorageAccountTypes
    func PossibleStorageAccountTypesValues() []StorageAccountTypes
type StorageProfile
type SubResource
type SubResourceReadOnly
    func (srro SubResourceReadOnly) MarshalJSON() ([]byte, error)
type SubResourceWithColocationStatus
type SupportedCapabilities
type TargetRegion
type TerminateNotificationProfile
type ThrottledRequestsInput
type UefiSettings
type UpdateDomain
    func (ud UpdateDomain) MarshalJSON() ([]byte, error)
type UpdateDomainListResult
    func (udlr UpdateDomainListResult) IsEmpty() bool
type UpdateDomainListResultIterator
    func NewUpdateDomainListResultIterator(page UpdateDomainListResultPage) UpdateDomainListResultIterator
    func (iter *UpdateDomainListResultIterator) Next() error
    func (iter *UpdateDomainListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter UpdateDomainListResultIterator) NotDone() bool
    func (iter UpdateDomainListResultIterator) Response() UpdateDomainListResult
    func (iter UpdateDomainListResultIterator) Value() UpdateDomain
type UpdateDomainListResultPage
    func NewUpdateDomainListResultPage(cur UpdateDomainListResult, getNextPage func(context.Context, UpdateDomainListResult) (UpdateDomainListResult, error)) UpdateDomainListResultPage
    func (page *UpdateDomainListResultPage) Next() error
    func (page *UpdateDomainListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page UpdateDomainListResultPage) NotDone() bool
    func (page UpdateDomainListResultPage) Response() UpdateDomainListResult
    func (page UpdateDomainListResultPage) Values() []UpdateDomain
type UpdateResource
    func (ur UpdateResource) MarshalJSON() ([]byte, error)
type UpdateResourceDefinition
    func (urd UpdateResourceDefinition) MarshalJSON() ([]byte, error)
type UpgradeMode
    func PossibleUpgradeModeValues() []UpgradeMode
type UpgradeOperationHistoricalStatusInfo
    func (uohsi UpgradeOperationHistoricalStatusInfo) MarshalJSON() ([]byte, error)
type UpgradeOperationHistoricalStatusInfoProperties
    func (uohsip UpgradeOperationHistoricalStatusInfoProperties) MarshalJSON() ([]byte, error)
type UpgradeOperationHistoryStatus
    func (uohs UpgradeOperationHistoryStatus) MarshalJSON() ([]byte, error)
type UpgradeOperationInvoker
    func PossibleUpgradeOperationInvokerValues() []UpgradeOperationInvoker
type UpgradePolicy
type UpgradeState
    func PossibleUpgradeStateValues() []UpgradeState
type Usage
type UsageClient
    func NewUsageClient(subscriptionID string) UsageClient
    func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient
    func (client UsageClient) List(ctx context.Context, location string) (result ListUsagesResultPage, err error)
    func (client UsageClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error)
    func (client UsageClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error)
    func (client UsageClient) ListSender(req *http.Request) (*http.Response, error)
type UsageName
type UserArtifactManage
type UserArtifactSource
type VMDiskSecurityProfile
type VMDiskTypes
    func PossibleVMDiskTypesValues() []VMDiskTypes
type VMGalleryApplication
type VMGuestPatchClassificationLinux
    func PossibleVMGuestPatchClassificationLinuxValues() []VMGuestPatchClassificationLinux
type VMGuestPatchClassificationWindows
    func PossibleVMGuestPatchClassificationWindowsValues() []VMGuestPatchClassificationWindows
type VMGuestPatchRebootBehavior
    func PossibleVMGuestPatchRebootBehaviorValues() []VMGuestPatchRebootBehavior
type VMGuestPatchRebootSetting
    func PossibleVMGuestPatchRebootSettingValues() []VMGuestPatchRebootSetting
type VMGuestPatchRebootStatus
    func PossibleVMGuestPatchRebootStatusValues() []VMGuestPatchRebootStatus
type VMScaleSetConvertToSinglePlacementGroupInput
type VMSizeProperties
type VaultCertificate
type VaultSecretGroup
type VirtualHardDisk
type VirtualMachine
    func (VM VirtualMachine) MarshalJSON() ([]byte, error)
    func (VM *VirtualMachine) UnmarshalJSON(body []byte) error
type VirtualMachineAgentInstanceView
type VirtualMachineAssessPatchesResult
    func (vmapr VirtualMachineAssessPatchesResult) MarshalJSON() ([]byte, error)
type VirtualMachineCaptureParameters
type VirtualMachineCaptureResult
    func (vmcr VirtualMachineCaptureResult) MarshalJSON() ([]byte, error)
type VirtualMachineEvictionPolicyTypes
    func PossibleVirtualMachineEvictionPolicyTypesValues() []VirtualMachineEvictionPolicyTypes
type VirtualMachineExtension
    func (vme VirtualMachineExtension) MarshalJSON() ([]byte, error)
    func (vme *VirtualMachineExtension) UnmarshalJSON(body []byte) error
type VirtualMachineExtensionHandlerInstanceView
type VirtualMachineExtensionImage
    func (vmei VirtualMachineExtensionImage) MarshalJSON() ([]byte, error)
    func (vmei *VirtualMachineExtensionImage) UnmarshalJSON(body []byte) error
type VirtualMachineExtensionImageProperties
type VirtualMachineExtensionImagesClient
    func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient
    func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient
    func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error)
    func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, typeParameter string, version string) (*http.Request, error)
    func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error)
    func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineExtensionImagesClient) ListTypes(ctx context.Context, location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)
    func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)
    func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
    func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineExtensionImagesClient) ListVersions(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (result ListVirtualMachineExtensionImage, err error)
    func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (*http.Request, error)
    func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)
    func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error)
type VirtualMachineExtensionInstanceView
type VirtualMachineExtensionProperties
    func (vmep VirtualMachineExtensionProperties) MarshalJSON() ([]byte, error)
type VirtualMachineExtensionUpdate
    func (vmeu VirtualMachineExtensionUpdate) MarshalJSON() ([]byte, error)
    func (vmeu *VirtualMachineExtensionUpdate) UnmarshalJSON(body []byte) error
type VirtualMachineExtensionUpdateProperties
type VirtualMachineExtensionsClient
    func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient
    func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient
    func (client VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (result VirtualMachineExtensionsCreateOrUpdateFuture, err error)
    func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (*http.Request, error)
    func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
    func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error)
    func (client VirtualMachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (result VirtualMachineExtensionsDeleteFuture, err error)
    func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (*http.Request, error)
    func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error)
    func (client VirtualMachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error)
    func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error)
    func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)
    func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineExtensionsClient) List(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineExtensionsListResult, err error)
    func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)
    func (client VirtualMachineExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineExtensionsListResult, err error)
    func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (result VirtualMachineExtensionsUpdateFuture, err error)
    func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (*http.Request, error)
    func (client VirtualMachineExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)
    func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error)
type VirtualMachineExtensionsCreateOrUpdateFuture
    func (future *VirtualMachineExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineExtensionsDeleteFuture
    func (future *VirtualMachineExtensionsDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachineExtensionsListResult
type VirtualMachineExtensionsUpdateFuture
    func (future *VirtualMachineExtensionsUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineHealthStatus
    func (vmhs VirtualMachineHealthStatus) MarshalJSON() ([]byte, error)
type VirtualMachineIPTag
type VirtualMachineIdentity
    func (vmi VirtualMachineIdentity) MarshalJSON() ([]byte, error)
type VirtualMachineIdentityUserAssignedIdentitiesValue
    func (vmiAiv VirtualMachineIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)
type VirtualMachineImage
    func (vmi VirtualMachineImage) MarshalJSON() ([]byte, error)
    func (vmi *VirtualMachineImage) UnmarshalJSON(body []byte) error
type VirtualMachineImageFeature
type VirtualMachineImageProperties
type VirtualMachineImageResource
    func (vmir VirtualMachineImageResource) MarshalJSON() ([]byte, error)
type VirtualMachineImagesClient
    func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient
    func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient
    func (client VirtualMachineImagesClient) Get(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)
    func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (*http.Request, error)
    func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)
    func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesClient) List(ctx context.Context, location string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, location string, publisherName string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)
    func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (*http.Request, error)
    func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, location string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesClient) ListSkus(ctx context.Context, location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, location string, publisherName string, offer string) (*http.Request, error)
    func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error)
type VirtualMachineImagesEdgeZoneClient
    func NewVirtualMachineImagesEdgeZoneClient(subscriptionID string) VirtualMachineImagesEdgeZoneClient
    func NewVirtualMachineImagesEdgeZoneClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesEdgeZoneClient
    func (client VirtualMachineImagesEdgeZoneClient) Get(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)
    func (client VirtualMachineImagesEdgeZoneClient) GetPreparer(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, version string) (*http.Request, error)
    func (client VirtualMachineImagesEdgeZoneClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)
    func (client VirtualMachineImagesEdgeZoneClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesEdgeZoneClient) List(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListOffers(ctx context.Context, location string, edgeZone string, publisherName string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListOffersPreparer(ctx context.Context, location string, edgeZone string, publisherName string) (*http.Request, error)
    func (client VirtualMachineImagesEdgeZoneClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListOffersSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesEdgeZoneClient) ListPreparer(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (*http.Request, error)
    func (client VirtualMachineImagesEdgeZoneClient) ListPublishers(ctx context.Context, location string, edgeZone string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListPublishersPreparer(ctx context.Context, location string, edgeZone string) (*http.Request, error)
    func (client VirtualMachineImagesEdgeZoneClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListPublishersSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesEdgeZoneClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineImagesEdgeZoneClient) ListSkus(ctx context.Context, location string, edgeZone string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListSkusPreparer(ctx context.Context, location string, edgeZone string, publisherName string, offer string) (*http.Request, error)
    func (client VirtualMachineImagesEdgeZoneClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)
    func (client VirtualMachineImagesEdgeZoneClient) ListSkusSender(req *http.Request) (*http.Response, error)
type VirtualMachineInstallPatchesParameters
type VirtualMachineInstallPatchesResult
    func (vmipr VirtualMachineInstallPatchesResult) MarshalJSON() ([]byte, error)
type VirtualMachineInstanceView
    func (vmiv VirtualMachineInstanceView) MarshalJSON() ([]byte, error)
type VirtualMachineListResult
    func (vmlr VirtualMachineListResult) IsEmpty() bool
type VirtualMachineListResultIterator
    func NewVirtualMachineListResultIterator(page VirtualMachineListResultPage) VirtualMachineListResultIterator
    func (iter *VirtualMachineListResultIterator) Next() error
    func (iter *VirtualMachineListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineListResultIterator) NotDone() bool
    func (iter VirtualMachineListResultIterator) Response() VirtualMachineListResult
    func (iter VirtualMachineListResultIterator) Value() VirtualMachine
type VirtualMachineListResultPage
    func NewVirtualMachineListResultPage(cur VirtualMachineListResult, getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage
    func (page *VirtualMachineListResultPage) Next() error
    func (page *VirtualMachineListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineListResultPage) NotDone() bool
    func (page VirtualMachineListResultPage) Response() VirtualMachineListResult
    func (page VirtualMachineListResultPage) Values() []VirtualMachine
type VirtualMachineNetworkInterfaceConfiguration
    func (vmnic VirtualMachineNetworkInterfaceConfiguration) MarshalJSON() ([]byte, error)
    func (vmnic *VirtualMachineNetworkInterfaceConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineNetworkInterfaceConfigurationProperties
type VirtualMachineNetworkInterfaceDNSSettingsConfiguration
type VirtualMachineNetworkInterfaceIPConfiguration
    func (vmniic VirtualMachineNetworkInterfaceIPConfiguration) MarshalJSON() ([]byte, error)
    func (vmniic *VirtualMachineNetworkInterfaceIPConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineNetworkInterfaceIPConfigurationProperties
type VirtualMachinePatchStatus
    func (vmps VirtualMachinePatchStatus) MarshalJSON() ([]byte, error)
type VirtualMachinePriorityTypes
    func PossibleVirtualMachinePriorityTypesValues() []VirtualMachinePriorityTypes
type VirtualMachineProperties
    func (vmp VirtualMachineProperties) MarshalJSON() ([]byte, error)
type VirtualMachinePublicIPAddressConfiguration
    func (vmpiac VirtualMachinePublicIPAddressConfiguration) MarshalJSON() ([]byte, error)
    func (vmpiac *VirtualMachinePublicIPAddressConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachinePublicIPAddressConfigurationProperties
type VirtualMachinePublicIPAddressDNSSettingsConfiguration
type VirtualMachineReimageParameters
type VirtualMachineRunCommand
    func (vmrc VirtualMachineRunCommand) MarshalJSON() ([]byte, error)
    func (vmrc *VirtualMachineRunCommand) UnmarshalJSON(body []byte) error
type VirtualMachineRunCommandInstanceView
type VirtualMachineRunCommandProperties
    func (vmrcp VirtualMachineRunCommandProperties) MarshalJSON() ([]byte, error)
type VirtualMachineRunCommandScriptSource
type VirtualMachineRunCommandUpdate
    func (vmrcu VirtualMachineRunCommandUpdate) MarshalJSON() ([]byte, error)
    func (vmrcu *VirtualMachineRunCommandUpdate) UnmarshalJSON(body []byte) error
type VirtualMachineRunCommandsClient
    func NewVirtualMachineRunCommandsClient(subscriptionID string) VirtualMachineRunCommandsClient
    func NewVirtualMachineRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineRunCommandsClient
    func (client VirtualMachineRunCommandsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommand) (result VirtualMachineRunCommandsCreateOrUpdateFuture, err error)
    func (client VirtualMachineRunCommandsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommand) (*http.Request, error)
    func (client VirtualMachineRunCommandsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineRunCommandsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineRunCommandsCreateOrUpdateFuture, err error)
    func (client VirtualMachineRunCommandsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, runCommandName string) (result VirtualMachineRunCommandsDeleteFuture, err error)
    func (client VirtualMachineRunCommandsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string) (*http.Request, error)
    func (client VirtualMachineRunCommandsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineRunCommandsClient) DeleteSender(req *http.Request) (future VirtualMachineRunCommandsDeleteFuture, err error)
    func (client VirtualMachineRunCommandsClient) Get(ctx context.Context, location string, commandID string) (result RunCommandDocument, err error)
    func (client VirtualMachineRunCommandsClient) GetByVirtualMachine(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, expand string) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineRunCommandsClient) GetByVirtualMachinePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, expand string) (*http.Request, error)
    func (client VirtualMachineRunCommandsClient) GetByVirtualMachineResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineRunCommandsClient) GetByVirtualMachineSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, location string, commandID string) (*http.Request, error)
    func (client VirtualMachineRunCommandsClient) GetResponder(resp *http.Response) (result RunCommandDocument, err error)
    func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineRunCommandsClient) List(ctx context.Context, location string) (result RunCommandListResultPage, err error)
    func (client VirtualMachineRunCommandsClient) ListByVirtualMachine(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineRunCommandsListResultPage, err error)
    func (client VirtualMachineRunCommandsClient) ListByVirtualMachineComplete(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineRunCommandsListResultIterator, err error)
    func (client VirtualMachineRunCommandsClient) ListByVirtualMachinePreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)
    func (client VirtualMachineRunCommandsClient) ListByVirtualMachineResponder(resp *http.Response) (result VirtualMachineRunCommandsListResult, err error)
    func (client VirtualMachineRunCommandsClient) ListByVirtualMachineSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineRunCommandsClient) ListComplete(ctx context.Context, location string) (result RunCommandListResultIterator, err error)
    func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client VirtualMachineRunCommandsClient) ListResponder(resp *http.Response) (result RunCommandListResult, err error)
    func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineRunCommandsClient) Update(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (result VirtualMachineRunCommandsUpdateFuture, err error)
    func (client VirtualMachineRunCommandsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (*http.Request, error)
    func (client VirtualMachineRunCommandsClient) UpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineRunCommandsClient) UpdateSender(req *http.Request) (future VirtualMachineRunCommandsUpdateFuture, err error)
type VirtualMachineRunCommandsCreateOrUpdateFuture
    func (future *VirtualMachineRunCommandsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineRunCommandsDeleteFuture
    func (future *VirtualMachineRunCommandsDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachineRunCommandsListResult
    func (vmrclr VirtualMachineRunCommandsListResult) IsEmpty() bool
type VirtualMachineRunCommandsListResultIterator
    func NewVirtualMachineRunCommandsListResultIterator(page VirtualMachineRunCommandsListResultPage) VirtualMachineRunCommandsListResultIterator
    func (iter *VirtualMachineRunCommandsListResultIterator) Next() error
    func (iter *VirtualMachineRunCommandsListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineRunCommandsListResultIterator) NotDone() bool
    func (iter VirtualMachineRunCommandsListResultIterator) Response() VirtualMachineRunCommandsListResult
    func (iter VirtualMachineRunCommandsListResultIterator) Value() VirtualMachineRunCommand
type VirtualMachineRunCommandsListResultPage
    func NewVirtualMachineRunCommandsListResultPage(cur VirtualMachineRunCommandsListResult, getNextPage func(context.Context, VirtualMachineRunCommandsListResult) (VirtualMachineRunCommandsListResult, error)) VirtualMachineRunCommandsListResultPage
    func (page *VirtualMachineRunCommandsListResultPage) Next() error
    func (page *VirtualMachineRunCommandsListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineRunCommandsListResultPage) NotDone() bool
    func (page VirtualMachineRunCommandsListResultPage) Response() VirtualMachineRunCommandsListResult
    func (page VirtualMachineRunCommandsListResultPage) Values() []VirtualMachineRunCommand
type VirtualMachineRunCommandsUpdateFuture
    func (future *VirtualMachineRunCommandsUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSet
    func (vmss VirtualMachineScaleSet) MarshalJSON() ([]byte, error)
    func (vmss *VirtualMachineScaleSet) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetDataDisk
type VirtualMachineScaleSetExtension
    func (vmsse VirtualMachineScaleSetExtension) MarshalJSON() ([]byte, error)
    func (vmsse *VirtualMachineScaleSetExtension) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetExtensionListResult
    func (vmsselr VirtualMachineScaleSetExtensionListResult) IsEmpty() bool
type VirtualMachineScaleSetExtensionListResultIterator
    func NewVirtualMachineScaleSetExtensionListResultIterator(page VirtualMachineScaleSetExtensionListResultPage) VirtualMachineScaleSetExtensionListResultIterator
    func (iter *VirtualMachineScaleSetExtensionListResultIterator) Next() error
    func (iter *VirtualMachineScaleSetExtensionListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineScaleSetExtensionListResultIterator) NotDone() bool
    func (iter VirtualMachineScaleSetExtensionListResultIterator) Response() VirtualMachineScaleSetExtensionListResult
    func (iter VirtualMachineScaleSetExtensionListResultIterator) Value() VirtualMachineScaleSetExtension
type VirtualMachineScaleSetExtensionListResultPage
    func NewVirtualMachineScaleSetExtensionListResultPage(cur VirtualMachineScaleSetExtensionListResult, getNextPage func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)) VirtualMachineScaleSetExtensionListResultPage
    func (page *VirtualMachineScaleSetExtensionListResultPage) Next() error
    func (page *VirtualMachineScaleSetExtensionListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineScaleSetExtensionListResultPage) NotDone() bool
    func (page VirtualMachineScaleSetExtensionListResultPage) Response() VirtualMachineScaleSetExtensionListResult
    func (page VirtualMachineScaleSetExtensionListResultPage) Values() []VirtualMachineScaleSetExtension
type VirtualMachineScaleSetExtensionProfile
type VirtualMachineScaleSetExtensionProperties
    func (vmssep VirtualMachineScaleSetExtensionProperties) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetExtensionUpdate
    func (vmsseu VirtualMachineScaleSetExtensionUpdate) MarshalJSON() ([]byte, error)
    func (vmsseu *VirtualMachineScaleSetExtensionUpdate) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetExtensionsClient
    func NewVirtualMachineScaleSetExtensionsClient(subscriptionID string) VirtualMachineScaleSetExtensionsClient
    func NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetExtensionsClient
    func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (result VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (*http.Request, error)
    func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
    func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (result VirtualMachineScaleSetExtensionsDeleteFuture, err error)
    func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (*http.Request, error)
    func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error)
    func (client VirtualMachineScaleSetExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result VirtualMachineScaleSetExtension, err error)
    func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (*http.Request, error)
    func (client VirtualMachineScaleSetExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
    func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetExtensionsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultPage, err error)
    func (client VirtualMachineScaleSetExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultIterator, err error)
    func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetExtensionListResult, err error)
    func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtensionUpdate) (result VirtualMachineScaleSetExtensionsUpdateFuture, err error)
    func (client VirtualMachineScaleSetExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtensionUpdate) (*http.Request, error)
    func (client VirtualMachineScaleSetExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)
    func (client VirtualMachineScaleSetExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsUpdateFuture, err error)
type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture
    func (future *VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetExtensionsDeleteFuture
    func (future *VirtualMachineScaleSetExtensionsDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetExtensionsUpdateFuture
    func (future *VirtualMachineScaleSetExtensionsUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetHardwareProfile
type VirtualMachineScaleSetIPConfiguration
    func (vmssic VirtualMachineScaleSetIPConfiguration) MarshalJSON() ([]byte, error)
    func (vmssic *VirtualMachineScaleSetIPConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetIPConfigurationProperties
type VirtualMachineScaleSetIPTag
type VirtualMachineScaleSetIdentity
    func (vmssi VirtualMachineScaleSetIdentity) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue
    func (vmssiAiv VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetInstanceView
    func (vmssiv VirtualMachineScaleSetInstanceView) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetInstanceViewStatusesSummary
    func (vmssivss VirtualMachineScaleSetInstanceViewStatusesSummary) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetListOSUpgradeHistory
    func (vmsslouh VirtualMachineScaleSetListOSUpgradeHistory) IsEmpty() bool
type VirtualMachineScaleSetListOSUpgradeHistoryIterator
    func NewVirtualMachineScaleSetListOSUpgradeHistoryIterator(page VirtualMachineScaleSetListOSUpgradeHistoryPage) VirtualMachineScaleSetListOSUpgradeHistoryIterator
    func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) Next() error
    func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) NotDone() bool
    func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Response() VirtualMachineScaleSetListOSUpgradeHistory
    func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Value() UpgradeOperationHistoricalStatusInfo
type VirtualMachineScaleSetListOSUpgradeHistoryPage
    func NewVirtualMachineScaleSetListOSUpgradeHistoryPage(cur VirtualMachineScaleSetListOSUpgradeHistory, getNextPage func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error)) VirtualMachineScaleSetListOSUpgradeHistoryPage
    func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) Next() error
    func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) NotDone() bool
    func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Response() VirtualMachineScaleSetListOSUpgradeHistory
    func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Values() []UpgradeOperationHistoricalStatusInfo
type VirtualMachineScaleSetListResult
    func (vmsslr VirtualMachineScaleSetListResult) IsEmpty() bool
type VirtualMachineScaleSetListResultIterator
    func NewVirtualMachineScaleSetListResultIterator(page VirtualMachineScaleSetListResultPage) VirtualMachineScaleSetListResultIterator
    func (iter *VirtualMachineScaleSetListResultIterator) Next() error
    func (iter *VirtualMachineScaleSetListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineScaleSetListResultIterator) NotDone() bool
    func (iter VirtualMachineScaleSetListResultIterator) Response() VirtualMachineScaleSetListResult
    func (iter VirtualMachineScaleSetListResultIterator) Value() VirtualMachineScaleSet
type VirtualMachineScaleSetListResultPage
    func NewVirtualMachineScaleSetListResultPage(cur VirtualMachineScaleSetListResult, getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage
    func (page *VirtualMachineScaleSetListResultPage) Next() error
    func (page *VirtualMachineScaleSetListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineScaleSetListResultPage) NotDone() bool
    func (page VirtualMachineScaleSetListResultPage) Response() VirtualMachineScaleSetListResult
    func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleSet
type VirtualMachineScaleSetListSkusResult
    func (vmsslsr VirtualMachineScaleSetListSkusResult) IsEmpty() bool
type VirtualMachineScaleSetListSkusResultIterator
    func NewVirtualMachineScaleSetListSkusResultIterator(page VirtualMachineScaleSetListSkusResultPage) VirtualMachineScaleSetListSkusResultIterator
    func (iter *VirtualMachineScaleSetListSkusResultIterator) Next() error
    func (iter *VirtualMachineScaleSetListSkusResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineScaleSetListSkusResultIterator) NotDone() bool
    func (iter VirtualMachineScaleSetListSkusResultIterator) Response() VirtualMachineScaleSetListSkusResult
    func (iter VirtualMachineScaleSetListSkusResultIterator) Value() VirtualMachineScaleSetSku
type VirtualMachineScaleSetListSkusResultPage
    func NewVirtualMachineScaleSetListSkusResultPage(cur VirtualMachineScaleSetListSkusResult, getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage
    func (page *VirtualMachineScaleSetListSkusResultPage) Next() error
    func (page *VirtualMachineScaleSetListSkusResultPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineScaleSetListSkusResultPage) NotDone() bool
    func (page VirtualMachineScaleSetListSkusResultPage) Response() VirtualMachineScaleSetListSkusResult
    func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineScaleSetSku
type VirtualMachineScaleSetListWithLinkResult
    func (vmsslwlr VirtualMachineScaleSetListWithLinkResult) IsEmpty() bool
type VirtualMachineScaleSetListWithLinkResultIterator
    func NewVirtualMachineScaleSetListWithLinkResultIterator(page VirtualMachineScaleSetListWithLinkResultPage) VirtualMachineScaleSetListWithLinkResultIterator
    func (iter *VirtualMachineScaleSetListWithLinkResultIterator) Next() error
    func (iter *VirtualMachineScaleSetListWithLinkResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineScaleSetListWithLinkResultIterator) NotDone() bool
    func (iter VirtualMachineScaleSetListWithLinkResultIterator) Response() VirtualMachineScaleSetListWithLinkResult
    func (iter VirtualMachineScaleSetListWithLinkResultIterator) Value() VirtualMachineScaleSet
type VirtualMachineScaleSetListWithLinkResultPage
    func NewVirtualMachineScaleSetListWithLinkResultPage(cur VirtualMachineScaleSetListWithLinkResult, getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage
    func (page *VirtualMachineScaleSetListWithLinkResultPage) Next() error
    func (page *VirtualMachineScaleSetListWithLinkResultPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineScaleSetListWithLinkResultPage) NotDone() bool
    func (page VirtualMachineScaleSetListWithLinkResultPage) Response() VirtualMachineScaleSetListWithLinkResult
    func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachineScaleSet
type VirtualMachineScaleSetManagedDiskParameters
type VirtualMachineScaleSetNetworkConfiguration
    func (vmssnc VirtualMachineScaleSetNetworkConfiguration) MarshalJSON() ([]byte, error)
    func (vmssnc *VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetNetworkConfigurationDNSSettings
type VirtualMachineScaleSetNetworkConfigurationProperties
type VirtualMachineScaleSetNetworkProfile
type VirtualMachineScaleSetOSDisk
type VirtualMachineScaleSetOSProfile
type VirtualMachineScaleSetProperties
    func (vmssp VirtualMachineScaleSetProperties) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetPublicIPAddressConfiguration
    func (vmsspiac VirtualMachineScaleSetPublicIPAddressConfiguration) MarshalJSON() ([]byte, error)
    func (vmsspiac *VirtualMachineScaleSetPublicIPAddressConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties
type VirtualMachineScaleSetReimageParameters
type VirtualMachineScaleSetRollingUpgradesCancelFuture
    func (future *VirtualMachineScaleSetRollingUpgradesCancelFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetRollingUpgradesClient
    func NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient
    func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient
    func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder(resp *http.Response) (result RollingUpgradeStatusInfo, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)
type VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture
    func (future *VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture
    func (future *VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetScaleInRules
    func PossibleVirtualMachineScaleSetScaleInRulesValues() []VirtualMachineScaleSetScaleInRules
type VirtualMachineScaleSetSku
    func (vmsss VirtualMachineScaleSetSku) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetSkuCapacity
    func (vmsssc VirtualMachineScaleSetSkuCapacity) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetSkuScaleType
    func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType
type VirtualMachineScaleSetStorageProfile
type VirtualMachineScaleSetUpdate
    func (vmssu VirtualMachineScaleSetUpdate) MarshalJSON() ([]byte, error)
    func (vmssu *VirtualMachineScaleSetUpdate) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetUpdateIPConfiguration
    func (vmssuic VirtualMachineScaleSetUpdateIPConfiguration) MarshalJSON() ([]byte, error)
    func (vmssuic *VirtualMachineScaleSetUpdateIPConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetUpdateIPConfigurationProperties
type VirtualMachineScaleSetUpdateNetworkConfiguration
    func (vmssunc VirtualMachineScaleSetUpdateNetworkConfiguration) MarshalJSON() ([]byte, error)
    func (vmssunc *VirtualMachineScaleSetUpdateNetworkConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetUpdateNetworkConfigurationProperties
type VirtualMachineScaleSetUpdateNetworkProfile
type VirtualMachineScaleSetUpdateOSDisk
type VirtualMachineScaleSetUpdateOSProfile
type VirtualMachineScaleSetUpdateProperties
type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
    func (vmssupiac VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) MarshalJSON() ([]byte, error)
    func (vmssupiac *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties
type VirtualMachineScaleSetUpdateStorageProfile
type VirtualMachineScaleSetUpdateVMProfile
type VirtualMachineScaleSetVM
    func (vmssv VirtualMachineScaleSetVM) MarshalJSON() ([]byte, error)
    func (vmssv *VirtualMachineScaleSetVM) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMExtension
    func (vmssve VirtualMachineScaleSetVMExtension) MarshalJSON() ([]byte, error)
    func (vmssve *VirtualMachineScaleSetVMExtension) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMExtensionUpdate
    func (vmssveu VirtualMachineScaleSetVMExtensionUpdate) MarshalJSON() ([]byte, error)
    func (vmssveu *VirtualMachineScaleSetVMExtensionUpdate) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMExtensionsClient
    func NewVirtualMachineScaleSetVMExtensionsClient(subscriptionID string) VirtualMachineScaleSetVMExtensionsClient
    func NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMExtensionsClient
    func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtension) (result VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtension) (*http.Request, error)
    func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string) (result VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, expand string) (result VirtualMachineScaleSetVMExtension, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, expand string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMExtensionsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (result VirtualMachineScaleSetVMExtensionsListResult, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtensionsListResult, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtensionUpdate) (result VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtensionUpdate) (*http.Request, error)
    func (client VirtualMachineScaleSetVMExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)
    func (client VirtualMachineScaleSetVMExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)
type VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture
    func (future *VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMExtensionsDeleteFuture
    func (future *VirtualMachineScaleSetVMExtensionsDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMExtensionsListResult
type VirtualMachineScaleSetVMExtensionsSummary
    func (vmssves VirtualMachineScaleSetVMExtensionsSummary) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetVMExtensionsUpdateFuture
    func (future *VirtualMachineScaleSetVMExtensionsUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMInstanceIDs
type VirtualMachineScaleSetVMInstanceRequiredIDs
type VirtualMachineScaleSetVMInstanceView
    func (vmssviv VirtualMachineScaleSetVMInstanceView) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetVMListResult
    func (vmssvlr VirtualMachineScaleSetVMListResult) IsEmpty() bool
type VirtualMachineScaleSetVMListResultIterator
    func NewVirtualMachineScaleSetVMListResultIterator(page VirtualMachineScaleSetVMListResultPage) VirtualMachineScaleSetVMListResultIterator
    func (iter *VirtualMachineScaleSetVMListResultIterator) Next() error
    func (iter *VirtualMachineScaleSetVMListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter VirtualMachineScaleSetVMListResultIterator) NotDone() bool
    func (iter VirtualMachineScaleSetVMListResultIterator) Response() VirtualMachineScaleSetVMListResult
    func (iter VirtualMachineScaleSetVMListResultIterator) Value() VirtualMachineScaleSetVM
type VirtualMachineScaleSetVMListResultPage
    func NewVirtualMachineScaleSetVMListResultPage(cur VirtualMachineScaleSetVMListResult, getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage
    func (page *VirtualMachineScaleSetVMListResultPage) Next() error
    func (page *VirtualMachineScaleSetVMListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page VirtualMachineScaleSetVMListResultPage) NotDone() bool
    func (page VirtualMachineScaleSetVMListResultPage) Response() VirtualMachineScaleSetVMListResult
    func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScaleSetVM
type VirtualMachineScaleSetVMNetworkProfileConfiguration
type VirtualMachineScaleSetVMProfile
type VirtualMachineScaleSetVMProperties
    func (vmssvp VirtualMachineScaleSetVMProperties) MarshalJSON() ([]byte, error)
type VirtualMachineScaleSetVMProtectionPolicy
type VirtualMachineScaleSetVMReimageParameters
type VirtualMachineScaleSetVMRunCommandsClient
    func NewVirtualMachineScaleSetVMRunCommandsClient(subscriptionID string) VirtualMachineScaleSetVMRunCommandsClient
    func NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMRunCommandsClient
    func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommand) (result VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommand) (*http.Request, error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string) (result VirtualMachineScaleSetVMRunCommandsDeleteFuture, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMRunCommandsDeleteFuture, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, expand string) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, expand string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) GetResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (result VirtualMachineRunCommandsListResultPage, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) ListComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (result VirtualMachineRunCommandsListResultIterator, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) ListResponder(resp *http.Response) (result VirtualMachineRunCommandsListResult, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (result VirtualMachineScaleSetVMRunCommandsUpdateFuture, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (*http.Request, error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) UpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)
    func (client VirtualMachineScaleSetVMRunCommandsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMRunCommandsUpdateFuture, err error)
type VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture
    func (future *VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMRunCommandsDeleteFuture
    func (future *VirtualMachineScaleSetVMRunCommandsDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMRunCommandsUpdateFuture
    func (future *VirtualMachineScaleSetVMRunCommandsUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsClient
    func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient
    func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient
    func (client VirtualMachineScaleSetVMsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeallocateFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, forceDeletion *bool) (result VirtualMachineScaleSetVMsDeleteFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, forceDeletion *bool) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand InstanceViewTypes) (result VirtualMachineScaleSetVM, err error)
    func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error)
    func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error)
    func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand InstanceViewTypes) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)
    func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMsClient) List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultPage, err error)
    func (client VirtualMachineScaleSetVMsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultIterator, err error)
    func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error)
    func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (result VirtualMachineScaleSetVMsPowerOffFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRedeployFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (result VirtualMachineScaleSetVMsReimageFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsReimageAllFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRestartFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, sasURIExpirationTimeInMinutes *int32) (result RetrieveBootDiagnosticsDataResult, err error)
    func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, sasURIExpirationTimeInMinutes *int32) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)
    func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMsClient) RunCommand(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters RunCommandInput) (result VirtualMachineScaleSetVMsRunCommandFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters RunCommandInput) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)
    func (client VirtualMachineScaleSetVMsClient) RunCommandSender(req *http.Request) (future VirtualMachineScaleSetVMsRunCommandFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetVMsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsStartFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (result VirtualMachineScaleSetVMsUpdateFuture, err error)
    func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (*http.Request, error)
    func (client VirtualMachineScaleSetVMsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)
    func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error)
type VirtualMachineScaleSetVMsDeallocateFuture
    func (future *VirtualMachineScaleSetVMsDeallocateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsDeleteFuture
    func (future *VirtualMachineScaleSetVMsDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsPerformMaintenanceFuture
    func (future *VirtualMachineScaleSetVMsPerformMaintenanceFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsPowerOffFuture
    func (future *VirtualMachineScaleSetVMsPowerOffFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsRedeployFuture
    func (future *VirtualMachineScaleSetVMsRedeployFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsReimageAllFuture
    func (future *VirtualMachineScaleSetVMsReimageAllFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsReimageFuture
    func (future *VirtualMachineScaleSetVMsReimageFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsRestartFuture
    func (future *VirtualMachineScaleSetVMsRestartFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsRunCommandFuture
    func (future *VirtualMachineScaleSetVMsRunCommandFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsStartFuture
    func (future *VirtualMachineScaleSetVMsStartFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetVMsUpdateFuture
    func (future *VirtualMachineScaleSetVMsUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsClient
    func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient
    func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient
    func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (result VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
    func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error)
    func (client VirtualMachineScaleSetsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsDeallocateFuture, err error)
    func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error)
    func (client VirtualMachineScaleSetsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, forceDeletion *bool) (result VirtualMachineScaleSetsDeleteFuture, err error)
    func (client VirtualMachineScaleSetsClient) DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, forceDeletion *bool) (result VirtualMachineScaleSetsDeleteInstancesFuture, err error)
    func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, forceDeletion *bool) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error)
    func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, forceDeletion *bool) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error)
    func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32, zone string, placementGroupID string) (result RecoveryWalkResponse, err error)
    func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32, zone string, placementGroupID string) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder(resp *http.Response) (result RecoveryWalkResponse, err error)
    func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, expand ExpandTypesForGetVMScaleSets) (result VirtualMachineScaleSet, err error)
    func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)
    func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error)
    func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistory(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryPage, err error)
    func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryIterator, err error)
    func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryResponder(resp *http.Response) (result VirtualMachineScaleSetListOSUpgradeHistory, err error)
    func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, expand ExpandTypesForGetVMScaleSets) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
    func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultPage, err error)
    func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultPage, err error)
    func (client VirtualMachineScaleSetsClient) ListAllComplete(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultIterator, err error)
    func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error)
    func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) ListByLocation(ctx context.Context, location string) (result VirtualMachineScaleSetListResultPage, err error)
    func (client VirtualMachineScaleSetsClient) ListByLocationComplete(ctx context.Context, location string) (result VirtualMachineScaleSetListResultIterator, err error)
    func (client VirtualMachineScaleSetsClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ListByLocationResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)
    func (client VirtualMachineScaleSetsClient) ListByLocationSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultIterator, err error)
    func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)
    func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) ListSkus(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultPage, err error)
    func (client VirtualMachineScaleSetsClient) ListSkusComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultIterator, err error)
    func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error)
    func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachineScaleSetsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsPerformMaintenanceFuture, err error)
    func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error)
    func (client VirtualMachineScaleSetsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (result VirtualMachineScaleSetsPowerOffFuture, err error)
    func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error)
    func (client VirtualMachineScaleSetsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRedeployFuture, err error)
    func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error)
    func (client VirtualMachineScaleSetsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (result VirtualMachineScaleSetsReimageFuture, err error)
    func (client VirtualMachineScaleSetsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsReimageAllFuture, err error)
    func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error)
    func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error)
    func (client VirtualMachineScaleSetsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRestartFuture, err error)
    func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error)
    func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceState(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters OrchestrationServiceStateInput) (result VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)
    func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters OrchestrationServiceStateInput) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateSender(req *http.Request) (future VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)
    func (client VirtualMachineScaleSetsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsStartFuture, err error)
    func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error)
    func (client VirtualMachineScaleSetsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (result VirtualMachineScaleSetsUpdateFuture, err error)
    func (client VirtualMachineScaleSetsClient) UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsUpdateInstancesFuture, err error)
    func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error)
    func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (*http.Request, error)
    func (client VirtualMachineScaleSetsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)
    func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error)
type VirtualMachineScaleSetsCreateOrUpdateFuture
    func (future *VirtualMachineScaleSetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsDeallocateFuture
    func (future *VirtualMachineScaleSetsDeallocateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsDeleteFuture
    func (future *VirtualMachineScaleSetsDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsDeleteInstancesFuture
    func (future *VirtualMachineScaleSetsDeleteInstancesFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsPerformMaintenanceFuture
    func (future *VirtualMachineScaleSetsPerformMaintenanceFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsPowerOffFuture
    func (future *VirtualMachineScaleSetsPowerOffFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsRedeployFuture
    func (future *VirtualMachineScaleSetsRedeployFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsReimageAllFuture
    func (future *VirtualMachineScaleSetsReimageAllFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsReimageFuture
    func (future *VirtualMachineScaleSetsReimageFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsRestartFuture
    func (future *VirtualMachineScaleSetsRestartFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsSetOrchestrationServiceStateFuture
    func (future *VirtualMachineScaleSetsSetOrchestrationServiceStateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsStartFuture
    func (future *VirtualMachineScaleSetsStartFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsUpdateFuture
    func (future *VirtualMachineScaleSetsUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachineScaleSetsUpdateInstancesFuture
    func (future *VirtualMachineScaleSetsUpdateInstancesFuture) UnmarshalJSON(body []byte) error
type VirtualMachineSize
type VirtualMachineSizeListResult
type VirtualMachineSizeTypes
    func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes
type VirtualMachineSizesClient
    func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient
    func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient
    func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error)
    func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
    func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error)
type VirtualMachineSoftwarePatchProperties
    func (vmspp VirtualMachineSoftwarePatchProperties) MarshalJSON() ([]byte, error)
type VirtualMachineStatusCodeCount
    func (vmscc VirtualMachineStatusCodeCount) MarshalJSON() ([]byte, error)
type VirtualMachineUpdate
    func (vmu VirtualMachineUpdate) MarshalJSON() ([]byte, error)
    func (vmu *VirtualMachineUpdate) UnmarshalJSON(body []byte) error
type VirtualMachinesAssessPatchesFuture
    func (future *VirtualMachinesAssessPatchesFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesCaptureFuture
    func (future *VirtualMachinesCaptureFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesClient
    func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient
    func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient
    func (client VirtualMachinesClient) AssessPatches(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesAssessPatchesFuture, err error)
    func (client VirtualMachinesClient) AssessPatchesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) AssessPatchesResponder(resp *http.Response) (result VirtualMachineAssessPatchesResult, err error)
    func (client VirtualMachinesClient) AssessPatchesSender(req *http.Request) (future VirtualMachinesAssessPatchesFuture, err error)
    func (client VirtualMachinesClient) Capture(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (result VirtualMachinesCaptureFuture, err error)
    func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (*http.Request, error)
    func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)
    func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error)
    func (client VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesConvertToManagedDisksFuture, err error)
    func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error)
    func (client VirtualMachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (result VirtualMachinesCreateOrUpdateFuture, err error)
    func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (*http.Request, error)
    func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)
    func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error)
    func (client VirtualMachinesClient) Deallocate(ctx context.Context, resourceGroupName string, VMName string, hibernate *bool) (result VirtualMachinesDeallocateFuture, err error)
    func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMName string, hibernate *bool) (*http.Request, error)
    func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error)
    func (client VirtualMachinesClient) Delete(ctx context.Context, resourceGroupName string, VMName string, forceDeletion *bool) (result VirtualMachinesDeleteFuture, err error)
    func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, forceDeletion *bool) (*http.Request, error)
    func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error)
    func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)
    func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) Get(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (result VirtualMachine, err error)
    func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (*http.Request, error)
    func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)
    func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) InstallPatches(ctx context.Context, resourceGroupName string, VMName string, installPatchesInput VirtualMachineInstallPatchesParameters) (result VirtualMachinesInstallPatchesFuture, err error)
    func (client VirtualMachinesClient) InstallPatchesPreparer(ctx context.Context, resourceGroupName string, VMName string, installPatchesInput VirtualMachineInstallPatchesParameters) (*http.Request, error)
    func (client VirtualMachinesClient) InstallPatchesResponder(resp *http.Response) (result VirtualMachineInstallPatchesResult, err error)
    func (client VirtualMachinesClient) InstallPatchesSender(req *http.Request) (future VirtualMachinesInstallPatchesFuture, err error)
    func (client VirtualMachinesClient) InstanceView(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error)
    func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) InstanceViewResponder(resp *http.Response) (result VirtualMachineInstanceView, err error)
    func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) List(ctx context.Context, resourceGroupName string, filter string) (result VirtualMachineListResultPage, err error)
    func (client VirtualMachinesClient) ListAll(ctx context.Context, statusOnly string, filter string) (result VirtualMachineListResultPage, err error)
    func (client VirtualMachinesClient) ListAllComplete(ctx context.Context, statusOnly string, filter string) (result VirtualMachineListResultIterator, err error)
    func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context, statusOnly string, filter string) (*http.Request, error)
    func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error)
    func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)
    func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)
    func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) ListByLocation(ctx context.Context, location string) (result VirtualMachineListResultPage, err error)
    func (client VirtualMachinesClient) ListByLocationComplete(ctx context.Context, location string) (result VirtualMachineListResultIterator, err error)
    func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)
    func (client VirtualMachinesClient) ListByLocationResponder(resp *http.Response) (result VirtualMachineListResult, err error)
    func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) ListComplete(ctx context.Context, resourceGroupName string, filter string) (result VirtualMachineListResultIterator, err error)
    func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)
    func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error)
    func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesPerformMaintenanceFuture, err error)
    func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error)
    func (client VirtualMachinesClient) PowerOff(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (result VirtualMachinesPowerOffFuture, err error)
    func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (*http.Request, error)
    func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error)
    func (client VirtualMachinesClient) Reapply(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesReapplyFuture, err error)
    func (client VirtualMachinesClient) ReapplyPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) ReapplyResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) ReapplySender(req *http.Request) (future VirtualMachinesReapplyFuture, err error)
    func (client VirtualMachinesClient) Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRedeployFuture, err error)
    func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error)
    func (client VirtualMachinesClient) Reimage(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (result VirtualMachinesReimageFuture, err error)
    func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (*http.Request, error)
    func (client VirtualMachinesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error)
    func (client VirtualMachinesClient) Restart(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRestartFuture, err error)
    func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error)
    func (client VirtualMachinesClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMName string, sasURIExpirationTimeInMinutes *int32) (result RetrieveBootDiagnosticsDataResult, err error)
    func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMName string, sasURIExpirationTimeInMinutes *int32) (*http.Request, error)
    func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)
    func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) RunCommand(ctx context.Context, resourceGroupName string, VMName string, parameters RunCommandInput) (result VirtualMachinesRunCommandFuture, err error)
    func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, VMName string, parameters RunCommandInput) (*http.Request, error)
    func (client VirtualMachinesClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)
    func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error)
    func (client VirtualMachinesClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)
    func (client VirtualMachinesClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)
    func (client VirtualMachinesClient) Start(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesStartFuture, err error)
    func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)
    func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)
    func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error)
    func (client VirtualMachinesClient) Update(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (result VirtualMachinesUpdateFuture, err error)
    func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (*http.Request, error)
    func (client VirtualMachinesClient) UpdateResponder(resp *http.Response) (result VirtualMachine, err error)
    func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error)
type VirtualMachinesConvertToManagedDisksFuture
    func (future *VirtualMachinesConvertToManagedDisksFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesCreateOrUpdateFuture
    func (future *VirtualMachinesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesDeallocateFuture
    func (future *VirtualMachinesDeallocateFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesDeleteFuture
    func (future *VirtualMachinesDeleteFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesInstallPatchesFuture
    func (future *VirtualMachinesInstallPatchesFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesPerformMaintenanceFuture
    func (future *VirtualMachinesPerformMaintenanceFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesPowerOffFuture
    func (future *VirtualMachinesPowerOffFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesReapplyFuture
    func (future *VirtualMachinesReapplyFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesRedeployFuture
    func (future *VirtualMachinesRedeployFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesReimageFuture
    func (future *VirtualMachinesReimageFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesRestartFuture
    func (future *VirtualMachinesRestartFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesRunCommandFuture
    func (future *VirtualMachinesRunCommandFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesStartFuture
    func (future *VirtualMachinesStartFuture) UnmarshalJSON(body []byte) error
type VirtualMachinesUpdateFuture
    func (future *VirtualMachinesUpdateFuture) UnmarshalJSON(body []byte) error
type WinRMConfiguration
type WinRMListener
type WindowsConfiguration
type WindowsParameters
type WindowsPatchAssessmentMode
    func PossibleWindowsPatchAssessmentModeValues() []WindowsPatchAssessmentMode
type WindowsVMGuestPatchMode
    func PossibleWindowsVMGuestPatchModeValues() []WindowsVMGuestPatchMode

Package files

availabilitysets.go capacityreservationgroups.go capacityreservations.go client.go cloudserviceoperatingsystems.go cloudserviceroleinstances.go cloudserviceroles.go cloudservices.go cloudservicesupdatedomain.go communitygalleries.go communitygalleryimages.go communitygalleryimageversions.go dedicatedhostgroups.go dedicatedhosts.go diskaccesses.go diskencryptionsets.go diskrestorepoint.go disks.go enums.go galleries.go galleryapplications.go galleryapplicationversions.go galleryimages.go galleryimageversions.go gallerysharingprofile.go images.go loganalytics.go models.go operations.go proximityplacementgroups.go resourceskus.go restorepointcollections.go restorepoints.go sharedgalleries.go sharedgalleryimages.go sharedgalleryimageversions.go snapshots.go sshpublickeys.go usage.go version.go virtualmachineextensionimages.go virtualmachineextensions.go virtualmachineimages.go virtualmachineimagesedgezone.go virtualmachineruncommands.go virtualmachines.go virtualmachinescalesetextensions.go virtualmachinescalesetrollingupgrades.go virtualmachinescalesets.go virtualmachinescalesetvmextensions.go virtualmachinescalesetvmruncommands.go virtualmachinescalesetvms.go virtualmachinesizes.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Compute
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type APIEntityReference

APIEntityReference the API entity reference.

type APIEntityReference struct {
    // ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...
    ID *string `json:"id,omitempty"`
}

type APIError

APIError api error.

type APIError struct {
    // Details - The Api error details
    Details *[]APIErrorBase `json:"details,omitempty"`
    // Innererror - The Api inner error
    Innererror *InnerError `json:"innererror,omitempty"`
    // Code - The error code.
    Code *string `json:"code,omitempty"`
    // Target - The target of the particular error.
    Target *string `json:"target,omitempty"`
    // Message - The error message.
    Message *string `json:"message,omitempty"`
}

type APIErrorBase

APIErrorBase api error base.

type APIErrorBase struct {
    // Code - The error code.
    Code *string `json:"code,omitempty"`
    // Target - The target of the particular error.
    Target *string `json:"target,omitempty"`
    // Message - The error message.
    Message *string `json:"message,omitempty"`
}

type AccessLevel

AccessLevel enumerates the values for access level.

type AccessLevel string
const (
    // AccessLevelNone ...
    AccessLevelNone AccessLevel = "None"
    // AccessLevelRead ...
    AccessLevelRead AccessLevel = "Read"
    // AccessLevelWrite ...
    AccessLevelWrite AccessLevel = "Write"
)

func PossibleAccessLevelValues

func PossibleAccessLevelValues() []AccessLevel

PossibleAccessLevelValues returns an array of possible values for the AccessLevel const type.

type AccessURI

AccessURI a disk access SAS uri.

type AccessURI struct {
    autorest.Response `json:"-"`
    // AccessSAS - READ-ONLY; A SAS uri for accessing a disk.
    AccessSAS *string `json:"accessSAS,omitempty"`
    // SecurityDataAccessSAS - READ-ONLY; A SAS uri for accessing a VM guest state.
    SecurityDataAccessSAS *string `json:"securityDataAccessSAS,omitempty"`
}

func (AccessURI) MarshalJSON

func (au AccessURI) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccessURI.

type AdditionalCapabilities

AdditionalCapabilities enables or disables a capability on the virtual machine or virtual machine scale set.

type AdditionalCapabilities struct {
    // UltraSSDEnabled - The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.
    UltraSSDEnabled *bool `json:"ultraSSDEnabled,omitempty"`
    // HibernationEnabled - The flag that enables or disables hibernation capability on the VM.
    HibernationEnabled *bool `json:"hibernationEnabled,omitempty"`
}

type AdditionalUnattendContent

AdditionalUnattendContent specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.

type AdditionalUnattendContent struct {
    // PassName - The pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'PassNamesOobeSystem'
    PassName PassNames `json:"passName,omitempty"`
    // ComponentName - The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'ComponentNamesMicrosoftWindowsShellSetup'
    ComponentName ComponentNames `json:"componentName,omitempty"`
    // SettingName - Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. Possible values include: 'SettingNamesAutoLogon', 'SettingNamesFirstLogonCommands'
    SettingName SettingNames `json:"settingName,omitempty"`
    // Content - Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted.
    Content *string `json:"content,omitempty"`
}

type AggregatedReplicationState

AggregatedReplicationState enumerates the values for aggregated replication state.

type AggregatedReplicationState string
const (
    // AggregatedReplicationStateCompleted ...
    AggregatedReplicationStateCompleted AggregatedReplicationState = "Completed"
    // AggregatedReplicationStateFailed ...
    AggregatedReplicationStateFailed AggregatedReplicationState = "Failed"
    // AggregatedReplicationStateInProgress ...
    AggregatedReplicationStateInProgress AggregatedReplicationState = "InProgress"
    // AggregatedReplicationStateUnknown ...
    AggregatedReplicationStateUnknown AggregatedReplicationState = "Unknown"
)

func PossibleAggregatedReplicationStateValues

func PossibleAggregatedReplicationStateValues() []AggregatedReplicationState

PossibleAggregatedReplicationStateValues returns an array of possible values for the AggregatedReplicationState const type.

type ApplicationProfile

ApplicationProfile contains the list of gallery applications that should be made available to the VM/VMSS

type ApplicationProfile struct {
    // GalleryApplications - Specifies the gallery applications that should be made available to the VM/VMSS
    GalleryApplications *[]VMGalleryApplication `json:"galleryApplications,omitempty"`
}

type Architecture

Architecture enumerates the values for architecture.

type Architecture string
const (
    // ArchitectureArm64 ...
    ArchitectureArm64 Architecture = "Arm64"
    // ArchitectureX64 ...
    ArchitectureX64 Architecture = "x64"
)

func PossibleArchitectureValues

func PossibleArchitectureValues() []Architecture

PossibleArchitectureValues returns an array of possible values for the Architecture const type.

type ArchitectureTypes

ArchitectureTypes enumerates the values for architecture types.

type ArchitectureTypes string
const (
    // ArchitectureTypesArm64 ...
    ArchitectureTypesArm64 ArchitectureTypes = "Arm64"
    // ArchitectureTypesX64 ...
    ArchitectureTypesX64 ArchitectureTypes = "x64"
)

func PossibleArchitectureTypesValues

func PossibleArchitectureTypesValues() []ArchitectureTypes

PossibleArchitectureTypesValues returns an array of possible values for the ArchitectureTypes const type.

type AutomaticOSUpgradePolicy

AutomaticOSUpgradePolicy the configuration parameters used for performing automatic OS upgrade.

type AutomaticOSUpgradePolicy struct {
    // EnableAutomaticOSUpgrade - Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. <br><br> If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) is automatically set to false and cannot be set to true.
    EnableAutomaticOSUpgrade *bool `json:"enableAutomaticOSUpgrade,omitempty"`
    // DisableAutomaticRollback - Whether OS image rollback feature should be disabled. Default value is false.
    DisableAutomaticRollback *bool `json:"disableAutomaticRollback,omitempty"`
}

type AutomaticOSUpgradeProperties

AutomaticOSUpgradeProperties describes automatic OS upgrade properties on the image.

type AutomaticOSUpgradeProperties struct {
    // AutomaticOSUpgradeSupported - Specifies whether automatic OS upgrade is supported on the image.
    AutomaticOSUpgradeSupported *bool `json:"automaticOSUpgradeSupported,omitempty"`
}

type AutomaticRepairsPolicy

AutomaticRepairsPolicy specifies the configuration parameters for automatic repairs on the virtual machine scale set.

type AutomaticRepairsPolicy struct {
    // Enabled - Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false.
    Enabled *bool `json:"enabled,omitempty"`
    // GracePeriod - The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M).
    GracePeriod *string `json:"gracePeriod,omitempty"`
    // RepairAction - Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace. Possible values include: 'RepairActionReplace', 'RepairActionRestart', 'RepairActionReimage'
    RepairAction RepairAction `json:"repairAction,omitempty"`
}

type AvailabilitySet

AvailabilitySet specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

type AvailabilitySet struct {
    autorest.Response          `json:"-"`
    *AvailabilitySetProperties `json:"properties,omitempty"`
    // Sku - Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (AvailabilitySet) MarshalJSON

func (as AvailabilitySet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailabilitySet.

func (*AvailabilitySet) UnmarshalJSON

func (as *AvailabilitySet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AvailabilitySet struct.

type AvailabilitySetListResult

AvailabilitySetListResult the List Availability Set operation response.

type AvailabilitySetListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of availability sets
    Value *[]AvailabilitySet `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of AvailabilitySets. Call ListNext() with this URI to fetch the next page of AvailabilitySets.
    NextLink *string `json:"nextLink,omitempty"`
}

func (AvailabilitySetListResult) IsEmpty

func (aslr AvailabilitySetListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailabilitySetListResultIterator

AvailabilitySetListResultIterator provides access to a complete listing of AvailabilitySet values.

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

func NewAvailabilitySetListResultIterator

func NewAvailabilitySetListResultIterator(page AvailabilitySetListResultPage) AvailabilitySetListResultIterator

Creates a new instance of the AvailabilitySetListResultIterator type.

func (*AvailabilitySetListResultIterator) Next

func (iter *AvailabilitySetListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailabilitySetListResultIterator) NextWithContext

func (iter *AvailabilitySetListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AvailabilitySetListResultIterator) NotDone

func (iter AvailabilitySetListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AvailabilitySetListResultIterator) Response

func (iter AvailabilitySetListResultIterator) Response() AvailabilitySetListResult

Response returns the raw server response from the last page request.

func (AvailabilitySetListResultIterator) Value

func (iter AvailabilitySetListResultIterator) Value() AvailabilitySet

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AvailabilitySetListResultPage

AvailabilitySetListResultPage contains a page of AvailabilitySet values.

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

func NewAvailabilitySetListResultPage

func NewAvailabilitySetListResultPage(cur AvailabilitySetListResult, getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage

Creates a new instance of the AvailabilitySetListResultPage type.

func (*AvailabilitySetListResultPage) Next

func (page *AvailabilitySetListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AvailabilitySetListResultPage) NextWithContext

func (page *AvailabilitySetListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AvailabilitySetListResultPage) NotDone

func (page AvailabilitySetListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AvailabilitySetListResultPage) Response

func (page AvailabilitySetListResultPage) Response() AvailabilitySetListResult

Response returns the raw server response from the last page request.

func (AvailabilitySetListResultPage) Values

func (page AvailabilitySetListResultPage) Values() []AvailabilitySet

Values returns the slice of values for the current page or nil if there are no values.

type AvailabilitySetProperties

AvailabilitySetProperties the instance view of a resource.

type AvailabilitySetProperties struct {
    // PlatformUpdateDomainCount - Update Domain count.
    PlatformUpdateDomainCount *int32 `json:"platformUpdateDomainCount,omitempty"`
    // PlatformFaultDomainCount - Fault Domain count.
    PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
    // VirtualMachines - A list of references to all virtual machines in the availability set.
    VirtualMachines *[]SubResource `json:"virtualMachines,omitempty"`
    // ProximityPlacementGroup - Specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
    ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
    // Statuses - READ-ONLY; The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

func (AvailabilitySetProperties) MarshalJSON

func (asp AvailabilitySetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailabilitySetProperties.

type AvailabilitySetSkuTypes

AvailabilitySetSkuTypes enumerates the values for availability set sku types.

type AvailabilitySetSkuTypes string
const (
    // AvailabilitySetSkuTypesAligned ...
    AvailabilitySetSkuTypesAligned AvailabilitySetSkuTypes = "Aligned"
    // AvailabilitySetSkuTypesClassic ...
    AvailabilitySetSkuTypesClassic AvailabilitySetSkuTypes = "Classic"
)

func PossibleAvailabilitySetSkuTypesValues

func PossibleAvailabilitySetSkuTypesValues() []AvailabilitySetSkuTypes

PossibleAvailabilitySetSkuTypesValues returns an array of possible values for the AvailabilitySetSkuTypes const type.

type AvailabilitySetUpdate

AvailabilitySetUpdate specifies information about the availability set that the virtual machine should be assigned to. Only tags may be updated.

type AvailabilitySetUpdate struct {
    *AvailabilitySetProperties `json:"properties,omitempty"`
    // Sku - Sku of the availability set
    Sku *Sku `json:"sku,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (AvailabilitySetUpdate) MarshalJSON

func (asu AvailabilitySetUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailabilitySetUpdate.

func (*AvailabilitySetUpdate) UnmarshalJSON

func (asu *AvailabilitySetUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AvailabilitySetUpdate struct.

type AvailabilitySetsClient

AvailabilitySetsClient is the compute Client

type AvailabilitySetsClient struct {
    BaseClient
}

func NewAvailabilitySetsClient

func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient

NewAvailabilitySetsClient creates an instance of the AvailabilitySetsClient client.

func NewAvailabilitySetsClientWithBaseURI

func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient

NewAvailabilitySetsClientWithBaseURI creates an instance of the AvailabilitySetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AvailabilitySetsClient) CreateOrUpdate

func (client AvailabilitySetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (result AvailabilitySet, err error)

CreateOrUpdate create or update an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set. parameters - parameters supplied to the Create Availability Set operation.

func (AvailabilitySetsClient) CreateOrUpdatePreparer

func (client AvailabilitySetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySet) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AvailabilitySetsClient) CreateOrUpdateResponder

func (client AvailabilitySetsClient) CreateOrUpdateResponder(resp *http.Response) (result AvailabilitySet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) CreateOrUpdateSender

func (client AvailabilitySetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) Delete

func (client AvailabilitySetsClient) Delete(ctx context.Context, resourceGroupName string, availabilitySetName string) (result autorest.Response, err error)

Delete delete an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set.

func (AvailabilitySetsClient) DeletePreparer

func (client AvailabilitySetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AvailabilitySetsClient) DeleteResponder

func (client AvailabilitySetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) DeleteSender

func (client AvailabilitySetsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) Get

func (client AvailabilitySetsClient) Get(ctx context.Context, resourceGroupName string, availabilitySetName string) (result AvailabilitySet, err error)

Get retrieves information about an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set.

func (AvailabilitySetsClient) GetPreparer

func (client AvailabilitySetsClient) GetPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AvailabilitySetsClient) GetResponder

func (client AvailabilitySetsClient) GetResponder(resp *http.Response) (result AvailabilitySet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) GetSender

func (client AvailabilitySetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) List

func (client AvailabilitySetsClient) List(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultPage, err error)

List lists all availability sets in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (AvailabilitySetsClient) ListAvailableSizes

func (client AvailabilitySetsClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, availabilitySetName string) (result VirtualMachineSizeListResult, err error)

ListAvailableSizes lists all available virtual machine sizes that can be used to create a new virtual machine in an existing availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set.

func (AvailabilitySetsClient) ListAvailableSizesPreparer

func (client AvailabilitySetsClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, availabilitySetName string) (*http.Request, error)

ListAvailableSizesPreparer prepares the ListAvailableSizes request.

func (AvailabilitySetsClient) ListAvailableSizesResponder

func (client AvailabilitySetsClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)

ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) ListAvailableSizesSender

func (client AvailabilitySetsClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)

ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) ListBySubscription

func (client AvailabilitySetsClient) ListBySubscription(ctx context.Context, expand string) (result AvailabilitySetListResultPage, err error)

ListBySubscription lists all availability sets in a subscription. Parameters: expand - the expand expression to apply to the operation. Allowed values are 'instanceView'.

func (AvailabilitySetsClient) ListBySubscriptionComplete

func (client AvailabilitySetsClient) ListBySubscriptionComplete(ctx context.Context, expand string) (result AvailabilitySetListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailabilitySetsClient) ListBySubscriptionPreparer

func (client AvailabilitySetsClient) ListBySubscriptionPreparer(ctx context.Context, expand string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AvailabilitySetsClient) ListBySubscriptionResponder

func (client AvailabilitySetsClient) ListBySubscriptionResponder(resp *http.Response) (result AvailabilitySetListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) ListBySubscriptionSender

func (client AvailabilitySetsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) ListComplete

func (client AvailabilitySetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result AvailabilitySetListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AvailabilitySetsClient) ListPreparer

func (client AvailabilitySetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AvailabilitySetsClient) ListResponder

func (client AvailabilitySetsClient) ListResponder(resp *http.Response) (result AvailabilitySetListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) ListSender

func (client AvailabilitySetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AvailabilitySetsClient) Update

func (client AvailabilitySetsClient) Update(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (result AvailabilitySet, err error)

Update update an availability set. Parameters: resourceGroupName - the name of the resource group. availabilitySetName - the name of the availability set. parameters - parameters supplied to the Update Availability Set operation.

func (AvailabilitySetsClient) UpdatePreparer

func (client AvailabilitySetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, availabilitySetName string, parameters AvailabilitySetUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AvailabilitySetsClient) UpdateResponder

func (client AvailabilitySetsClient) UpdateResponder(resp *http.Response) (result AvailabilitySet, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AvailabilitySetsClient) UpdateSender

func (client AvailabilitySetsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AvailablePatchSummary

AvailablePatchSummary describes the properties of an virtual machine instance view for available patch summary.

type AvailablePatchSummary struct {
    // Status - READ-ONLY; The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: 'PatchOperationStatusUnknown', 'PatchOperationStatusInProgress', 'PatchOperationStatusFailed', 'PatchOperationStatusSucceeded', 'PatchOperationStatusCompletedWithWarnings'
    Status PatchOperationStatus `json:"status,omitempty"`
    // AssessmentActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
    AssessmentActivityID *string `json:"assessmentActivityId,omitempty"`
    // RebootPending - READ-ONLY; The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.
    RebootPending *bool `json:"rebootPending,omitempty"`
    // CriticalAndSecurityPatchCount - READ-ONLY; The number of critical or security patches that have been detected as available and not yet installed.
    CriticalAndSecurityPatchCount *int32 `json:"criticalAndSecurityPatchCount,omitempty"`
    // OtherPatchCount - READ-ONLY; The number of all available patches excluding critical and security.
    OtherPatchCount *int32 `json:"otherPatchCount,omitempty"`
    // StartTime - READ-ONLY; The UTC timestamp when the operation began.
    StartTime *date.Time `json:"startTime,omitempty"`
    // LastModifiedTime - READ-ONLY; The UTC timestamp when the operation began.
    LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
    // Error - READ-ONLY; The errors that were encountered during execution of the operation. The details array contains the list of them.
    Error *APIError `json:"error,omitempty"`
}

func (AvailablePatchSummary) MarshalJSON

func (aps AvailablePatchSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailablePatchSummary.

type BaseClient

BaseClient is the base client for Compute.

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BillingProfile

BillingProfile specifies the billing related details of a Azure Spot VM or VMSS. <br><br>Minimum api-version: 2019-03-01.

type BillingProfile struct {
    // MaxPrice - Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if  the maxPrice is greater than the current Azure Spot price. <br><br> The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: 0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. <br><br>Minimum api-version: 2019-03-01.
    MaxPrice *float64 `json:"maxPrice,omitempty"`
}

type BootDiagnostics

BootDiagnostics boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.

type BootDiagnostics struct {
    // Enabled - Whether boot diagnostics should be enabled on the Virtual Machine.
    Enabled *bool `json:"enabled,omitempty"`
    // StorageURI - Uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used.
    StorageURI *string `json:"storageUri,omitempty"`
}

type BootDiagnosticsInstanceView

BootDiagnosticsInstanceView the instance view of a virtual machine boot diagnostics.

type BootDiagnosticsInstanceView struct {
    // ConsoleScreenshotBlobURI - READ-ONLY; The console screenshot blob URI. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage.
    ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"`
    // SerialConsoleLogBlobURI - READ-ONLY; The serial console log blob Uri. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage.
    SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"`
    // Status - READ-ONLY; The boot diagnostics status information for the VM. <br><br> NOTE: It will be set only if there are errors encountered in enabling boot diagnostics.
    Status *InstanceViewStatus `json:"status,omitempty"`
}

func (BootDiagnosticsInstanceView) MarshalJSON

func (bdiv BootDiagnosticsInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BootDiagnosticsInstanceView.

type CachingTypes

CachingTypes enumerates the values for caching types.

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

func PossibleCachingTypesValues

func PossibleCachingTypesValues() []CachingTypes

PossibleCachingTypesValues returns an array of possible values for the CachingTypes const type.

type CapacityReservation

CapacityReservation specifies information about the capacity reservation.

type CapacityReservation struct {
    autorest.Response              `json:"-"`
    *CapacityReservationProperties `json:"properties,omitempty"`
    // Sku - SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.
    Sku *Sku `json:"sku,omitempty"`
    // Zones - Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.
    Zones *[]string `json:"zones,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (CapacityReservation) MarshalJSON

func (cr CapacityReservation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservation.

func (*CapacityReservation) UnmarshalJSON

func (cr *CapacityReservation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityReservation struct.

type CapacityReservationGroup

CapacityReservationGroup specifies information about the capacity reservation group that the capacity reservations should be assigned to. <br><br> Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group.

type CapacityReservationGroup struct {
    autorest.Response                   `json:"-"`
    *CapacityReservationGroupProperties `json:"properties,omitempty"`
    // Zones - Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones.
    Zones *[]string `json:"zones,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (CapacityReservationGroup) MarshalJSON

func (crg CapacityReservationGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationGroup.

func (*CapacityReservationGroup) UnmarshalJSON

func (crg *CapacityReservationGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityReservationGroup struct.

type CapacityReservationGroupInstanceView

CapacityReservationGroupInstanceView ...

type CapacityReservationGroupInstanceView struct {
    // CapacityReservations - READ-ONLY; List of instance view of the capacity reservations under the capacity reservation group.
    CapacityReservations *[]CapacityReservationInstanceViewWithName `json:"capacityReservations,omitempty"`
}

func (CapacityReservationGroupInstanceView) MarshalJSON

func (crgiv CapacityReservationGroupInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationGroupInstanceView.

type CapacityReservationGroupInstanceViewTypes

CapacityReservationGroupInstanceViewTypes enumerates the values for capacity reservation group instance view types.

type CapacityReservationGroupInstanceViewTypes string
const (
    // CapacityReservationGroupInstanceViewTypesInstanceView ...
    CapacityReservationGroupInstanceViewTypesInstanceView CapacityReservationGroupInstanceViewTypes = "instanceView"
)

func PossibleCapacityReservationGroupInstanceViewTypesValues

func PossibleCapacityReservationGroupInstanceViewTypesValues() []CapacityReservationGroupInstanceViewTypes

PossibleCapacityReservationGroupInstanceViewTypesValues returns an array of possible values for the CapacityReservationGroupInstanceViewTypes const type.

type CapacityReservationGroupListResult

CapacityReservationGroupListResult the List capacity reservation group with resource group response.

type CapacityReservationGroupListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of capacity reservation groups
    Value *[]CapacityReservationGroup `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of capacity reservation groups. Call ListNext() with this URI to fetch the next page of capacity reservation groups.
    NextLink *string `json:"nextLink,omitempty"`
}

func (CapacityReservationGroupListResult) IsEmpty

func (crglr CapacityReservationGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CapacityReservationGroupListResultIterator

CapacityReservationGroupListResultIterator provides access to a complete listing of CapacityReservationGroup values.

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

func NewCapacityReservationGroupListResultIterator

func NewCapacityReservationGroupListResultIterator(page CapacityReservationGroupListResultPage) CapacityReservationGroupListResultIterator

Creates a new instance of the CapacityReservationGroupListResultIterator type.

func (*CapacityReservationGroupListResultIterator) Next

func (iter *CapacityReservationGroupListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CapacityReservationGroupListResultIterator) NextWithContext

func (iter *CapacityReservationGroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CapacityReservationGroupListResultIterator) NotDone

func (iter CapacityReservationGroupListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CapacityReservationGroupListResultIterator) Response

func (iter CapacityReservationGroupListResultIterator) Response() CapacityReservationGroupListResult

Response returns the raw server response from the last page request.

func (CapacityReservationGroupListResultIterator) Value

func (iter CapacityReservationGroupListResultIterator) Value() CapacityReservationGroup

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CapacityReservationGroupListResultPage

CapacityReservationGroupListResultPage contains a page of CapacityReservationGroup values.

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

func NewCapacityReservationGroupListResultPage

func NewCapacityReservationGroupListResultPage(cur CapacityReservationGroupListResult, getNextPage func(context.Context, CapacityReservationGroupListResult) (CapacityReservationGroupListResult, error)) CapacityReservationGroupListResultPage

Creates a new instance of the CapacityReservationGroupListResultPage type.

func (*CapacityReservationGroupListResultPage) Next

func (page *CapacityReservationGroupListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CapacityReservationGroupListResultPage) NextWithContext

func (page *CapacityReservationGroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CapacityReservationGroupListResultPage) NotDone

func (page CapacityReservationGroupListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CapacityReservationGroupListResultPage) Response

func (page CapacityReservationGroupListResultPage) Response() CapacityReservationGroupListResult

Response returns the raw server response from the last page request.

func (CapacityReservationGroupListResultPage) Values

func (page CapacityReservationGroupListResultPage) Values() []CapacityReservationGroup

Values returns the slice of values for the current page or nil if there are no values.

type CapacityReservationGroupProperties

CapacityReservationGroupProperties capacity reservation group Properties.

type CapacityReservationGroupProperties struct {
    // CapacityReservations - READ-ONLY; A list of all capacity reservation resource ids that belong to capacity reservation group.
    CapacityReservations *[]SubResourceReadOnly `json:"capacityReservations,omitempty"`
    // VirtualMachinesAssociated - READ-ONLY; A list of references to all virtual machines associated to the capacity reservation group.
    VirtualMachinesAssociated *[]SubResourceReadOnly `json:"virtualMachinesAssociated,omitempty"`
    // InstanceView - READ-ONLY; The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group.
    InstanceView *CapacityReservationGroupInstanceView `json:"instanceView,omitempty"`
}

func (CapacityReservationGroupProperties) MarshalJSON

func (crgp CapacityReservationGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationGroupProperties.

type CapacityReservationGroupUpdate

CapacityReservationGroupUpdate specifies information about the capacity reservation group. Only tags can be updated.

type CapacityReservationGroupUpdate struct {
    *CapacityReservationGroupProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (CapacityReservationGroupUpdate) MarshalJSON

func (crgu CapacityReservationGroupUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationGroupUpdate.

func (*CapacityReservationGroupUpdate) UnmarshalJSON

func (crgu *CapacityReservationGroupUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityReservationGroupUpdate struct.

type CapacityReservationGroupsClient

CapacityReservationGroupsClient is the compute Client

type CapacityReservationGroupsClient struct {
    BaseClient
}

func NewCapacityReservationGroupsClient

func NewCapacityReservationGroupsClient(subscriptionID string) CapacityReservationGroupsClient

NewCapacityReservationGroupsClient creates an instance of the CapacityReservationGroupsClient client.

func NewCapacityReservationGroupsClientWithBaseURI

func NewCapacityReservationGroupsClientWithBaseURI(baseURI string, subscriptionID string) CapacityReservationGroupsClient

NewCapacityReservationGroupsClientWithBaseURI creates an instance of the CapacityReservationGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CapacityReservationGroupsClient) CreateOrUpdate

func (client CapacityReservationGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroup) (result CapacityReservationGroup, err error)

CreateOrUpdate the operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group. parameters - parameters supplied to the Create capacity reservation Group.

func (CapacityReservationGroupsClient) CreateOrUpdatePreparer

func (client CapacityReservationGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CapacityReservationGroupsClient) CreateOrUpdateResponder

func (client CapacityReservationGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityReservationGroup, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (CapacityReservationGroupsClient) CreateOrUpdateSender

func (client CapacityReservationGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationGroupsClient) Delete

func (client CapacityReservationGroupsClient) Delete(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (result autorest.Response, err error)

Delete the operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group.

func (CapacityReservationGroupsClient) DeletePreparer

func (client CapacityReservationGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CapacityReservationGroupsClient) DeleteResponder

func (client CapacityReservationGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CapacityReservationGroupsClient) DeleteSender

func (client CapacityReservationGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationGroupsClient) Get

func (client CapacityReservationGroupsClient) Get(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, expand CapacityReservationGroupInstanceViewTypes) (result CapacityReservationGroup, err error)

Get the operation that retrieves information about a capacity reservation group. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group. expand - the expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations.

func (CapacityReservationGroupsClient) GetPreparer

func (client CapacityReservationGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, expand CapacityReservationGroupInstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (CapacityReservationGroupsClient) GetResponder

func (client CapacityReservationGroupsClient) GetResponder(resp *http.Response) (result CapacityReservationGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CapacityReservationGroupsClient) GetSender

func (client CapacityReservationGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationGroupsClient) ListByResourceGroup

func (client CapacityReservationGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultPage, err error)

ListByResourceGroup lists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups. Parameters: resourceGroupName - the name of the resource group. expand - the expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response.

func (CapacityReservationGroupsClient) ListByResourceGroupComplete

func (client CapacityReservationGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (CapacityReservationGroupsClient) ListByResourceGroupPreparer

func (client CapacityReservationGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, expand ExpandTypesForGetCapacityReservationGroups) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (CapacityReservationGroupsClient) ListByResourceGroupResponder

func (client CapacityReservationGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result CapacityReservationGroupListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (CapacityReservationGroupsClient) ListByResourceGroupSender

func (client CapacityReservationGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationGroupsClient) ListBySubscription

func (client CapacityReservationGroupsClient) ListBySubscription(ctx context.Context, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultPage, err error)

ListBySubscription lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups. Parameters: expand - the expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response.

func (CapacityReservationGroupsClient) ListBySubscriptionComplete

func (client CapacityReservationGroupsClient) ListBySubscriptionComplete(ctx context.Context, expand ExpandTypesForGetCapacityReservationGroups) (result CapacityReservationGroupListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (CapacityReservationGroupsClient) ListBySubscriptionPreparer

func (client CapacityReservationGroupsClient) ListBySubscriptionPreparer(ctx context.Context, expand ExpandTypesForGetCapacityReservationGroups) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (CapacityReservationGroupsClient) ListBySubscriptionResponder

func (client CapacityReservationGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result CapacityReservationGroupListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (CapacityReservationGroupsClient) ListBySubscriptionSender

func (client CapacityReservationGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationGroupsClient) Update

func (client CapacityReservationGroupsClient) Update(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroupUpdate) (result CapacityReservationGroup, err error)

Update the operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group. parameters - parameters supplied to the Update capacity reservation Group operation.

func (CapacityReservationGroupsClient) UpdatePreparer

func (client CapacityReservationGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, parameters CapacityReservationGroupUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CapacityReservationGroupsClient) UpdateResponder

func (client CapacityReservationGroupsClient) UpdateResponder(resp *http.Response) (result CapacityReservationGroup, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (CapacityReservationGroupsClient) UpdateSender

func (client CapacityReservationGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CapacityReservationInstanceView

CapacityReservationInstanceView the instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations.

type CapacityReservationInstanceView struct {
    // UtilizationInfo - Unutilized capacity of the capacity reservation.
    UtilizationInfo *CapacityReservationUtilization `json:"utilizationInfo,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

type CapacityReservationInstanceViewTypes

CapacityReservationInstanceViewTypes enumerates the values for capacity reservation instance view types.

type CapacityReservationInstanceViewTypes string
const (
    // CapacityReservationInstanceViewTypesInstanceView ...
    CapacityReservationInstanceViewTypesInstanceView CapacityReservationInstanceViewTypes = "instanceView"
)

func PossibleCapacityReservationInstanceViewTypesValues

func PossibleCapacityReservationInstanceViewTypesValues() []CapacityReservationInstanceViewTypes

PossibleCapacityReservationInstanceViewTypesValues returns an array of possible values for the CapacityReservationInstanceViewTypes const type.

type CapacityReservationInstanceViewWithName

CapacityReservationInstanceViewWithName the instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group.

type CapacityReservationInstanceViewWithName struct {
    // Name - READ-ONLY; The name of the capacity reservation.
    Name *string `json:"name,omitempty"`
    // UtilizationInfo - Unutilized capacity of the capacity reservation.
    UtilizationInfo *CapacityReservationUtilization `json:"utilizationInfo,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

func (CapacityReservationInstanceViewWithName) MarshalJSON

func (crivwn CapacityReservationInstanceViewWithName) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationInstanceViewWithName.

type CapacityReservationListResult

CapacityReservationListResult the list capacity reservation operation response.

type CapacityReservationListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of capacity reservations
    Value *[]CapacityReservation `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of capacity reservations. Call ListNext() with this URI to fetch the next page of capacity reservations.
    NextLink *string `json:"nextLink,omitempty"`
}

func (CapacityReservationListResult) IsEmpty

func (crlr CapacityReservationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CapacityReservationListResultIterator

CapacityReservationListResultIterator provides access to a complete listing of CapacityReservation values.

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

func NewCapacityReservationListResultIterator

func NewCapacityReservationListResultIterator(page CapacityReservationListResultPage) CapacityReservationListResultIterator

Creates a new instance of the CapacityReservationListResultIterator type.

func (*CapacityReservationListResultIterator) Next

func (iter *CapacityReservationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CapacityReservationListResultIterator) NextWithContext

func (iter *CapacityReservationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CapacityReservationListResultIterator) NotDone

func (iter CapacityReservationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CapacityReservationListResultIterator) Response

func (iter CapacityReservationListResultIterator) Response() CapacityReservationListResult

Response returns the raw server response from the last page request.

func (CapacityReservationListResultIterator) Value

func (iter CapacityReservationListResultIterator) Value() CapacityReservation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CapacityReservationListResultPage

CapacityReservationListResultPage contains a page of CapacityReservation values.

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

func NewCapacityReservationListResultPage

func NewCapacityReservationListResultPage(cur CapacityReservationListResult, getNextPage func(context.Context, CapacityReservationListResult) (CapacityReservationListResult, error)) CapacityReservationListResultPage

Creates a new instance of the CapacityReservationListResultPage type.

func (*CapacityReservationListResultPage) Next

func (page *CapacityReservationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CapacityReservationListResultPage) NextWithContext

func (page *CapacityReservationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CapacityReservationListResultPage) NotDone

func (page CapacityReservationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CapacityReservationListResultPage) Response

func (page CapacityReservationListResultPage) Response() CapacityReservationListResult

Response returns the raw server response from the last page request.

func (CapacityReservationListResultPage) Values

func (page CapacityReservationListResultPage) Values() []CapacityReservation

Values returns the slice of values for the current page or nil if there are no values.

type CapacityReservationProfile

CapacityReservationProfile the parameters of a capacity reservation Profile.

type CapacityReservationProfile struct {
    // CapacityReservationGroup - Specifies the capacity reservation group resource id that should be used for allocating the virtual machine or scaleset vm instances provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.
    CapacityReservationGroup *SubResource `json:"capacityReservationGroup,omitempty"`
}

type CapacityReservationProperties

CapacityReservationProperties properties of the Capacity reservation.

type CapacityReservationProperties struct {
    // ReservationID - READ-ONLY; A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource.
    ReservationID *string `json:"reservationId,omitempty"`
    // VirtualMachinesAssociated - READ-ONLY; A list of all virtual machine resource ids that are associated with the capacity reservation.
    VirtualMachinesAssociated *[]SubResourceReadOnly `json:"virtualMachinesAssociated,omitempty"`
    // ProvisioningTime - READ-ONLY; The date time when the capacity reservation was last updated.
    ProvisioningTime *date.Time `json:"provisioningTime,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // InstanceView - READ-ONLY; The Capacity reservation instance view.
    InstanceView *CapacityReservationInstanceView `json:"instanceView,omitempty"`
    // TimeCreated - READ-ONLY; Specifies the time at which the Capacity Reservation resource was created.<br><br>Minimum api-version: 2021-11-01.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
}

func (CapacityReservationProperties) MarshalJSON

func (crp CapacityReservationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationProperties.

type CapacityReservationUpdate

CapacityReservationUpdate specifies information about the capacity reservation. Only tags and sku.capacity can be updated.

type CapacityReservationUpdate struct {
    *CapacityReservationProperties `json:"properties,omitempty"`
    // Sku - SKU of the resource for which capacity needs be reserved. The SKU name and capacity is required to be set. Currently VM Skus with the capability called 'CapacityReservationSupported' set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.
    Sku *Sku `json:"sku,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (CapacityReservationUpdate) MarshalJSON

func (cru CapacityReservationUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationUpdate.

func (*CapacityReservationUpdate) UnmarshalJSON

func (cru *CapacityReservationUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CapacityReservationUpdate struct.

type CapacityReservationUtilization

CapacityReservationUtilization represents the capacity reservation utilization in terms of resources allocated.

type CapacityReservationUtilization struct {
    // VirtualMachinesAllocated - READ-ONLY; A list of all virtual machines resource ids allocated against the capacity reservation.
    VirtualMachinesAllocated *[]SubResourceReadOnly `json:"virtualMachinesAllocated,omitempty"`
}

func (CapacityReservationUtilization) MarshalJSON

func (cru CapacityReservationUtilization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CapacityReservationUtilization.

type CapacityReservationsClient

CapacityReservationsClient is the compute Client

type CapacityReservationsClient struct {
    BaseClient
}

func NewCapacityReservationsClient

func NewCapacityReservationsClient(subscriptionID string) CapacityReservationsClient

NewCapacityReservationsClient creates an instance of the CapacityReservationsClient client.

func NewCapacityReservationsClientWithBaseURI

func NewCapacityReservationsClientWithBaseURI(baseURI string, subscriptionID string) CapacityReservationsClient

NewCapacityReservationsClientWithBaseURI creates an instance of the CapacityReservationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CapacityReservationsClient) CreateOrUpdate

func (client CapacityReservationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservation) (result CapacityReservationsCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group. capacityReservationName - the name of the capacity reservation. parameters - parameters supplied to the Create capacity reservation.

func (CapacityReservationsClient) CreateOrUpdatePreparer

func (client CapacityReservationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservation) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CapacityReservationsClient) CreateOrUpdateResponder

func (client CapacityReservationsClient) CreateOrUpdateResponder(resp *http.Response) (result CapacityReservation, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (CapacityReservationsClient) CreateOrUpdateSender

func (client CapacityReservationsClient) CreateOrUpdateSender(req *http.Request) (future CapacityReservationsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationsClient) Delete

func (client CapacityReservationsClient) Delete(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string) (result CapacityReservationsDeleteFuture, err error)

Delete the operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group. capacityReservationName - the name of the capacity reservation.

func (CapacityReservationsClient) DeletePreparer

func (client CapacityReservationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CapacityReservationsClient) DeleteResponder

func (client CapacityReservationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CapacityReservationsClient) DeleteSender

func (client CapacityReservationsClient) DeleteSender(req *http.Request) (future CapacityReservationsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationsClient) Get

func (client CapacityReservationsClient) Get(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, expand CapacityReservationInstanceViewTypes) (result CapacityReservation, err error)

Get the operation that retrieves information about the capacity reservation. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group. capacityReservationName - the name of the capacity reservation. expand - the expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations.

func (CapacityReservationsClient) GetPreparer

func (client CapacityReservationsClient) GetPreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, expand CapacityReservationInstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (CapacityReservationsClient) GetResponder

func (client CapacityReservationsClient) GetResponder(resp *http.Response) (result CapacityReservation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CapacityReservationsClient) GetSender

func (client CapacityReservationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationsClient) ListByCapacityReservationGroup

func (client CapacityReservationsClient) ListByCapacityReservationGroup(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (result CapacityReservationListResultPage, err error)

ListByCapacityReservationGroup lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group.

func (CapacityReservationsClient) ListByCapacityReservationGroupComplete

func (client CapacityReservationsClient) ListByCapacityReservationGroupComplete(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (result CapacityReservationListResultIterator, err error)

ListByCapacityReservationGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (CapacityReservationsClient) ListByCapacityReservationGroupPreparer

func (client CapacityReservationsClient) ListByCapacityReservationGroupPreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string) (*http.Request, error)

ListByCapacityReservationGroupPreparer prepares the ListByCapacityReservationGroup request.

func (CapacityReservationsClient) ListByCapacityReservationGroupResponder

func (client CapacityReservationsClient) ListByCapacityReservationGroupResponder(resp *http.Response) (result CapacityReservationListResult, err error)

ListByCapacityReservationGroupResponder handles the response to the ListByCapacityReservationGroup request. The method always closes the http.Response Body.

func (CapacityReservationsClient) ListByCapacityReservationGroupSender

func (client CapacityReservationsClient) ListByCapacityReservationGroupSender(req *http.Request) (*http.Response, error)

ListByCapacityReservationGroupSender sends the ListByCapacityReservationGroup request. The method will close the http.Response Body if it receives an error.

func (CapacityReservationsClient) Update

func (client CapacityReservationsClient) Update(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservationUpdate) (result CapacityReservationsUpdateFuture, err error)

Update the operation to update a capacity reservation. Parameters: resourceGroupName - the name of the resource group. capacityReservationGroupName - the name of the capacity reservation group. capacityReservationName - the name of the capacity reservation. parameters - parameters supplied to the Update capacity reservation operation.

func (CapacityReservationsClient) UpdatePreparer

func (client CapacityReservationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, capacityReservationGroupName string, capacityReservationName string, parameters CapacityReservationUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CapacityReservationsClient) UpdateResponder

func (client CapacityReservationsClient) UpdateResponder(resp *http.Response) (result CapacityReservation, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (CapacityReservationsClient) UpdateSender

func (client CapacityReservationsClient) UpdateSender(req *http.Request) (future CapacityReservationsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CapacityReservationsCreateOrUpdateFuture

CapacityReservationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CapacityReservationsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CapacityReservationsClient) (CapacityReservation, error)
}

func (*CapacityReservationsCreateOrUpdateFuture) UnmarshalJSON

func (future *CapacityReservationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CapacityReservationsDeleteFuture

CapacityReservationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CapacityReservationsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CapacityReservationsClient) (autorest.Response, error)
}

func (*CapacityReservationsDeleteFuture) UnmarshalJSON

func (future *CapacityReservationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CapacityReservationsUpdateFuture

CapacityReservationsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CapacityReservationsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CapacityReservationsClient) (CapacityReservation, error)
}

func (*CapacityReservationsUpdateFuture) UnmarshalJSON

func (future *CapacityReservationsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudError

CloudError an error response from the Compute service.

type CloudError struct {
    Error *APIError `json:"error,omitempty"`
}

type CloudService

CloudService describes the cloud service.

type CloudService struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - Resource location.
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags.
    Tags       map[string]*string      `json:"tags"`
    Properties *CloudServiceProperties `json:"properties,omitempty"`
}

func (CloudService) MarshalJSON

func (cs CloudService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudService.

type CloudServiceExtensionProfile

CloudServiceExtensionProfile describes a cloud service extension profile.

type CloudServiceExtensionProfile struct {
    // Extensions - List of extensions for the cloud service.
    Extensions *[]Extension `json:"extensions,omitempty"`
}

type CloudServiceExtensionProperties

CloudServiceExtensionProperties extension Properties.

type CloudServiceExtensionProperties struct {
    // Publisher - The name of the extension handler publisher.
    Publisher *string `json:"publisher,omitempty"`
    // Type - Specifies the type of the extension.
    Type *string `json:"type,omitempty"`
    // TypeHandlerVersion - Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.
    TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
    // AutoUpgradeMinorVersion - Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available.
    AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
    // Settings - Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
    Settings *string `json:"settings,omitempty"`
    // ProtectedSettings - Protected settings for the extension which are encrypted before sent to the role instance.
    ProtectedSettings             *string                              `json:"protectedSettings,omitempty"`
    ProtectedSettingsFromKeyVault *CloudServiceVaultAndSecretReference `json:"protectedSettingsFromKeyVault,omitempty"`
    // ForceUpdateTag - Tag to force apply the provided public and protected settings.
    // Changing the tag value allows for re-running the extension without changing any of the public or protected settings.
    // If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler.
    // If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and
    // it is up to handler implementation whether to re-run it or not
    ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // RolesAppliedTo - Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
    RolesAppliedTo *[]string `json:"rolesAppliedTo,omitempty"`
}

func (CloudServiceExtensionProperties) MarshalJSON

func (csep CloudServiceExtensionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudServiceExtensionProperties.

type CloudServiceInstanceView

CloudServiceInstanceView instanceView of CloudService as a whole

type CloudServiceInstanceView struct {
    autorest.Response `json:"-"`
    RoleInstance      *InstanceViewStatusesSummary `json:"roleInstance,omitempty"`
    // SdkVersion - READ-ONLY; The version of the SDK that was used to generate the package for the cloud service.
    SdkVersion *string `json:"sdkVersion,omitempty"`
    // PrivateIds - READ-ONLY; Specifies a list of unique identifiers generated internally for the cloud service. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.
    PrivateIds *[]string `json:"privateIds,omitempty"`
    // Statuses - READ-ONLY
    Statuses *[]ResourceInstanceViewStatus `json:"statuses,omitempty"`
}

func (CloudServiceInstanceView) MarshalJSON

func (csiv CloudServiceInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudServiceInstanceView.

type CloudServiceListResult

CloudServiceListResult ...

type CloudServiceListResult struct {
    autorest.Response `json:"-"`
    Value             *[]CloudService `json:"value,omitempty"`
    NextLink          *string         `json:"nextLink,omitempty"`
}

func (CloudServiceListResult) IsEmpty

func (cslr CloudServiceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CloudServiceListResultIterator

CloudServiceListResultIterator provides access to a complete listing of CloudService values.

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

func NewCloudServiceListResultIterator

func NewCloudServiceListResultIterator(page CloudServiceListResultPage) CloudServiceListResultIterator

Creates a new instance of the CloudServiceListResultIterator type.

func (*CloudServiceListResultIterator) Next

func (iter *CloudServiceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CloudServiceListResultIterator) NextWithContext

func (iter *CloudServiceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CloudServiceListResultIterator) NotDone

func (iter CloudServiceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CloudServiceListResultIterator) Response

func (iter CloudServiceListResultIterator) Response() CloudServiceListResult

Response returns the raw server response from the last page request.

func (CloudServiceListResultIterator) Value

func (iter CloudServiceListResultIterator) Value() CloudService

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CloudServiceListResultPage

CloudServiceListResultPage contains a page of CloudService values.

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

func NewCloudServiceListResultPage

func NewCloudServiceListResultPage(cur CloudServiceListResult, getNextPage func(context.Context, CloudServiceListResult) (CloudServiceListResult, error)) CloudServiceListResultPage

Creates a new instance of the CloudServiceListResultPage type.

func (*CloudServiceListResultPage) Next

func (page *CloudServiceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CloudServiceListResultPage) NextWithContext

func (page *CloudServiceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CloudServiceListResultPage) NotDone

func (page CloudServiceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CloudServiceListResultPage) Response

func (page CloudServiceListResultPage) Response() CloudServiceListResult

Response returns the raw server response from the last page request.

func (CloudServiceListResultPage) Values

func (page CloudServiceListResultPage) Values() []CloudService

Values returns the slice of values for the current page or nil if there are no values.

type CloudServiceNetworkProfile

CloudServiceNetworkProfile network Profile for the cloud service.

type CloudServiceNetworkProfile struct {
    // LoadBalancerConfigurations - List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.
    LoadBalancerConfigurations *[]LoadBalancerConfiguration `json:"loadBalancerConfigurations,omitempty"`
    // SwappableCloudService - The id reference of the cloud service containing the target IP with which the subject cloud service can perform a swap. This property cannot be updated once it is set. The swappable cloud service referred by this id must be present otherwise an error will be thrown.
    SwappableCloudService *SubResource `json:"swappableCloudService,omitempty"`
}

type CloudServiceOperatingSystemsClient

CloudServiceOperatingSystemsClient is the compute Client

type CloudServiceOperatingSystemsClient struct {
    BaseClient
}

func NewCloudServiceOperatingSystemsClient

func NewCloudServiceOperatingSystemsClient(subscriptionID string) CloudServiceOperatingSystemsClient

NewCloudServiceOperatingSystemsClient creates an instance of the CloudServiceOperatingSystemsClient client.

func NewCloudServiceOperatingSystemsClientWithBaseURI

func NewCloudServiceOperatingSystemsClientWithBaseURI(baseURI string, subscriptionID string) CloudServiceOperatingSystemsClient

NewCloudServiceOperatingSystemsClientWithBaseURI creates an instance of the CloudServiceOperatingSystemsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CloudServiceOperatingSystemsClient) GetOSFamily

func (client CloudServiceOperatingSystemsClient) GetOSFamily(ctx context.Context, location string, osFamilyName string) (result OSFamily, err error)

GetOSFamily gets properties of a guest operating system family that can be specified in the XML service configuration (.cscfg) for a cloud service. Parameters: location - name of the location that the OS family pertains to. osFamilyName - name of the OS family.

func (CloudServiceOperatingSystemsClient) GetOSFamilyPreparer

func (client CloudServiceOperatingSystemsClient) GetOSFamilyPreparer(ctx context.Context, location string, osFamilyName string) (*http.Request, error)

GetOSFamilyPreparer prepares the GetOSFamily request.

func (CloudServiceOperatingSystemsClient) GetOSFamilyResponder

func (client CloudServiceOperatingSystemsClient) GetOSFamilyResponder(resp *http.Response) (result OSFamily, err error)

GetOSFamilyResponder handles the response to the GetOSFamily request. The method always closes the http.Response Body.

func (CloudServiceOperatingSystemsClient) GetOSFamilySender

func (client CloudServiceOperatingSystemsClient) GetOSFamilySender(req *http.Request) (*http.Response, error)

GetOSFamilySender sends the GetOSFamily request. The method will close the http.Response Body if it receives an error.

func (CloudServiceOperatingSystemsClient) GetOSVersion

func (client CloudServiceOperatingSystemsClient) GetOSVersion(ctx context.Context, location string, osVersionName string) (result OSVersion, err error)

GetOSVersion gets properties of a guest operating system version that can be specified in the XML service configuration (.cscfg) for a cloud service. Parameters: location - name of the location that the OS version pertains to. osVersionName - name of the OS version.

func (CloudServiceOperatingSystemsClient) GetOSVersionPreparer

func (client CloudServiceOperatingSystemsClient) GetOSVersionPreparer(ctx context.Context, location string, osVersionName string) (*http.Request, error)

GetOSVersionPreparer prepares the GetOSVersion request.

func (CloudServiceOperatingSystemsClient) GetOSVersionResponder

func (client CloudServiceOperatingSystemsClient) GetOSVersionResponder(resp *http.Response) (result OSVersion, err error)

GetOSVersionResponder handles the response to the GetOSVersion request. The method always closes the http.Response Body.

func (CloudServiceOperatingSystemsClient) GetOSVersionSender

func (client CloudServiceOperatingSystemsClient) GetOSVersionSender(req *http.Request) (*http.Response, error)

GetOSVersionSender sends the GetOSVersion request. The method will close the http.Response Body if it receives an error.

func (CloudServiceOperatingSystemsClient) ListOSFamilies

func (client CloudServiceOperatingSystemsClient) ListOSFamilies(ctx context.Context, location string) (result OSFamilyListResultPage, err error)

ListOSFamilies gets a list of all guest operating system families available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS Families. Do this till nextLink is null to fetch all the OS Families. Parameters: location - name of the location that the OS families pertain to.

func (CloudServiceOperatingSystemsClient) ListOSFamiliesComplete

func (client CloudServiceOperatingSystemsClient) ListOSFamiliesComplete(ctx context.Context, location string) (result OSFamilyListResultIterator, err error)

ListOSFamiliesComplete enumerates all values, automatically crossing page boundaries as required.

func (CloudServiceOperatingSystemsClient) ListOSFamiliesPreparer

func (client CloudServiceOperatingSystemsClient) ListOSFamiliesPreparer(ctx context.Context, location string) (*http.Request, error)

ListOSFamiliesPreparer prepares the ListOSFamilies request.

func (CloudServiceOperatingSystemsClient) ListOSFamiliesResponder

func (client CloudServiceOperatingSystemsClient) ListOSFamiliesResponder(resp *http.Response) (result OSFamilyListResult, err error)

ListOSFamiliesResponder handles the response to the ListOSFamilies request. The method always closes the http.Response Body.

func (CloudServiceOperatingSystemsClient) ListOSFamiliesSender

func (client CloudServiceOperatingSystemsClient) ListOSFamiliesSender(req *http.Request) (*http.Response, error)

ListOSFamiliesSender sends the ListOSFamilies request. The method will close the http.Response Body if it receives an error.

func (CloudServiceOperatingSystemsClient) ListOSVersions

func (client CloudServiceOperatingSystemsClient) ListOSVersions(ctx context.Context, location string) (result OSVersionListResultPage, err error)

ListOSVersions gets a list of all guest operating system versions available to be specified in the XML service configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page of OS versions. Do this till nextLink is null to fetch all the OS versions. Parameters: location - name of the location that the OS versions pertain to.

func (CloudServiceOperatingSystemsClient) ListOSVersionsComplete

func (client CloudServiceOperatingSystemsClient) ListOSVersionsComplete(ctx context.Context, location string) (result OSVersionListResultIterator, err error)

ListOSVersionsComplete enumerates all values, automatically crossing page boundaries as required.

func (CloudServiceOperatingSystemsClient) ListOSVersionsPreparer

func (client CloudServiceOperatingSystemsClient) ListOSVersionsPreparer(ctx context.Context, location string) (*http.Request, error)

ListOSVersionsPreparer prepares the ListOSVersions request.

func (CloudServiceOperatingSystemsClient) ListOSVersionsResponder

func (client CloudServiceOperatingSystemsClient) ListOSVersionsResponder(resp *http.Response) (result OSVersionListResult, err error)

ListOSVersionsResponder handles the response to the ListOSVersions request. The method always closes the http.Response Body.

func (CloudServiceOperatingSystemsClient) ListOSVersionsSender

func (client CloudServiceOperatingSystemsClient) ListOSVersionsSender(req *http.Request) (*http.Response, error)

ListOSVersionsSender sends the ListOSVersions request. The method will close the http.Response Body if it receives an error.

type CloudServiceOsProfile

CloudServiceOsProfile describes the OS profile for the cloud service.

type CloudServiceOsProfile struct {
    // Secrets - Specifies set of certificates that should be installed onto the role instances.
    Secrets *[]CloudServiceVaultSecretGroup `json:"secrets,omitempty"`
}

type CloudServiceProperties

CloudServiceProperties cloud service properties

type CloudServiceProperties struct {
    // PackageURL - Specifies a URL that refers to the location of the service package in the Blob service. The service package URL can be Shared Access Signature (SAS) URI from any storage account.
    // This is a write-only property and is not returned in GET calls.
    PackageURL *string `json:"packageUrl,omitempty"`
    // Configuration - Specifies the XML service configuration (.cscfg) for the cloud service.
    Configuration *string `json:"configuration,omitempty"`
    // ConfigurationURL - Specifies a URL that refers to the location of the service configuration in the Blob service. The service package URL  can be Shared Access Signature (SAS) URI from any storage account.
    // This is a write-only property and is not returned in GET calls.
    ConfigurationURL *string `json:"configurationUrl,omitempty"`
    // StartCloudService - (Optional) Indicates whether to start the cloud service immediately after it is created. The default value is `true`.
    // If false, the service model is still deployed, but the code is not run immediately. Instead, the service is PoweredOff until you call Start, at which time the service will be started. A deployed service still incurs charges, even if it is poweredoff.
    StartCloudService *bool `json:"startCloudService,omitempty"`
    // AllowModelOverride - (Optional) Indicates whether the role sku properties (roleProfile.roles.sku) specified in the model/template should override the role instance count and vm size specified in the .cscfg and .csdef respectively.
    // The default value is `false`.
    AllowModelOverride *bool `json:"allowModelOverride,omitempty"`
    // UpgradeMode - Possible values include: 'CloudServiceUpgradeModeAuto', 'CloudServiceUpgradeModeManual', 'CloudServiceUpgradeModeSimultaneous'
    UpgradeMode      CloudServiceUpgradeMode       `json:"upgradeMode,omitempty"`
    RoleProfile      *CloudServiceRoleProfile      `json:"roleProfile,omitempty"`
    OsProfile        *CloudServiceOsProfile        `json:"osProfile,omitempty"`
    NetworkProfile   *CloudServiceNetworkProfile   `json:"networkProfile,omitempty"`
    ExtensionProfile *CloudServiceExtensionProfile `json:"extensionProfile,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // UniqueID - READ-ONLY; The unique identifier for the cloud service.
    UniqueID *string `json:"uniqueId,omitempty"`
}

func (CloudServiceProperties) MarshalJSON

func (csp CloudServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudServiceProperties.

type CloudServiceRole

CloudServiceRole describes a role of the cloud service.

type CloudServiceRole struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Resource location
    Location   *string                     `json:"location,omitempty"`
    Sku        *CloudServiceRoleSku        `json:"sku,omitempty"`
    Properties *CloudServiceRoleProperties `json:"properties,omitempty"`
}

func (CloudServiceRole) MarshalJSON

func (csr CloudServiceRole) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudServiceRole.

type CloudServiceRoleInstancesClient

CloudServiceRoleInstancesClient is the compute Client

type CloudServiceRoleInstancesClient struct {
    BaseClient
}

func NewCloudServiceRoleInstancesClient

func NewCloudServiceRoleInstancesClient(subscriptionID string) CloudServiceRoleInstancesClient

NewCloudServiceRoleInstancesClient creates an instance of the CloudServiceRoleInstancesClient client.

func NewCloudServiceRoleInstancesClientWithBaseURI

func NewCloudServiceRoleInstancesClientWithBaseURI(baseURI string, subscriptionID string) CloudServiceRoleInstancesClient

NewCloudServiceRoleInstancesClientWithBaseURI creates an instance of the CloudServiceRoleInstancesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CloudServiceRoleInstancesClient) Delete

func (client CloudServiceRoleInstancesClient) Delete(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesDeleteFuture, err error)

Delete deletes a role instance from a cloud service. Parameters: roleInstanceName - name of the role instance.

func (CloudServiceRoleInstancesClient) DeletePreparer

func (client CloudServiceRoleInstancesClient) DeletePreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CloudServiceRoleInstancesClient) DeleteResponder

func (client CloudServiceRoleInstancesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) DeleteSender

func (client CloudServiceRoleInstancesClient) DeleteSender(req *http.Request) (future CloudServiceRoleInstancesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRoleInstancesClient) Get

func (client CloudServiceRoleInstancesClient) Get(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (result RoleInstance, err error)

Get gets a role instance from a cloud service. Parameters: roleInstanceName - name of the role instance. expand - the expand expression to apply to the operation. 'UserData' is not supported for cloud services.

func (CloudServiceRoleInstancesClient) GetInstanceView

func (client CloudServiceRoleInstancesClient) GetInstanceView(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result RoleInstanceInstanceView, err error)

GetInstanceView retrieves information about the run-time state of a role instance in a cloud service. Parameters: roleInstanceName - name of the role instance.

func (CloudServiceRoleInstancesClient) GetInstanceViewPreparer

func (client CloudServiceRoleInstancesClient) GetInstanceViewPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (CloudServiceRoleInstancesClient) GetInstanceViewResponder

func (client CloudServiceRoleInstancesClient) GetInstanceViewResponder(resp *http.Response) (result RoleInstanceInstanceView, err error)

GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) GetInstanceViewSender

func (client CloudServiceRoleInstancesClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)

GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRoleInstancesClient) GetPreparer

func (client CloudServiceRoleInstancesClient) GetPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (CloudServiceRoleInstancesClient) GetRemoteDesktopFile

func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFile(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result ReadCloser, err error)

GetRemoteDesktopFile gets a remote desktop file for a role instance in a cloud service. Parameters: roleInstanceName - name of the role instance.

func (CloudServiceRoleInstancesClient) GetRemoteDesktopFilePreparer

func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFilePreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)

GetRemoteDesktopFilePreparer prepares the GetRemoteDesktopFile request.

func (CloudServiceRoleInstancesClient) GetRemoteDesktopFileResponder

func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFileResponder(resp *http.Response) (result ReadCloser, err error)

GetRemoteDesktopFileResponder handles the response to the GetRemoteDesktopFile request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) GetRemoteDesktopFileSender

func (client CloudServiceRoleInstancesClient) GetRemoteDesktopFileSender(req *http.Request) (*http.Response, error)

GetRemoteDesktopFileSender sends the GetRemoteDesktopFile request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRoleInstancesClient) GetResponder

func (client CloudServiceRoleInstancesClient) GetResponder(resp *http.Response) (result RoleInstance, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) GetSender

func (client CloudServiceRoleInstancesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRoleInstancesClient) List

func (client CloudServiceRoleInstancesClient) List(ctx context.Context, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (result RoleInstanceListResultPage, err error)

List gets the list of all role instances in a cloud service. Use nextLink property in the response to get the next page of role instances. Do this till nextLink is null to fetch all the role instances. Parameters: expand - the expand expression to apply to the operation. 'UserData' is not supported for cloud services.

func (CloudServiceRoleInstancesClient) ListComplete

func (client CloudServiceRoleInstancesClient) ListComplete(ctx context.Context, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (result RoleInstanceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CloudServiceRoleInstancesClient) ListPreparer

func (client CloudServiceRoleInstancesClient) ListPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, expand InstanceViewTypes) (*http.Request, error)

ListPreparer prepares the List request.

func (CloudServiceRoleInstancesClient) ListResponder

func (client CloudServiceRoleInstancesClient) ListResponder(resp *http.Response) (result RoleInstanceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) ListSender

func (client CloudServiceRoleInstancesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRoleInstancesClient) Rebuild

func (client CloudServiceRoleInstancesClient) Rebuild(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesRebuildFuture, err error)

Rebuild the Rebuild Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instance. Parameters: roleInstanceName - name of the role instance.

func (CloudServiceRoleInstancesClient) RebuildPreparer

func (client CloudServiceRoleInstancesClient) RebuildPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)

RebuildPreparer prepares the Rebuild request.

func (CloudServiceRoleInstancesClient) RebuildResponder

func (client CloudServiceRoleInstancesClient) RebuildResponder(resp *http.Response) (result autorest.Response, err error)

RebuildResponder handles the response to the Rebuild request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) RebuildSender

func (client CloudServiceRoleInstancesClient) RebuildSender(req *http.Request) (future CloudServiceRoleInstancesRebuildFuture, err error)

RebuildSender sends the Rebuild request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRoleInstancesClient) Reimage

func (client CloudServiceRoleInstancesClient) Reimage(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesReimageFuture, err error)

Reimage the Reimage Role Instance asynchronous operation reinstalls the operating system on instances of web roles or worker roles. Parameters: roleInstanceName - name of the role instance.

func (CloudServiceRoleInstancesClient) ReimagePreparer

func (client CloudServiceRoleInstancesClient) ReimagePreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)

ReimagePreparer prepares the Reimage request.

func (CloudServiceRoleInstancesClient) ReimageResponder

func (client CloudServiceRoleInstancesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)

ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) ReimageSender

func (client CloudServiceRoleInstancesClient) ReimageSender(req *http.Request) (future CloudServiceRoleInstancesReimageFuture, err error)

ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRoleInstancesClient) Restart

func (client CloudServiceRoleInstancesClient) Restart(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleInstancesRestartFuture, err error)

Restart the Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. Parameters: roleInstanceName - name of the role instance.

func (CloudServiceRoleInstancesClient) RestartPreparer

func (client CloudServiceRoleInstancesClient) RestartPreparer(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (CloudServiceRoleInstancesClient) RestartResponder

func (client CloudServiceRoleInstancesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (CloudServiceRoleInstancesClient) RestartSender

func (client CloudServiceRoleInstancesClient) RestartSender(req *http.Request) (future CloudServiceRoleInstancesRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

type CloudServiceRoleInstancesDeleteFuture

CloudServiceRoleInstancesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServiceRoleInstancesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServiceRoleInstancesClient) (autorest.Response, error)
}

func (*CloudServiceRoleInstancesDeleteFuture) UnmarshalJSON

func (future *CloudServiceRoleInstancesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServiceRoleInstancesRebuildFuture

CloudServiceRoleInstancesRebuildFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServiceRoleInstancesRebuildFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServiceRoleInstancesClient) (autorest.Response, error)
}

func (*CloudServiceRoleInstancesRebuildFuture) UnmarshalJSON

func (future *CloudServiceRoleInstancesRebuildFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServiceRoleInstancesReimageFuture

CloudServiceRoleInstancesReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServiceRoleInstancesReimageFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServiceRoleInstancesClient) (autorest.Response, error)
}

func (*CloudServiceRoleInstancesReimageFuture) UnmarshalJSON

func (future *CloudServiceRoleInstancesReimageFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServiceRoleInstancesRestartFuture

CloudServiceRoleInstancesRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServiceRoleInstancesRestartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServiceRoleInstancesClient) (autorest.Response, error)
}

func (*CloudServiceRoleInstancesRestartFuture) UnmarshalJSON

func (future *CloudServiceRoleInstancesRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServiceRoleListResult

CloudServiceRoleListResult ...

type CloudServiceRoleListResult struct {
    autorest.Response `json:"-"`
    Value             *[]CloudServiceRole `json:"value,omitempty"`
    NextLink          *string             `json:"nextLink,omitempty"`
}

func (CloudServiceRoleListResult) IsEmpty

func (csrlr CloudServiceRoleListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CloudServiceRoleListResultIterator

CloudServiceRoleListResultIterator provides access to a complete listing of CloudServiceRole values.

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

func NewCloudServiceRoleListResultIterator

func NewCloudServiceRoleListResultIterator(page CloudServiceRoleListResultPage) CloudServiceRoleListResultIterator

Creates a new instance of the CloudServiceRoleListResultIterator type.

func (*CloudServiceRoleListResultIterator) Next

func (iter *CloudServiceRoleListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CloudServiceRoleListResultIterator) NextWithContext

func (iter *CloudServiceRoleListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CloudServiceRoleListResultIterator) NotDone

func (iter CloudServiceRoleListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CloudServiceRoleListResultIterator) Response

func (iter CloudServiceRoleListResultIterator) Response() CloudServiceRoleListResult

Response returns the raw server response from the last page request.

func (CloudServiceRoleListResultIterator) Value

func (iter CloudServiceRoleListResultIterator) Value() CloudServiceRole

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CloudServiceRoleListResultPage

CloudServiceRoleListResultPage contains a page of CloudServiceRole values.

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

func NewCloudServiceRoleListResultPage

func NewCloudServiceRoleListResultPage(cur CloudServiceRoleListResult, getNextPage func(context.Context, CloudServiceRoleListResult) (CloudServiceRoleListResult, error)) CloudServiceRoleListResultPage

Creates a new instance of the CloudServiceRoleListResultPage type.

func (*CloudServiceRoleListResultPage) Next

func (page *CloudServiceRoleListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*CloudServiceRoleListResultPage) NextWithContext

func (page *CloudServiceRoleListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CloudServiceRoleListResultPage) NotDone

func (page CloudServiceRoleListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CloudServiceRoleListResultPage) Response

func (page CloudServiceRoleListResultPage) Response() CloudServiceRoleListResult

Response returns the raw server response from the last page request.

func (CloudServiceRoleListResultPage) Values

func (page CloudServiceRoleListResultPage) Values() []CloudServiceRole

Values returns the slice of values for the current page or nil if there are no values.

type CloudServiceRoleProfile

CloudServiceRoleProfile describes the role profile for the cloud service.

type CloudServiceRoleProfile struct {
    // Roles - List of roles for the cloud service.
    Roles *[]CloudServiceRoleProfileProperties `json:"roles,omitempty"`
}

type CloudServiceRoleProfileProperties

CloudServiceRoleProfileProperties describes the role properties.

type CloudServiceRoleProfileProperties struct {
    // Name - Resource name.
    Name *string              `json:"name,omitempty"`
    Sku  *CloudServiceRoleSku `json:"sku,omitempty"`
}

type CloudServiceRoleProperties

CloudServiceRoleProperties ...

type CloudServiceRoleProperties struct {
    // UniqueID - READ-ONLY; Specifies the ID which uniquely identifies a cloud service role.
    UniqueID *string `json:"uniqueId,omitempty"`
}

func (CloudServiceRoleProperties) MarshalJSON

func (csrp CloudServiceRoleProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudServiceRoleProperties.

type CloudServiceRoleSku

CloudServiceRoleSku describes the cloud service role sku.

type CloudServiceRoleSku struct {
    // Name - The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.
    Name *string `json:"name,omitempty"`
    // Tier - Specifies the tier of the cloud service. Possible Values are <br /><br /> **Standard** <br /><br /> **Basic**
    Tier *string `json:"tier,omitempty"`
    // Capacity - Specifies the number of role instances in the cloud service.
    Capacity *int64 `json:"capacity,omitempty"`
}

type CloudServiceRolesClient

CloudServiceRolesClient is the compute Client

type CloudServiceRolesClient struct {
    BaseClient
}

func NewCloudServiceRolesClient

func NewCloudServiceRolesClient(subscriptionID string) CloudServiceRolesClient

NewCloudServiceRolesClient creates an instance of the CloudServiceRolesClient client.

func NewCloudServiceRolesClientWithBaseURI

func NewCloudServiceRolesClientWithBaseURI(baseURI string, subscriptionID string) CloudServiceRolesClient

NewCloudServiceRolesClientWithBaseURI creates an instance of the CloudServiceRolesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CloudServiceRolesClient) Get

func (client CloudServiceRolesClient) Get(ctx context.Context, roleName string, resourceGroupName string, cloudServiceName string) (result CloudServiceRole, err error)

Get gets a role from a cloud service. Parameters: roleName - name of the role.

func (CloudServiceRolesClient) GetPreparer

func (client CloudServiceRolesClient) GetPreparer(ctx context.Context, roleName string, resourceGroupName string, cloudServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CloudServiceRolesClient) GetResponder

func (client CloudServiceRolesClient) GetResponder(resp *http.Response) (result CloudServiceRole, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CloudServiceRolesClient) GetSender

func (client CloudServiceRolesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CloudServiceRolesClient) List

func (client CloudServiceRolesClient) List(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleListResultPage, err error)

List gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page of roles. Do this till nextLink is null to fetch all the roles.

func (CloudServiceRolesClient) ListComplete

func (client CloudServiceRolesClient) ListComplete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServiceRoleListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CloudServiceRolesClient) ListPreparer

func (client CloudServiceRolesClient) ListPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (CloudServiceRolesClient) ListResponder

func (client CloudServiceRolesClient) ListResponder(resp *http.Response) (result CloudServiceRoleListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CloudServiceRolesClient) ListSender

func (client CloudServiceRolesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type CloudServiceUpdate

CloudServiceUpdate ...

type CloudServiceUpdate struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (CloudServiceUpdate) MarshalJSON

func (csu CloudServiceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudServiceUpdate.

type CloudServiceUpgradeMode

CloudServiceUpgradeMode enumerates the values for cloud service upgrade mode.

type CloudServiceUpgradeMode string
const (
    // CloudServiceUpgradeModeAuto ...
    CloudServiceUpgradeModeAuto CloudServiceUpgradeMode = "Auto"
    // CloudServiceUpgradeModeManual ...
    CloudServiceUpgradeModeManual CloudServiceUpgradeMode = "Manual"
    // CloudServiceUpgradeModeSimultaneous ...
    CloudServiceUpgradeModeSimultaneous CloudServiceUpgradeMode = "Simultaneous"
)

func PossibleCloudServiceUpgradeModeValues

func PossibleCloudServiceUpgradeModeValues() []CloudServiceUpgradeMode

PossibleCloudServiceUpgradeModeValues returns an array of possible values for the CloudServiceUpgradeMode const type.

type CloudServiceVaultAndSecretReference

CloudServiceVaultAndSecretReference ...

type CloudServiceVaultAndSecretReference struct {
    SourceVault *SubResource `json:"sourceVault,omitempty"`
    SecretURL   *string      `json:"secretUrl,omitempty"`
}

type CloudServiceVaultCertificate

CloudServiceVaultCertificate describes a single certificate reference in a Key Vault, and where the certificate should reside on the role instance.

type CloudServiceVaultCertificate struct {
    // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret.
    CertificateURL *string `json:"certificateUrl,omitempty"`
}

type CloudServiceVaultSecretGroup

CloudServiceVaultSecretGroup describes a set of certificates which are all in the same Key Vault.

type CloudServiceVaultSecretGroup struct {
    // SourceVault - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
    SourceVault *SubResource `json:"sourceVault,omitempty"`
    // VaultCertificates - The list of key vault references in SourceVault which contain certificates.
    VaultCertificates *[]CloudServiceVaultCertificate `json:"vaultCertificates,omitempty"`
}

type CloudServicesClient

CloudServicesClient is the compute Client

type CloudServicesClient struct {
    BaseClient
}

func NewCloudServicesClient

func NewCloudServicesClient(subscriptionID string) CloudServicesClient

NewCloudServicesClient creates an instance of the CloudServicesClient client.

func NewCloudServicesClientWithBaseURI

func NewCloudServicesClientWithBaseURI(baseURI string, subscriptionID string) CloudServicesClient

NewCloudServicesClientWithBaseURI creates an instance of the CloudServicesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CloudServicesClient) CreateOrUpdate

func (client CloudServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudService) (result CloudServicesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a cloud service. Please note some properties can be set only during cloud service creation. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. parameters - the cloud service object.

func (CloudServicesClient) CreateOrUpdatePreparer

func (client CloudServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CloudServicesClient) CreateOrUpdateResponder

func (client CloudServicesClient) CreateOrUpdateResponder(resp *http.Response) (result CloudService, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (CloudServicesClient) CreateOrUpdateSender

func (client CloudServicesClient) CreateOrUpdateSender(req *http.Request) (future CloudServicesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) Delete

func (client CloudServicesClient) Delete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServicesDeleteFuture, err error)

Delete deletes a cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service.

func (CloudServicesClient) DeleteInstances

func (client CloudServicesClient) DeleteInstances(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesDeleteInstancesFuture, err error)

DeleteInstances deletes role instances in a cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. parameters - list of cloud service role instance names.

func (CloudServicesClient) DeleteInstancesPreparer

func (client CloudServicesClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)

DeleteInstancesPreparer prepares the DeleteInstances request.

func (CloudServicesClient) DeleteInstancesResponder

func (client CloudServicesClient) DeleteInstancesResponder(resp *http.Response) (result autorest.Response, err error)

DeleteInstancesResponder handles the response to the DeleteInstances request. The method always closes the http.Response Body.

func (CloudServicesClient) DeleteInstancesSender

func (client CloudServicesClient) DeleteInstancesSender(req *http.Request) (future CloudServicesDeleteInstancesFuture, err error)

DeleteInstancesSender sends the DeleteInstances request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) DeletePreparer

func (client CloudServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CloudServicesClient) DeleteResponder

func (client CloudServicesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CloudServicesClient) DeleteSender

func (client CloudServicesClient) DeleteSender(req *http.Request) (future CloudServicesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) Get

func (client CloudServicesClient) Get(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudService, err error)

Get display information about a cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service.

func (CloudServicesClient) GetInstanceView

func (client CloudServicesClient) GetInstanceView(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServiceInstanceView, err error)

GetInstanceView gets the status of a cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service.

func (CloudServicesClient) GetInstanceViewPreparer

func (client CloudServicesClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (CloudServicesClient) GetInstanceViewResponder

func (client CloudServicesClient) GetInstanceViewResponder(resp *http.Response) (result CloudServiceInstanceView, err error)

GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.

func (CloudServicesClient) GetInstanceViewSender

func (client CloudServicesClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)

GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) GetPreparer

func (client CloudServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CloudServicesClient) GetResponder

func (client CloudServicesClient) GetResponder(resp *http.Response) (result CloudService, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CloudServicesClient) GetSender

func (client CloudServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) List

func (client CloudServicesClient) List(ctx context.Context, resourceGroupName string) (result CloudServiceListResultPage, err error)

List gets a list of all cloud services under a resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. Parameters: resourceGroupName - name of the resource group.

func (CloudServicesClient) ListAll

func (client CloudServicesClient) ListAll(ctx context.Context) (result CloudServiceListResultPage, err error)

ListAll gets a list of all cloud services in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services.

func (CloudServicesClient) ListAllComplete

func (client CloudServicesClient) ListAllComplete(ctx context.Context) (result CloudServiceListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (CloudServicesClient) ListAllPreparer

func (client CloudServicesClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (CloudServicesClient) ListAllResponder

func (client CloudServicesClient) ListAllResponder(resp *http.Response) (result CloudServiceListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (CloudServicesClient) ListAllSender

func (client CloudServicesClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) ListComplete

func (client CloudServicesClient) ListComplete(ctx context.Context, resourceGroupName string) (result CloudServiceListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CloudServicesClient) ListPreparer

func (client CloudServicesClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (CloudServicesClient) ListResponder

func (client CloudServicesClient) ListResponder(resp *http.Response) (result CloudServiceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CloudServicesClient) ListSender

func (client CloudServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) PowerOff

func (client CloudServicesClient) PowerOff(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServicesPowerOffFuture, err error)

PowerOff power off the cloud service. Note that resources are still attached and you are getting charged for the resources. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service.

func (CloudServicesClient) PowerOffPreparer

func (client CloudServicesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (CloudServicesClient) PowerOffResponder

func (client CloudServicesClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (CloudServicesClient) PowerOffSender

func (client CloudServicesClient) PowerOffSender(req *http.Request) (future CloudServicesPowerOffFuture, err error)

PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) Rebuild

func (client CloudServicesClient) Rebuild(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesRebuildFuture, err error)

Rebuild rebuild Role Instances reinstalls the operating system on instances of web roles or worker roles and initializes the storage resources that are used by them. If you do not want to initialize storage resources, you can use Reimage Role Instances. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. parameters - list of cloud service role instance names.

func (CloudServicesClient) RebuildPreparer

func (client CloudServicesClient) RebuildPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)

RebuildPreparer prepares the Rebuild request.

func (CloudServicesClient) RebuildResponder

func (client CloudServicesClient) RebuildResponder(resp *http.Response) (result autorest.Response, err error)

RebuildResponder handles the response to the Rebuild request. The method always closes the http.Response Body.

func (CloudServicesClient) RebuildSender

func (client CloudServicesClient) RebuildSender(req *http.Request) (future CloudServicesRebuildFuture, err error)

RebuildSender sends the Rebuild request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) Reimage

func (client CloudServicesClient) Reimage(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesReimageFuture, err error)

Reimage reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. parameters - list of cloud service role instance names.

func (CloudServicesClient) ReimagePreparer

func (client CloudServicesClient) ReimagePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)

ReimagePreparer prepares the Reimage request.

func (CloudServicesClient) ReimageResponder

func (client CloudServicesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)

ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

func (CloudServicesClient) ReimageSender

func (client CloudServicesClient) ReimageSender(req *http.Request) (future CloudServicesReimageFuture, err error)

ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) Restart

func (client CloudServicesClient) Restart(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (result CloudServicesRestartFuture, err error)

Restart restarts one or more role instances in a cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. parameters - list of cloud service role instance names.

func (CloudServicesClient) RestartPreparer

func (client CloudServicesClient) RestartPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *RoleInstances) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (CloudServicesClient) RestartResponder

func (client CloudServicesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (CloudServicesClient) RestartSender

func (client CloudServicesClient) RestartSender(req *http.Request) (future CloudServicesRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) Start

func (client CloudServicesClient) Start(ctx context.Context, resourceGroupName string, cloudServiceName string) (result CloudServicesStartFuture, err error)

Start starts the cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service.

func (CloudServicesClient) StartPreparer

func (client CloudServicesClient) StartPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (CloudServicesClient) StartResponder

func (client CloudServicesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (CloudServicesClient) StartSender

func (client CloudServicesClient) StartSender(req *http.Request) (future CloudServicesStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (CloudServicesClient) Update

func (client CloudServicesClient) Update(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudServiceUpdate) (result CloudServicesUpdateFuture, err error)

Update update a cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. parameters - the cloud service object.

func (CloudServicesClient) UpdatePreparer

func (client CloudServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters *CloudServiceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CloudServicesClient) UpdateResponder

func (client CloudServicesClient) UpdateResponder(resp *http.Response) (result CloudService, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (CloudServicesClient) UpdateSender

func (client CloudServicesClient) UpdateSender(req *http.Request) (future CloudServicesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CloudServicesCreateOrUpdateFuture

CloudServicesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (CloudService, error)
}

func (*CloudServicesCreateOrUpdateFuture) UnmarshalJSON

func (future *CloudServicesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesDeleteFuture

CloudServicesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (autorest.Response, error)
}

func (*CloudServicesDeleteFuture) UnmarshalJSON

func (future *CloudServicesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesDeleteInstancesFuture

CloudServicesDeleteInstancesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesDeleteInstancesFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (autorest.Response, error)
}

func (*CloudServicesDeleteInstancesFuture) UnmarshalJSON

func (future *CloudServicesDeleteInstancesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesPowerOffFuture

CloudServicesPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesPowerOffFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (autorest.Response, error)
}

func (*CloudServicesPowerOffFuture) UnmarshalJSON

func (future *CloudServicesPowerOffFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesRebuildFuture

CloudServicesRebuildFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesRebuildFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (autorest.Response, error)
}

func (*CloudServicesRebuildFuture) UnmarshalJSON

func (future *CloudServicesRebuildFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesReimageFuture

CloudServicesReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesReimageFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (autorest.Response, error)
}

func (*CloudServicesReimageFuture) UnmarshalJSON

func (future *CloudServicesReimageFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesRestartFuture

CloudServicesRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesRestartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (autorest.Response, error)
}

func (*CloudServicesRestartFuture) UnmarshalJSON

func (future *CloudServicesRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesStartFuture

CloudServicesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesStartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (autorest.Response, error)
}

func (*CloudServicesStartFuture) UnmarshalJSON

func (future *CloudServicesStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesUpdateDomainClient

CloudServicesUpdateDomainClient is the compute Client

type CloudServicesUpdateDomainClient struct {
    BaseClient
}

func NewCloudServicesUpdateDomainClient

func NewCloudServicesUpdateDomainClient(subscriptionID string) CloudServicesUpdateDomainClient

NewCloudServicesUpdateDomainClient creates an instance of the CloudServicesUpdateDomainClient client.

func NewCloudServicesUpdateDomainClientWithBaseURI

func NewCloudServicesUpdateDomainClientWithBaseURI(baseURI string, subscriptionID string) CloudServicesUpdateDomainClient

NewCloudServicesUpdateDomainClientWithBaseURI creates an instance of the CloudServicesUpdateDomainClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CloudServicesUpdateDomainClient) GetUpdateDomain

func (client CloudServicesUpdateDomainClient) GetUpdateDomain(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32) (result UpdateDomain, err error)

GetUpdateDomain gets the specified update domain of a cloud service. Use nextLink property in the response to get the next page of update domains. Do this till nextLink is null to fetch all the update domains. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. updateDomain - specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on.

func (CloudServicesUpdateDomainClient) GetUpdateDomainPreparer

func (client CloudServicesUpdateDomainClient) GetUpdateDomainPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32) (*http.Request, error)

GetUpdateDomainPreparer prepares the GetUpdateDomain request.

func (CloudServicesUpdateDomainClient) GetUpdateDomainResponder

func (client CloudServicesUpdateDomainClient) GetUpdateDomainResponder(resp *http.Response) (result UpdateDomain, err error)

GetUpdateDomainResponder handles the response to the GetUpdateDomain request. The method always closes the http.Response Body.

func (CloudServicesUpdateDomainClient) GetUpdateDomainSender

func (client CloudServicesUpdateDomainClient) GetUpdateDomainSender(req *http.Request) (*http.Response, error)

GetUpdateDomainSender sends the GetUpdateDomain request. The method will close the http.Response Body if it receives an error.

func (CloudServicesUpdateDomainClient) ListUpdateDomains

func (client CloudServicesUpdateDomainClient) ListUpdateDomains(ctx context.Context, resourceGroupName string, cloudServiceName string) (result UpdateDomainListResultPage, err error)

ListUpdateDomains gets a list of all update domains in a cloud service. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service.

func (CloudServicesUpdateDomainClient) ListUpdateDomainsComplete

func (client CloudServicesUpdateDomainClient) ListUpdateDomainsComplete(ctx context.Context, resourceGroupName string, cloudServiceName string) (result UpdateDomainListResultIterator, err error)

ListUpdateDomainsComplete enumerates all values, automatically crossing page boundaries as required.

func (CloudServicesUpdateDomainClient) ListUpdateDomainsPreparer

func (client CloudServicesUpdateDomainClient) ListUpdateDomainsPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string) (*http.Request, error)

ListUpdateDomainsPreparer prepares the ListUpdateDomains request.

func (CloudServicesUpdateDomainClient) ListUpdateDomainsResponder

func (client CloudServicesUpdateDomainClient) ListUpdateDomainsResponder(resp *http.Response) (result UpdateDomainListResult, err error)

ListUpdateDomainsResponder handles the response to the ListUpdateDomains request. The method always closes the http.Response Body.

func (CloudServicesUpdateDomainClient) ListUpdateDomainsSender

func (client CloudServicesUpdateDomainClient) ListUpdateDomainsSender(req *http.Request) (*http.Response, error)

ListUpdateDomainsSender sends the ListUpdateDomains request. The method will close the http.Response Body if it receives an error.

func (CloudServicesUpdateDomainClient) WalkUpdateDomain

func (client CloudServicesUpdateDomainClient) WalkUpdateDomain(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32, parameters *UpdateDomain) (result CloudServicesUpdateDomainWalkUpdateDomainFuture, err error)

WalkUpdateDomain updates the role instances in the specified update domain. Parameters: resourceGroupName - name of the resource group. cloudServiceName - name of the cloud service. updateDomain - specifies an integer value that identifies the update domain. Update domains are identified with a zero-based index: the first update domain has an ID of 0, the second has an ID of 1, and so on. parameters - the update domain object.

func (CloudServicesUpdateDomainClient) WalkUpdateDomainPreparer

func (client CloudServicesUpdateDomainClient) WalkUpdateDomainPreparer(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32, parameters *UpdateDomain) (*http.Request, error)

WalkUpdateDomainPreparer prepares the WalkUpdateDomain request.

func (CloudServicesUpdateDomainClient) WalkUpdateDomainResponder

func (client CloudServicesUpdateDomainClient) WalkUpdateDomainResponder(resp *http.Response) (result autorest.Response, err error)

WalkUpdateDomainResponder handles the response to the WalkUpdateDomain request. The method always closes the http.Response Body.

func (CloudServicesUpdateDomainClient) WalkUpdateDomainSender

func (client CloudServicesUpdateDomainClient) WalkUpdateDomainSender(req *http.Request) (future CloudServicesUpdateDomainWalkUpdateDomainFuture, err error)

WalkUpdateDomainSender sends the WalkUpdateDomain request. The method will close the http.Response Body if it receives an error.

type CloudServicesUpdateDomainWalkUpdateDomainFuture

CloudServicesUpdateDomainWalkUpdateDomainFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesUpdateDomainWalkUpdateDomainFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesUpdateDomainClient) (autorest.Response, error)
}

func (*CloudServicesUpdateDomainWalkUpdateDomainFuture) UnmarshalJSON

func (future *CloudServicesUpdateDomainWalkUpdateDomainFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudServicesUpdateFuture

CloudServicesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type CloudServicesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(CloudServicesClient) (CloudService, error)
}

func (*CloudServicesUpdateFuture) UnmarshalJSON

func (future *CloudServicesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CommunityGalleriesClient

CommunityGalleriesClient is the compute Client

type CommunityGalleriesClient struct {
    BaseClient
}

func NewCommunityGalleriesClient

func NewCommunityGalleriesClient(subscriptionID string) CommunityGalleriesClient

NewCommunityGalleriesClient creates an instance of the CommunityGalleriesClient client.

func NewCommunityGalleriesClientWithBaseURI

func NewCommunityGalleriesClientWithBaseURI(baseURI string, subscriptionID string) CommunityGalleriesClient

NewCommunityGalleriesClientWithBaseURI creates an instance of the CommunityGalleriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CommunityGalleriesClient) Get

func (client CommunityGalleriesClient) Get(ctx context.Context, location string, publicGalleryName string) (result CommunityGallery, err error)

Get get a community gallery by gallery public name. Parameters: location - resource location. publicGalleryName - the public name of the community gallery.

func (CommunityGalleriesClient) GetPreparer

func (client CommunityGalleriesClient) GetPreparer(ctx context.Context, location string, publicGalleryName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CommunityGalleriesClient) GetResponder

func (client CommunityGalleriesClient) GetResponder(resp *http.Response) (result CommunityGallery, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CommunityGalleriesClient) GetSender

func (client CommunityGalleriesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type CommunityGallery

CommunityGallery specifies information about the Community Gallery that you want to create or update.

type CommunityGallery struct {
    autorest.Response `json:"-"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                        *string `json:"type,omitempty"`
    *CommunityGalleryIdentifier `json:"identifier,omitempty"`
}

func (CommunityGallery) MarshalJSON

func (cg CommunityGallery) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CommunityGallery.

func (*CommunityGallery) UnmarshalJSON

func (cg *CommunityGallery) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CommunityGallery struct.

type CommunityGalleryIdentifier

CommunityGalleryIdentifier the identifier information of community gallery.

type CommunityGalleryIdentifier struct {
    // UniqueID - The unique id of this community gallery.
    UniqueID *string `json:"uniqueId,omitempty"`
}

type CommunityGalleryImage

CommunityGalleryImage specifies information about the gallery image definition that you want to create or update.

type CommunityGalleryImage struct {
    autorest.Response                `json:"-"`
    *CommunityGalleryImageProperties `json:"properties,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                        *string `json:"type,omitempty"`
    *CommunityGalleryIdentifier `json:"identifier,omitempty"`
}

func (CommunityGalleryImage) MarshalJSON

func (cgiVar CommunityGalleryImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CommunityGalleryImage.

func (*CommunityGalleryImage) UnmarshalJSON

func (cgiVar *CommunityGalleryImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CommunityGalleryImage struct.

type CommunityGalleryImageProperties

CommunityGalleryImageProperties describes the properties of a gallery image definition.

type CommunityGalleryImageProperties struct {
    // OsType - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // OsState - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'OperatingSystemStateTypesGeneralized', 'OperatingSystemStateTypesSpecialized'
    OsState OperatingSystemStateTypes `json:"osState,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time                       `json:"endOfLifeDate,omitempty"`
    Identifier    *GalleryImageIdentifier          `json:"identifier,omitempty"`
    Recommended   *RecommendedMachineConfiguration `json:"recommended,omitempty"`
    Disallowed    *Disallowed                      `json:"disallowed,omitempty"`
    // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'HyperVGenerationV1', 'HyperVGenerationV2'
    HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
    // Features - A list of gallery image features.
    Features     *[]GalleryImageFeature `json:"features,omitempty"`
    PurchasePlan *ImagePurchasePlan     `json:"purchasePlan,omitempty"`
}

type CommunityGalleryImageVersion

CommunityGalleryImageVersion specifies information about the gallery image version that you want to create or update.

type CommunityGalleryImageVersion struct {
    autorest.Response                       `json:"-"`
    *CommunityGalleryImageVersionProperties `json:"properties,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                        *string `json:"type,omitempty"`
    *CommunityGalleryIdentifier `json:"identifier,omitempty"`
}

func (CommunityGalleryImageVersion) MarshalJSON

func (cgiv CommunityGalleryImageVersion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CommunityGalleryImageVersion.

func (*CommunityGalleryImageVersion) UnmarshalJSON

func (cgiv *CommunityGalleryImageVersion) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CommunityGalleryImageVersion struct.

type CommunityGalleryImageVersionProperties

CommunityGalleryImageVersionProperties describes the properties of a gallery image version.

type CommunityGalleryImageVersionProperties struct {
    // PublishedDate - The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
    PublishedDate *date.Time `json:"publishedDate,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
}

type CommunityGalleryImageVersionsClient

CommunityGalleryImageVersionsClient is the compute Client

type CommunityGalleryImageVersionsClient struct {
    BaseClient
}

func NewCommunityGalleryImageVersionsClient

func NewCommunityGalleryImageVersionsClient(subscriptionID string) CommunityGalleryImageVersionsClient

NewCommunityGalleryImageVersionsClient creates an instance of the CommunityGalleryImageVersionsClient client.

func NewCommunityGalleryImageVersionsClientWithBaseURI

func NewCommunityGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) CommunityGalleryImageVersionsClient

NewCommunityGalleryImageVersionsClientWithBaseURI creates an instance of the CommunityGalleryImageVersionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CommunityGalleryImageVersionsClient) Get

func (client CommunityGalleryImageVersionsClient) Get(ctx context.Context, location string, publicGalleryName string, galleryImageName string, galleryImageVersionName string) (result CommunityGalleryImageVersion, err error)

Get get a community gallery image version. Parameters: location - resource location. publicGalleryName - the public name of the community gallery. galleryImageName - the name of the community gallery image definition. galleryImageVersionName - the name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>

func (CommunityGalleryImageVersionsClient) GetPreparer

func (client CommunityGalleryImageVersionsClient) GetPreparer(ctx context.Context, location string, publicGalleryName string, galleryImageName string, galleryImageVersionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CommunityGalleryImageVersionsClient) GetResponder

func (client CommunityGalleryImageVersionsClient) GetResponder(resp *http.Response) (result CommunityGalleryImageVersion, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CommunityGalleryImageVersionsClient) GetSender

func (client CommunityGalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type CommunityGalleryImagesClient

CommunityGalleryImagesClient is the compute Client

type CommunityGalleryImagesClient struct {
    BaseClient
}

func NewCommunityGalleryImagesClient

func NewCommunityGalleryImagesClient(subscriptionID string) CommunityGalleryImagesClient

NewCommunityGalleryImagesClient creates an instance of the CommunityGalleryImagesClient client.

func NewCommunityGalleryImagesClientWithBaseURI

func NewCommunityGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) CommunityGalleryImagesClient

NewCommunityGalleryImagesClientWithBaseURI creates an instance of the CommunityGalleryImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CommunityGalleryImagesClient) Get

func (client CommunityGalleryImagesClient) Get(ctx context.Context, location string, publicGalleryName string, galleryImageName string) (result CommunityGalleryImage, err error)

Get get a community gallery image. Parameters: location - resource location. publicGalleryName - the public name of the community gallery. galleryImageName - the name of the community gallery image definition.

func (CommunityGalleryImagesClient) GetPreparer

func (client CommunityGalleryImagesClient) GetPreparer(ctx context.Context, location string, publicGalleryName string, galleryImageName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CommunityGalleryImagesClient) GetResponder

func (client CommunityGalleryImagesClient) GetResponder(resp *http.Response) (result CommunityGalleryImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CommunityGalleryImagesClient) GetSender

func (client CommunityGalleryImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type CommunityGalleryInfo

CommunityGalleryInfo information of community gallery if current gallery is shared to community

type CommunityGalleryInfo struct {
    // PublisherURI - Community gallery publisher uri
    PublisherURI *string `json:"publisherUri,omitempty"`
    // PublisherContact - Community gallery publisher contact email
    PublisherContact *string `json:"publisherContact,omitempty"`
    // Eula - Community gallery publisher eula
    Eula *string `json:"eula,omitempty"`
    // PublicNamePrefix - Community gallery public name prefix
    PublicNamePrefix *string `json:"publicNamePrefix,omitempty"`
    // CommunityGalleryEnabled - READ-ONLY; Contains info about whether community gallery sharing is enabled.
    CommunityGalleryEnabled *bool `json:"communityGalleryEnabled,omitempty"`
    // PublicNames - READ-ONLY; Community gallery public name list.
    PublicNames *[]string `json:"publicNames,omitempty"`
}

func (CommunityGalleryInfo) MarshalJSON

func (cgiVar CommunityGalleryInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CommunityGalleryInfo.

type ComponentNames

ComponentNames enumerates the values for component names.

type ComponentNames string
const (
    // ComponentNamesMicrosoftWindowsShellSetup ...
    ComponentNamesMicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
)

func PossibleComponentNamesValues

func PossibleComponentNamesValues() []ComponentNames

PossibleComponentNamesValues returns an array of possible values for the ComponentNames const type.

type ConfidentialVMEncryptionType

ConfidentialVMEncryptionType enumerates the values for confidential vm encryption type.

type ConfidentialVMEncryptionType string
const (
    // ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk ...
    ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk ConfidentialVMEncryptionType = "EncryptedVMGuestStateOnlyWithPmk"
    // ConfidentialVMEncryptionTypeEncryptedWithCmk ...
    ConfidentialVMEncryptionTypeEncryptedWithCmk ConfidentialVMEncryptionType = "EncryptedWithCmk"
    // ConfidentialVMEncryptionTypeEncryptedWithPmk ...
    ConfidentialVMEncryptionTypeEncryptedWithPmk ConfidentialVMEncryptionType = "EncryptedWithPmk"
)

func PossibleConfidentialVMEncryptionTypeValues

func PossibleConfidentialVMEncryptionTypeValues() []ConfidentialVMEncryptionType

PossibleConfidentialVMEncryptionTypeValues returns an array of possible values for the ConfidentialVMEncryptionType const type.

type ConsistencyModeTypes

ConsistencyModeTypes enumerates the values for consistency mode types.

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

func PossibleConsistencyModeTypesValues

func PossibleConsistencyModeTypesValues() []ConsistencyModeTypes

PossibleConsistencyModeTypesValues returns an array of possible values for the ConsistencyModeTypes const type.

type CreationData

CreationData data used when creating a disk.

type CreationData struct {
    // CreateOption - This enumerates the possible sources of a disk's creation. Possible values include: 'DiskCreateOptionEmpty', 'DiskCreateOptionAttach', 'DiskCreateOptionFromImage', 'DiskCreateOptionImport', 'DiskCreateOptionCopy', 'DiskCreateOptionRestore', 'DiskCreateOptionUpload', 'DiskCreateOptionCopyStart', 'DiskCreateOptionImportSecure', 'DiskCreateOptionUploadPreparedSecure'
    CreateOption DiskCreateOption `json:"createOption,omitempty"`
    // StorageAccountID - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
    StorageAccountID *string `json:"storageAccountId,omitempty"`
    // ImageReference - Disk source information.
    ImageReference *ImageDiskReference `json:"imageReference,omitempty"`
    // GalleryImageReference - Required if creating from a Gallery Image. The id of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
    GalleryImageReference *ImageDiskReference `json:"galleryImageReference,omitempty"`
    // SourceURI - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
    SourceURI *string `json:"sourceUri,omitempty"`
    // SourceResourceID - If createOption is Copy, this is the ARM id of the source snapshot or disk.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // SourceUniqueID - READ-ONLY; If this field is set, this is the unique id identifying the source of this resource.
    SourceUniqueID *string `json:"sourceUniqueId,omitempty"`
    // UploadSizeBytes - If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
    UploadSizeBytes *int64 `json:"uploadSizeBytes,omitempty"`
    // LogicalSectorSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
    LogicalSectorSize *int32 `json:"logicalSectorSize,omitempty"`
    // SecurityDataURI - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
    SecurityDataURI *string `json:"securityDataUri,omitempty"`
}

func (CreationData) MarshalJSON

func (cd CreationData) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreationData.

type DataAccessAuthMode

DataAccessAuthMode enumerates the values for data access auth mode.

type DataAccessAuthMode string
const (
    // DataAccessAuthModeAzureActiveDirectory When export/upload URL is used, the system checks if the user has
    // an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please
    // refer to aka.ms/DisksAzureADAuth.
    DataAccessAuthModeAzureActiveDirectory DataAccessAuthMode = "AzureActiveDirectory"
    // DataAccessAuthModeNone No additional authentication would be performed when accessing export/upload URL.
    DataAccessAuthModeNone DataAccessAuthMode = "None"
)

func PossibleDataAccessAuthModeValues

func PossibleDataAccessAuthModeValues() []DataAccessAuthMode

PossibleDataAccessAuthModeValues returns an array of possible values for the DataAccessAuthMode const type.

type DataDisk

DataDisk describes a data disk.

type DataDisk struct {
    // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
    Lun *int32 `json:"lun,omitempty"`
    // Name - The disk name.
    Name *string `json:"name,omitempty"`
    // Vhd - The virtual hard disk.
    Vhd *VirtualHardDisk `json:"vhd,omitempty"`
    // Image - The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
    Image *VirtualHardDisk `json:"image,omitempty"`
    // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
    WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
    // CreateOption - Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
    CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
    // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // ManagedDisk - The managed disk parameters.
    ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
    // ToBeDetached - Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset
    ToBeDetached *bool `json:"toBeDetached,omitempty"`
    // DiskIOPSReadWrite - READ-ONLY; Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set.
    DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
    // DiskMBpsReadWrite - READ-ONLY; Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set.
    DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"`
    // DetachOption - Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**. <br><br> detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. <br><br> This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'. Possible values include: 'DiskDetachOptionTypesForceDetach'
    DetachOption DiskDetachOptionTypes `json:"detachOption,omitempty"`
    // DeleteOption - Specifies whether data disk should be deleted or detached upon VM deletion.<br><br> Possible values: <br><br> **Delete** If this value is used, the data disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the data disk is retained after VM is deleted.<br><br> The default value is set to **detach**. Possible values include: 'DiskDeleteOptionTypesDelete', 'DiskDeleteOptionTypesDetach'
    DeleteOption DiskDeleteOptionTypes `json:"deleteOption,omitempty"`
}

func (DataDisk) MarshalJSON

func (dd DataDisk) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataDisk.

type DataDiskImage

DataDiskImage contains the data disk images information.

type DataDiskImage struct {
    // Lun - READ-ONLY; Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
    Lun *int32 `json:"lun,omitempty"`
}

func (DataDiskImage) MarshalJSON

func (ddi DataDiskImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DataDiskImage.

type DataDiskImageEncryption

DataDiskImageEncryption contains encryption settings for a data disk image.

type DataDiskImageEncryption struct {
    // Lun - This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
    Lun *int32 `json:"lun,omitempty"`
    // DiskEncryptionSetID - A relative URI containing the resource ID of the disk encryption set.
    DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty"`
}

type DedicatedHost

DedicatedHost specifies information about the Dedicated host.

type DedicatedHost struct {
    autorest.Response        `json:"-"`
    *DedicatedHostProperties `json:"properties,omitempty"`
    // Sku - SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values.
    Sku *Sku `json:"sku,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DedicatedHost) MarshalJSON

func (dh DedicatedHost) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHost.

func (*DedicatedHost) UnmarshalJSON

func (dh *DedicatedHost) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedHost struct.

type DedicatedHostAllocatableVM

DedicatedHostAllocatableVM represents the dedicated host unutilized capacity in terms of a specific VM size.

type DedicatedHostAllocatableVM struct {
    // VMSize - VM size in terms of which the unutilized capacity is represented.
    VMSize *string `json:"vmSize,omitempty"`
    // Count - Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity.
    Count *float64 `json:"count,omitempty"`
}

type DedicatedHostAvailableCapacity

DedicatedHostAvailableCapacity dedicated host unutilized capacity.

type DedicatedHostAvailableCapacity struct {
    // AllocatableVMs - The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host.
    AllocatableVMs *[]DedicatedHostAllocatableVM `json:"allocatableVMs,omitempty"`
}

type DedicatedHostGroup

DedicatedHostGroup specifies information about the dedicated host group that the dedicated hosts should be assigned to. <br><br> Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group.

type DedicatedHostGroup struct {
    autorest.Response             `json:"-"`
    *DedicatedHostGroupProperties `json:"properties,omitempty"`
    // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.
    Zones *[]string `json:"zones,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DedicatedHostGroup) MarshalJSON

func (dhg DedicatedHostGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHostGroup.

func (*DedicatedHostGroup) UnmarshalJSON

func (dhg *DedicatedHostGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedHostGroup struct.

type DedicatedHostGroupInstanceView

DedicatedHostGroupInstanceView ...

type DedicatedHostGroupInstanceView struct {
    // Hosts - List of instance view of the dedicated hosts under the dedicated host group.
    Hosts *[]DedicatedHostInstanceViewWithName `json:"hosts,omitempty"`
}

type DedicatedHostGroupListResult

DedicatedHostGroupListResult the List Dedicated Host Group with resource group response.

type DedicatedHostGroupListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of dedicated host groups
    Value *[]DedicatedHostGroup `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DedicatedHostGroupListResult) IsEmpty

func (dhglr DedicatedHostGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DedicatedHostGroupListResultIterator

DedicatedHostGroupListResultIterator provides access to a complete listing of DedicatedHostGroup values.

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

func NewDedicatedHostGroupListResultIterator

func NewDedicatedHostGroupListResultIterator(page DedicatedHostGroupListResultPage) DedicatedHostGroupListResultIterator

Creates a new instance of the DedicatedHostGroupListResultIterator type.

func (*DedicatedHostGroupListResultIterator) Next

func (iter *DedicatedHostGroupListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DedicatedHostGroupListResultIterator) NextWithContext

func (iter *DedicatedHostGroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DedicatedHostGroupListResultIterator) NotDone

func (iter DedicatedHostGroupListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DedicatedHostGroupListResultIterator) Response

func (iter DedicatedHostGroupListResultIterator) Response() DedicatedHostGroupListResult

Response returns the raw server response from the last page request.

func (DedicatedHostGroupListResultIterator) Value

func (iter DedicatedHostGroupListResultIterator) Value() DedicatedHostGroup

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DedicatedHostGroupListResultPage

DedicatedHostGroupListResultPage contains a page of DedicatedHostGroup values.

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

func NewDedicatedHostGroupListResultPage

func NewDedicatedHostGroupListResultPage(cur DedicatedHostGroupListResult, getNextPage func(context.Context, DedicatedHostGroupListResult) (DedicatedHostGroupListResult, error)) DedicatedHostGroupListResultPage

Creates a new instance of the DedicatedHostGroupListResultPage type.

func (*DedicatedHostGroupListResultPage) Next

func (page *DedicatedHostGroupListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DedicatedHostGroupListResultPage) NextWithContext

func (page *DedicatedHostGroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DedicatedHostGroupListResultPage) NotDone

func (page DedicatedHostGroupListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DedicatedHostGroupListResultPage) Response

func (page DedicatedHostGroupListResultPage) Response() DedicatedHostGroupListResult

Response returns the raw server response from the last page request.

func (DedicatedHostGroupListResultPage) Values

func (page DedicatedHostGroupListResultPage) Values() []DedicatedHostGroup

Values returns the slice of values for the current page or nil if there are no values.

type DedicatedHostGroupProperties

DedicatedHostGroupProperties dedicated Host Group Properties.

type DedicatedHostGroupProperties struct {
    // PlatformFaultDomainCount - Number of fault domains that the host group can span.
    PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
    // Hosts - READ-ONLY; A list of references to all dedicated hosts in the dedicated host group.
    Hosts *[]SubResourceReadOnly `json:"hosts,omitempty"`
    // InstanceView - READ-ONLY; The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group.
    InstanceView *DedicatedHostGroupInstanceView `json:"instanceView,omitempty"`
    // SupportAutomaticPlacement - Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br><br>Minimum api-version: 2020-06-01.
    SupportAutomaticPlacement *bool `json:"supportAutomaticPlacement,omitempty"`
}

func (DedicatedHostGroupProperties) MarshalJSON

func (dhgp DedicatedHostGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHostGroupProperties.

type DedicatedHostGroupUpdate

DedicatedHostGroupUpdate specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated.

type DedicatedHostGroupUpdate struct {
    *DedicatedHostGroupProperties `json:"properties,omitempty"`
    // Zones - Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone.
    Zones *[]string `json:"zones,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DedicatedHostGroupUpdate) MarshalJSON

func (dhgu DedicatedHostGroupUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHostGroupUpdate.

func (*DedicatedHostGroupUpdate) UnmarshalJSON

func (dhgu *DedicatedHostGroupUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedHostGroupUpdate struct.

type DedicatedHostGroupsClient

DedicatedHostGroupsClient is the compute Client

type DedicatedHostGroupsClient struct {
    BaseClient
}

func NewDedicatedHostGroupsClient

func NewDedicatedHostGroupsClient(subscriptionID string) DedicatedHostGroupsClient

NewDedicatedHostGroupsClient creates an instance of the DedicatedHostGroupsClient client.

func NewDedicatedHostGroupsClientWithBaseURI

func NewDedicatedHostGroupsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostGroupsClient

NewDedicatedHostGroupsClientWithBaseURI creates an instance of the DedicatedHostGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DedicatedHostGroupsClient) CreateOrUpdate

func (client DedicatedHostGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (result DedicatedHostGroup, err error)

CreateOrUpdate create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596) Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. parameters - parameters supplied to the Create Dedicated Host Group.

func (DedicatedHostGroupsClient) CreateOrUpdatePreparer

func (client DedicatedHostGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DedicatedHostGroupsClient) CreateOrUpdateResponder

func (client DedicatedHostGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DedicatedHostGroupsClient) CreateOrUpdateSender

func (client DedicatedHostGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostGroupsClient) Delete

func (client DedicatedHostGroupsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string) (result autorest.Response, err error)

Delete delete a dedicated host group. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group.

func (DedicatedHostGroupsClient) DeletePreparer

func (client DedicatedHostGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DedicatedHostGroupsClient) DeleteResponder

func (client DedicatedHostGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DedicatedHostGroupsClient) DeleteSender

func (client DedicatedHostGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostGroupsClient) Get

func (client DedicatedHostGroupsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, expand InstanceViewTypes) (result DedicatedHostGroup, err error)

Get retrieves information about a dedicated host group. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. expand - the expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated hosts under the dedicated host group. 'UserData' is not supported for dedicated host group.

func (DedicatedHostGroupsClient) GetPreparer

func (client DedicatedHostGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, expand InstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (DedicatedHostGroupsClient) GetResponder

func (client DedicatedHostGroupsClient) GetResponder(resp *http.Response) (result DedicatedHostGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DedicatedHostGroupsClient) GetSender

func (client DedicatedHostGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostGroupsClient) ListByResourceGroup

func (client DedicatedHostGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultPage, err error)

ListByResourceGroup lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups. Parameters: resourceGroupName - the name of the resource group.

func (DedicatedHostGroupsClient) ListByResourceGroupComplete

func (client DedicatedHostGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DedicatedHostGroupListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DedicatedHostGroupsClient) ListByResourceGroupPreparer

func (client DedicatedHostGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DedicatedHostGroupsClient) ListByResourceGroupResponder

func (client DedicatedHostGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DedicatedHostGroupsClient) ListByResourceGroupSender

func (client DedicatedHostGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostGroupsClient) ListBySubscription

func (client DedicatedHostGroupsClient) ListBySubscription(ctx context.Context) (result DedicatedHostGroupListResultPage, err error)

ListBySubscription lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.

func (DedicatedHostGroupsClient) ListBySubscriptionComplete

func (client DedicatedHostGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result DedicatedHostGroupListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (DedicatedHostGroupsClient) ListBySubscriptionPreparer

func (client DedicatedHostGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DedicatedHostGroupsClient) ListBySubscriptionResponder

func (client DedicatedHostGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedHostGroupListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DedicatedHostGroupsClient) ListBySubscriptionSender

func (client DedicatedHostGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostGroupsClient) Update

func (client DedicatedHostGroupsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (result DedicatedHostGroup, err error)

Update update an dedicated host group. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. parameters - parameters supplied to the Update Dedicated Host Group operation.

func (DedicatedHostGroupsClient) UpdatePreparer

func (client DedicatedHostGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, parameters DedicatedHostGroupUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DedicatedHostGroupsClient) UpdateResponder

func (client DedicatedHostGroupsClient) UpdateResponder(resp *http.Response) (result DedicatedHostGroup, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DedicatedHostGroupsClient) UpdateSender

func (client DedicatedHostGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DedicatedHostInstanceView

DedicatedHostInstanceView the instance view of a dedicated host.

type DedicatedHostInstanceView struct {
    // AssetID - READ-ONLY; Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
    AssetID *string `json:"assetId,omitempty"`
    // AvailableCapacity - Unutilized capacity of the dedicated host.
    AvailableCapacity *DedicatedHostAvailableCapacity `json:"availableCapacity,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

func (DedicatedHostInstanceView) MarshalJSON

func (dhiv DedicatedHostInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHostInstanceView.

type DedicatedHostInstanceViewWithName

DedicatedHostInstanceViewWithName the instance view of a dedicated host that includes the name of the dedicated host. It is used for the response to the instance view of a dedicated host group.

type DedicatedHostInstanceViewWithName struct {
    // Name - READ-ONLY; The name of the dedicated host.
    Name *string `json:"name,omitempty"`
    // AssetID - READ-ONLY; Specifies the unique id of the dedicated physical machine on which the dedicated host resides.
    AssetID *string `json:"assetId,omitempty"`
    // AvailableCapacity - Unutilized capacity of the dedicated host.
    AvailableCapacity *DedicatedHostAvailableCapacity `json:"availableCapacity,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

func (DedicatedHostInstanceViewWithName) MarshalJSON

func (dhivwn DedicatedHostInstanceViewWithName) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHostInstanceViewWithName.

type DedicatedHostLicenseTypes

DedicatedHostLicenseTypes enumerates the values for dedicated host license types.

type DedicatedHostLicenseTypes string
const (
    // DedicatedHostLicenseTypesNone ...
    DedicatedHostLicenseTypesNone DedicatedHostLicenseTypes = "None"
    // DedicatedHostLicenseTypesWindowsServerHybrid ...
    DedicatedHostLicenseTypesWindowsServerHybrid DedicatedHostLicenseTypes = "Windows_Server_Hybrid"
    // DedicatedHostLicenseTypesWindowsServerPerpetual ...
    DedicatedHostLicenseTypesWindowsServerPerpetual DedicatedHostLicenseTypes = "Windows_Server_Perpetual"
)

func PossibleDedicatedHostLicenseTypesValues

func PossibleDedicatedHostLicenseTypesValues() []DedicatedHostLicenseTypes

PossibleDedicatedHostLicenseTypesValues returns an array of possible values for the DedicatedHostLicenseTypes const type.

type DedicatedHostListResult

DedicatedHostListResult the list dedicated host operation response.

type DedicatedHostListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of dedicated hosts
    Value *[]DedicatedHost `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DedicatedHostListResult) IsEmpty

func (dhlr DedicatedHostListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DedicatedHostListResultIterator

DedicatedHostListResultIterator provides access to a complete listing of DedicatedHost values.

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

func NewDedicatedHostListResultIterator

func NewDedicatedHostListResultIterator(page DedicatedHostListResultPage) DedicatedHostListResultIterator

Creates a new instance of the DedicatedHostListResultIterator type.

func (*DedicatedHostListResultIterator) Next

func (iter *DedicatedHostListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DedicatedHostListResultIterator) NextWithContext

func (iter *DedicatedHostListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DedicatedHostListResultIterator) NotDone

func (iter DedicatedHostListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DedicatedHostListResultIterator) Response

func (iter DedicatedHostListResultIterator) Response() DedicatedHostListResult

Response returns the raw server response from the last page request.

func (DedicatedHostListResultIterator) Value

func (iter DedicatedHostListResultIterator) Value() DedicatedHost

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DedicatedHostListResultPage

DedicatedHostListResultPage contains a page of DedicatedHost values.

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

func NewDedicatedHostListResultPage

func NewDedicatedHostListResultPage(cur DedicatedHostListResult, getNextPage func(context.Context, DedicatedHostListResult) (DedicatedHostListResult, error)) DedicatedHostListResultPage

Creates a new instance of the DedicatedHostListResultPage type.

func (*DedicatedHostListResultPage) Next

func (page *DedicatedHostListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DedicatedHostListResultPage) NextWithContext

func (page *DedicatedHostListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DedicatedHostListResultPage) NotDone

func (page DedicatedHostListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DedicatedHostListResultPage) Response

func (page DedicatedHostListResultPage) Response() DedicatedHostListResult

Response returns the raw server response from the last page request.

func (DedicatedHostListResultPage) Values

func (page DedicatedHostListResultPage) Values() []DedicatedHost

Values returns the slice of values for the current page or nil if there are no values.

type DedicatedHostProperties

DedicatedHostProperties properties of the dedicated host.

type DedicatedHostProperties struct {
    // PlatformFaultDomain - Fault domain of the dedicated host within a dedicated host group.
    PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
    // AutoReplaceOnFailure - Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided.
    AutoReplaceOnFailure *bool `json:"autoReplaceOnFailure,omitempty"`
    // HostID - READ-ONLY; A unique id generated and assigned to the dedicated host by the platform. <br><br> Does not change throughout the lifetime of the host.
    HostID *string `json:"hostId,omitempty"`
    // VirtualMachines - READ-ONLY; A list of references to all virtual machines in the Dedicated Host.
    VirtualMachines *[]SubResourceReadOnly `json:"virtualMachines,omitempty"`
    // LicenseType - Specifies the software license type that will be applied to the VMs deployed on the dedicated host. <br><br> Possible values are: <br><br> **None** <br><br> **Windows_Server_Hybrid** <br><br> **Windows_Server_Perpetual** <br><br> Default: **None**. Possible values include: 'DedicatedHostLicenseTypesNone', 'DedicatedHostLicenseTypesWindowsServerHybrid', 'DedicatedHostLicenseTypesWindowsServerPerpetual'
    LicenseType DedicatedHostLicenseTypes `json:"licenseType,omitempty"`
    // ProvisioningTime - READ-ONLY; The date when the host was first provisioned.
    ProvisioningTime *date.Time `json:"provisioningTime,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // InstanceView - READ-ONLY; The dedicated host instance view.
    InstanceView *DedicatedHostInstanceView `json:"instanceView,omitempty"`
    // TimeCreated - READ-ONLY; Specifies the time at which the Dedicated Host resource was created.<br><br>Minimum api-version: 2021-11-01.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
}

func (DedicatedHostProperties) MarshalJSON

func (dhp DedicatedHostProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHostProperties.

type DedicatedHostUpdate

DedicatedHostUpdate specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated.

type DedicatedHostUpdate struct {
    *DedicatedHostProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DedicatedHostUpdate) MarshalJSON

func (dhu DedicatedHostUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedHostUpdate.

func (*DedicatedHostUpdate) UnmarshalJSON

func (dhu *DedicatedHostUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedHostUpdate struct.

type DedicatedHostsClient

DedicatedHostsClient is the compute Client

type DedicatedHostsClient struct {
    BaseClient
}

func NewDedicatedHostsClient

func NewDedicatedHostsClient(subscriptionID string) DedicatedHostsClient

NewDedicatedHostsClient creates an instance of the DedicatedHostsClient client.

func NewDedicatedHostsClientWithBaseURI

func NewDedicatedHostsClientWithBaseURI(baseURI string, subscriptionID string) DedicatedHostsClient

NewDedicatedHostsClientWithBaseURI creates an instance of the DedicatedHostsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DedicatedHostsClient) CreateOrUpdate

func (client DedicatedHostsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (result DedicatedHostsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a dedicated host . Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host . parameters - parameters supplied to the Create Dedicated Host.

func (DedicatedHostsClient) CreateOrUpdatePreparer

func (client DedicatedHostsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHost) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DedicatedHostsClient) CreateOrUpdateResponder

func (client DedicatedHostsClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedHost, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DedicatedHostsClient) CreateOrUpdateSender

func (client DedicatedHostsClient) CreateOrUpdateSender(req *http.Request) (future DedicatedHostsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostsClient) Delete

func (client DedicatedHostsClient) Delete(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result DedicatedHostsDeleteFuture, err error)

Delete delete a dedicated host. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host.

func (DedicatedHostsClient) DeletePreparer

func (client DedicatedHostsClient) DeletePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DedicatedHostsClient) DeleteResponder

func (client DedicatedHostsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DedicatedHostsClient) DeleteSender

func (client DedicatedHostsClient) DeleteSender(req *http.Request) (future DedicatedHostsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostsClient) Get

func (client DedicatedHostsClient) Get(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (result DedicatedHost, err error)

Get retrieves information about a dedicated host. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host. expand - the expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated host. 'UserData' is not supported for dedicated host.

func (DedicatedHostsClient) GetPreparer

func (client DedicatedHostsClient) GetPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, expand InstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (DedicatedHostsClient) GetResponder

func (client DedicatedHostsClient) GetResponder(resp *http.Response) (result DedicatedHost, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DedicatedHostsClient) GetSender

func (client DedicatedHostsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostsClient) ListByHostGroup

func (client DedicatedHostsClient) ListByHostGroup(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultPage, err error)

ListByHostGroup lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group.

func (DedicatedHostsClient) ListByHostGroupComplete

func (client DedicatedHostsClient) ListByHostGroupComplete(ctx context.Context, resourceGroupName string, hostGroupName string) (result DedicatedHostListResultIterator, err error)

ListByHostGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DedicatedHostsClient) ListByHostGroupPreparer

func (client DedicatedHostsClient) ListByHostGroupPreparer(ctx context.Context, resourceGroupName string, hostGroupName string) (*http.Request, error)

ListByHostGroupPreparer prepares the ListByHostGroup request.

func (DedicatedHostsClient) ListByHostGroupResponder

func (client DedicatedHostsClient) ListByHostGroupResponder(resp *http.Response) (result DedicatedHostListResult, err error)

ListByHostGroupResponder handles the response to the ListByHostGroup request. The method always closes the http.Response Body.

func (DedicatedHostsClient) ListByHostGroupSender

func (client DedicatedHostsClient) ListByHostGroupSender(req *http.Request) (*http.Response, error)

ListByHostGroupSender sends the ListByHostGroup request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostsClient) Restart

func (client DedicatedHostsClient) Restart(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (result DedicatedHostsRestartFuture, err error)

Restart restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/en-us/azure/service-health/resource-health-overview for more details. Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host.

func (DedicatedHostsClient) RestartPreparer

func (client DedicatedHostsClient) RestartPreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (DedicatedHostsClient) RestartResponder

func (client DedicatedHostsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (DedicatedHostsClient) RestartSender

func (client DedicatedHostsClient) RestartSender(req *http.Request) (future DedicatedHostsRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (DedicatedHostsClient) Update

func (client DedicatedHostsClient) Update(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (result DedicatedHostsUpdateFuture, err error)

Update update an dedicated host . Parameters: resourceGroupName - the name of the resource group. hostGroupName - the name of the dedicated host group. hostName - the name of the dedicated host . parameters - parameters supplied to the Update Dedicated Host operation.

func (DedicatedHostsClient) UpdatePreparer

func (client DedicatedHostsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, hostGroupName string, hostName string, parameters DedicatedHostUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DedicatedHostsClient) UpdateResponder

func (client DedicatedHostsClient) UpdateResponder(resp *http.Response) (result DedicatedHost, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DedicatedHostsClient) UpdateSender

func (client DedicatedHostsClient) UpdateSender(req *http.Request) (future DedicatedHostsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DedicatedHostsCreateOrUpdateFuture

DedicatedHostsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DedicatedHostsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DedicatedHostsClient) (DedicatedHost, error)
}

func (*DedicatedHostsCreateOrUpdateFuture) UnmarshalJSON

func (future *DedicatedHostsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DedicatedHostsDeleteFuture

DedicatedHostsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DedicatedHostsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DedicatedHostsClient) (autorest.Response, error)
}

func (*DedicatedHostsDeleteFuture) UnmarshalJSON

func (future *DedicatedHostsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DedicatedHostsRestartFuture

DedicatedHostsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DedicatedHostsRestartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DedicatedHostsClient) (autorest.Response, error)
}

func (*DedicatedHostsRestartFuture) UnmarshalJSON

func (future *DedicatedHostsRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DedicatedHostsUpdateFuture

DedicatedHostsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DedicatedHostsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DedicatedHostsClient) (DedicatedHost, error)
}

func (*DedicatedHostsUpdateFuture) UnmarshalJSON

func (future *DedicatedHostsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DeleteOptions

DeleteOptions enumerates the values for delete options.

type DeleteOptions string
const (
    // DeleteOptionsDelete ...
    DeleteOptionsDelete DeleteOptions = "Delete"
    // DeleteOptionsDetach ...
    DeleteOptionsDetach DeleteOptions = "Detach"
)

func PossibleDeleteOptionsValues

func PossibleDeleteOptionsValues() []DeleteOptions

PossibleDeleteOptionsValues returns an array of possible values for the DeleteOptions const type.

type DiagnosticsProfile

DiagnosticsProfile specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.

type DiagnosticsProfile struct {
    // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br>**NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
    BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}

type DiffDiskOptions

DiffDiskOptions enumerates the values for diff disk options.

type DiffDiskOptions string
const (
    // DiffDiskOptionsLocal ...
    DiffDiskOptionsLocal DiffDiskOptions = "Local"
)

func PossibleDiffDiskOptionsValues

func PossibleDiffDiskOptionsValues() []DiffDiskOptions

PossibleDiffDiskOptionsValues returns an array of possible values for the DiffDiskOptions const type.

type DiffDiskPlacement

DiffDiskPlacement enumerates the values for diff disk placement.

type DiffDiskPlacement string
const (
    // DiffDiskPlacementCacheDisk ...
    DiffDiskPlacementCacheDisk DiffDiskPlacement = "CacheDisk"
    // DiffDiskPlacementResourceDisk ...
    DiffDiskPlacementResourceDisk DiffDiskPlacement = "ResourceDisk"
)

func PossibleDiffDiskPlacementValues

func PossibleDiffDiskPlacementValues() []DiffDiskPlacement

PossibleDiffDiskPlacementValues returns an array of possible values for the DiffDiskPlacement const type.

type DiffDiskSettings

DiffDiskSettings describes the parameters of ephemeral disk settings that can be specified for operating system disk. <br><br> NOTE: The ephemeral disk settings can only be specified for managed disk.

type DiffDiskSettings struct {
    // Option - Specifies the ephemeral disk settings for operating system disk. Possible values include: 'DiffDiskOptionsLocal'
    Option DiffDiskOptions `json:"option,omitempty"`
    // Placement - Specifies the ephemeral disk placement for operating system disk.<br><br> Possible values are: <br><br> **CacheDisk** <br><br> **ResourceDisk** <br><br> Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.<br><br> Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk. Possible values include: 'DiffDiskPlacementCacheDisk', 'DiffDiskPlacementResourceDisk'
    Placement DiffDiskPlacement `json:"placement,omitempty"`
}

type Disallowed

Disallowed describes the disallowed disk types.

type Disallowed struct {
    // DiskTypes - A list of disk types.
    DiskTypes *[]string `json:"diskTypes,omitempty"`
}

type DisallowedConfiguration

DisallowedConfiguration specifies the disallowed configuration for a virtual machine image.

type DisallowedConfiguration struct {
    // VMDiskType - VM disk types which are disallowed. Possible values include: 'VMDiskTypesNone', 'VMDiskTypesUnmanaged'
    VMDiskType VMDiskTypes `json:"vmDiskType,omitempty"`
}

type Disk

Disk disk resource.

type Disk struct {
    autorest.Response `json:"-"`
    // ManagedBy - READ-ONLY; A relative URI containing the ID of the VM that has the disk attached.
    ManagedBy *string `json:"managedBy,omitempty"`
    // ManagedByExtended - READ-ONLY; List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
    ManagedByExtended *[]string `json:"managedByExtended,omitempty"`
    Sku               *DiskSku  `json:"sku,omitempty"`
    // Zones - The Logical zone list for Disk.
    Zones *[]string `json:"zones,omitempty"`
    // ExtendedLocation - The extended location where the disk will be created. Extended location cannot be changed.
    ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
    *DiskProperties  `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (Disk) MarshalJSON

func (d Disk) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Disk.

func (*Disk) UnmarshalJSON

func (d *Disk) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Disk struct.

type DiskAccess

DiskAccess disk access resource.

type DiskAccess struct {
    autorest.Response     `json:"-"`
    *DiskAccessProperties `json:"properties,omitempty"`
    // ExtendedLocation - The extended location where the disk access will be created. Extended location cannot be changed.
    ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DiskAccess) MarshalJSON

func (da DiskAccess) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskAccess.

func (*DiskAccess) UnmarshalJSON

func (da *DiskAccess) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiskAccess struct.

type DiskAccessList

DiskAccessList the List disk access operation response.

type DiskAccessList struct {
    autorest.Response `json:"-"`
    // Value - A list of disk access resources.
    Value *[]DiskAccess `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch the next page of disk access resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DiskAccessList) IsEmpty

func (dal DiskAccessList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DiskAccessListIterator

DiskAccessListIterator provides access to a complete listing of DiskAccess values.

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

func NewDiskAccessListIterator

func NewDiskAccessListIterator(page DiskAccessListPage) DiskAccessListIterator

Creates a new instance of the DiskAccessListIterator type.

func (*DiskAccessListIterator) Next

func (iter *DiskAccessListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskAccessListIterator) NextWithContext

func (iter *DiskAccessListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DiskAccessListIterator) NotDone

func (iter DiskAccessListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DiskAccessListIterator) Response

func (iter DiskAccessListIterator) Response() DiskAccessList

Response returns the raw server response from the last page request.

func (DiskAccessListIterator) Value

func (iter DiskAccessListIterator) Value() DiskAccess

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DiskAccessListPage

DiskAccessListPage contains a page of DiskAccess values.

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

func NewDiskAccessListPage

func NewDiskAccessListPage(cur DiskAccessList, getNextPage func(context.Context, DiskAccessList) (DiskAccessList, error)) DiskAccessListPage

Creates a new instance of the DiskAccessListPage type.

func (*DiskAccessListPage) Next

func (page *DiskAccessListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskAccessListPage) NextWithContext

func (page *DiskAccessListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DiskAccessListPage) NotDone

func (page DiskAccessListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DiskAccessListPage) Response

func (page DiskAccessListPage) Response() DiskAccessList

Response returns the raw server response from the last page request.

func (DiskAccessListPage) Values

func (page DiskAccessListPage) Values() []DiskAccess

Values returns the slice of values for the current page or nil if there are no values.

type DiskAccessProperties

DiskAccessProperties ...

type DiskAccessProperties struct {
    // PrivateEndpointConnections - READ-ONLY; A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported.
    PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
    // ProvisioningState - READ-ONLY; The disk access resource provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // TimeCreated - READ-ONLY; The time when the disk access was created.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
}

func (DiskAccessProperties) MarshalJSON

func (dap DiskAccessProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskAccessProperties.

type DiskAccessUpdate

DiskAccessUpdate used for updating a disk access resource.

type DiskAccessUpdate struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DiskAccessUpdate) MarshalJSON

func (dau DiskAccessUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskAccessUpdate.

type DiskAccessesClient

DiskAccessesClient is the compute Client

type DiskAccessesClient struct {
    BaseClient
}

func NewDiskAccessesClient

func NewDiskAccessesClient(subscriptionID string) DiskAccessesClient

NewDiskAccessesClient creates an instance of the DiskAccessesClient client.

func NewDiskAccessesClientWithBaseURI

func NewDiskAccessesClientWithBaseURI(baseURI string, subscriptionID string) DiskAccessesClient

NewDiskAccessesClientWithBaseURI creates an instance of the DiskAccessesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DiskAccessesClient) CreateOrUpdate

func (client DiskAccessesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccess) (result DiskAccessesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a disk access resource Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. diskAccess - disk access object supplied in the body of the Put disk access operation.

func (DiskAccessesClient) CreateOrUpdatePreparer

func (client DiskAccessesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccess) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DiskAccessesClient) CreateOrUpdateResponder

func (client DiskAccessesClient) CreateOrUpdateResponder(resp *http.Response) (result DiskAccess, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DiskAccessesClient) CreateOrUpdateSender

func (client DiskAccessesClient) CreateOrUpdateSender(req *http.Request) (future DiskAccessesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) Delete

func (client DiskAccessesClient) Delete(ctx context.Context, resourceGroupName string, diskAccessName string) (result DiskAccessesDeleteFuture, err error)

Delete deletes a disk access resource. Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DiskAccessesClient) DeleteAPrivateEndpointConnection

func (client DiskAccessesClient) DeleteAPrivateEndpointConnection(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (result DiskAccessesDeleteAPrivateEndpointConnectionFuture, err error)

DeleteAPrivateEndpointConnection deletes a private endpoint connection under a disk access resource. Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. privateEndpointConnectionName - the name of the private endpoint connection.

func (DiskAccessesClient) DeleteAPrivateEndpointConnectionPreparer

func (client DiskAccessesClient) DeleteAPrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (*http.Request, error)

DeleteAPrivateEndpointConnectionPreparer prepares the DeleteAPrivateEndpointConnection request.

func (DiskAccessesClient) DeleteAPrivateEndpointConnectionResponder

func (client DiskAccessesClient) DeleteAPrivateEndpointConnectionResponder(resp *http.Response) (result autorest.Response, err error)

DeleteAPrivateEndpointConnectionResponder handles the response to the DeleteAPrivateEndpointConnection request. The method always closes the http.Response Body.

func (DiskAccessesClient) DeleteAPrivateEndpointConnectionSender

func (client DiskAccessesClient) DeleteAPrivateEndpointConnectionSender(req *http.Request) (future DiskAccessesDeleteAPrivateEndpointConnectionFuture, err error)

DeleteAPrivateEndpointConnectionSender sends the DeleteAPrivateEndpointConnection request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) DeletePreparer

func (client DiskAccessesClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DiskAccessesClient) DeleteResponder

func (client DiskAccessesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DiskAccessesClient) DeleteSender

func (client DiskAccessesClient) DeleteSender(req *http.Request) (future DiskAccessesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) Get

func (client DiskAccessesClient) Get(ctx context.Context, resourceGroupName string, diskAccessName string) (result DiskAccess, err error)

Get gets information about a disk access resource. Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DiskAccessesClient) GetAPrivateEndpointConnection

func (client DiskAccessesClient) GetAPrivateEndpointConnection(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

GetAPrivateEndpointConnection gets information about a private endpoint connection under a disk access resource. Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. privateEndpointConnectionName - the name of the private endpoint connection.

func (DiskAccessesClient) GetAPrivateEndpointConnectionPreparer

func (client DiskAccessesClient) GetAPrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string) (*http.Request, error)

GetAPrivateEndpointConnectionPreparer prepares the GetAPrivateEndpointConnection request.

func (DiskAccessesClient) GetAPrivateEndpointConnectionResponder

func (client DiskAccessesClient) GetAPrivateEndpointConnectionResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetAPrivateEndpointConnectionResponder handles the response to the GetAPrivateEndpointConnection request. The method always closes the http.Response Body.

func (DiskAccessesClient) GetAPrivateEndpointConnectionSender

func (client DiskAccessesClient) GetAPrivateEndpointConnectionSender(req *http.Request) (*http.Response, error)

GetAPrivateEndpointConnectionSender sends the GetAPrivateEndpointConnection request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) GetPreparer

func (client DiskAccessesClient) GetPreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DiskAccessesClient) GetPrivateLinkResources

func (client DiskAccessesClient) GetPrivateLinkResources(ctx context.Context, resourceGroupName string, diskAccessName string) (result PrivateLinkResourceListResult, err error)

GetPrivateLinkResources gets the private link resources possible under disk access resource Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DiskAccessesClient) GetPrivateLinkResourcesPreparer

func (client DiskAccessesClient) GetPrivateLinkResourcesPreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)

GetPrivateLinkResourcesPreparer prepares the GetPrivateLinkResources request.

func (DiskAccessesClient) GetPrivateLinkResourcesResponder

func (client DiskAccessesClient) GetPrivateLinkResourcesResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

GetPrivateLinkResourcesResponder handles the response to the GetPrivateLinkResources request. The method always closes the http.Response Body.

func (DiskAccessesClient) GetPrivateLinkResourcesSender

func (client DiskAccessesClient) GetPrivateLinkResourcesSender(req *http.Request) (*http.Response, error)

GetPrivateLinkResourcesSender sends the GetPrivateLinkResources request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) GetResponder

func (client DiskAccessesClient) GetResponder(resp *http.Response) (result DiskAccess, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DiskAccessesClient) GetSender

func (client DiskAccessesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) List

func (client DiskAccessesClient) List(ctx context.Context) (result DiskAccessListPage, err error)

List lists all the disk access resources under a subscription.

func (DiskAccessesClient) ListByResourceGroup

func (client DiskAccessesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskAccessListPage, err error)

ListByResourceGroup lists all the disk access resources under a resource group. Parameters: resourceGroupName - the name of the resource group.

func (DiskAccessesClient) ListByResourceGroupComplete

func (client DiskAccessesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskAccessListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DiskAccessesClient) ListByResourceGroupPreparer

func (client DiskAccessesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DiskAccessesClient) ListByResourceGroupResponder

func (client DiskAccessesClient) ListByResourceGroupResponder(resp *http.Response) (result DiskAccessList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DiskAccessesClient) ListByResourceGroupSender

func (client DiskAccessesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) ListComplete

func (client DiskAccessesClient) ListComplete(ctx context.Context) (result DiskAccessListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DiskAccessesClient) ListPreparer

func (client DiskAccessesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DiskAccessesClient) ListPrivateEndpointConnections

func (client DiskAccessesClient) ListPrivateEndpointConnections(ctx context.Context, resourceGroupName string, diskAccessName string) (result PrivateEndpointConnectionListResultPage, err error)

ListPrivateEndpointConnections list information about private endpoint connections under a disk access resource Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DiskAccessesClient) ListPrivateEndpointConnectionsComplete

func (client DiskAccessesClient) ListPrivateEndpointConnectionsComplete(ctx context.Context, resourceGroupName string, diskAccessName string) (result PrivateEndpointConnectionListResultIterator, err error)

ListPrivateEndpointConnectionsComplete enumerates all values, automatically crossing page boundaries as required.

func (DiskAccessesClient) ListPrivateEndpointConnectionsPreparer

func (client DiskAccessesClient) ListPrivateEndpointConnectionsPreparer(ctx context.Context, resourceGroupName string, diskAccessName string) (*http.Request, error)

ListPrivateEndpointConnectionsPreparer prepares the ListPrivateEndpointConnections request.

func (DiskAccessesClient) ListPrivateEndpointConnectionsResponder

func (client DiskAccessesClient) ListPrivateEndpointConnectionsResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

ListPrivateEndpointConnectionsResponder handles the response to the ListPrivateEndpointConnections request. The method always closes the http.Response Body.

func (DiskAccessesClient) ListPrivateEndpointConnectionsSender

func (client DiskAccessesClient) ListPrivateEndpointConnectionsSender(req *http.Request) (*http.Response, error)

ListPrivateEndpointConnectionsSender sends the ListPrivateEndpointConnections request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) ListResponder

func (client DiskAccessesClient) ListResponder(resp *http.Response) (result DiskAccessList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DiskAccessesClient) ListSender

func (client DiskAccessesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) Update

func (client DiskAccessesClient) Update(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccessUpdate) (result DiskAccessesUpdateFuture, err error)

Update updates (patches) a disk access resource. Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. diskAccess - disk access object supplied in the body of the Patch disk access operation.

func (DiskAccessesClient) UpdateAPrivateEndpointConnection

func (client DiskAccessesClient) UpdateAPrivateEndpointConnection(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (result DiskAccessesUpdateAPrivateEndpointConnectionFuture, err error)

UpdateAPrivateEndpointConnection approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection. Parameters: resourceGroupName - the name of the resource group. diskAccessName - the name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. privateEndpointConnectionName - the name of the private endpoint connection. privateEndpointConnection - private endpoint connection object supplied in the body of the Put private endpoint connection operation.

func (DiskAccessesClient) UpdateAPrivateEndpointConnectionPreparer

func (client DiskAccessesClient) UpdateAPrivateEndpointConnectionPreparer(ctx context.Context, resourceGroupName string, diskAccessName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (*http.Request, error)

UpdateAPrivateEndpointConnectionPreparer prepares the UpdateAPrivateEndpointConnection request.

func (DiskAccessesClient) UpdateAPrivateEndpointConnectionResponder

func (client DiskAccessesClient) UpdateAPrivateEndpointConnectionResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

UpdateAPrivateEndpointConnectionResponder handles the response to the UpdateAPrivateEndpointConnection request. The method always closes the http.Response Body.

func (DiskAccessesClient) UpdateAPrivateEndpointConnectionSender

func (client DiskAccessesClient) UpdateAPrivateEndpointConnectionSender(req *http.Request) (future DiskAccessesUpdateAPrivateEndpointConnectionFuture, err error)

UpdateAPrivateEndpointConnectionSender sends the UpdateAPrivateEndpointConnection request. The method will close the http.Response Body if it receives an error.

func (DiskAccessesClient) UpdatePreparer

func (client DiskAccessesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskAccessName string, diskAccess DiskAccessUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DiskAccessesClient) UpdateResponder

func (client DiskAccessesClient) UpdateResponder(resp *http.Response) (result DiskAccess, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DiskAccessesClient) UpdateSender

func (client DiskAccessesClient) UpdateSender(req *http.Request) (future DiskAccessesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DiskAccessesCreateOrUpdateFuture

DiskAccessesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskAccessesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskAccessesClient) (DiskAccess, error)
}

func (*DiskAccessesCreateOrUpdateFuture) UnmarshalJSON

func (future *DiskAccessesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskAccessesDeleteAPrivateEndpointConnectionFuture

DiskAccessesDeleteAPrivateEndpointConnectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskAccessesDeleteAPrivateEndpointConnectionFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskAccessesClient) (autorest.Response, error)
}

func (*DiskAccessesDeleteAPrivateEndpointConnectionFuture) UnmarshalJSON

func (future *DiskAccessesDeleteAPrivateEndpointConnectionFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskAccessesDeleteFuture

DiskAccessesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskAccessesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskAccessesClient) (autorest.Response, error)
}

func (*DiskAccessesDeleteFuture) UnmarshalJSON

func (future *DiskAccessesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskAccessesUpdateAPrivateEndpointConnectionFuture

DiskAccessesUpdateAPrivateEndpointConnectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskAccessesUpdateAPrivateEndpointConnectionFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskAccessesClient) (PrivateEndpointConnection, error)
}

func (*DiskAccessesUpdateAPrivateEndpointConnectionFuture) UnmarshalJSON

func (future *DiskAccessesUpdateAPrivateEndpointConnectionFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskAccessesUpdateFuture

DiskAccessesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskAccessesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskAccessesClient) (DiskAccess, error)
}

func (*DiskAccessesUpdateFuture) UnmarshalJSON

func (future *DiskAccessesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskCreateOption

DiskCreateOption enumerates the values for disk create option.

type DiskCreateOption string
const (
    // DiskCreateOptionAttach Disk will be attached to a VM.
    DiskCreateOptionAttach DiskCreateOption = "Attach"
    // DiskCreateOptionCopy Create a new disk or snapshot by copying from a disk or snapshot specified by the
    // given sourceResourceId.
    DiskCreateOptionCopy DiskCreateOption = "Copy"
    // DiskCreateOptionCopyStart Create a new disk by using a deep copy process, where the resource creation is
    // considered complete only after all data has been copied from the source.
    DiskCreateOptionCopyStart DiskCreateOption = "CopyStart"
    // DiskCreateOptionEmpty Create an empty data disk of a size given by diskSizeGB.
    DiskCreateOptionEmpty DiskCreateOption = "Empty"
    // DiskCreateOptionFromImage Create a new disk from a platform image specified by the given imageReference
    // or galleryImageReference.
    DiskCreateOptionFromImage DiskCreateOption = "FromImage"
    // DiskCreateOptionImport Create a disk by importing from a blob specified by a sourceUri in a storage
    // account specified by storageAccountId.
    DiskCreateOptionImport DiskCreateOption = "Import"
    // DiskCreateOptionImportSecure Similar to Import create option. Create a new Trusted Launch VM or
    // Confidential VM supported disk by importing additional blob for VM guest state specified by
    // securityDataUri in storage account specified by storageAccountId
    DiskCreateOptionImportSecure DiskCreateOption = "ImportSecure"
    // DiskCreateOptionRestore Create a new disk by copying from a backup recovery point.
    DiskCreateOptionRestore DiskCreateOption = "Restore"
    // DiskCreateOptionUpload Create a new disk by obtaining a write token and using it to directly upload the
    // contents of the disk.
    DiskCreateOptionUpload DiskCreateOption = "Upload"
    // DiskCreateOptionUploadPreparedSecure Similar to Upload create option. Create a new Trusted Launch VM or
    // Confidential VM supported disk and upload using write token in both disk and VM guest state
    DiskCreateOptionUploadPreparedSecure DiskCreateOption = "UploadPreparedSecure"
)

func PossibleDiskCreateOptionValues

func PossibleDiskCreateOptionValues() []DiskCreateOption

PossibleDiskCreateOptionValues returns an array of possible values for the DiskCreateOption const type.

type DiskCreateOptionTypes

DiskCreateOptionTypes enumerates the values for disk create option types.

type DiskCreateOptionTypes string
const (
    // DiskCreateOptionTypesAttach ...
    DiskCreateOptionTypesAttach DiskCreateOptionTypes = "Attach"
    // DiskCreateOptionTypesEmpty ...
    DiskCreateOptionTypesEmpty DiskCreateOptionTypes = "Empty"
    // DiskCreateOptionTypesFromImage ...
    DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage"
)

func PossibleDiskCreateOptionTypesValues

func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes

PossibleDiskCreateOptionTypesValues returns an array of possible values for the DiskCreateOptionTypes const type.

type DiskDeleteOptionTypes

DiskDeleteOptionTypes enumerates the values for disk delete option types.

type DiskDeleteOptionTypes string
const (
    // DiskDeleteOptionTypesDelete ...
    DiskDeleteOptionTypesDelete DiskDeleteOptionTypes = "Delete"
    // DiskDeleteOptionTypesDetach ...
    DiskDeleteOptionTypesDetach DiskDeleteOptionTypes = "Detach"
)

func PossibleDiskDeleteOptionTypesValues

func PossibleDiskDeleteOptionTypesValues() []DiskDeleteOptionTypes

PossibleDiskDeleteOptionTypesValues returns an array of possible values for the DiskDeleteOptionTypes const type.

type DiskDetachOptionTypes

DiskDetachOptionTypes enumerates the values for disk detach option types.

type DiskDetachOptionTypes string
const (
    // DiskDetachOptionTypesForceDetach ...
    DiskDetachOptionTypesForceDetach DiskDetachOptionTypes = "ForceDetach"
)

func PossibleDiskDetachOptionTypesValues

func PossibleDiskDetachOptionTypesValues() []DiskDetachOptionTypes

PossibleDiskDetachOptionTypesValues returns an array of possible values for the DiskDetachOptionTypes const type.

type DiskEncryptionSet

DiskEncryptionSet disk encryption set resource.

type DiskEncryptionSet struct {
    autorest.Response        `json:"-"`
    Identity                 *EncryptionSetIdentity `json:"identity,omitempty"`
    *EncryptionSetProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (DiskEncryptionSet) MarshalJSON

func (desVar DiskEncryptionSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskEncryptionSet.

func (*DiskEncryptionSet) UnmarshalJSON

func (desVar *DiskEncryptionSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiskEncryptionSet struct.

type DiskEncryptionSetIdentityType

DiskEncryptionSetIdentityType enumerates the values for disk encryption set identity type.

type DiskEncryptionSetIdentityType string
const (
    // DiskEncryptionSetIdentityTypeNone ...
    DiskEncryptionSetIdentityTypeNone DiskEncryptionSetIdentityType = "None"
    // DiskEncryptionSetIdentityTypeSystemAssigned ...
    DiskEncryptionSetIdentityTypeSystemAssigned DiskEncryptionSetIdentityType = "SystemAssigned"
)

func PossibleDiskEncryptionSetIdentityTypeValues

func PossibleDiskEncryptionSetIdentityTypeValues() []DiskEncryptionSetIdentityType

PossibleDiskEncryptionSetIdentityTypeValues returns an array of possible values for the DiskEncryptionSetIdentityType const type.

type DiskEncryptionSetList

DiskEncryptionSetList the List disk encryption set operation response.

type DiskEncryptionSetList struct {
    autorest.Response `json:"-"`
    // Value - A list of disk encryption sets.
    Value *[]DiskEncryptionSet `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the next page of disk encryption sets.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DiskEncryptionSetList) IsEmpty

func (desl DiskEncryptionSetList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DiskEncryptionSetListIterator

DiskEncryptionSetListIterator provides access to a complete listing of DiskEncryptionSet values.

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

func NewDiskEncryptionSetListIterator

func NewDiskEncryptionSetListIterator(page DiskEncryptionSetListPage) DiskEncryptionSetListIterator

Creates a new instance of the DiskEncryptionSetListIterator type.

func (*DiskEncryptionSetListIterator) Next

func (iter *DiskEncryptionSetListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskEncryptionSetListIterator) NextWithContext

func (iter *DiskEncryptionSetListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DiskEncryptionSetListIterator) NotDone

func (iter DiskEncryptionSetListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DiskEncryptionSetListIterator) Response

func (iter DiskEncryptionSetListIterator) Response() DiskEncryptionSetList

Response returns the raw server response from the last page request.

func (DiskEncryptionSetListIterator) Value

func (iter DiskEncryptionSetListIterator) Value() DiskEncryptionSet

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DiskEncryptionSetListPage

DiskEncryptionSetListPage contains a page of DiskEncryptionSet values.

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

func NewDiskEncryptionSetListPage

func NewDiskEncryptionSetListPage(cur DiskEncryptionSetList, getNextPage func(context.Context, DiskEncryptionSetList) (DiskEncryptionSetList, error)) DiskEncryptionSetListPage

Creates a new instance of the DiskEncryptionSetListPage type.

func (*DiskEncryptionSetListPage) Next

func (page *DiskEncryptionSetListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskEncryptionSetListPage) NextWithContext

func (page *DiskEncryptionSetListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DiskEncryptionSetListPage) NotDone

func (page DiskEncryptionSetListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DiskEncryptionSetListPage) Response

func (page DiskEncryptionSetListPage) Response() DiskEncryptionSetList

Response returns the raw server response from the last page request.

func (DiskEncryptionSetListPage) Values

func (page DiskEncryptionSetListPage) Values() []DiskEncryptionSet

Values returns the slice of values for the current page or nil if there are no values.

type DiskEncryptionSetParameters

DiskEncryptionSetParameters describes the parameter of customer managed disk encryption set resource id that can be specified for disk. <br><br> NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.

type DiskEncryptionSetParameters struct {
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

type DiskEncryptionSetType

DiskEncryptionSetType enumerates the values for disk encryption set type.

type DiskEncryptionSetType string
const (
    // DiskEncryptionSetTypeConfidentialVMEncryptedWithCustomerKey Confidential VM supported disk and VM guest
    // state would be encrypted with customer managed key.
    DiskEncryptionSetTypeConfidentialVMEncryptedWithCustomerKey DiskEncryptionSetType = "ConfidentialVmEncryptedWithCustomerKey"
    // DiskEncryptionSetTypeEncryptionAtRestWithCustomerKey Resource using diskEncryptionSet would be encrypted
    // at rest with Customer managed key that can be changed and revoked by a customer.
    DiskEncryptionSetTypeEncryptionAtRestWithCustomerKey DiskEncryptionSetType = "EncryptionAtRestWithCustomerKey"
    // DiskEncryptionSetTypeEncryptionAtRestWithPlatformAndCustomerKeys Resource using diskEncryptionSet would
    // be encrypted at rest with two layers of encryption. One of the keys is Customer managed and the other
    // key is Platform managed.
    DiskEncryptionSetTypeEncryptionAtRestWithPlatformAndCustomerKeys DiskEncryptionSetType = "EncryptionAtRestWithPlatformAndCustomerKeys"
)

func PossibleDiskEncryptionSetTypeValues

func PossibleDiskEncryptionSetTypeValues() []DiskEncryptionSetType

PossibleDiskEncryptionSetTypeValues returns an array of possible values for the DiskEncryptionSetType const type.

type DiskEncryptionSetUpdate

DiskEncryptionSetUpdate disk encryption set update resource.

type DiskEncryptionSetUpdate struct {
    *DiskEncryptionSetUpdateProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags     map[string]*string     `json:"tags"`
    Identity *EncryptionSetIdentity `json:"identity,omitempty"`
}

func (DiskEncryptionSetUpdate) MarshalJSON

func (desu DiskEncryptionSetUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskEncryptionSetUpdate.

func (*DiskEncryptionSetUpdate) UnmarshalJSON

func (desu *DiskEncryptionSetUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiskEncryptionSetUpdate struct.

type DiskEncryptionSetUpdateProperties

DiskEncryptionSetUpdateProperties disk encryption set resource update properties.

type DiskEncryptionSetUpdateProperties struct {
    // EncryptionType - Possible values include: 'DiskEncryptionSetTypeEncryptionAtRestWithCustomerKey', 'DiskEncryptionSetTypeEncryptionAtRestWithPlatformAndCustomerKeys', 'DiskEncryptionSetTypeConfidentialVMEncryptedWithCustomerKey'
    EncryptionType DiskEncryptionSetType    `json:"encryptionType,omitempty"`
    ActiveKey      *KeyForDiskEncryptionSet `json:"activeKey,omitempty"`
    // RotationToLatestKeyVersionEnabled - Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.
    RotationToLatestKeyVersionEnabled *bool `json:"rotationToLatestKeyVersionEnabled,omitempty"`
}

type DiskEncryptionSetsClient

DiskEncryptionSetsClient is the compute Client

type DiskEncryptionSetsClient struct {
    BaseClient
}

func NewDiskEncryptionSetsClient

func NewDiskEncryptionSetsClient(subscriptionID string) DiskEncryptionSetsClient

NewDiskEncryptionSetsClient creates an instance of the DiskEncryptionSetsClient client.

func NewDiskEncryptionSetsClientWithBaseURI

func NewDiskEncryptionSetsClientWithBaseURI(baseURI string, subscriptionID string) DiskEncryptionSetsClient

NewDiskEncryptionSetsClientWithBaseURI creates an instance of the DiskEncryptionSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DiskEncryptionSetsClient) CreateOrUpdate

func (client DiskEncryptionSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSet) (result DiskEncryptionSetsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a disk encryption set Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. diskEncryptionSet - disk encryption set object supplied in the body of the Put disk encryption set operation.

func (DiskEncryptionSetsClient) CreateOrUpdatePreparer

func (client DiskEncryptionSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSet) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DiskEncryptionSetsClient) CreateOrUpdateResponder

func (client DiskEncryptionSetsClient) CreateOrUpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DiskEncryptionSetsClient) CreateOrUpdateSender

func (client DiskEncryptionSetsClient) CreateOrUpdateSender(req *http.Request) (future DiskEncryptionSetsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DiskEncryptionSetsClient) Delete

func (client DiskEncryptionSetsClient) Delete(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSetsDeleteFuture, err error)

Delete deletes a disk encryption set. Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DiskEncryptionSetsClient) DeletePreparer

func (client DiskEncryptionSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DiskEncryptionSetsClient) DeleteResponder

func (client DiskEncryptionSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DiskEncryptionSetsClient) DeleteSender

func (client DiskEncryptionSetsClient) DeleteSender(req *http.Request) (future DiskEncryptionSetsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DiskEncryptionSetsClient) Get

func (client DiskEncryptionSetsClient) Get(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result DiskEncryptionSet, err error)

Get gets information about a disk encryption set. Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DiskEncryptionSetsClient) GetPreparer

func (client DiskEncryptionSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DiskEncryptionSetsClient) GetResponder

func (client DiskEncryptionSetsClient) GetResponder(resp *http.Response) (result DiskEncryptionSet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DiskEncryptionSetsClient) GetSender

func (client DiskEncryptionSetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DiskEncryptionSetsClient) List

func (client DiskEncryptionSetsClient) List(ctx context.Context) (result DiskEncryptionSetListPage, err error)

List lists all the disk encryption sets under a subscription.

func (DiskEncryptionSetsClient) ListAssociatedResources

func (client DiskEncryptionSetsClient) ListAssociatedResources(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result ResourceURIListPage, err error)

ListAssociatedResources lists all resources that are encrypted with this disk encryption set. Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DiskEncryptionSetsClient) ListAssociatedResourcesComplete

func (client DiskEncryptionSetsClient) ListAssociatedResourcesComplete(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (result ResourceURIListIterator, err error)

ListAssociatedResourcesComplete enumerates all values, automatically crossing page boundaries as required.

func (DiskEncryptionSetsClient) ListAssociatedResourcesPreparer

func (client DiskEncryptionSetsClient) ListAssociatedResourcesPreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string) (*http.Request, error)

ListAssociatedResourcesPreparer prepares the ListAssociatedResources request.

func (DiskEncryptionSetsClient) ListAssociatedResourcesResponder

func (client DiskEncryptionSetsClient) ListAssociatedResourcesResponder(resp *http.Response) (result ResourceURIList, err error)

ListAssociatedResourcesResponder handles the response to the ListAssociatedResources request. The method always closes the http.Response Body.

func (DiskEncryptionSetsClient) ListAssociatedResourcesSender

func (client DiskEncryptionSetsClient) ListAssociatedResourcesSender(req *http.Request) (*http.Response, error)

ListAssociatedResourcesSender sends the ListAssociatedResources request. The method will close the http.Response Body if it receives an error.

func (DiskEncryptionSetsClient) ListByResourceGroup

func (client DiskEncryptionSetsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListPage, err error)

ListByResourceGroup lists all the disk encryption sets under a resource group. Parameters: resourceGroupName - the name of the resource group.

func (DiskEncryptionSetsClient) ListByResourceGroupComplete

func (client DiskEncryptionSetsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskEncryptionSetListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DiskEncryptionSetsClient) ListByResourceGroupPreparer

func (client DiskEncryptionSetsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DiskEncryptionSetsClient) ListByResourceGroupResponder

func (client DiskEncryptionSetsClient) ListByResourceGroupResponder(resp *http.Response) (result DiskEncryptionSetList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DiskEncryptionSetsClient) ListByResourceGroupSender

func (client DiskEncryptionSetsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DiskEncryptionSetsClient) ListComplete

func (client DiskEncryptionSetsClient) ListComplete(ctx context.Context) (result DiskEncryptionSetListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DiskEncryptionSetsClient) ListPreparer

func (client DiskEncryptionSetsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DiskEncryptionSetsClient) ListResponder

func (client DiskEncryptionSetsClient) ListResponder(resp *http.Response) (result DiskEncryptionSetList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DiskEncryptionSetsClient) ListSender

func (client DiskEncryptionSetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DiskEncryptionSetsClient) Update

func (client DiskEncryptionSetsClient) Update(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSetUpdate) (result DiskEncryptionSetsUpdateFuture, err error)

Update updates (patches) a disk encryption set. Parameters: resourceGroupName - the name of the resource group. diskEncryptionSetName - the name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. diskEncryptionSet - disk encryption set object supplied in the body of the Patch disk encryption set operation.

func (DiskEncryptionSetsClient) UpdatePreparer

func (client DiskEncryptionSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskEncryptionSetName string, diskEncryptionSet DiskEncryptionSetUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DiskEncryptionSetsClient) UpdateResponder

func (client DiskEncryptionSetsClient) UpdateResponder(resp *http.Response) (result DiskEncryptionSet, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DiskEncryptionSetsClient) UpdateSender

func (client DiskEncryptionSetsClient) UpdateSender(req *http.Request) (future DiskEncryptionSetsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DiskEncryptionSetsCreateOrUpdateFuture

DiskEncryptionSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskEncryptionSetsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskEncryptionSetsClient) (DiskEncryptionSet, error)
}

func (*DiskEncryptionSetsCreateOrUpdateFuture) UnmarshalJSON

func (future *DiskEncryptionSetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskEncryptionSetsDeleteFuture

DiskEncryptionSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskEncryptionSetsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskEncryptionSetsClient) (autorest.Response, error)
}

func (*DiskEncryptionSetsDeleteFuture) UnmarshalJSON

func (future *DiskEncryptionSetsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskEncryptionSetsUpdateFuture

DiskEncryptionSetsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskEncryptionSetsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskEncryptionSetsClient) (DiskEncryptionSet, error)
}

func (*DiskEncryptionSetsUpdateFuture) UnmarshalJSON

func (future *DiskEncryptionSetsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskEncryptionSettings

DiskEncryptionSettings describes a Encryption Settings for a Disk

type DiskEncryptionSettings struct {
    // DiskEncryptionKey - Specifies the location of the disk encryption key, which is a Key Vault Secret.
    DiskEncryptionKey *KeyVaultSecretReference `json:"diskEncryptionKey,omitempty"`
    // KeyEncryptionKey - Specifies the location of the key encryption key in Key Vault.
    KeyEncryptionKey *KeyVaultKeyReference `json:"keyEncryptionKey,omitempty"`
    // Enabled - Specifies whether disk encryption should be enabled on the virtual machine.
    Enabled *bool `json:"enabled,omitempty"`
}

type DiskImageEncryption

DiskImageEncryption this is the disk image encryption base class.

type DiskImageEncryption struct {
    // DiskEncryptionSetID - A relative URI containing the resource ID of the disk encryption set.
    DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty"`
}

type DiskInstanceView

DiskInstanceView the instance view of the disk.

type DiskInstanceView struct {
    // Name - The disk name.
    Name *string `json:"name,omitempty"`
    // EncryptionSettings - Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15
    EncryptionSettings *[]DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

type DiskList

DiskList the List Disks operation response.

type DiskList struct {
    autorest.Response `json:"-"`
    // Value - A list of disks.
    Value *[]Disk `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DiskList) IsEmpty

func (dl DiskList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DiskListIterator

DiskListIterator provides access to a complete listing of Disk values.

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

func NewDiskListIterator

func NewDiskListIterator(page DiskListPage) DiskListIterator

Creates a new instance of the DiskListIterator type.

func (*DiskListIterator) Next

func (iter *DiskListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskListIterator) NextWithContext

func (iter *DiskListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DiskListIterator) NotDone

func (iter DiskListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DiskListIterator) Response

func (iter DiskListIterator) Response() DiskList

Response returns the raw server response from the last page request.

func (DiskListIterator) Value

func (iter DiskListIterator) Value() Disk

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DiskListPage

DiskListPage contains a page of Disk values.

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

func NewDiskListPage

func NewDiskListPage(cur DiskList, getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage

Creates a new instance of the DiskListPage type.

func (*DiskListPage) Next

func (page *DiskListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskListPage) NextWithContext

func (page *DiskListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DiskListPage) NotDone

func (page DiskListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DiskListPage) Response

func (page DiskListPage) Response() DiskList

Response returns the raw server response from the last page request.

func (DiskListPage) Values

func (page DiskListPage) Values() []Disk

Values returns the slice of values for the current page or nil if there are no values.

type DiskProperties

DiskProperties disk resource properties.

type DiskProperties struct {
    // TimeCreated - READ-ONLY; The time when the disk was created.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
    // OsType - The Operating System type. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'HyperVGenerationV1', 'HyperVGenerationV2'
    HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
    // PurchasePlan - Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
    PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"`
    // SupportedCapabilities - List of supported capabilities for the image from which the OS disk was created.
    SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"`
    // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
    CreationData *CreationData `json:"creationData,omitempty"`
    // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // DiskSizeBytes - READ-ONLY; The size of the disk in bytes. This field is read only.
    DiskSizeBytes *int64 `json:"diskSizeBytes,omitempty"`
    // UniqueID - READ-ONLY; Unique Guid identifying the resource.
    UniqueID *string `json:"uniqueId,omitempty"`
    // EncryptionSettingsCollection - Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
    EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
    // ProvisioningState - READ-ONLY; The disk provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
    DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
    // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
    DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"`
    // DiskIOPSReadOnly - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
    DiskIOPSReadOnly *int64 `json:"diskIOPSReadOnly,omitempty"`
    // DiskMBpsReadOnly - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
    DiskMBpsReadOnly *int64 `json:"diskMBpsReadOnly,omitempty"`
    // DiskState - The state of the disk. Possible values include: 'DiskStateUnattached', 'DiskStateAttached', 'DiskStateReserved', 'DiskStateFrozen', 'DiskStateActiveSAS', 'DiskStateActiveSASFrozen', 'DiskStateReadyToUpload', 'DiskStateActiveUpload'
    DiskState DiskState `json:"diskState,omitempty"`
    // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
    Encryption *Encryption `json:"encryption,omitempty"`
    // MaxShares - The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
    MaxShares *int32 `json:"maxShares,omitempty"`
    // ShareInfo - READ-ONLY; Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
    ShareInfo *[]ShareInfoElement `json:"shareInfo,omitempty"`
    // NetworkAccessPolicy - Possible values include: 'NetworkAccessPolicyAllowAll', 'NetworkAccessPolicyAllowPrivate', 'NetworkAccessPolicyDenyAll'
    NetworkAccessPolicy NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`
    // DiskAccessID - ARM id of the DiskAccess resource for using private endpoints on disks.
    DiskAccessID *string `json:"diskAccessId,omitempty"`
    // Tier - Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
    Tier *string `json:"tier,omitempty"`
    // BurstingEnabled - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
    BurstingEnabled *bool `json:"burstingEnabled,omitempty"`
    // PropertyUpdatesInProgress - READ-ONLY; Properties of the disk for which update is pending.
    PropertyUpdatesInProgress *PropertyUpdatesInProgress `json:"propertyUpdatesInProgress,omitempty"`
    // SupportsHibernation - Indicates the OS on a disk supports hibernation.
    SupportsHibernation *bool `json:"supportsHibernation,omitempty"`
    // SecurityProfile - Contains the security related information for the resource.
    SecurityProfile *DiskSecurityProfile `json:"securityProfile,omitempty"`
    // CompletionPercent - Percentage complete for the background copy when a resource is created via the CopyStart operation.
    CompletionPercent *float64 `json:"completionPercent,omitempty"`
    // PublicNetworkAccess - Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
    // DataAccessAuthMode - Possible values include: 'DataAccessAuthModeAzureActiveDirectory', 'DataAccessAuthModeNone'
    DataAccessAuthMode DataAccessAuthMode `json:"dataAccessAuthMode,omitempty"`
}

func (DiskProperties) MarshalJSON

func (dp DiskProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskProperties.

type DiskRestorePoint

DiskRestorePoint properties of disk restore point

type DiskRestorePoint struct {
    autorest.Response           `json:"-"`
    *DiskRestorePointProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

func (DiskRestorePoint) MarshalJSON

func (drp DiskRestorePoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskRestorePoint.

func (*DiskRestorePoint) UnmarshalJSON

func (drp *DiskRestorePoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiskRestorePoint struct.

type DiskRestorePointClient

DiskRestorePointClient is the compute Client

type DiskRestorePointClient struct {
    BaseClient
}

func NewDiskRestorePointClient

func NewDiskRestorePointClient(subscriptionID string) DiskRestorePointClient

NewDiskRestorePointClient creates an instance of the DiskRestorePointClient client.

func NewDiskRestorePointClientWithBaseURI

func NewDiskRestorePointClientWithBaseURI(baseURI string, subscriptionID string) DiskRestorePointClient

NewDiskRestorePointClientWithBaseURI creates an instance of the DiskRestorePointClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DiskRestorePointClient) Get

func (client DiskRestorePointClient) Get(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (result DiskRestorePoint, err error)

Get get disk restorePoint resource Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection that the disk restore point belongs. VMRestorePointName - the name of the vm restore point that the disk disk restore point belongs. diskRestorePointName - the name of the disk restore point created.

func (DiskRestorePointClient) GetPreparer

func (client DiskRestorePointClient) GetPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DiskRestorePointClient) GetResponder

func (client DiskRestorePointClient) GetResponder(resp *http.Response) (result DiskRestorePoint, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DiskRestorePointClient) GetSender

func (client DiskRestorePointClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DiskRestorePointClient) GrantAccess

func (client DiskRestorePointClient) GrantAccess(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string, grantAccessData GrantAccessData) (result DiskRestorePointGrantAccessFuture, err error)

GrantAccess grants access to a diskRestorePoint. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection that the disk restore point belongs. VMRestorePointName - the name of the vm restore point that the disk disk restore point belongs. diskRestorePointName - the name of the disk restore point created. grantAccessData - access data object supplied in the body of the get disk access operation.

func (DiskRestorePointClient) GrantAccessPreparer

func (client DiskRestorePointClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string, grantAccessData GrantAccessData) (*http.Request, error)

GrantAccessPreparer prepares the GrantAccess request.

func (DiskRestorePointClient) GrantAccessResponder

func (client DiskRestorePointClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)

GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.

func (DiskRestorePointClient) GrantAccessSender

func (client DiskRestorePointClient) GrantAccessSender(req *http.Request) (future DiskRestorePointGrantAccessFuture, err error)

GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.

func (DiskRestorePointClient) ListByRestorePoint

func (client DiskRestorePointClient) ListByRestorePoint(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string) (result DiskRestorePointListPage, err error)

ListByRestorePoint lists diskRestorePoints under a vmRestorePoint. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection that the disk restore point belongs. VMRestorePointName - the name of the vm restore point that the disk disk restore point belongs.

func (DiskRestorePointClient) ListByRestorePointComplete

func (client DiskRestorePointClient) ListByRestorePointComplete(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string) (result DiskRestorePointListIterator, err error)

ListByRestorePointComplete enumerates all values, automatically crossing page boundaries as required.

func (DiskRestorePointClient) ListByRestorePointPreparer

func (client DiskRestorePointClient) ListByRestorePointPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string) (*http.Request, error)

ListByRestorePointPreparer prepares the ListByRestorePoint request.

func (DiskRestorePointClient) ListByRestorePointResponder

func (client DiskRestorePointClient) ListByRestorePointResponder(resp *http.Response) (result DiskRestorePointList, err error)

ListByRestorePointResponder handles the response to the ListByRestorePoint request. The method always closes the http.Response Body.

func (DiskRestorePointClient) ListByRestorePointSender

func (client DiskRestorePointClient) ListByRestorePointSender(req *http.Request) (*http.Response, error)

ListByRestorePointSender sends the ListByRestorePoint request. The method will close the http.Response Body if it receives an error.

func (DiskRestorePointClient) RevokeAccess

func (client DiskRestorePointClient) RevokeAccess(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (result DiskRestorePointRevokeAccessFuture, err error)

RevokeAccess revokes access to a diskRestorePoint. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection that the disk restore point belongs. VMRestorePointName - the name of the vm restore point that the disk disk restore point belongs. diskRestorePointName - the name of the disk restore point created.

func (DiskRestorePointClient) RevokeAccessPreparer

func (client DiskRestorePointClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, VMRestorePointName string, diskRestorePointName string) (*http.Request, error)

RevokeAccessPreparer prepares the RevokeAccess request.

func (DiskRestorePointClient) RevokeAccessResponder

func (client DiskRestorePointClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)

RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.

func (DiskRestorePointClient) RevokeAccessSender

func (client DiskRestorePointClient) RevokeAccessSender(req *http.Request) (future DiskRestorePointRevokeAccessFuture, err error)

RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.

type DiskRestorePointGrantAccessFuture

DiskRestorePointGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskRestorePointGrantAccessFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskRestorePointClient) (AccessURI, error)
}

func (*DiskRestorePointGrantAccessFuture) UnmarshalJSON

func (future *DiskRestorePointGrantAccessFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskRestorePointInstanceView

DiskRestorePointInstanceView the instance view of a disk restore point.

type DiskRestorePointInstanceView struct {
    // ID - Disk restore point Id.
    ID *string `json:"id,omitempty"`
    // ReplicationStatus - The disk restore point replication status information.
    ReplicationStatus interface{} `json:"replicationStatus,omitempty"`
}

type DiskRestorePointList

DiskRestorePointList the List Disk Restore Points operation response.

type DiskRestorePointList struct {
    autorest.Response `json:"-"`
    // Value - A list of disk restore points.
    Value *[]DiskRestorePoint `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of disk restore points. Call ListNext() with this to fetch the next page of disk restore points.
    NextLink *string `json:"nextLink,omitempty"`
}

func (DiskRestorePointList) IsEmpty

func (drpl DiskRestorePointList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DiskRestorePointListIterator

DiskRestorePointListIterator provides access to a complete listing of DiskRestorePoint values.

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

func NewDiskRestorePointListIterator

func NewDiskRestorePointListIterator(page DiskRestorePointListPage) DiskRestorePointListIterator

Creates a new instance of the DiskRestorePointListIterator type.

func (*DiskRestorePointListIterator) Next

func (iter *DiskRestorePointListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskRestorePointListIterator) NextWithContext

func (iter *DiskRestorePointListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DiskRestorePointListIterator) NotDone

func (iter DiskRestorePointListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DiskRestorePointListIterator) Response

func (iter DiskRestorePointListIterator) Response() DiskRestorePointList

Response returns the raw server response from the last page request.

func (DiskRestorePointListIterator) Value

func (iter DiskRestorePointListIterator) Value() DiskRestorePoint

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DiskRestorePointListPage

DiskRestorePointListPage contains a page of DiskRestorePoint values.

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

func NewDiskRestorePointListPage

func NewDiskRestorePointListPage(cur DiskRestorePointList, getNextPage func(context.Context, DiskRestorePointList) (DiskRestorePointList, error)) DiskRestorePointListPage

Creates a new instance of the DiskRestorePointListPage type.

func (*DiskRestorePointListPage) Next

func (page *DiskRestorePointListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*DiskRestorePointListPage) NextWithContext

func (page *DiskRestorePointListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DiskRestorePointListPage) NotDone

func (page DiskRestorePointListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DiskRestorePointListPage) Response

func (page DiskRestorePointListPage) Response() DiskRestorePointList

Response returns the raw server response from the last page request.

func (DiskRestorePointListPage) Values

func (page DiskRestorePointListPage) Values() []DiskRestorePoint

Values returns the slice of values for the current page or nil if there are no values.

type DiskRestorePointProperties

DiskRestorePointProperties properties of an incremental disk restore point

type DiskRestorePointProperties struct {
    // TimeCreated - READ-ONLY; The timestamp of restorePoint creation
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
    // SourceResourceID - READ-ONLY; arm id of source disk or source disk restore point.
    SourceResourceID *string `json:"sourceResourceId,omitempty"`
    // OsType - READ-ONLY; The Operating System type. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'HyperVGenerationV1', 'HyperVGenerationV2'
    HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
    // PurchasePlan - Purchase plan information for the the image from which the OS disk was created.
    PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"`
    // SupportedCapabilities - List of supported capabilities for the image from which the OS disk was created.
    SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"`
    // FamilyID - READ-ONLY; id of the backing snapshot's MIS family
    FamilyID *string `json:"familyId,omitempty"`
    // SourceUniqueID - READ-ONLY; unique incarnation id of the source disk
    SourceUniqueID *string `json:"sourceUniqueId,omitempty"`
    // Encryption - READ-ONLY; Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
    Encryption *Encryption `json:"encryption,omitempty"`
    // SupportsHibernation - Indicates the OS on a disk supports hibernation.
    SupportsHibernation *bool `json:"supportsHibernation,omitempty"`
    // NetworkAccessPolicy - Possible values include: 'NetworkAccessPolicyAllowAll', 'NetworkAccessPolicyAllowPrivate', 'NetworkAccessPolicyDenyAll'
    NetworkAccessPolicy NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`
    // PublicNetworkAccess - Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
    // DiskAccessID - ARM id of the DiskAccess resource for using private endpoints on disks.
    DiskAccessID *string `json:"diskAccessId,omitempty"`
    // CompletionPercent - Percentage complete for the background copy of disk restore point when source resource is from a different region.
    CompletionPercent *float64 `json:"completionPercent,omitempty"`
    // ReplicationState - READ-ONLY; Replication state of disk restore point when source resource is from a different region.
    ReplicationState *string `json:"replicationState,omitempty"`
    // SourceResourceLocation - READ-ONLY; Location of source disk or source disk restore point when source resource is from a different region.
    SourceResourceLocation *string `json:"sourceResourceLocation,omitempty"`
}

func (DiskRestorePointProperties) MarshalJSON

func (drpp DiskRestorePointProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskRestorePointProperties.

type DiskRestorePointReplicationStatus

DiskRestorePointReplicationStatus the instance view of a disk restore point.

type DiskRestorePointReplicationStatus struct {
    // Status - The resource status information.
    Status interface{} `json:"status,omitempty"`
}

type DiskRestorePointRevokeAccessFuture

DiskRestorePointRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DiskRestorePointRevokeAccessFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DiskRestorePointClient) (autorest.Response, error)
}

func (*DiskRestorePointRevokeAccessFuture) UnmarshalJSON

func (future *DiskRestorePointRevokeAccessFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DiskSecurityProfile

DiskSecurityProfile contains the security related information for the resource.

type DiskSecurityProfile struct {
    // SecurityType - Possible values include: 'DiskSecurityTypesTrustedLaunch', 'DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey', 'DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey', 'DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey'
    SecurityType DiskSecurityTypes `json:"securityType,omitempty"`
    // SecureVMDiskEncryptionSetID - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
    SecureVMDiskEncryptionSetID *string `json:"secureVMDiskEncryptionSetId,omitempty"`
}

type DiskSecurityTypes

DiskSecurityTypes enumerates the values for disk security types.

type DiskSecurityTypes string
const (
    // DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey Indicates Confidential VM disk with both OS
    // disk and VM guest state encrypted with a customer managed key
    DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithCustomerKey"
    // DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey Indicates Confidential VM disk with both OS
    // disk and VM guest state encrypted with a platform managed key
    DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithPlatformKey"
    // DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey Indicates Confidential VM disk
    // with only VM guest state encrypted
    DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey DiskSecurityTypes = "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
    // DiskSecurityTypesTrustedLaunch Trusted Launch provides security features such as secure boot and virtual
    // Trusted Platform Module (vTPM)
    DiskSecurityTypesTrustedLaunch DiskSecurityTypes = "TrustedLaunch"
)

func PossibleDiskSecurityTypesValues

func PossibleDiskSecurityTypesValues() []DiskSecurityTypes

PossibleDiskSecurityTypesValues returns an array of possible values for the DiskSecurityTypes const type.

type DiskSku

DiskSku the disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.

type DiskSku struct {
    // Name - The sku name. Possible values include: 'DiskStorageAccountTypesStandardLRS', 'DiskStorageAccountTypesPremiumLRS', 'DiskStorageAccountTypesStandardSSDLRS', 'DiskStorageAccountTypesUltraSSDLRS', 'DiskStorageAccountTypesPremiumZRS', 'DiskStorageAccountTypesStandardSSDZRS'
    Name DiskStorageAccountTypes `json:"name,omitempty"`
    // Tier - READ-ONLY; The sku tier.
    Tier *string `json:"tier,omitempty"`
}

func (DiskSku) MarshalJSON

func (ds DiskSku) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskSku.

type DiskState

DiskState enumerates the values for disk state.

type DiskState string
const (
    // DiskStateActiveSAS The disk currently has an Active SAS Uri associated with it.
    DiskStateActiveSAS DiskState = "ActiveSAS"
    // DiskStateActiveSASFrozen The disk is attached to a VM in hibernated state and has an active SAS URI
    // associated with it.
    DiskStateActiveSASFrozen DiskState = "ActiveSASFrozen"
    // DiskStateActiveUpload A disk is created for upload and a write token has been issued for uploading to
    // it.
    DiskStateActiveUpload DiskState = "ActiveUpload"
    // DiskStateAttached The disk is currently attached to a running VM.
    DiskStateAttached DiskState = "Attached"
    // DiskStateFrozen The disk is attached to a VM which is in hibernated state.
    DiskStateFrozen DiskState = "Frozen"
    // DiskStateReadyToUpload A disk is ready to be created by upload by requesting a write token.
    DiskStateReadyToUpload DiskState = "ReadyToUpload"
    // DiskStateReserved The disk is attached to a stopped-deallocated VM.
    DiskStateReserved DiskState = "Reserved"
    // DiskStateUnattached The disk is not being used and can be attached to a VM.
    DiskStateUnattached DiskState = "Unattached"
)

func PossibleDiskStateValues

func PossibleDiskStateValues() []DiskState

PossibleDiskStateValues returns an array of possible values for the DiskState const type.

type DiskStorageAccountTypes

DiskStorageAccountTypes enumerates the values for disk storage account types.

type DiskStorageAccountTypes string
const (
    // DiskStorageAccountTypesPremiumLRS Premium SSD locally redundant storage. Best for production and
    // performance sensitive workloads.
    DiskStorageAccountTypesPremiumLRS DiskStorageAccountTypes = "Premium_LRS"
    // DiskStorageAccountTypesPremiumZRS Premium SSD zone redundant storage. Best for the production workloads
    // that need storage resiliency against zone failures.
    DiskStorageAccountTypesPremiumZRS DiskStorageAccountTypes = "Premium_ZRS"
    // DiskStorageAccountTypesStandardLRS Standard HDD locally redundant storage. Best for backup,
    // non-critical, and infrequent access.
    DiskStorageAccountTypesStandardLRS DiskStorageAccountTypes = "Standard_LRS"
    // DiskStorageAccountTypesStandardSSDLRS Standard SSD locally redundant storage. Best for web servers,
    // lightly used enterprise applications and dev/test.
    DiskStorageAccountTypesStandardSSDLRS DiskStorageAccountTypes = "StandardSSD_LRS"
    // DiskStorageAccountTypesStandardSSDZRS Standard SSD zone redundant storage. Best for web servers, lightly
    // used enterprise applications and dev/test that need storage resiliency against zone failures.
    DiskStorageAccountTypesStandardSSDZRS DiskStorageAccountTypes = "StandardSSD_ZRS"
    // DiskStorageAccountTypesUltraSSDLRS Ultra SSD locally redundant storage. Best for IO-intensive workloads
    // such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads.
    DiskStorageAccountTypesUltraSSDLRS DiskStorageAccountTypes = "UltraSSD_LRS"
)

func PossibleDiskStorageAccountTypesValues

func PossibleDiskStorageAccountTypesValues() []DiskStorageAccountTypes

PossibleDiskStorageAccountTypesValues returns an array of possible values for the DiskStorageAccountTypes const type.

type DiskUpdate

DiskUpdate disk update resource.

type DiskUpdate struct {
    *DiskUpdateProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    Sku  *DiskSku           `json:"sku,omitempty"`
}

func (DiskUpdate) MarshalJSON

func (du DiskUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskUpdate.

func (*DiskUpdate) UnmarshalJSON

func (du *DiskUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiskUpdate struct.

type DiskUpdateProperties

DiskUpdateProperties disk resource update properties.

type DiskUpdateProperties struct {
    // OsType - the Operating System type. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
    EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
    // DiskIOPSReadWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
    DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
    // DiskMBpsReadWrite - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
    DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"`
    // DiskIOPSReadOnly - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
    DiskIOPSReadOnly *int64 `json:"diskIOPSReadOnly,omitempty"`
    // DiskMBpsReadOnly - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
    DiskMBpsReadOnly *int64 `json:"diskMBpsReadOnly,omitempty"`
    // MaxShares - The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
    MaxShares *int32 `json:"maxShares,omitempty"`
    // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
    Encryption *Encryption `json:"encryption,omitempty"`
    // NetworkAccessPolicy - Possible values include: 'NetworkAccessPolicyAllowAll', 'NetworkAccessPolicyAllowPrivate', 'NetworkAccessPolicyDenyAll'
    NetworkAccessPolicy NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`
    // DiskAccessID - ARM id of the DiskAccess resource for using private endpoints on disks.
    DiskAccessID *string `json:"diskAccessId,omitempty"`
    // Tier - Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
    Tier *string `json:"tier,omitempty"`
    // BurstingEnabled - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
    BurstingEnabled *bool `json:"burstingEnabled,omitempty"`
    // PurchasePlan - Purchase plan information to be added on the OS disk
    PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"`
    // SupportedCapabilities - List of supported capabilities to be added on the OS disk.
    SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"`
    // PropertyUpdatesInProgress - READ-ONLY; Properties of the disk for which update is pending.
    PropertyUpdatesInProgress *PropertyUpdatesInProgress `json:"propertyUpdatesInProgress,omitempty"`
    // SupportsHibernation - Indicates the OS on a disk supports hibernation.
    SupportsHibernation *bool `json:"supportsHibernation,omitempty"`
    // PublicNetworkAccess - Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
    // DataAccessAuthMode - Possible values include: 'DataAccessAuthModeAzureActiveDirectory', 'DataAccessAuthModeNone'
    DataAccessAuthMode DataAccessAuthMode `json:"dataAccessAuthMode,omitempty"`
}

func (DiskUpdateProperties) MarshalJSON

func (dup DiskUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskUpdateProperties.

type DisksClient

DisksClient is the compute Client

type DisksClient struct {
    BaseClient
}

func NewDisksClient

func NewDisksClient(subscriptionID string) DisksClient

NewDisksClient creates an instance of the DisksClient client.

func NewDisksClientWithBaseURI

func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient

NewDisksClientWithBaseURI creates an instance of the DisksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (DisksClient) CreateOrUpdate

func (client DisksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (result DisksCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. disk - disk object supplied in the body of the Put disk operation.

func (DisksClient) CreateOrUpdatePreparer

func (client DisksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk Disk) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DisksClient) CreateOrUpdateResponder

func (client DisksClient) CreateOrUpdateResponder(resp *http.Response) (result Disk, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DisksClient) CreateOrUpdateSender

func (client DisksClient) CreateOrUpdateSender(req *http.Request) (future DisksCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DisksClient) Delete

func (client DisksClient) Delete(ctx context.Context, resourceGroupName string, diskName string) (result DisksDeleteFuture, err error)

Delete deletes a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DisksClient) DeletePreparer

func (client DisksClient) DeletePreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DisksClient) DeleteResponder

func (client DisksClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DisksClient) DeleteSender

func (client DisksClient) DeleteSender(req *http.Request) (future DisksDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DisksClient) Get

func (client DisksClient) Get(ctx context.Context, resourceGroupName string, diskName string) (result Disk, err error)

Get gets information about a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DisksClient) GetPreparer

func (client DisksClient) GetPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DisksClient) GetResponder

func (client DisksClient) GetResponder(resp *http.Response) (result Disk, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DisksClient) GetSender

func (client DisksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DisksClient) GrantAccess

func (client DisksClient) GrantAccess(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (result DisksGrantAccessFuture, err error)

GrantAccess grants access to a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. grantAccessData - access data object supplied in the body of the get disk access operation.

func (DisksClient) GrantAccessPreparer

func (client DisksClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, diskName string, grantAccessData GrantAccessData) (*http.Request, error)

GrantAccessPreparer prepares the GrantAccess request.

func (DisksClient) GrantAccessResponder

func (client DisksClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)

GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.

func (DisksClient) GrantAccessSender

func (client DisksClient) GrantAccessSender(req *http.Request) (future DisksGrantAccessFuture, err error)

GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.

func (DisksClient) List

func (client DisksClient) List(ctx context.Context) (result DiskListPage, err error)

List lists all the disks under a subscription.

func (DisksClient) ListByResourceGroup

func (client DisksClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DiskListPage, err error)

ListByResourceGroup lists all the disks under a resource group. Parameters: resourceGroupName - the name of the resource group.

func (DisksClient) ListByResourceGroupComplete

func (client DisksClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result DiskListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (DisksClient) ListByResourceGroupPreparer

func (client DisksClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DisksClient) ListByResourceGroupResponder

func (client DisksClient) ListByResourceGroupResponder(resp *http.Response) (result DiskList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DisksClient) ListByResourceGroupSender

func (client DisksClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DisksClient) ListComplete

func (client DisksClient) ListComplete(ctx context.Context) (result DiskListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DisksClient) ListPreparer

func (client DisksClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DisksClient) ListResponder

func (client DisksClient) ListResponder(resp *http.Response) (result DiskList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DisksClient) ListSender

func (client DisksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DisksClient) RevokeAccess

func (client DisksClient) RevokeAccess(ctx context.Context, resourceGroupName string, diskName string) (result DisksRevokeAccessFuture, err error)

RevokeAccess revokes access to a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.

func (DisksClient) RevokeAccessPreparer

func (client DisksClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, diskName string) (*http.Request, error)

RevokeAccessPreparer prepares the RevokeAccess request.

func (DisksClient) RevokeAccessResponder

func (client DisksClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)

RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.

func (DisksClient) RevokeAccessSender

func (client DisksClient) RevokeAccessSender(req *http.Request) (future DisksRevokeAccessFuture, err error)

RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.

func (DisksClient) Update

func (client DisksClient) Update(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (result DisksUpdateFuture, err error)

Update updates (patches) a disk. Parameters: resourceGroupName - the name of the resource group. diskName - the name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. disk - disk object supplied in the body of the Patch disk operation.

func (DisksClient) UpdatePreparer

func (client DisksClient) UpdatePreparer(ctx context.Context, resourceGroupName string, diskName string, disk DiskUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DisksClient) UpdateResponder

func (client DisksClient) UpdateResponder(resp *http.Response) (result Disk, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (DisksClient) UpdateSender

func (client DisksClient) UpdateSender(req *http.Request) (future DisksUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type DisksCreateOrUpdateFuture

DisksCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DisksCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DisksClient) (Disk, error)
}

func (*DisksCreateOrUpdateFuture) UnmarshalJSON

func (future *DisksCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DisksDeleteFuture

DisksDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DisksDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DisksClient) (autorest.Response, error)
}

func (*DisksDeleteFuture) UnmarshalJSON

func (future *DisksDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DisksGrantAccessFuture

DisksGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DisksGrantAccessFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DisksClient) (AccessURI, error)
}

func (*DisksGrantAccessFuture) UnmarshalJSON

func (future *DisksGrantAccessFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DisksRevokeAccessFuture

DisksRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DisksRevokeAccessFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DisksClient) (autorest.Response, error)
}

func (*DisksRevokeAccessFuture) UnmarshalJSON

func (future *DisksRevokeAccessFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DisksUpdateFuture

DisksUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type DisksUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(DisksClient) (Disk, error)
}

func (*DisksUpdateFuture) UnmarshalJSON

func (future *DisksUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Encryption

Encryption encryption at rest settings for disk or snapshot

type Encryption struct {
    // DiskEncryptionSetID - ResourceId of the disk encryption set to use for enabling encryption at rest.
    DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty"`
    // Type - Possible values include: 'EncryptionTypeEncryptionAtRestWithPlatformKey', 'EncryptionTypeEncryptionAtRestWithCustomerKey', 'EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys'
    Type EncryptionType `json:"type,omitempty"`
}

type EncryptionImages

EncryptionImages optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

type EncryptionImages struct {
    OsDiskImage *OSDiskImageEncryption `json:"osDiskImage,omitempty"`
    // DataDiskImages - A list of encryption specifications for data disk images.
    DataDiskImages *[]DataDiskImageEncryption `json:"dataDiskImages,omitempty"`
}

type EncryptionSetIdentity

EncryptionSetIdentity the managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks.

type EncryptionSetIdentity struct {
    // Type - The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys. Possible values include: 'DiskEncryptionSetIdentityTypeSystemAssigned', 'DiskEncryptionSetIdentityTypeNone'
    Type DiskEncryptionSetIdentityType `json:"type,omitempty"`
    // PrincipalID - READ-ONLY; The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity
    TenantID *string `json:"tenantId,omitempty"`
}

func (EncryptionSetIdentity) MarshalJSON

func (esi EncryptionSetIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncryptionSetIdentity.

type EncryptionSetProperties

EncryptionSetProperties ...

type EncryptionSetProperties struct {
    // EncryptionType - Possible values include: 'DiskEncryptionSetTypeEncryptionAtRestWithCustomerKey', 'DiskEncryptionSetTypeEncryptionAtRestWithPlatformAndCustomerKeys', 'DiskEncryptionSetTypeConfidentialVMEncryptedWithCustomerKey'
    EncryptionType DiskEncryptionSetType `json:"encryptionType,omitempty"`
    // ActiveKey - The key vault key which is currently used by this disk encryption set.
    ActiveKey *KeyForDiskEncryptionSet `json:"activeKey,omitempty"`
    // PreviousKeys - READ-ONLY; A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation.
    PreviousKeys *[]KeyForDiskEncryptionSet `json:"previousKeys,omitempty"`
    // ProvisioningState - READ-ONLY; The disk encryption set provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // RotationToLatestKeyVersionEnabled - Set this flag to true to enable auto-updating of this disk encryption set to the latest key version.
    RotationToLatestKeyVersionEnabled *bool `json:"rotationToLatestKeyVersionEnabled,omitempty"`
    // LastKeyRotationTimestamp - READ-ONLY; The time when the active key of this disk encryption set was updated.
    LastKeyRotationTimestamp *date.Time `json:"lastKeyRotationTimestamp,omitempty"`
    // AutoKeyRotationError - READ-ONLY; The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed.
    AutoKeyRotationError *APIError `json:"autoKeyRotationError,omitempty"`
}

func (EncryptionSetProperties) MarshalJSON

func (esp EncryptionSetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncryptionSetProperties.

type EncryptionSettingsCollection

EncryptionSettingsCollection encryption settings for disk or snapshot

type EncryptionSettingsCollection struct {
    // Enabled - Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
    Enabled *bool `json:"enabled,omitempty"`
    // EncryptionSettings - A collection of encryption settings, one for each disk volume.
    EncryptionSettings *[]EncryptionSettingsElement `json:"encryptionSettings,omitempty"`
    // EncryptionSettingsVersion - Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
    EncryptionSettingsVersion *string `json:"encryptionSettingsVersion,omitempty"`
}

type EncryptionSettingsElement

EncryptionSettingsElement encryption settings for one disk volume.

type EncryptionSettingsElement struct {
    // DiskEncryptionKey - Key Vault Secret Url and vault id of the disk encryption key
    DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`
    // KeyEncryptionKey - Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
    KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"`
}

type EncryptionType

EncryptionType enumerates the values for encryption type.

type EncryptionType string
const (
    // EncryptionTypeEncryptionAtRestWithCustomerKey Disk is encrypted at rest with Customer managed key that
    // can be changed and revoked by a customer.
    EncryptionTypeEncryptionAtRestWithCustomerKey EncryptionType = "EncryptionAtRestWithCustomerKey"
    // EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys Disk is encrypted at rest with 2 layers of
    // encryption. One of the keys is Customer managed and the other key is Platform managed.
    EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys EncryptionType = "EncryptionAtRestWithPlatformAndCustomerKeys"
    // EncryptionTypeEncryptionAtRestWithPlatformKey Disk is encrypted at rest with Platform managed key. It is
    // the default encryption type. This is not a valid encryption type for disk encryption sets.
    EncryptionTypeEncryptionAtRestWithPlatformKey EncryptionType = "EncryptionAtRestWithPlatformKey"
)

func PossibleEncryptionTypeValues

func PossibleEncryptionTypeValues() []EncryptionType

PossibleEncryptionTypeValues returns an array of possible values for the EncryptionType const type.

type ExecutionState

ExecutionState enumerates the values for execution state.

type ExecutionState string
const (
    // ExecutionStateCanceled ...
    ExecutionStateCanceled ExecutionState = "Canceled"
    // ExecutionStateFailed ...
    ExecutionStateFailed ExecutionState = "Failed"
    // ExecutionStatePending ...
    ExecutionStatePending ExecutionState = "Pending"
    // ExecutionStateRunning ...
    ExecutionStateRunning ExecutionState = "Running"
    // ExecutionStateSucceeded ...
    ExecutionStateSucceeded ExecutionState = "Succeeded"
    // ExecutionStateTimedOut ...
    ExecutionStateTimedOut ExecutionState = "TimedOut"
    // ExecutionStateUnknown ...
    ExecutionStateUnknown ExecutionState = "Unknown"
)

func PossibleExecutionStateValues

func PossibleExecutionStateValues() []ExecutionState

PossibleExecutionStateValues returns an array of possible values for the ExecutionState const type.

type ExpandTypesForGetCapacityReservationGroups

ExpandTypesForGetCapacityReservationGroups enumerates the values for expand types for get capacity reservation groups.

type ExpandTypesForGetCapacityReservationGroups string
const (
    // ExpandTypesForGetCapacityReservationGroupsVirtualMachineScaleSetVMsref ...
    ExpandTypesForGetCapacityReservationGroupsVirtualMachineScaleSetVMsref ExpandTypesForGetCapacityReservationGroups = "virtualMachineScaleSetVMs/$ref"
    // ExpandTypesForGetCapacityReservationGroupsVirtualMachinesref ...
    ExpandTypesForGetCapacityReservationGroupsVirtualMachinesref ExpandTypesForGetCapacityReservationGroups = "virtualMachines/$ref"
)

func PossibleExpandTypesForGetCapacityReservationGroupsValues

func PossibleExpandTypesForGetCapacityReservationGroupsValues() []ExpandTypesForGetCapacityReservationGroups

PossibleExpandTypesForGetCapacityReservationGroupsValues returns an array of possible values for the ExpandTypesForGetCapacityReservationGroups const type.

type ExpandTypesForGetVMScaleSets

ExpandTypesForGetVMScaleSets enumerates the values for expand types for get vm scale sets.

type ExpandTypesForGetVMScaleSets string
const (
    // ExpandTypesForGetVMScaleSetsUserData ...
    ExpandTypesForGetVMScaleSetsUserData ExpandTypesForGetVMScaleSets = "userData"
)

func PossibleExpandTypesForGetVMScaleSetsValues

func PossibleExpandTypesForGetVMScaleSetsValues() []ExpandTypesForGetVMScaleSets

PossibleExpandTypesForGetVMScaleSetsValues returns an array of possible values for the ExpandTypesForGetVMScaleSets const type.

type ExtendedLocation

ExtendedLocation the complex type of the extended location.

type ExtendedLocation struct {
    // Name - The name of the extended location.
    Name *string `json:"name,omitempty"`
    // Type - The type of the extended location. Possible values include: 'ExtendedLocationTypesEdgeZone'
    Type ExtendedLocationTypes `json:"type,omitempty"`
}

type ExtendedLocationType

ExtendedLocationType enumerates the values for extended location type.

type ExtendedLocationType string
const (
    // ExtendedLocationTypeEdgeZone ...
    ExtendedLocationTypeEdgeZone ExtendedLocationType = "EdgeZone"
)

func PossibleExtendedLocationTypeValues

func PossibleExtendedLocationTypeValues() []ExtendedLocationType

PossibleExtendedLocationTypeValues returns an array of possible values for the ExtendedLocationType const type.

type ExtendedLocationTypes

ExtendedLocationTypes enumerates the values for extended location types.

type ExtendedLocationTypes string
const (
    // ExtendedLocationTypesEdgeZone ...
    ExtendedLocationTypesEdgeZone ExtendedLocationTypes = "EdgeZone"
)

func PossibleExtendedLocationTypesValues

func PossibleExtendedLocationTypesValues() []ExtendedLocationTypes

PossibleExtendedLocationTypesValues returns an array of possible values for the ExtendedLocationTypes const type.

type Extension

Extension describes a cloud service Extension.

type Extension struct {
    // Name - The name of the extension.
    Name       *string                          `json:"name,omitempty"`
    Properties *CloudServiceExtensionProperties `json:"properties,omitempty"`
}

type GalleriesClient

GalleriesClient is the compute Client

type GalleriesClient struct {
    BaseClient
}

func NewGalleriesClient

func NewGalleriesClient(subscriptionID string) GalleriesClient

NewGalleriesClient creates an instance of the GalleriesClient client.

func NewGalleriesClientWithBaseURI

func NewGalleriesClientWithBaseURI(baseURI string, subscriptionID string) GalleriesClient

NewGalleriesClientWithBaseURI creates an instance of the GalleriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GalleriesClient) CreateOrUpdate

func (client GalleriesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, gallery Gallery) (result GalleriesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a Shared Image Gallery. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters. gallery - parameters supplied to the create or update Shared Image Gallery operation.

func (GalleriesClient) CreateOrUpdatePreparer

func (client GalleriesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, gallery Gallery) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GalleriesClient) CreateOrUpdateResponder

func (client GalleriesClient) CreateOrUpdateResponder(resp *http.Response) (result Gallery, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GalleriesClient) CreateOrUpdateSender

func (client GalleriesClient) CreateOrUpdateSender(req *http.Request) (future GalleriesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GalleriesClient) Delete

func (client GalleriesClient) Delete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleriesDeleteFuture, err error)

Delete delete a Shared Image Gallery. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery to be deleted.

func (GalleriesClient) DeletePreparer

func (client GalleriesClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GalleriesClient) DeleteResponder

func (client GalleriesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GalleriesClient) DeleteSender

func (client GalleriesClient) DeleteSender(req *http.Request) (future GalleriesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GalleriesClient) Get

func (client GalleriesClient) Get(ctx context.Context, resourceGroupName string, galleryName string, selectParameter SelectPermissions, expand GalleryExpandParams) (result Gallery, err error)

Get retrieves information about a Shared Image Gallery. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery. selectParameter - the select expression to apply on the operation. expand - the expand query option to apply on the operation.

func (GalleriesClient) GetPreparer

func (client GalleriesClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, selectParameter SelectPermissions, expand GalleryExpandParams) (*http.Request, error)

GetPreparer prepares the Get request.

func (GalleriesClient) GetResponder

func (client GalleriesClient) GetResponder(resp *http.Response) (result Gallery, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GalleriesClient) GetSender

func (client GalleriesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GalleriesClient) List

func (client GalleriesClient) List(ctx context.Context) (result GalleryListPage, err error)

List list galleries under a subscription.

func (GalleriesClient) ListByResourceGroup

func (client GalleriesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result GalleryListPage, err error)

ListByResourceGroup list galleries under a resource group. Parameters: resourceGroupName - the name of the resource group.

func (GalleriesClient) ListByResourceGroupComplete

func (client GalleriesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result GalleryListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (GalleriesClient) ListByResourceGroupPreparer

func (client GalleriesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (GalleriesClient) ListByResourceGroupResponder

func (client GalleriesClient) ListByResourceGroupResponder(resp *http.Response) (result GalleryList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (GalleriesClient) ListByResourceGroupSender

func (client GalleriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (GalleriesClient) ListComplete

func (client GalleriesClient) ListComplete(ctx context.Context) (result GalleryListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (GalleriesClient) ListPreparer

func (client GalleriesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (GalleriesClient) ListResponder

func (client GalleriesClient) ListResponder(resp *http.Response) (result GalleryList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (GalleriesClient) ListSender

func (client GalleriesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (GalleriesClient) Update

func (client GalleriesClient) Update(ctx context.Context, resourceGroupName string, galleryName string, gallery GalleryUpdate) (result GalleriesUpdateFuture, err error)

Update update a Shared Image Gallery. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters. gallery - parameters supplied to the update Shared Image Gallery operation.

func (GalleriesClient) UpdatePreparer

func (client GalleriesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, gallery GalleryUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GalleriesClient) UpdateResponder

func (client GalleriesClient) UpdateResponder(resp *http.Response) (result Gallery, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GalleriesClient) UpdateSender

func (client GalleriesClient) UpdateSender(req *http.Request) (future GalleriesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GalleriesCreateOrUpdateFuture

GalleriesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleriesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleriesClient) (Gallery, error)
}

func (*GalleriesCreateOrUpdateFuture) UnmarshalJSON

func (future *GalleriesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleriesDeleteFuture

GalleriesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleriesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleriesClient) (autorest.Response, error)
}

func (*GalleriesDeleteFuture) UnmarshalJSON

func (future *GalleriesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleriesUpdateFuture

GalleriesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleriesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleriesClient) (Gallery, error)
}

func (*GalleriesUpdateFuture) UnmarshalJSON

func (future *GalleriesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

Gallery specifies information about the Shared Image Gallery that you want to create or update.

type Gallery struct {
    autorest.Response  `json:"-"`
    *GalleryProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (Gallery) MarshalJSON

func (g Gallery) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Gallery.

func (*Gallery) UnmarshalJSON

func (g *Gallery) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Gallery struct.

type GalleryApplication

GalleryApplication specifies information about the gallery Application Definition that you want to create or update.

type GalleryApplication struct {
    autorest.Response             `json:"-"`
    *GalleryApplicationProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryApplication) MarshalJSON

func (ga GalleryApplication) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryApplication.

func (*GalleryApplication) UnmarshalJSON

func (ga *GalleryApplication) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryApplication struct.

type GalleryApplicationList

GalleryApplicationList the List Gallery Applications operation response.

type GalleryApplicationList struct {
    autorest.Response `json:"-"`
    // Value - A list of Gallery Applications.
    Value *[]GalleryApplication `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions.
    NextLink *string `json:"nextLink,omitempty"`
}

func (GalleryApplicationList) IsEmpty

func (gal GalleryApplicationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GalleryApplicationListIterator

GalleryApplicationListIterator provides access to a complete listing of GalleryApplication values.

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

func NewGalleryApplicationListIterator

func NewGalleryApplicationListIterator(page GalleryApplicationListPage) GalleryApplicationListIterator

Creates a new instance of the GalleryApplicationListIterator type.

func (*GalleryApplicationListIterator) Next

func (iter *GalleryApplicationListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryApplicationListIterator) NextWithContext

func (iter *GalleryApplicationListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GalleryApplicationListIterator) NotDone

func (iter GalleryApplicationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GalleryApplicationListIterator) Response

func (iter GalleryApplicationListIterator) Response() GalleryApplicationList

Response returns the raw server response from the last page request.

func (GalleryApplicationListIterator) Value

func (iter GalleryApplicationListIterator) Value() GalleryApplication

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GalleryApplicationListPage

GalleryApplicationListPage contains a page of GalleryApplication values.

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

func NewGalleryApplicationListPage

func NewGalleryApplicationListPage(cur GalleryApplicationList, getNextPage func(context.Context, GalleryApplicationList) (GalleryApplicationList, error)) GalleryApplicationListPage

Creates a new instance of the GalleryApplicationListPage type.

func (*GalleryApplicationListPage) Next

func (page *GalleryApplicationListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryApplicationListPage) NextWithContext

func (page *GalleryApplicationListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GalleryApplicationListPage) NotDone

func (page GalleryApplicationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GalleryApplicationListPage) Response

func (page GalleryApplicationListPage) Response() GalleryApplicationList

Response returns the raw server response from the last page request.

func (GalleryApplicationListPage) Values

func (page GalleryApplicationListPage) Values() []GalleryApplication

Values returns the slice of values for the current page or nil if there are no values.

type GalleryApplicationProperties

GalleryApplicationProperties describes the properties of a gallery Application Definition.

type GalleryApplicationProperties struct {
    // Description - The description of this gallery Application Definition resource. This property is updatable.
    Description *string `json:"description,omitempty"`
    // Eula - The Eula agreement for the gallery Application Definition.
    Eula *string `json:"eula,omitempty"`
    // PrivacyStatementURI - The privacy statement uri.
    PrivacyStatementURI *string `json:"privacyStatementUri,omitempty"`
    // ReleaseNoteURI - The release note uri.
    ReleaseNoteURI *string `json:"releaseNoteUri,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
    // SupportedOSType - This property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    SupportedOSType OperatingSystemTypes `json:"supportedOSType,omitempty"`
}

type GalleryApplicationUpdate

GalleryApplicationUpdate specifies information about the gallery Application Definition that you want to update.

type GalleryApplicationUpdate struct {
    *GalleryApplicationProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryApplicationUpdate) MarshalJSON

func (gau GalleryApplicationUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryApplicationUpdate.

func (*GalleryApplicationUpdate) UnmarshalJSON

func (gau *GalleryApplicationUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryApplicationUpdate struct.

type GalleryApplicationVersion

GalleryApplicationVersion specifies information about the gallery Application Version that you want to create or update.

type GalleryApplicationVersion struct {
    autorest.Response                    `json:"-"`
    *GalleryApplicationVersionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryApplicationVersion) MarshalJSON

func (gav GalleryApplicationVersion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryApplicationVersion.

func (*GalleryApplicationVersion) UnmarshalJSON

func (gav *GalleryApplicationVersion) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryApplicationVersion struct.

type GalleryApplicationVersionList

GalleryApplicationVersionList the List Gallery Application version operation response.

type GalleryApplicationVersionList struct {
    autorest.Response `json:"-"`
    // Value - A list of gallery Application Versions.
    Value *[]GalleryApplicationVersion `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions.
    NextLink *string `json:"nextLink,omitempty"`
}

func (GalleryApplicationVersionList) IsEmpty

func (gavl GalleryApplicationVersionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GalleryApplicationVersionListIterator

GalleryApplicationVersionListIterator provides access to a complete listing of GalleryApplicationVersion values.

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

func NewGalleryApplicationVersionListIterator

func NewGalleryApplicationVersionListIterator(page GalleryApplicationVersionListPage) GalleryApplicationVersionListIterator

Creates a new instance of the GalleryApplicationVersionListIterator type.

func (*GalleryApplicationVersionListIterator) Next

func (iter *GalleryApplicationVersionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryApplicationVersionListIterator) NextWithContext

func (iter *GalleryApplicationVersionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GalleryApplicationVersionListIterator) NotDone

func (iter GalleryApplicationVersionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GalleryApplicationVersionListIterator) Response

func (iter GalleryApplicationVersionListIterator) Response() GalleryApplicationVersionList

Response returns the raw server response from the last page request.

func (GalleryApplicationVersionListIterator) Value

func (iter GalleryApplicationVersionListIterator) Value() GalleryApplicationVersion

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GalleryApplicationVersionListPage

GalleryApplicationVersionListPage contains a page of GalleryApplicationVersion values.

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

func NewGalleryApplicationVersionListPage

func NewGalleryApplicationVersionListPage(cur GalleryApplicationVersionList, getNextPage func(context.Context, GalleryApplicationVersionList) (GalleryApplicationVersionList, error)) GalleryApplicationVersionListPage

Creates a new instance of the GalleryApplicationVersionListPage type.

func (*GalleryApplicationVersionListPage) Next

func (page *GalleryApplicationVersionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryApplicationVersionListPage) NextWithContext

func (page *GalleryApplicationVersionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GalleryApplicationVersionListPage) NotDone

func (page GalleryApplicationVersionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GalleryApplicationVersionListPage) Response

func (page GalleryApplicationVersionListPage) Response() GalleryApplicationVersionList

Response returns the raw server response from the last page request.

func (GalleryApplicationVersionListPage) Values

func (page GalleryApplicationVersionListPage) Values() []GalleryApplicationVersion

Values returns the slice of values for the current page or nil if there are no values.

type GalleryApplicationVersionProperties

GalleryApplicationVersionProperties describes the properties of a gallery image version.

type GalleryApplicationVersionProperties struct {
    PublishingProfile *GalleryApplicationVersionPublishingProfile `json:"publishingProfile,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState1Creating', 'ProvisioningState1Updating', 'ProvisioningState1Failed', 'ProvisioningState1Succeeded', 'ProvisioningState1Deleting', 'ProvisioningState1Migrating'
    ProvisioningState ProvisioningState1 `json:"provisioningState,omitempty"`
    // ReplicationStatus - READ-ONLY
    ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"`
}

func (GalleryApplicationVersionProperties) MarshalJSON

func (gavp GalleryApplicationVersionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryApplicationVersionProperties.

type GalleryApplicationVersionPublishingProfile

GalleryApplicationVersionPublishingProfile the publishing profile of a gallery image version.

type GalleryApplicationVersionPublishingProfile struct {
    Source        *UserArtifactSource `json:"source,omitempty"`
    ManageActions *UserArtifactManage `json:"manageActions,omitempty"`
    // EnableHealthCheck - Optional. Whether or not this application reports health.
    EnableHealthCheck *bool `json:"enableHealthCheck,omitempty"`
    // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
    TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
    // ReplicaCount - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
    ReplicaCount *int32 `json:"replicaCount,omitempty"`
    // ExcludeFromLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
    ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"`
    // PublishedDate - READ-ONLY; The timestamp for when the gallery image version is published.
    PublishedDate *date.Time `json:"publishedDate,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
    // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS', 'StorageAccountTypePremiumLRS'
    StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
    // ReplicationMode - Optional parameter which specifies the mode to be used for replication. This property is not updatable. Possible values include: 'ReplicationModeFull', 'ReplicationModeShallow'
    ReplicationMode ReplicationMode `json:"replicationMode,omitempty"`
    // TargetExtendedLocations - The target extended locations where the Image Version is going to be replicated to. This property is updatable.
    TargetExtendedLocations *[]GalleryTargetExtendedLocation `json:"targetExtendedLocations,omitempty"`
}

func (GalleryApplicationVersionPublishingProfile) MarshalJSON

func (gavpp GalleryApplicationVersionPublishingProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryApplicationVersionPublishingProfile.

type GalleryApplicationVersionUpdate

GalleryApplicationVersionUpdate specifies information about the gallery Application Version that you want to update.

type GalleryApplicationVersionUpdate struct {
    *GalleryApplicationVersionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryApplicationVersionUpdate) MarshalJSON

func (gavu GalleryApplicationVersionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryApplicationVersionUpdate.

func (*GalleryApplicationVersionUpdate) UnmarshalJSON

func (gavu *GalleryApplicationVersionUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryApplicationVersionUpdate struct.

type GalleryApplicationVersionsClient

GalleryApplicationVersionsClient is the compute Client

type GalleryApplicationVersionsClient struct {
    BaseClient
}

func NewGalleryApplicationVersionsClient

func NewGalleryApplicationVersionsClient(subscriptionID string) GalleryApplicationVersionsClient

NewGalleryApplicationVersionsClient creates an instance of the GalleryApplicationVersionsClient client.

func NewGalleryApplicationVersionsClientWithBaseURI

func NewGalleryApplicationVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationVersionsClient

NewGalleryApplicationVersionsClientWithBaseURI creates an instance of the GalleryApplicationVersionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GalleryApplicationVersionsClient) CreateOrUpdate

func (client GalleryApplicationVersionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersion) (result GalleryApplicationVersionsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a gallery Application Version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition resides. galleryApplicationName - the name of the gallery Application Definition in which the Application Version is to be created. galleryApplicationVersionName - the name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch> galleryApplicationVersion - parameters supplied to the create or update gallery Application Version operation.

func (GalleryApplicationVersionsClient) CreateOrUpdatePreparer

func (client GalleryApplicationVersionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersion) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GalleryApplicationVersionsClient) CreateOrUpdateResponder

func (client GalleryApplicationVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryApplicationVersion, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GalleryApplicationVersionsClient) CreateOrUpdateSender

func (client GalleryApplicationVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryApplicationVersionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationVersionsClient) Delete

func (client GalleryApplicationVersionsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string) (result GalleryApplicationVersionsDeleteFuture, err error)

Delete delete a gallery Application Version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition resides. galleryApplicationName - the name of the gallery Application Definition in which the Application Version resides. galleryApplicationVersionName - the name of the gallery Application Version to be deleted.

func (GalleryApplicationVersionsClient) DeletePreparer

func (client GalleryApplicationVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GalleryApplicationVersionsClient) DeleteResponder

func (client GalleryApplicationVersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GalleryApplicationVersionsClient) DeleteSender

func (client GalleryApplicationVersionsClient) DeleteSender(req *http.Request) (future GalleryApplicationVersionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationVersionsClient) Get

func (client GalleryApplicationVersionsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, expand ReplicationStatusTypes) (result GalleryApplicationVersion, err error)

Get retrieves information about a gallery Application Version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition resides. galleryApplicationName - the name of the gallery Application Definition in which the Application Version resides. galleryApplicationVersionName - the name of the gallery Application Version to be retrieved. expand - the expand expression to apply on the operation.

func (GalleryApplicationVersionsClient) GetPreparer

func (client GalleryApplicationVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, expand ReplicationStatusTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (GalleryApplicationVersionsClient) GetResponder

func (client GalleryApplicationVersionsClient) GetResponder(resp *http.Response) (result GalleryApplicationVersion, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GalleryApplicationVersionsClient) GetSender

func (client GalleryApplicationVersionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationVersionsClient) ListByGalleryApplication

func (client GalleryApplicationVersionsClient) ListByGalleryApplication(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationVersionListPage, err error)

ListByGalleryApplication list gallery Application Versions in a gallery Application Definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition resides. galleryApplicationName - the name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed.

func (GalleryApplicationVersionsClient) ListByGalleryApplicationComplete

func (client GalleryApplicationVersionsClient) ListByGalleryApplicationComplete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationVersionListIterator, err error)

ListByGalleryApplicationComplete enumerates all values, automatically crossing page boundaries as required.

func (GalleryApplicationVersionsClient) ListByGalleryApplicationPreparer

func (client GalleryApplicationVersionsClient) ListByGalleryApplicationPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error)

ListByGalleryApplicationPreparer prepares the ListByGalleryApplication request.

func (GalleryApplicationVersionsClient) ListByGalleryApplicationResponder

func (client GalleryApplicationVersionsClient) ListByGalleryApplicationResponder(resp *http.Response) (result GalleryApplicationVersionList, err error)

ListByGalleryApplicationResponder handles the response to the ListByGalleryApplication request. The method always closes the http.Response Body.

func (GalleryApplicationVersionsClient) ListByGalleryApplicationSender

func (client GalleryApplicationVersionsClient) ListByGalleryApplicationSender(req *http.Request) (*http.Response, error)

ListByGalleryApplicationSender sends the ListByGalleryApplication request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationVersionsClient) Update

func (client GalleryApplicationVersionsClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersionUpdate) (result GalleryApplicationVersionsUpdateFuture, err error)

Update update a gallery Application Version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition resides. galleryApplicationName - the name of the gallery Application Definition in which the Application Version is to be updated. galleryApplicationVersionName - the name of the gallery Application Version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch> galleryApplicationVersion - parameters supplied to the update gallery Application Version operation.

func (GalleryApplicationVersionsClient) UpdatePreparer

func (client GalleryApplicationVersionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplicationVersionName string, galleryApplicationVersion GalleryApplicationVersionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GalleryApplicationVersionsClient) UpdateResponder

func (client GalleryApplicationVersionsClient) UpdateResponder(resp *http.Response) (result GalleryApplicationVersion, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GalleryApplicationVersionsClient) UpdateSender

func (client GalleryApplicationVersionsClient) UpdateSender(req *http.Request) (future GalleryApplicationVersionsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GalleryApplicationVersionsCreateOrUpdateFuture

GalleryApplicationVersionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryApplicationVersionsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryApplicationVersionsClient) (GalleryApplicationVersion, error)
}

func (*GalleryApplicationVersionsCreateOrUpdateFuture) UnmarshalJSON

func (future *GalleryApplicationVersionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryApplicationVersionsDeleteFuture

GalleryApplicationVersionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryApplicationVersionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryApplicationVersionsClient) (autorest.Response, error)
}

func (*GalleryApplicationVersionsDeleteFuture) UnmarshalJSON

func (future *GalleryApplicationVersionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryApplicationVersionsUpdateFuture

GalleryApplicationVersionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryApplicationVersionsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryApplicationVersionsClient) (GalleryApplicationVersion, error)
}

func (*GalleryApplicationVersionsUpdateFuture) UnmarshalJSON

func (future *GalleryApplicationVersionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryApplicationsClient

GalleryApplicationsClient is the compute Client

type GalleryApplicationsClient struct {
    BaseClient
}

func NewGalleryApplicationsClient

func NewGalleryApplicationsClient(subscriptionID string) GalleryApplicationsClient

NewGalleryApplicationsClient creates an instance of the GalleryApplicationsClient client.

func NewGalleryApplicationsClientWithBaseURI

func NewGalleryApplicationsClientWithBaseURI(baseURI string, subscriptionID string) GalleryApplicationsClient

NewGalleryApplicationsClientWithBaseURI creates an instance of the GalleryApplicationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GalleryApplicationsClient) CreateOrUpdate

func (client GalleryApplicationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplication) (result GalleryApplicationsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a gallery Application Definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition is to be created. galleryApplicationName - the name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. galleryApplication - parameters supplied to the create or update gallery Application operation.

func (GalleryApplicationsClient) CreateOrUpdatePreparer

func (client GalleryApplicationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplication) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GalleryApplicationsClient) CreateOrUpdateResponder

func (client GalleryApplicationsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryApplication, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GalleryApplicationsClient) CreateOrUpdateSender

func (client GalleryApplicationsClient) CreateOrUpdateSender(req *http.Request) (future GalleryApplicationsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationsClient) Delete

func (client GalleryApplicationsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplicationsDeleteFuture, err error)

Delete delete a gallery Application. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition is to be deleted. galleryApplicationName - the name of the gallery Application Definition to be deleted.

func (GalleryApplicationsClient) DeletePreparer

func (client GalleryApplicationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GalleryApplicationsClient) DeleteResponder

func (client GalleryApplicationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GalleryApplicationsClient) DeleteSender

func (client GalleryApplicationsClient) DeleteSender(req *http.Request) (future GalleryApplicationsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationsClient) Get

func (client GalleryApplicationsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (result GalleryApplication, err error)

Get retrieves information about a gallery Application Definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery from which the Application Definitions are to be retrieved. galleryApplicationName - the name of the gallery Application Definition to be retrieved.

func (GalleryApplicationsClient) GetPreparer

func (client GalleryApplicationsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GalleryApplicationsClient) GetResponder

func (client GalleryApplicationsClient) GetResponder(resp *http.Response) (result GalleryApplication, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GalleryApplicationsClient) GetSender

func (client GalleryApplicationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationsClient) ListByGallery

func (client GalleryApplicationsClient) ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryApplicationListPage, err error)

ListByGallery list gallery Application Definitions in a gallery. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery from which Application Definitions are to be listed.

func (GalleryApplicationsClient) ListByGalleryComplete

func (client GalleryApplicationsClient) ListByGalleryComplete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryApplicationListIterator, err error)

ListByGalleryComplete enumerates all values, automatically crossing page boundaries as required.

func (GalleryApplicationsClient) ListByGalleryPreparer

func (client GalleryApplicationsClient) ListByGalleryPreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error)

ListByGalleryPreparer prepares the ListByGallery request.

func (GalleryApplicationsClient) ListByGalleryResponder

func (client GalleryApplicationsClient) ListByGalleryResponder(resp *http.Response) (result GalleryApplicationList, err error)

ListByGalleryResponder handles the response to the ListByGallery request. The method always closes the http.Response Body.

func (GalleryApplicationsClient) ListByGallerySender

func (client GalleryApplicationsClient) ListByGallerySender(req *http.Request) (*http.Response, error)

ListByGallerySender sends the ListByGallery request. The method will close the http.Response Body if it receives an error.

func (GalleryApplicationsClient) Update

func (client GalleryApplicationsClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplicationUpdate) (result GalleryApplicationsUpdateFuture, err error)

Update update a gallery Application Definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Application Gallery in which the Application Definition is to be updated. galleryApplicationName - the name of the gallery Application Definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. galleryApplication - parameters supplied to the update gallery Application operation.

func (GalleryApplicationsClient) UpdatePreparer

func (client GalleryApplicationsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryApplicationName string, galleryApplication GalleryApplicationUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GalleryApplicationsClient) UpdateResponder

func (client GalleryApplicationsClient) UpdateResponder(resp *http.Response) (result GalleryApplication, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GalleryApplicationsClient) UpdateSender

func (client GalleryApplicationsClient) UpdateSender(req *http.Request) (future GalleryApplicationsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GalleryApplicationsCreateOrUpdateFuture

GalleryApplicationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryApplicationsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryApplicationsClient) (GalleryApplication, error)
}

func (*GalleryApplicationsCreateOrUpdateFuture) UnmarshalJSON

func (future *GalleryApplicationsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryApplicationsDeleteFuture

GalleryApplicationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryApplicationsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryApplicationsClient) (autorest.Response, error)
}

func (*GalleryApplicationsDeleteFuture) UnmarshalJSON

func (future *GalleryApplicationsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryApplicationsUpdateFuture

GalleryApplicationsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryApplicationsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryApplicationsClient) (GalleryApplication, error)
}

func (*GalleryApplicationsUpdateFuture) UnmarshalJSON

func (future *GalleryApplicationsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryArtifactPublishingProfileBase

GalleryArtifactPublishingProfileBase describes the basic gallery artifact publishing profile.

type GalleryArtifactPublishingProfileBase struct {
    // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
    TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
    // ReplicaCount - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
    ReplicaCount *int32 `json:"replicaCount,omitempty"`
    // ExcludeFromLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
    ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"`
    // PublishedDate - READ-ONLY; The timestamp for when the gallery image version is published.
    PublishedDate *date.Time `json:"publishedDate,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
    // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS', 'StorageAccountTypePremiumLRS'
    StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
    // ReplicationMode - Optional parameter which specifies the mode to be used for replication. This property is not updatable. Possible values include: 'ReplicationModeFull', 'ReplicationModeShallow'
    ReplicationMode ReplicationMode `json:"replicationMode,omitempty"`
    // TargetExtendedLocations - The target extended locations where the Image Version is going to be replicated to. This property is updatable.
    TargetExtendedLocations *[]GalleryTargetExtendedLocation `json:"targetExtendedLocations,omitempty"`
}

func (GalleryArtifactPublishingProfileBase) MarshalJSON

func (gappb GalleryArtifactPublishingProfileBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryArtifactPublishingProfileBase.

type GalleryArtifactSource

GalleryArtifactSource the source image from which the Image Version is going to be created.

type GalleryArtifactSource struct {
    ManagedImage *ManagedArtifact `json:"managedImage,omitempty"`
}

type GalleryArtifactVersionSource

GalleryArtifactVersionSource the gallery artifact version source.

type GalleryArtifactVersionSource struct {
    // ID - The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.
    ID *string `json:"id,omitempty"`
    // URI - The uri of the gallery artifact version source. Currently used to specify vhd/blob source.
    URI *string `json:"uri,omitempty"`
}

type GalleryDataDiskImage

GalleryDataDiskImage this is the data disk image.

type GalleryDataDiskImage struct {
    // Lun - This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.
    Lun *int32 `json:"lun,omitempty"`
    // SizeInGB - READ-ONLY; This property indicates the size of the VHD to be created.
    SizeInGB *int32 `json:"sizeInGB,omitempty"`
    // HostCaching - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'HostCachingNone', 'HostCachingReadOnly', 'HostCachingReadWrite'
    HostCaching HostCaching                   `json:"hostCaching,omitempty"`
    Source      *GalleryArtifactVersionSource `json:"source,omitempty"`
}

func (GalleryDataDiskImage) MarshalJSON

func (gddi GalleryDataDiskImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryDataDiskImage.

type GalleryDiskImage

GalleryDiskImage this is the disk image base class.

type GalleryDiskImage struct {
    // SizeInGB - READ-ONLY; This property indicates the size of the VHD to be created.
    SizeInGB *int32 `json:"sizeInGB,omitempty"`
    // HostCaching - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'HostCachingNone', 'HostCachingReadOnly', 'HostCachingReadWrite'
    HostCaching HostCaching                   `json:"hostCaching,omitempty"`
    Source      *GalleryArtifactVersionSource `json:"source,omitempty"`
}

func (GalleryDiskImage) MarshalJSON

func (gdi GalleryDiskImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryDiskImage.

type GalleryExpandParams

GalleryExpandParams enumerates the values for gallery expand params.

type GalleryExpandParams string
const (
    // GalleryExpandParamsSharingProfileGroups ...
    GalleryExpandParamsSharingProfileGroups GalleryExpandParams = "SharingProfile/Groups"
)

func PossibleGalleryExpandParamsValues

func PossibleGalleryExpandParamsValues() []GalleryExpandParams

PossibleGalleryExpandParamsValues returns an array of possible values for the GalleryExpandParams const type.

type GalleryExtendedLocation

GalleryExtendedLocation the name of the extended location.

type GalleryExtendedLocation struct {
    Name *string `json:"name,omitempty"`
    // Type - Possible values include: 'GalleryExtendedLocationTypeEdgeZone', 'GalleryExtendedLocationTypeUnknown'
    Type GalleryExtendedLocationType `json:"type,omitempty"`
}

type GalleryExtendedLocationType

GalleryExtendedLocationType enumerates the values for gallery extended location type.

type GalleryExtendedLocationType string
const (
    // GalleryExtendedLocationTypeEdgeZone ...
    GalleryExtendedLocationTypeEdgeZone GalleryExtendedLocationType = "EdgeZone"
    // GalleryExtendedLocationTypeUnknown ...
    GalleryExtendedLocationTypeUnknown GalleryExtendedLocationType = "Unknown"
)

func PossibleGalleryExtendedLocationTypeValues

func PossibleGalleryExtendedLocationTypeValues() []GalleryExtendedLocationType

PossibleGalleryExtendedLocationTypeValues returns an array of possible values for the GalleryExtendedLocationType const type.

type GalleryIdentifier

GalleryIdentifier describes the gallery unique name.

type GalleryIdentifier struct {
    // UniqueName - READ-ONLY; The unique name of the Shared Image Gallery. This name is generated automatically by Azure.
    UniqueName *string `json:"uniqueName,omitempty"`
}

func (GalleryIdentifier) MarshalJSON

func (gi GalleryIdentifier) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryIdentifier.

type GalleryImage

GalleryImage specifies information about the gallery image definition that you want to create or update.

type GalleryImage struct {
    autorest.Response       `json:"-"`
    *GalleryImageProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryImage) MarshalJSON

func (gi GalleryImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImage.

func (*GalleryImage) UnmarshalJSON

func (gi *GalleryImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryImage struct.

type GalleryImageFeature

GalleryImageFeature a feature for gallery image.

type GalleryImageFeature struct {
    // Name - The name of the gallery image feature.
    Name *string `json:"name,omitempty"`
    // Value - The value of the gallery image feature.
    Value *string `json:"value,omitempty"`
}

type GalleryImageIdentifier

GalleryImageIdentifier this is the gallery image definition identifier.

type GalleryImageIdentifier struct {
    // Publisher - The name of the gallery image definition publisher.
    Publisher *string `json:"publisher,omitempty"`
    // Offer - The name of the gallery image definition offer.
    Offer *string `json:"offer,omitempty"`
    // Sku - The name of the gallery image definition SKU.
    Sku *string `json:"sku,omitempty"`
}

type GalleryImageList

GalleryImageList the List Gallery Images operation response.

type GalleryImageList struct {
    autorest.Response `json:"-"`
    // Value - A list of Shared Image Gallery images.
    Value *[]GalleryImage `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery image definitions.
    NextLink *string `json:"nextLink,omitempty"`
}

func (GalleryImageList) IsEmpty

func (gil GalleryImageList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GalleryImageListIterator

GalleryImageListIterator provides access to a complete listing of GalleryImage values.

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

func NewGalleryImageListIterator

func NewGalleryImageListIterator(page GalleryImageListPage) GalleryImageListIterator

Creates a new instance of the GalleryImageListIterator type.

func (*GalleryImageListIterator) Next

func (iter *GalleryImageListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryImageListIterator) NextWithContext

func (iter *GalleryImageListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GalleryImageListIterator) NotDone

func (iter GalleryImageListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GalleryImageListIterator) Response

func (iter GalleryImageListIterator) Response() GalleryImageList

Response returns the raw server response from the last page request.

func (GalleryImageListIterator) Value

func (iter GalleryImageListIterator) Value() GalleryImage

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GalleryImageListPage

GalleryImageListPage contains a page of GalleryImage values.

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

func NewGalleryImageListPage

func NewGalleryImageListPage(cur GalleryImageList, getNextPage func(context.Context, GalleryImageList) (GalleryImageList, error)) GalleryImageListPage

Creates a new instance of the GalleryImageListPage type.

func (*GalleryImageListPage) Next

func (page *GalleryImageListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryImageListPage) NextWithContext

func (page *GalleryImageListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GalleryImageListPage) NotDone

func (page GalleryImageListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GalleryImageListPage) Response

func (page GalleryImageListPage) Response() GalleryImageList

Response returns the raw server response from the last page request.

func (GalleryImageListPage) Values

func (page GalleryImageListPage) Values() []GalleryImage

Values returns the slice of values for the current page or nil if there are no values.

type GalleryImageProperties

GalleryImageProperties describes the properties of a gallery image definition.

type GalleryImageProperties struct {
    // Description - The description of this gallery image definition resource. This property is updatable.
    Description *string `json:"description,omitempty"`
    // Eula - The Eula agreement for the gallery image definition.
    Eula *string `json:"eula,omitempty"`
    // PrivacyStatementURI - The privacy statement uri.
    PrivacyStatementURI *string `json:"privacyStatementUri,omitempty"`
    // ReleaseNoteURI - The release note uri.
    ReleaseNoteURI *string `json:"releaseNoteUri,omitempty"`
    // OsType - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // OsState - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'OperatingSystemStateTypesGeneralized', 'OperatingSystemStateTypesSpecialized'
    OsState OperatingSystemStateTypes `json:"osState,omitempty"`
    // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'HyperVGenerationV1', 'HyperVGenerationV2'
    HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time                       `json:"endOfLifeDate,omitempty"`
    Identifier    *GalleryImageIdentifier          `json:"identifier,omitempty"`
    Recommended   *RecommendedMachineConfiguration `json:"recommended,omitempty"`
    Disallowed    *Disallowed                      `json:"disallowed,omitempty"`
    PurchasePlan  *ImagePurchasePlan               `json:"purchasePlan,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState2Creating', 'ProvisioningState2Updating', 'ProvisioningState2Failed', 'ProvisioningState2Succeeded', 'ProvisioningState2Deleting', 'ProvisioningState2Migrating'
    ProvisioningState ProvisioningState2 `json:"provisioningState,omitempty"`
    // Features - A list of gallery image features.
    Features *[]GalleryImageFeature `json:"features,omitempty"`
    // Architecture - The architecture of the image. Applicable to OS disks only. Possible values include: 'ArchitectureX64', 'ArchitectureArm64'
    Architecture Architecture `json:"architecture,omitempty"`
}

func (GalleryImageProperties) MarshalJSON

func (gip GalleryImageProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImageProperties.

type GalleryImageUpdate

GalleryImageUpdate specifies information about the gallery image definition that you want to update.

type GalleryImageUpdate struct {
    *GalleryImageProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryImageUpdate) MarshalJSON

func (giu GalleryImageUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImageUpdate.

func (*GalleryImageUpdate) UnmarshalJSON

func (giu *GalleryImageUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryImageUpdate struct.

type GalleryImageVersion

GalleryImageVersion specifies information about the gallery image version that you want to create or update.

type GalleryImageVersion struct {
    autorest.Response              `json:"-"`
    *GalleryImageVersionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryImageVersion) MarshalJSON

func (giv GalleryImageVersion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImageVersion.

func (*GalleryImageVersion) UnmarshalJSON

func (giv *GalleryImageVersion) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryImageVersion struct.

type GalleryImageVersionList

GalleryImageVersionList the List Gallery Image version operation response.

type GalleryImageVersionList struct {
    autorest.Response `json:"-"`
    // Value - A list of gallery image versions.
    Value *[]GalleryImageVersion `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of gallery image versions. Call ListNext() with this to fetch the next page of gallery image versions.
    NextLink *string `json:"nextLink,omitempty"`
}

func (GalleryImageVersionList) IsEmpty

func (givl GalleryImageVersionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GalleryImageVersionListIterator

GalleryImageVersionListIterator provides access to a complete listing of GalleryImageVersion values.

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

func NewGalleryImageVersionListIterator

func NewGalleryImageVersionListIterator(page GalleryImageVersionListPage) GalleryImageVersionListIterator

Creates a new instance of the GalleryImageVersionListIterator type.

func (*GalleryImageVersionListIterator) Next

func (iter *GalleryImageVersionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryImageVersionListIterator) NextWithContext

func (iter *GalleryImageVersionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GalleryImageVersionListIterator) NotDone

func (iter GalleryImageVersionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GalleryImageVersionListIterator) Response

func (iter GalleryImageVersionListIterator) Response() GalleryImageVersionList

Response returns the raw server response from the last page request.

func (GalleryImageVersionListIterator) Value

func (iter GalleryImageVersionListIterator) Value() GalleryImageVersion

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GalleryImageVersionListPage

GalleryImageVersionListPage contains a page of GalleryImageVersion values.

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

func NewGalleryImageVersionListPage

func NewGalleryImageVersionListPage(cur GalleryImageVersionList, getNextPage func(context.Context, GalleryImageVersionList) (GalleryImageVersionList, error)) GalleryImageVersionListPage

Creates a new instance of the GalleryImageVersionListPage type.

func (*GalleryImageVersionListPage) Next

func (page *GalleryImageVersionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryImageVersionListPage) NextWithContext

func (page *GalleryImageVersionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GalleryImageVersionListPage) NotDone

func (page GalleryImageVersionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GalleryImageVersionListPage) Response

func (page GalleryImageVersionListPage) Response() GalleryImageVersionList

Response returns the raw server response from the last page request.

func (GalleryImageVersionListPage) Values

func (page GalleryImageVersionListPage) Values() []GalleryImageVersion

Values returns the slice of values for the current page or nil if there are no values.

type GalleryImageVersionProperties

GalleryImageVersionProperties describes the properties of a gallery image version.

type GalleryImageVersionProperties struct {
    PublishingProfile *GalleryImageVersionPublishingProfile `json:"publishingProfile,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningState3Creating', 'ProvisioningState3Updating', 'ProvisioningState3Failed', 'ProvisioningState3Succeeded', 'ProvisioningState3Deleting', 'ProvisioningState3Migrating'
    ProvisioningState ProvisioningState3                 `json:"provisioningState,omitempty"`
    StorageProfile    *GalleryImageVersionStorageProfile `json:"storageProfile,omitempty"`
    // ReplicationStatus - READ-ONLY
    ReplicationStatus *ReplicationStatus `json:"replicationStatus,omitempty"`
}

func (GalleryImageVersionProperties) MarshalJSON

func (givp GalleryImageVersionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImageVersionProperties.

type GalleryImageVersionPublishingProfile

GalleryImageVersionPublishingProfile the publishing profile of a gallery image Version.

type GalleryImageVersionPublishingProfile struct {
    // TargetRegions - The target regions where the Image Version is going to be replicated to. This property is updatable.
    TargetRegions *[]TargetRegion `json:"targetRegions,omitempty"`
    // ReplicaCount - The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.
    ReplicaCount *int32 `json:"replicaCount,omitempty"`
    // ExcludeFromLatest - If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.
    ExcludeFromLatest *bool `json:"excludeFromLatest,omitempty"`
    // PublishedDate - READ-ONLY; The timestamp for when the gallery image version is published.
    PublishedDate *date.Time `json:"publishedDate,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image version. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
    // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS', 'StorageAccountTypePremiumLRS'
    StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
    // ReplicationMode - Optional parameter which specifies the mode to be used for replication. This property is not updatable. Possible values include: 'ReplicationModeFull', 'ReplicationModeShallow'
    ReplicationMode ReplicationMode `json:"replicationMode,omitempty"`
    // TargetExtendedLocations - The target extended locations where the Image Version is going to be replicated to. This property is updatable.
    TargetExtendedLocations *[]GalleryTargetExtendedLocation `json:"targetExtendedLocations,omitempty"`
}

func (GalleryImageVersionPublishingProfile) MarshalJSON

func (givpp GalleryImageVersionPublishingProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImageVersionPublishingProfile.

type GalleryImageVersionStorageProfile

GalleryImageVersionStorageProfile this is the storage profile of a Gallery Image Version.

type GalleryImageVersionStorageProfile struct {
    Source      *GalleryArtifactVersionSource `json:"source,omitempty"`
    OsDiskImage *GalleryOSDiskImage           `json:"osDiskImage,omitempty"`
    // DataDiskImages - A list of data disk images.
    DataDiskImages *[]GalleryDataDiskImage `json:"dataDiskImages,omitempty"`
}

type GalleryImageVersionUpdate

GalleryImageVersionUpdate specifies information about the gallery image version that you want to update.

type GalleryImageVersionUpdate struct {
    *GalleryImageVersionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryImageVersionUpdate) MarshalJSON

func (givu GalleryImageVersionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryImageVersionUpdate.

func (*GalleryImageVersionUpdate) UnmarshalJSON

func (givu *GalleryImageVersionUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryImageVersionUpdate struct.

type GalleryImageVersionsClient

GalleryImageVersionsClient is the compute Client

type GalleryImageVersionsClient struct {
    BaseClient
}

func NewGalleryImageVersionsClient

func NewGalleryImageVersionsClient(subscriptionID string) GalleryImageVersionsClient

NewGalleryImageVersionsClient creates an instance of the GalleryImageVersionsClient client.

func NewGalleryImageVersionsClientWithBaseURI

func NewGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) GalleryImageVersionsClient

NewGalleryImageVersionsClientWithBaseURI creates an instance of the GalleryImageVersionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GalleryImageVersionsClient) CreateOrUpdate

func (client GalleryImageVersionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersion) (result GalleryImageVersionsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a gallery image version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition resides. galleryImageName - the name of the gallery image definition in which the Image Version is to be created. galleryImageVersionName - the name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch> galleryImageVersion - parameters supplied to the create or update gallery image version operation.

func (GalleryImageVersionsClient) CreateOrUpdatePreparer

func (client GalleryImageVersionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersion) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GalleryImageVersionsClient) CreateOrUpdateResponder

func (client GalleryImageVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryImageVersion, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GalleryImageVersionsClient) CreateOrUpdateSender

func (client GalleryImageVersionsClient) CreateOrUpdateSender(req *http.Request) (future GalleryImageVersionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GalleryImageVersionsClient) Delete

func (client GalleryImageVersionsClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string) (result GalleryImageVersionsDeleteFuture, err error)

Delete delete a gallery image version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition resides. galleryImageName - the name of the gallery image definition in which the Image Version resides. galleryImageVersionName - the name of the gallery image version to be deleted.

func (GalleryImageVersionsClient) DeletePreparer

func (client GalleryImageVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GalleryImageVersionsClient) DeleteResponder

func (client GalleryImageVersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GalleryImageVersionsClient) DeleteSender

func (client GalleryImageVersionsClient) DeleteSender(req *http.Request) (future GalleryImageVersionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GalleryImageVersionsClient) Get

func (client GalleryImageVersionsClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, expand ReplicationStatusTypes) (result GalleryImageVersion, err error)

Get retrieves information about a gallery image version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition resides. galleryImageName - the name of the gallery image definition in which the Image Version resides. galleryImageVersionName - the name of the gallery image version to be retrieved. expand - the expand expression to apply on the operation.

func (GalleryImageVersionsClient) GetPreparer

func (client GalleryImageVersionsClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, expand ReplicationStatusTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (GalleryImageVersionsClient) GetResponder

func (client GalleryImageVersionsClient) GetResponder(resp *http.Response) (result GalleryImageVersion, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GalleryImageVersionsClient) GetSender

func (client GalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GalleryImageVersionsClient) ListByGalleryImage

func (client GalleryImageVersionsClient) ListByGalleryImage(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImageVersionListPage, err error)

ListByGalleryImage list gallery image versions in a gallery image definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition resides. galleryImageName - the name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed.

func (GalleryImageVersionsClient) ListByGalleryImageComplete

func (client GalleryImageVersionsClient) ListByGalleryImageComplete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImageVersionListIterator, err error)

ListByGalleryImageComplete enumerates all values, automatically crossing page boundaries as required.

func (GalleryImageVersionsClient) ListByGalleryImagePreparer

func (client GalleryImageVersionsClient) ListByGalleryImagePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error)

ListByGalleryImagePreparer prepares the ListByGalleryImage request.

func (GalleryImageVersionsClient) ListByGalleryImageResponder

func (client GalleryImageVersionsClient) ListByGalleryImageResponder(resp *http.Response) (result GalleryImageVersionList, err error)

ListByGalleryImageResponder handles the response to the ListByGalleryImage request. The method always closes the http.Response Body.

func (GalleryImageVersionsClient) ListByGalleryImageSender

func (client GalleryImageVersionsClient) ListByGalleryImageSender(req *http.Request) (*http.Response, error)

ListByGalleryImageSender sends the ListByGalleryImage request. The method will close the http.Response Body if it receives an error.

func (GalleryImageVersionsClient) Update

func (client GalleryImageVersionsClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersionUpdate) (result GalleryImageVersionsUpdateFuture, err error)

Update update a gallery image version. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition resides. galleryImageName - the name of the gallery image definition in which the Image Version is to be updated. galleryImageVersionName - the name of the gallery image version to be updated. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch> galleryImageVersion - parameters supplied to the update gallery image version operation.

func (GalleryImageVersionsClient) UpdatePreparer

func (client GalleryImageVersionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImageVersionName string, galleryImageVersion GalleryImageVersionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GalleryImageVersionsClient) UpdateResponder

func (client GalleryImageVersionsClient) UpdateResponder(resp *http.Response) (result GalleryImageVersion, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GalleryImageVersionsClient) UpdateSender

func (client GalleryImageVersionsClient) UpdateSender(req *http.Request) (future GalleryImageVersionsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GalleryImageVersionsCreateOrUpdateFuture

GalleryImageVersionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryImageVersionsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryImageVersionsClient) (GalleryImageVersion, error)
}

func (*GalleryImageVersionsCreateOrUpdateFuture) UnmarshalJSON

func (future *GalleryImageVersionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryImageVersionsDeleteFuture

GalleryImageVersionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryImageVersionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryImageVersionsClient) (autorest.Response, error)
}

func (*GalleryImageVersionsDeleteFuture) UnmarshalJSON

func (future *GalleryImageVersionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryImageVersionsUpdateFuture

GalleryImageVersionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryImageVersionsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryImageVersionsClient) (GalleryImageVersion, error)
}

func (*GalleryImageVersionsUpdateFuture) UnmarshalJSON

func (future *GalleryImageVersionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryImagesClient

GalleryImagesClient is the compute Client

type GalleryImagesClient struct {
    BaseClient
}

func NewGalleryImagesClient

func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient

NewGalleryImagesClient creates an instance of the GalleryImagesClient client.

func NewGalleryImagesClientWithBaseURI

func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient

NewGalleryImagesClientWithBaseURI creates an instance of the GalleryImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GalleryImagesClient) CreateOrUpdate

func (client GalleryImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImage) (result GalleryImagesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a gallery image definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition is to be created. galleryImageName - the name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. galleryImage - parameters supplied to the create or update gallery image operation.

func (GalleryImagesClient) CreateOrUpdatePreparer

func (client GalleryImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImage) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GalleryImagesClient) CreateOrUpdateResponder

func (client GalleryImagesClient) CreateOrUpdateResponder(resp *http.Response) (result GalleryImage, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (GalleryImagesClient) CreateOrUpdateSender

func (client GalleryImagesClient) CreateOrUpdateSender(req *http.Request) (future GalleryImagesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) Delete

func (client GalleryImagesClient) Delete(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImagesDeleteFuture, err error)

Delete delete a gallery image. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition is to be deleted. galleryImageName - the name of the gallery image definition to be deleted.

func (GalleryImagesClient) DeletePreparer

func (client GalleryImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GalleryImagesClient) DeleteResponder

func (client GalleryImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (GalleryImagesClient) DeleteSender

func (client GalleryImagesClient) DeleteSender(req *http.Request) (future GalleryImagesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) Get

func (client GalleryImagesClient) Get(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (result GalleryImage, err error)

Get retrieves information about a gallery image definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery from which the Image Definitions are to be retrieved. galleryImageName - the name of the gallery image definition to be retrieved.

func (GalleryImagesClient) GetPreparer

func (client GalleryImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GalleryImagesClient) GetResponder

func (client GalleryImagesClient) GetResponder(resp *http.Response) (result GalleryImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (GalleryImagesClient) GetSender

func (client GalleryImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) ListByGallery

func (client GalleryImagesClient) ListByGallery(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryImageListPage, err error)

ListByGallery list gallery image definitions in a gallery. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery from which Image Definitions are to be listed.

func (GalleryImagesClient) ListByGalleryComplete

func (client GalleryImagesClient) ListByGalleryComplete(ctx context.Context, resourceGroupName string, galleryName string) (result GalleryImageListIterator, err error)

ListByGalleryComplete enumerates all values, automatically crossing page boundaries as required.

func (GalleryImagesClient) ListByGalleryPreparer

func (client GalleryImagesClient) ListByGalleryPreparer(ctx context.Context, resourceGroupName string, galleryName string) (*http.Request, error)

ListByGalleryPreparer prepares the ListByGallery request.

func (GalleryImagesClient) ListByGalleryResponder

func (client GalleryImagesClient) ListByGalleryResponder(resp *http.Response) (result GalleryImageList, err error)

ListByGalleryResponder handles the response to the ListByGallery request. The method always closes the http.Response Body.

func (GalleryImagesClient) ListByGallerySender

func (client GalleryImagesClient) ListByGallerySender(req *http.Request) (*http.Response, error)

ListByGallerySender sends the ListByGallery request. The method will close the http.Response Body if it receives an error.

func (GalleryImagesClient) Update

func (client GalleryImagesClient) Update(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImageUpdate) (result GalleryImagesUpdateFuture, err error)

Update update a gallery image definition. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery in which the Image Definition is to be updated. galleryImageName - the name of the gallery image definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters. galleryImage - parameters supplied to the update gallery image operation.

func (GalleryImagesClient) UpdatePreparer

func (client GalleryImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, galleryImageName string, galleryImage GalleryImageUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GalleryImagesClient) UpdateResponder

func (client GalleryImagesClient) UpdateResponder(resp *http.Response) (result GalleryImage, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GalleryImagesClient) UpdateSender

func (client GalleryImagesClient) UpdateSender(req *http.Request) (future GalleryImagesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GalleryImagesCreateOrUpdateFuture

GalleryImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryImagesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryImagesClient) (GalleryImage, error)
}

func (*GalleryImagesCreateOrUpdateFuture) UnmarshalJSON

func (future *GalleryImagesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryImagesDeleteFuture

GalleryImagesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryImagesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryImagesClient) (autorest.Response, error)
}

func (*GalleryImagesDeleteFuture) UnmarshalJSON

func (future *GalleryImagesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryImagesUpdateFuture

GalleryImagesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GalleryImagesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GalleryImagesClient) (GalleryImage, error)
}

func (*GalleryImagesUpdateFuture) UnmarshalJSON

func (future *GalleryImagesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryList

GalleryList the List Galleries operation response.

type GalleryList struct {
    autorest.Response `json:"-"`
    // Value - A list of galleries.
    Value *[]Gallery `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries.
    NextLink *string `json:"nextLink,omitempty"`
}

func (GalleryList) IsEmpty

func (gl GalleryList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GalleryListIterator

GalleryListIterator provides access to a complete listing of Gallery values.

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

func NewGalleryListIterator

func NewGalleryListIterator(page GalleryListPage) GalleryListIterator

Creates a new instance of the GalleryListIterator type.

func (*GalleryListIterator) Next

func (iter *GalleryListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryListIterator) NextWithContext

func (iter *GalleryListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (GalleryListIterator) NotDone

func (iter GalleryListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (GalleryListIterator) Response

func (iter GalleryListIterator) Response() GalleryList

Response returns the raw server response from the last page request.

func (GalleryListIterator) Value

func (iter GalleryListIterator) Value() Gallery

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type GalleryListPage

GalleryListPage contains a page of Gallery values.

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

func NewGalleryListPage

func NewGalleryListPage(cur GalleryList, getNextPage func(context.Context, GalleryList) (GalleryList, error)) GalleryListPage

Creates a new instance of the GalleryListPage type.

func (*GalleryListPage) Next

func (page *GalleryListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*GalleryListPage) NextWithContext

func (page *GalleryListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (GalleryListPage) NotDone

func (page GalleryListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (GalleryListPage) Response

func (page GalleryListPage) Response() GalleryList

Response returns the raw server response from the last page request.

func (GalleryListPage) Values

func (page GalleryListPage) Values() []Gallery

Values returns the slice of values for the current page or nil if there are no values.

type GalleryOSDiskImage

GalleryOSDiskImage this is the OS disk image.

type GalleryOSDiskImage struct {
    // SizeInGB - READ-ONLY; This property indicates the size of the VHD to be created.
    SizeInGB *int32 `json:"sizeInGB,omitempty"`
    // HostCaching - The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'HostCachingNone', 'HostCachingReadOnly', 'HostCachingReadWrite'
    HostCaching HostCaching                   `json:"hostCaching,omitempty"`
    Source      *GalleryArtifactVersionSource `json:"source,omitempty"`
}

func (GalleryOSDiskImage) MarshalJSON

func (godi GalleryOSDiskImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryOSDiskImage.

type GalleryProperties

GalleryProperties describes the properties of a Shared Image Gallery.

type GalleryProperties struct {
    // Description - The description of this Shared Image Gallery resource. This property is updatable.
    Description *string            `json:"description,omitempty"`
    Identifier  *GalleryIdentifier `json:"identifier,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response. Possible values include: 'ProvisioningStateCreating', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateSucceeded', 'ProvisioningStateDeleting', 'ProvisioningStateMigrating'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    SharingProfile    *SharingProfile   `json:"sharingProfile,omitempty"`
    SoftDeletePolicy  *SoftDeletePolicy `json:"softDeletePolicy,omitempty"`
    // SharingStatus - READ-ONLY
    SharingStatus *SharingStatus `json:"sharingStatus,omitempty"`
}

func (GalleryProperties) MarshalJSON

func (gp GalleryProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryProperties.

type GallerySharingPermissionTypes

GallerySharingPermissionTypes enumerates the values for gallery sharing permission types.

type GallerySharingPermissionTypes string
const (
    // GallerySharingPermissionTypesGroups ...
    GallerySharingPermissionTypesGroups GallerySharingPermissionTypes = "Groups"
    // GallerySharingPermissionTypesPrivate ...
    GallerySharingPermissionTypesPrivate GallerySharingPermissionTypes = "Private"
)

func PossibleGallerySharingPermissionTypesValues

func PossibleGallerySharingPermissionTypesValues() []GallerySharingPermissionTypes

PossibleGallerySharingPermissionTypesValues returns an array of possible values for the GallerySharingPermissionTypes const type.

type GallerySharingProfileClient

GallerySharingProfileClient is the compute Client

type GallerySharingProfileClient struct {
    BaseClient
}

func NewGallerySharingProfileClient

func NewGallerySharingProfileClient(subscriptionID string) GallerySharingProfileClient

NewGallerySharingProfileClient creates an instance of the GallerySharingProfileClient client.

func NewGallerySharingProfileClientWithBaseURI

func NewGallerySharingProfileClientWithBaseURI(baseURI string, subscriptionID string) GallerySharingProfileClient

NewGallerySharingProfileClientWithBaseURI creates an instance of the GallerySharingProfileClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GallerySharingProfileClient) Update

func (client GallerySharingProfileClient) Update(ctx context.Context, resourceGroupName string, galleryName string, sharingUpdate SharingUpdate) (result GallerySharingProfileUpdateFuture, err error)

Update update sharing profile of a gallery. Parameters: resourceGroupName - the name of the resource group. galleryName - the name of the Shared Image Gallery. sharingUpdate - parameters supplied to the update gallery sharing profile.

func (GallerySharingProfileClient) UpdatePreparer

func (client GallerySharingProfileClient) UpdatePreparer(ctx context.Context, resourceGroupName string, galleryName string, sharingUpdate SharingUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (GallerySharingProfileClient) UpdateResponder

func (client GallerySharingProfileClient) UpdateResponder(resp *http.Response) (result SharingUpdate, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (GallerySharingProfileClient) UpdateSender

func (client GallerySharingProfileClient) UpdateSender(req *http.Request) (future GallerySharingProfileUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type GallerySharingProfileUpdateFuture

GallerySharingProfileUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type GallerySharingProfileUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(GallerySharingProfileClient) (SharingUpdate, error)
}

func (*GallerySharingProfileUpdateFuture) UnmarshalJSON

func (future *GallerySharingProfileUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GalleryTargetExtendedLocation

GalleryTargetExtendedLocation ...

type GalleryTargetExtendedLocation struct {
    // Name - The name of the region.
    Name             *string                  `json:"name,omitempty"`
    ExtendedLocation *GalleryExtendedLocation `json:"extendedLocation,omitempty"`
    // ExtendedLocationReplicaCount - The number of replicas of the Image Version to be created per extended location. This property is updatable.
    ExtendedLocationReplicaCount *int32 `json:"extendedLocationReplicaCount,omitempty"`
    // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS', 'StorageAccountTypePremiumLRS'
    StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
    Encryption         *EncryptionImages  `json:"encryption,omitempty"`
}

type GalleryUpdate

GalleryUpdate specifies information about the Shared Image Gallery that you want to update.

type GalleryUpdate struct {
    *GalleryProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (GalleryUpdate) MarshalJSON

func (gu GalleryUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GalleryUpdate.

func (*GalleryUpdate) UnmarshalJSON

func (gu *GalleryUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GalleryUpdate struct.

type GrantAccessData

GrantAccessData data used for requesting a SAS.

type GrantAccessData struct {
    // Access - Possible values include: 'AccessLevelNone', 'AccessLevelRead', 'AccessLevelWrite'
    Access AccessLevel `json:"access,omitempty"`
    // DurationInSeconds - Time duration in seconds until the SAS access expires.
    DurationInSeconds *int32 `json:"durationInSeconds,omitempty"`
    // GetSecureVMGuestStateSAS - Set this flag to true to get additional SAS for VM guest state
    GetSecureVMGuestStateSAS *bool `json:"getSecureVMGuestStateSAS,omitempty"`
}

type HardwareProfile

HardwareProfile specifies the hardware settings for the virtual machine.

type HardwareProfile struct {
    // VMSize - Specifies the size of the virtual machine. <br><br> The enum data type is currently deprecated and will be removed by December 23rd 2023. <br><br> Recommended way to get the list of available sizes is using these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). <br><br> The available VM sizes depend on region and availability set. Possible values include: 'VirtualMachineSizeTypesBasicA0', 'VirtualMachineSizeTypesBasicA1', 'VirtualMachineSizeTypesBasicA2', 'VirtualMachineSizeTypesBasicA3', 'VirtualMachineSizeTypesBasicA4', 'VirtualMachineSizeTypesStandardA0', 'VirtualMachineSizeTypesStandardA1', 'VirtualMachineSizeTypesStandardA2', 'VirtualMachineSizeTypesStandardA3', 'VirtualMachineSizeTypesStandardA4', 'VirtualMachineSizeTypesStandardA5', 'VirtualMachineSizeTypesStandardA6', 'VirtualMachineSizeTypesStandardA7', 'VirtualMachineSizeTypesStandardA8', 'VirtualMachineSizeTypesStandardA9', 'VirtualMachineSizeTypesStandardA10', 'VirtualMachineSizeTypesStandardA11', 'VirtualMachineSizeTypesStandardA1V2', 'VirtualMachineSizeTypesStandardA2V2', 'VirtualMachineSizeTypesStandardA4V2', 'VirtualMachineSizeTypesStandardA8V2', 'VirtualMachineSizeTypesStandardA2mV2', 'VirtualMachineSizeTypesStandardA4mV2', 'VirtualMachineSizeTypesStandardA8mV2', 'VirtualMachineSizeTypesStandardB1s', 'VirtualMachineSizeTypesStandardB1ms', 'VirtualMachineSizeTypesStandardB2s', 'VirtualMachineSizeTypesStandardB2ms', 'VirtualMachineSizeTypesStandardB4ms', 'VirtualMachineSizeTypesStandardB8ms', 'VirtualMachineSizeTypesStandardD1', 'VirtualMachineSizeTypesStandardD2', 'VirtualMachineSizeTypesStandardD3', 'VirtualMachineSizeTypesStandardD4', 'VirtualMachineSizeTypesStandardD11', 'VirtualMachineSizeTypesStandardD12', 'VirtualMachineSizeTypesStandardD13', 'VirtualMachineSizeTypesStandardD14', 'VirtualMachineSizeTypesStandardD1V2', 'VirtualMachineSizeTypesStandardD2V2', 'VirtualMachineSizeTypesStandardD3V2', 'VirtualMachineSizeTypesStandardD4V2', 'VirtualMachineSizeTypesStandardD5V2', 'VirtualMachineSizeTypesStandardD2V3', 'VirtualMachineSizeTypesStandardD4V3', 'VirtualMachineSizeTypesStandardD8V3', 'VirtualMachineSizeTypesStandardD16V3', 'VirtualMachineSizeTypesStandardD32V3', 'VirtualMachineSizeTypesStandardD64V3', 'VirtualMachineSizeTypesStandardD2sV3', 'VirtualMachineSizeTypesStandardD4sV3', 'VirtualMachineSizeTypesStandardD8sV3', 'VirtualMachineSizeTypesStandardD16sV3', 'VirtualMachineSizeTypesStandardD32sV3', 'VirtualMachineSizeTypesStandardD64sV3', 'VirtualMachineSizeTypesStandardD11V2', 'VirtualMachineSizeTypesStandardD12V2', 'VirtualMachineSizeTypesStandardD13V2', 'VirtualMachineSizeTypesStandardD14V2', 'VirtualMachineSizeTypesStandardD15V2', 'VirtualMachineSizeTypesStandardDS1', 'VirtualMachineSizeTypesStandardDS2', 'VirtualMachineSizeTypesStandardDS3', 'VirtualMachineSizeTypesStandardDS4', 'VirtualMachineSizeTypesStandardDS11', 'VirtualMachineSizeTypesStandardDS12', 'VirtualMachineSizeTypesStandardDS13', 'VirtualMachineSizeTypesStandardDS14', 'VirtualMachineSizeTypesStandardDS1V2', 'VirtualMachineSizeTypesStandardDS2V2', 'VirtualMachineSizeTypesStandardDS3V2', 'VirtualMachineSizeTypesStandardDS4V2', 'VirtualMachineSizeTypesStandardDS5V2', 'VirtualMachineSizeTypesStandardDS11V2', 'VirtualMachineSizeTypesStandardDS12V2', 'VirtualMachineSizeTypesStandardDS13V2', 'VirtualMachineSizeTypesStandardDS14V2', 'VirtualMachineSizeTypesStandardDS15V2', 'VirtualMachineSizeTypesStandardDS134V2', 'VirtualMachineSizeTypesStandardDS132V2', 'VirtualMachineSizeTypesStandardDS148V2', 'VirtualMachineSizeTypesStandardDS144V2', 'VirtualMachineSizeTypesStandardE2V3', 'VirtualMachineSizeTypesStandardE4V3', 'VirtualMachineSizeTypesStandardE8V3', 'VirtualMachineSizeTypesStandardE16V3', 'VirtualMachineSizeTypesStandardE32V3', 'VirtualMachineSizeTypesStandardE64V3', 'VirtualMachineSizeTypesStandardE2sV3', 'VirtualMachineSizeTypesStandardE4sV3', 'VirtualMachineSizeTypesStandardE8sV3', 'VirtualMachineSizeTypesStandardE16sV3', 'VirtualMachineSizeTypesStandardE32sV3', 'VirtualMachineSizeTypesStandardE64sV3', 'VirtualMachineSizeTypesStandardE3216V3', 'VirtualMachineSizeTypesStandardE328sV3', 'VirtualMachineSizeTypesStandardE6432sV3', 'VirtualMachineSizeTypesStandardE6416sV3', 'VirtualMachineSizeTypesStandardF1', 'VirtualMachineSizeTypesStandardF2', 'VirtualMachineSizeTypesStandardF4', 'VirtualMachineSizeTypesStandardF8', 'VirtualMachineSizeTypesStandardF16', 'VirtualMachineSizeTypesStandardF1s', 'VirtualMachineSizeTypesStandardF2s', 'VirtualMachineSizeTypesStandardF4s', 'VirtualMachineSizeTypesStandardF8s', 'VirtualMachineSizeTypesStandardF16s', 'VirtualMachineSizeTypesStandardF2sV2', 'VirtualMachineSizeTypesStandardF4sV2', 'VirtualMachineSizeTypesStandardF8sV2', 'VirtualMachineSizeTypesStandardF16sV2', 'VirtualMachineSizeTypesStandardF32sV2', 'VirtualMachineSizeTypesStandardF64sV2', 'VirtualMachineSizeTypesStandardF72sV2', 'VirtualMachineSizeTypesStandardG1', 'VirtualMachineSizeTypesStandardG2', 'VirtualMachineSizeTypesStandardG3', 'VirtualMachineSizeTypesStandardG4', 'VirtualMachineSizeTypesStandardG5', 'VirtualMachineSizeTypesStandardGS1', 'VirtualMachineSizeTypesStandardGS2', 'VirtualMachineSizeTypesStandardGS3', 'VirtualMachineSizeTypesStandardGS4', 'VirtualMachineSizeTypesStandardGS5', 'VirtualMachineSizeTypesStandardGS48', 'VirtualMachineSizeTypesStandardGS44', 'VirtualMachineSizeTypesStandardGS516', 'VirtualMachineSizeTypesStandardGS58', 'VirtualMachineSizeTypesStandardH8', 'VirtualMachineSizeTypesStandardH16', 'VirtualMachineSizeTypesStandardH8m', 'VirtualMachineSizeTypesStandardH16m', 'VirtualMachineSizeTypesStandardH16r', 'VirtualMachineSizeTypesStandardH16mr', 'VirtualMachineSizeTypesStandardL4s', 'VirtualMachineSizeTypesStandardL8s', 'VirtualMachineSizeTypesStandardL16s', 'VirtualMachineSizeTypesStandardL32s', 'VirtualMachineSizeTypesStandardM64s', 'VirtualMachineSizeTypesStandardM64ms', 'VirtualMachineSizeTypesStandardM128s', 'VirtualMachineSizeTypesStandardM128ms', 'VirtualMachineSizeTypesStandardM6432ms', 'VirtualMachineSizeTypesStandardM6416ms', 'VirtualMachineSizeTypesStandardM12864ms', 'VirtualMachineSizeTypesStandardM12832ms', 'VirtualMachineSizeTypesStandardNC6', 'VirtualMachineSizeTypesStandardNC12', 'VirtualMachineSizeTypesStandardNC24', 'VirtualMachineSizeTypesStandardNC24r', 'VirtualMachineSizeTypesStandardNC6sV2', 'VirtualMachineSizeTypesStandardNC12sV2', 'VirtualMachineSizeTypesStandardNC24sV2', 'VirtualMachineSizeTypesStandardNC24rsV2', 'VirtualMachineSizeTypesStandardNC6sV3', 'VirtualMachineSizeTypesStandardNC12sV3', 'VirtualMachineSizeTypesStandardNC24sV3', 'VirtualMachineSizeTypesStandardNC24rsV3', 'VirtualMachineSizeTypesStandardND6s', 'VirtualMachineSizeTypesStandardND12s', 'VirtualMachineSizeTypesStandardND24s', 'VirtualMachineSizeTypesStandardND24rs', 'VirtualMachineSizeTypesStandardNV6', 'VirtualMachineSizeTypesStandardNV12', 'VirtualMachineSizeTypesStandardNV24'
    VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"`
    // VMSizeProperties - Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-07-01. <br><br> This feature is still in preview mode and is not supported for VirtualMachineScaleSet. <br><br> Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.
    VMSizeProperties *VMSizeProperties `json:"vmSizeProperties,omitempty"`
}

type HostCaching

HostCaching enumerates the values for host caching.

type HostCaching string
const (
    // HostCachingNone ...
    HostCachingNone HostCaching = "None"
    // HostCachingReadOnly ...
    HostCachingReadOnly HostCaching = "ReadOnly"
    // HostCachingReadWrite ...
    HostCachingReadWrite HostCaching = "ReadWrite"
)

func PossibleHostCachingValues

func PossibleHostCachingValues() []HostCaching

PossibleHostCachingValues returns an array of possible values for the HostCaching const type.

type HyperVGeneration

HyperVGeneration enumerates the values for hyper v generation.

type HyperVGeneration string
const (
    // HyperVGenerationV1 ...
    HyperVGenerationV1 HyperVGeneration = "V1"
    // HyperVGenerationV2 ...
    HyperVGenerationV2 HyperVGeneration = "V2"
)

func PossibleHyperVGenerationValues

func PossibleHyperVGenerationValues() []HyperVGeneration

PossibleHyperVGenerationValues returns an array of possible values for the HyperVGeneration const type.

type HyperVGenerationType

HyperVGenerationType enumerates the values for hyper v generation type.

type HyperVGenerationType string
const (
    // HyperVGenerationTypeV1 ...
    HyperVGenerationTypeV1 HyperVGenerationType = "V1"
    // HyperVGenerationTypeV2 ...
    HyperVGenerationTypeV2 HyperVGenerationType = "V2"
)

func PossibleHyperVGenerationTypeValues

func PossibleHyperVGenerationTypeValues() []HyperVGenerationType

PossibleHyperVGenerationTypeValues returns an array of possible values for the HyperVGenerationType const type.

type HyperVGenerationTypes

HyperVGenerationTypes enumerates the values for hyper v generation types.

type HyperVGenerationTypes string
const (
    // HyperVGenerationTypesV1 ...
    HyperVGenerationTypesV1 HyperVGenerationTypes = "V1"
    // HyperVGenerationTypesV2 ...
    HyperVGenerationTypesV2 HyperVGenerationTypes = "V2"
)

func PossibleHyperVGenerationTypesValues

func PossibleHyperVGenerationTypesValues() []HyperVGenerationTypes

PossibleHyperVGenerationTypesValues returns an array of possible values for the HyperVGenerationTypes const type.

type IPVersion

IPVersion enumerates the values for ip version.

type IPVersion string
const (
    // IPVersionIPv4 ...
    IPVersionIPv4 IPVersion = "IPv4"
    // IPVersionIPv6 ...
    IPVersionIPv6 IPVersion = "IPv6"
)

func PossibleIPVersionValues

func PossibleIPVersionValues() []IPVersion

PossibleIPVersionValues returns an array of possible values for the IPVersion const type.

type IPVersions

IPVersions enumerates the values for ip versions.

type IPVersions string
const (
    // IPVersionsIPv4 ...
    IPVersionsIPv4 IPVersions = "IPv4"
    // IPVersionsIPv6 ...
    IPVersionsIPv6 IPVersions = "IPv6"
)

func PossibleIPVersionsValues

func PossibleIPVersionsValues() []IPVersions

PossibleIPVersionsValues returns an array of possible values for the IPVersions const type.

type Image

Image the source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.

type Image struct {
    autorest.Response `json:"-"`
    *ImageProperties  `json:"properties,omitempty"`
    // ExtendedLocation - The extended location of the Image.
    ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (Image) MarshalJSON

func (i Image) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Image.

func (*Image) UnmarshalJSON

func (i *Image) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Image struct.

type ImageDataDisk

ImageDataDisk describes a data disk.

type ImageDataDisk struct {
    // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
    Lun *int32 `json:"lun,omitempty"`
    // Snapshot - The snapshot.
    Snapshot *SubResource `json:"snapshot,omitempty"`
    // ManagedDisk - The managedDisk.
    ManagedDisk *SubResource `json:"managedDisk,omitempty"`
    // BlobURI - The Virtual Hard Disk.
    BlobURI *string `json:"blobUri,omitempty"`
    // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS', 'StorageAccountTypesPremiumZRS', 'StorageAccountTypesStandardSSDZRS'
    StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
    // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed image disk.
    DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
}

type ImageDisk

ImageDisk describes a image disk.

type ImageDisk struct {
    // Snapshot - The snapshot.
    Snapshot *SubResource `json:"snapshot,omitempty"`
    // ManagedDisk - The managedDisk.
    ManagedDisk *SubResource `json:"managedDisk,omitempty"`
    // BlobURI - The Virtual Hard Disk.
    BlobURI *string `json:"blobUri,omitempty"`
    // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS', 'StorageAccountTypesPremiumZRS', 'StorageAccountTypesStandardSSDZRS'
    StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
    // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed image disk.
    DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
}

type ImageDiskReference

ImageDiskReference the source image used for creating the disk.

type ImageDiskReference struct {
    // ID - A relative uri containing either a Platform Image Repository or user image reference.
    ID *string `json:"id,omitempty"`
    // Lun - If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
    Lun *int32 `json:"lun,omitempty"`
}

type ImageListResult

ImageListResult the List Image operation response.

type ImageListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of Images.
    Value *[]Image `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of Images. Call ListNext() with this to fetch the next page of Images.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ImageListResult) IsEmpty

func (ilr ImageListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ImageListResultIterator

ImageListResultIterator provides access to a complete listing of Image values.

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

func NewImageListResultIterator

func NewImageListResultIterator(page ImageListResultPage) ImageListResultIterator

Creates a new instance of the ImageListResultIterator type.

func (*ImageListResultIterator) Next

func (iter *ImageListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ImageListResultIterator) NextWithContext

func (iter *ImageListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ImageListResultIterator) NotDone

func (iter ImageListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ImageListResultIterator) Response

func (iter ImageListResultIterator) Response() ImageListResult

Response returns the raw server response from the last page request.

func (ImageListResultIterator) Value

func (iter ImageListResultIterator) Value() Image

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ImageListResultPage

ImageListResultPage contains a page of Image values.

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

func NewImageListResultPage

func NewImageListResultPage(cur ImageListResult, getNextPage func(context.Context, ImageListResult) (ImageListResult, error)) ImageListResultPage

Creates a new instance of the ImageListResultPage type.

func (*ImageListResultPage) Next

func (page *ImageListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ImageListResultPage) NextWithContext

func (page *ImageListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ImageListResultPage) NotDone

func (page ImageListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ImageListResultPage) Response

func (page ImageListResultPage) Response() ImageListResult

Response returns the raw server response from the last page request.

func (ImageListResultPage) Values

func (page ImageListResultPage) Values() []Image

Values returns the slice of values for the current page or nil if there are no values.

type ImageOSDisk

ImageOSDisk describes an Operating System disk.

type ImageOSDisk struct {
    // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from a custom image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // OsState - The OS State. Possible values include: 'OperatingSystemStateTypesGeneralized', 'OperatingSystemStateTypesSpecialized'
    OsState OperatingSystemStateTypes `json:"osState,omitempty"`
    // Snapshot - The snapshot.
    Snapshot *SubResource `json:"snapshot,omitempty"`
    // ManagedDisk - The managedDisk.
    ManagedDisk *SubResource `json:"managedDisk,omitempty"`
    // BlobURI - The Virtual Hard Disk.
    BlobURI *string `json:"blobUri,omitempty"`
    // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // DiskSizeGB - Specifies the size of empty data disks in gigabytes. This element can be used to overwrite the name of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS', 'StorageAccountTypesPremiumZRS', 'StorageAccountTypesStandardSSDZRS'
    StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
    // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed image disk.
    DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
}

type ImageProperties

ImageProperties describes the properties of an Image.

type ImageProperties struct {
    // SourceVirtualMachine - The source virtual machine from which Image is created.
    SourceVirtualMachine *SubResource `json:"sourceVirtualMachine,omitempty"`
    // StorageProfile - Specifies the storage settings for the virtual machine disks.
    StorageProfile *ImageStorageProfile `json:"storageProfile,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // HyperVGeneration - Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. Possible values include: 'HyperVGenerationTypesV1', 'HyperVGenerationTypesV2'
    HyperVGeneration HyperVGenerationTypes `json:"hyperVGeneration,omitempty"`
}

func (ImageProperties) MarshalJSON

func (IP ImageProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageProperties.

type ImagePurchasePlan

ImagePurchasePlan describes the gallery image definition purchase plan. This is used by marketplace images.

type ImagePurchasePlan struct {
    // Name - The plan ID.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Product - The product ID.
    Product *string `json:"product,omitempty"`
}

type ImageReference

ImageReference specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.

type ImageReference struct {
    // Publisher - The image publisher.
    Publisher *string `json:"publisher,omitempty"`
    // Offer - Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    Offer *string `json:"offer,omitempty"`
    // Sku - The image SKU.
    Sku *string `json:"sku,omitempty"`
    // Version - Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.
    Version *string `json:"version,omitempty"`
    // ExactVersion - READ-ONLY; Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
    ExactVersion *string `json:"exactVersion,omitempty"`
    // SharedGalleryImageID - Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    SharedGalleryImageID *string `json:"sharedGalleryImageId,omitempty"`
    // CommunityGalleryImageID - Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.
    CommunityGalleryImageID *string `json:"communityGalleryImageId,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (ImageReference) MarshalJSON

func (ir ImageReference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageReference.

type ImageStorageProfile

ImageStorageProfile describes a storage profile.

type ImageStorageProfile struct {
    // OsDisk - Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
    OsDisk *ImageOSDisk `json:"osDisk,omitempty"`
    // DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
    DataDisks *[]ImageDataDisk `json:"dataDisks,omitempty"`
    // ZoneResilient - Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS).
    ZoneResilient *bool `json:"zoneResilient,omitempty"`
}

type ImageUpdate

ImageUpdate the source user image virtual hard disk. Only tags may be updated.

type ImageUpdate struct {
    *ImageProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (ImageUpdate) MarshalJSON

func (iu ImageUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImageUpdate.

func (*ImageUpdate) UnmarshalJSON

func (iu *ImageUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ImageUpdate struct.

type ImagesClient

ImagesClient is the compute Client

type ImagesClient struct {
    BaseClient
}

func NewImagesClient

func NewImagesClient(subscriptionID string) ImagesClient

NewImagesClient creates an instance of the ImagesClient client.

func NewImagesClientWithBaseURI

func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient

NewImagesClientWithBaseURI creates an instance of the ImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ImagesClient) CreateOrUpdate

func (client ImagesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (result ImagesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update an image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image. parameters - parameters supplied to the Create Image operation.

func (ImagesClient) CreateOrUpdatePreparer

func (client ImagesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters Image) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ImagesClient) CreateOrUpdateResponder

func (client ImagesClient) CreateOrUpdateResponder(resp *http.Response) (result Image, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ImagesClient) CreateOrUpdateSender

func (client ImagesClient) CreateOrUpdateSender(req *http.Request) (future ImagesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) Delete

func (client ImagesClient) Delete(ctx context.Context, resourceGroupName string, imageName string) (result ImagesDeleteFuture, err error)

Delete deletes an Image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image.

func (ImagesClient) DeletePreparer

func (client ImagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, imageName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ImagesClient) DeleteResponder

func (client ImagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ImagesClient) DeleteSender

func (client ImagesClient) DeleteSender(req *http.Request) (future ImagesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) Get

func (client ImagesClient) Get(ctx context.Context, resourceGroupName string, imageName string, expand string) (result Image, err error)

Get gets an image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image. expand - the expand expression to apply on the operation.

func (ImagesClient) GetPreparer

func (client ImagesClient) GetPreparer(ctx context.Context, resourceGroupName string, imageName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ImagesClient) GetResponder

func (client ImagesClient) GetResponder(resp *http.Response) (result Image, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ImagesClient) GetSender

func (client ImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) List

func (client ImagesClient) List(ctx context.Context) (result ImageListResultPage, err error)

List gets the list of Images in the subscription. Use nextLink property in the response to get the next page of Images. Do this till nextLink is null to fetch all the Images.

func (ImagesClient) ListByResourceGroup

func (client ImagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ImageListResultPage, err error)

ListByResourceGroup gets the list of images under a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ImagesClient) ListByResourceGroupComplete

func (client ImagesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ImageListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ImagesClient) ListByResourceGroupPreparer

func (client ImagesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ImagesClient) ListByResourceGroupResponder

func (client ImagesClient) ListByResourceGroupResponder(resp *http.Response) (result ImageListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ImagesClient) ListByResourceGroupSender

func (client ImagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) ListComplete

func (client ImagesClient) ListComplete(ctx context.Context) (result ImageListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ImagesClient) ListPreparer

func (client ImagesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ImagesClient) ListResponder

func (client ImagesClient) ListResponder(resp *http.Response) (result ImageListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ImagesClient) ListSender

func (client ImagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ImagesClient) Update

func (client ImagesClient) Update(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (result ImagesUpdateFuture, err error)

Update update an image. Parameters: resourceGroupName - the name of the resource group. imageName - the name of the image. parameters - parameters supplied to the Update Image operation.

func (ImagesClient) UpdatePreparer

func (client ImagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, imageName string, parameters ImageUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ImagesClient) UpdateResponder

func (client ImagesClient) UpdateResponder(resp *http.Response) (result Image, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ImagesClient) UpdateSender

func (client ImagesClient) UpdateSender(req *http.Request) (future ImagesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ImagesCreateOrUpdateFuture

ImagesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ImagesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ImagesClient) (Image, error)
}

func (*ImagesCreateOrUpdateFuture) UnmarshalJSON

func (future *ImagesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ImagesDeleteFuture

ImagesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ImagesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ImagesClient) (autorest.Response, error)
}

func (*ImagesDeleteFuture) UnmarshalJSON

func (future *ImagesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ImagesUpdateFuture

ImagesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type ImagesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(ImagesClient) (Image, error)
}

func (*ImagesUpdateFuture) UnmarshalJSON

func (future *ImagesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type InnerError

InnerError inner error details.

type InnerError struct {
    // Exceptiontype - The exception type.
    Exceptiontype *string `json:"exceptiontype,omitempty"`
    // Errordetail - The internal error message or exception dump.
    Errordetail *string `json:"errordetail,omitempty"`
}

type InstanceSku

InstanceSku ...

type InstanceSku struct {
    // Name - READ-ONLY; The sku name.
    Name *string `json:"name,omitempty"`
    // Tier - READ-ONLY; The tier of the cloud service role instance.
    Tier *string `json:"tier,omitempty"`
}

func (InstanceSku) MarshalJSON

func (is InstanceSku) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InstanceSku.

type InstanceViewStatus

InstanceViewStatus instance view status.

type InstanceViewStatus struct {
    // Code - The status code.
    Code *string `json:"code,omitempty"`
    // Level - The level code. Possible values include: 'StatusLevelTypesInfo', 'StatusLevelTypesWarning', 'StatusLevelTypesError'
    Level StatusLevelTypes `json:"level,omitempty"`
    // DisplayStatus - The short localizable label for the status.
    DisplayStatus *string `json:"displayStatus,omitempty"`
    // Message - The detailed status message, including for alerts and error messages.
    Message *string `json:"message,omitempty"`
    // Time - The time of the status.
    Time *date.Time `json:"time,omitempty"`
}

type InstanceViewStatusesSummary

InstanceViewStatusesSummary instance view statuses.

type InstanceViewStatusesSummary struct {
    // StatusesSummary - READ-ONLY
    StatusesSummary *[]StatusCodeCount `json:"statusesSummary,omitempty"`
}

func (InstanceViewStatusesSummary) MarshalJSON

func (ivss InstanceViewStatusesSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InstanceViewStatusesSummary.

type InstanceViewTypes

InstanceViewTypes enumerates the values for instance view types.

type InstanceViewTypes string
const (
    // InstanceViewTypesInstanceView ...
    InstanceViewTypesInstanceView InstanceViewTypes = "instanceView"
    // InstanceViewTypesUserData ...
    InstanceViewTypesUserData InstanceViewTypes = "userData"
)

func PossibleInstanceViewTypesValues

func PossibleInstanceViewTypesValues() []InstanceViewTypes

PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.

type IntervalInMins

IntervalInMins enumerates the values for interval in mins.

type IntervalInMins string
const (
    // IntervalInMinsFiveMins ...
    IntervalInMinsFiveMins IntervalInMins = "FiveMins"
    // IntervalInMinsSixtyMins ...
    IntervalInMinsSixtyMins IntervalInMins = "SixtyMins"
    // IntervalInMinsThirtyMins ...
    IntervalInMinsThirtyMins IntervalInMins = "ThirtyMins"
    // IntervalInMinsThreeMins ...
    IntervalInMinsThreeMins IntervalInMins = "ThreeMins"
)

func PossibleIntervalInMinsValues

func PossibleIntervalInMinsValues() []IntervalInMins

PossibleIntervalInMinsValues returns an array of possible values for the IntervalInMins const type.

type KeyForDiskEncryptionSet

KeyForDiskEncryptionSet key Vault Key Url to be used for server side encryption of Managed Disks and Snapshots

type KeyForDiskEncryptionSet struct {
    // SourceVault - Resource id of the KeyVault containing the key or secret. This property is optional and cannot be used if the KeyVault subscription is not the same as the Disk Encryption Set subscription.
    SourceVault *SourceVault `json:"sourceVault,omitempty"`
    // KeyURL - Fully versioned Key Url pointing to a key in KeyVault. Version segment of the Url is required regardless of rotationToLatestKeyVersionEnabled value.
    KeyURL *string `json:"keyUrl,omitempty"`
}

type KeyVaultAndKeyReference

KeyVaultAndKeyReference key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

type KeyVaultAndKeyReference struct {
    // SourceVault - Resource id of the KeyVault containing the key or secret
    SourceVault *SourceVault `json:"sourceVault,omitempty"`
    // KeyURL - Url pointing to a key or secret in KeyVault
    KeyURL *string `json:"keyUrl,omitempty"`
}

type KeyVaultAndSecretReference

KeyVaultAndSecretReference key Vault Secret Url and vault id of the encryption key

type KeyVaultAndSecretReference struct {
    // SourceVault - Resource id of the KeyVault containing the key or secret
    SourceVault *SourceVault `json:"sourceVault,omitempty"`
    // SecretURL - Url pointing to a key or secret in KeyVault
    SecretURL *string `json:"secretUrl,omitempty"`
}

type KeyVaultKeyReference

KeyVaultKeyReference describes a reference to Key Vault Key

type KeyVaultKeyReference struct {
    // KeyURL - The URL referencing a key encryption key in Key Vault.
    KeyURL *string `json:"keyUrl,omitempty"`
    // SourceVault - The relative URL of the Key Vault containing the key.
    SourceVault *SubResource `json:"sourceVault,omitempty"`
}

type KeyVaultSecretReference

KeyVaultSecretReference describes a reference to Key Vault Secret

type KeyVaultSecretReference struct {
    // SecretURL - The URL referencing a secret in a Key Vault.
    SecretURL *string `json:"secretUrl,omitempty"`
    // SourceVault - The relative URL of the Key Vault containing the secret.
    SourceVault *SubResource `json:"sourceVault,omitempty"`
}

type LastPatchInstallationSummary

LastPatchInstallationSummary describes the properties of the last installed patch summary.

type LastPatchInstallationSummary struct {
    // Status - READ-ONLY; The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: 'PatchOperationStatusUnknown', 'PatchOperationStatusInProgress', 'PatchOperationStatusFailed', 'PatchOperationStatusSucceeded', 'PatchOperationStatusCompletedWithWarnings'
    Status PatchOperationStatus `json:"status,omitempty"`
    // InstallationActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
    InstallationActivityID *string `json:"installationActivityId,omitempty"`
    // MaintenanceWindowExceeded - READ-ONLY; Describes whether the operation ran out of time before it completed all its intended actions
    MaintenanceWindowExceeded *bool `json:"maintenanceWindowExceeded,omitempty"`
    // NotSelectedPatchCount - READ-ONLY; The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry.
    NotSelectedPatchCount *int32 `json:"notSelectedPatchCount,omitempty"`
    // ExcludedPatchCount - READ-ONLY; The number of all available patches but excluded explicitly by a customer-specified exclusion list match.
    ExcludedPatchCount *int32 `json:"excludedPatchCount,omitempty"`
    // PendingPatchCount - READ-ONLY; The number of all available patches expected to be installed over the course of the patch installation operation.
    PendingPatchCount *int32 `json:"pendingPatchCount,omitempty"`
    // InstalledPatchCount - READ-ONLY; The count of patches that successfully installed.
    InstalledPatchCount *int32 `json:"installedPatchCount,omitempty"`
    // FailedPatchCount - READ-ONLY; The count of patches that failed installation.
    FailedPatchCount *int32 `json:"failedPatchCount,omitempty"`
    // StartTime - READ-ONLY; The UTC timestamp when the operation began.
    StartTime *date.Time `json:"startTime,omitempty"`
    // LastModifiedTime - READ-ONLY; The UTC timestamp when the operation began.
    LastModifiedTime *date.Time `json:"lastModifiedTime,omitempty"`
    // Error - READ-ONLY; The errors that were encountered during execution of the operation. The details array contains the list of them.
    Error *APIError `json:"error,omitempty"`
}

func (LastPatchInstallationSummary) MarshalJSON

func (lpis LastPatchInstallationSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LastPatchInstallationSummary.

type LinuxConfiguration

LinuxConfiguration specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).

type LinuxConfiguration struct {
    // DisablePasswordAuthentication - Specifies whether password authentication should be disabled.
    DisablePasswordAuthentication *bool `json:"disablePasswordAuthentication,omitempty"`
    // SSH - Specifies the ssh key configuration for a Linux OS.
    SSH *SSHConfiguration `json:"ssh,omitempty"`
    // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true.  This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
    ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"`
    // PatchSettings - [Preview Feature] Specifies settings related to VM Guest Patching on Linux.
    PatchSettings *LinuxPatchSettings `json:"patchSettings,omitempty"`
}

type LinuxParameters

LinuxParameters input for InstallPatches on a Linux VM, as directly received by the API

type LinuxParameters struct {
    // ClassificationsToInclude - The update classifications to select when installing patches for Linux.
    ClassificationsToInclude *[]VMGuestPatchClassificationLinux `json:"classificationsToInclude,omitempty"`
    // PackageNameMasksToInclude - packages to include in the patch operation. Format: packageName_packageVersion
    PackageNameMasksToInclude *[]string `json:"packageNameMasksToInclude,omitempty"`
    // PackageNameMasksToExclude - packages to exclude in the patch operation. Format: packageName_packageVersion
    PackageNameMasksToExclude *[]string `json:"packageNameMasksToExclude,omitempty"`
    // MaintenanceRunID - This is used as a maintenance run identifier for Auto VM Guest Patching in Linux.
    MaintenanceRunID *string `json:"maintenanceRunId,omitempty"`
}

type LinuxPatchAssessmentMode

LinuxPatchAssessmentMode enumerates the values for linux patch assessment mode.

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

func PossibleLinuxPatchAssessmentModeValues

func PossibleLinuxPatchAssessmentModeValues() []LinuxPatchAssessmentMode

PossibleLinuxPatchAssessmentModeValues returns an array of possible values for the LinuxPatchAssessmentMode const type.

type LinuxPatchSettings

LinuxPatchSettings specifies settings related to VM Guest Patching on Linux.

type LinuxPatchSettings struct {
    // PatchMode - Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true. Possible values include: 'LinuxVMGuestPatchModeImageDefault', 'LinuxVMGuestPatchModeAutomaticByPlatform'
    PatchMode LinuxVMGuestPatchMode `json:"patchMode,omitempty"`
    // AssessmentMode - Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. Possible values include: 'LinuxPatchAssessmentModeImageDefault', 'LinuxPatchAssessmentModeAutomaticByPlatform'
    AssessmentMode LinuxPatchAssessmentMode `json:"assessmentMode,omitempty"`
}

type LinuxVMGuestPatchMode

LinuxVMGuestPatchMode enumerates the values for linux vm guest patch mode.

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

func PossibleLinuxVMGuestPatchModeValues

func PossibleLinuxVMGuestPatchModeValues() []LinuxVMGuestPatchMode

PossibleLinuxVMGuestPatchModeValues returns an array of possible values for the LinuxVMGuestPatchMode const type.

type ListUsagesResult

ListUsagesResult the List Usages operation response.

type ListUsagesResult struct {
    autorest.Response `json:"-"`
    // Value - The list of compute resource usages.
    Value *[]Usage `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of compute resource usage information. Call ListNext() with this to fetch the next page of compute resource usage information.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ListUsagesResult) IsEmpty

func (lur ListUsagesResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ListUsagesResultIterator

ListUsagesResultIterator provides access to a complete listing of Usage values.

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

func NewListUsagesResultIterator

func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIterator

Creates a new instance of the ListUsagesResultIterator type.

func (*ListUsagesResultIterator) Next

func (iter *ListUsagesResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListUsagesResultIterator) NextWithContext

func (iter *ListUsagesResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ListUsagesResultIterator) NotDone

func (iter ListUsagesResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ListUsagesResultIterator) Response

func (iter ListUsagesResultIterator) Response() ListUsagesResult

Response returns the raw server response from the last page request.

func (ListUsagesResultIterator) Value

func (iter ListUsagesResultIterator) Value() Usage

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ListUsagesResultPage

ListUsagesResultPage contains a page of Usage values.

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

func NewListUsagesResultPage

func NewListUsagesResultPage(cur ListUsagesResult, getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage

Creates a new instance of the ListUsagesResultPage type.

func (*ListUsagesResultPage) Next

func (page *ListUsagesResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ListUsagesResultPage) NextWithContext

func (page *ListUsagesResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ListUsagesResultPage) NotDone

func (page ListUsagesResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ListUsagesResultPage) Response

func (page ListUsagesResultPage) Response() ListUsagesResult

Response returns the raw server response from the last page request.

func (ListUsagesResultPage) Values

func (page ListUsagesResultPage) Values() []Usage

Values returns the slice of values for the current page or nil if there are no values.

type ListVirtualMachineExtensionImage

ListVirtualMachineExtensionImage ...

type ListVirtualMachineExtensionImage struct {
    autorest.Response `json:"-"`
    Value             *[]VirtualMachineExtensionImage `json:"value,omitempty"`
}

type ListVirtualMachineImageResource

ListVirtualMachineImageResource ...

type ListVirtualMachineImageResource struct {
    autorest.Response `json:"-"`
    Value             *[]VirtualMachineImageResource `json:"value,omitempty"`
}

type LoadBalancerConfiguration

LoadBalancerConfiguration describes the load balancer configuration.

type LoadBalancerConfiguration struct {
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
    // Name - The name of the Load balancer
    Name *string `json:"name,omitempty"`
    // Properties - Properties of the load balancer configuration.
    Properties *LoadBalancerConfigurationProperties `json:"properties,omitempty"`
}

type LoadBalancerConfigurationProperties

LoadBalancerConfigurationProperties ...

type LoadBalancerConfigurationProperties struct {
    // FrontendIPConfigurations - Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.
    FrontendIPConfigurations *[]LoadBalancerFrontendIPConfiguration `json:"frontendIPConfigurations,omitempty"`
}

type LoadBalancerFrontendIPConfiguration

LoadBalancerFrontendIPConfiguration ...

type LoadBalancerFrontendIPConfiguration struct {
    // Name - The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
    Name *string `json:"name,omitempty"`
    // Properties - Properties of load balancer frontend ip configuration.
    Properties *LoadBalancerFrontendIPConfigurationProperties `json:"properties,omitempty"`
}

type LoadBalancerFrontendIPConfigurationProperties

LoadBalancerFrontendIPConfigurationProperties describes a cloud service IP Configuration

type LoadBalancerFrontendIPConfigurationProperties struct {
    // PublicIPAddress - The reference to the public ip address resource.
    PublicIPAddress *SubResource `json:"publicIPAddress,omitempty"`
    // Subnet - The reference to the virtual network subnet resource.
    Subnet *SubResource `json:"subnet,omitempty"`
    // PrivateIPAddress - The virtual network private IP address of the IP configuration.
    PrivateIPAddress *string `json:"privateIPAddress,omitempty"`
}

type LogAnalyticsClient

LogAnalyticsClient is the compute Client

type LogAnalyticsClient struct {
    BaseClient
}

func NewLogAnalyticsClient

func NewLogAnalyticsClient(subscriptionID string) LogAnalyticsClient

NewLogAnalyticsClient creates an instance of the LogAnalyticsClient client.

func NewLogAnalyticsClientWithBaseURI

func NewLogAnalyticsClientWithBaseURI(baseURI string, subscriptionID string) LogAnalyticsClient

NewLogAnalyticsClientWithBaseURI creates an instance of the LogAnalyticsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LogAnalyticsClient) ExportRequestRateByInterval

func (client LogAnalyticsClient) ExportRequestRateByInterval(ctx context.Context, parameters RequestRateByIntervalInput, location string) (result LogAnalyticsExportRequestRateByIntervalFuture, err error)

ExportRequestRateByInterval export logs that show Api requests made by this subscription in the given time window to show throttling activities. Parameters: parameters - parameters supplied to the LogAnalytics getRequestRateByInterval Api. location - the location upon which virtual-machine-sizes is queried.

func (LogAnalyticsClient) ExportRequestRateByIntervalPreparer

func (client LogAnalyticsClient) ExportRequestRateByIntervalPreparer(ctx context.Context, parameters RequestRateByIntervalInput, location string) (*http.Request, error)

ExportRequestRateByIntervalPreparer prepares the ExportRequestRateByInterval request.

func (LogAnalyticsClient) ExportRequestRateByIntervalResponder

func (client LogAnalyticsClient) ExportRequestRateByIntervalResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)

ExportRequestRateByIntervalResponder handles the response to the ExportRequestRateByInterval request. The method always closes the http.Response Body.

func (LogAnalyticsClient) ExportRequestRateByIntervalSender

func (client LogAnalyticsClient) ExportRequestRateByIntervalSender(req *http.Request) (future LogAnalyticsExportRequestRateByIntervalFuture, err error)

ExportRequestRateByIntervalSender sends the ExportRequestRateByInterval request. The method will close the http.Response Body if it receives an error.

func (LogAnalyticsClient) ExportThrottledRequests

func (client LogAnalyticsClient) ExportThrottledRequests(ctx context.Context, parameters ThrottledRequestsInput, location string) (result LogAnalyticsExportThrottledRequestsFuture, err error)

ExportThrottledRequests export logs that show total throttled Api requests for this subscription in the given time window. Parameters: parameters - parameters supplied to the LogAnalytics getThrottledRequests Api. location - the location upon which virtual-machine-sizes is queried.

func (LogAnalyticsClient) ExportThrottledRequestsPreparer

func (client LogAnalyticsClient) ExportThrottledRequestsPreparer(ctx context.Context, parameters ThrottledRequestsInput, location string) (*http.Request, error)

ExportThrottledRequestsPreparer prepares the ExportThrottledRequests request.

func (LogAnalyticsClient) ExportThrottledRequestsResponder

func (client LogAnalyticsClient) ExportThrottledRequestsResponder(resp *http.Response) (result LogAnalyticsOperationResult, err error)

ExportThrottledRequestsResponder handles the response to the ExportThrottledRequests request. The method always closes the http.Response Body.

func (LogAnalyticsClient) ExportThrottledRequestsSender

func (client LogAnalyticsClient) ExportThrottledRequestsSender(req *http.Request) (future LogAnalyticsExportThrottledRequestsFuture, err error)

ExportThrottledRequestsSender sends the ExportThrottledRequests request. The method will close the http.Response Body if it receives an error.

type LogAnalyticsExportRequestRateByIntervalFuture

LogAnalyticsExportRequestRateByIntervalFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LogAnalyticsExportRequestRateByIntervalFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LogAnalyticsClient) (LogAnalyticsOperationResult, error)
}

func (*LogAnalyticsExportRequestRateByIntervalFuture) UnmarshalJSON

func (future *LogAnalyticsExportRequestRateByIntervalFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LogAnalyticsExportThrottledRequestsFuture

LogAnalyticsExportThrottledRequestsFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type LogAnalyticsExportThrottledRequestsFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(LogAnalyticsClient) (LogAnalyticsOperationResult, error)
}

func (*LogAnalyticsExportThrottledRequestsFuture) UnmarshalJSON

func (future *LogAnalyticsExportThrottledRequestsFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LogAnalyticsInputBase

LogAnalyticsInputBase api input base class for LogAnalytics Api.

type LogAnalyticsInputBase struct {
    // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
    BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"`
    // FromTime - From time of the query
    FromTime *date.Time `json:"fromTime,omitempty"`
    // ToTime - To time of the query
    ToTime *date.Time `json:"toTime,omitempty"`
    // GroupByThrottlePolicy - Group query result by Throttle Policy applied.
    GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"`
    // GroupByOperationName - Group query result by Operation Name.
    GroupByOperationName *bool `json:"groupByOperationName,omitempty"`
    // GroupByResourceName - Group query result by Resource Name.
    GroupByResourceName *bool `json:"groupByResourceName,omitempty"`
    // GroupByClientApplicationID - Group query result by Client Application ID.
    GroupByClientApplicationID *bool `json:"groupByClientApplicationId,omitempty"`
    // GroupByUserAgent - Group query result by User Agent.
    GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"`
}

type LogAnalyticsOperationResult

LogAnalyticsOperationResult logAnalytics operation status response

type LogAnalyticsOperationResult struct {
    autorest.Response `json:"-"`
    // Properties - READ-ONLY; LogAnalyticsOutput
    Properties *LogAnalyticsOutput `json:"properties,omitempty"`
}

func (LogAnalyticsOperationResult) MarshalJSON

func (laor LogAnalyticsOperationResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogAnalyticsOperationResult.

type LogAnalyticsOutput

LogAnalyticsOutput logAnalytics output properties

type LogAnalyticsOutput struct {
    // Output - READ-ONLY; Output file Uri path to blob container.
    Output *string `json:"output,omitempty"`
}

func (LogAnalyticsOutput) MarshalJSON

func (lao LogAnalyticsOutput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogAnalyticsOutput.

type MaintenanceOperationResultCodeTypes

MaintenanceOperationResultCodeTypes enumerates the values for maintenance operation result code types.

type MaintenanceOperationResultCodeTypes string
const (
    // MaintenanceOperationResultCodeTypesMaintenanceAborted ...
    MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = "MaintenanceAborted"
    // MaintenanceOperationResultCodeTypesMaintenanceCompleted ...
    MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = "MaintenanceCompleted"
    // MaintenanceOperationResultCodeTypesNone ...
    MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = "None"
    // MaintenanceOperationResultCodeTypesRetryLater ...
    MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = "RetryLater"
)

func PossibleMaintenanceOperationResultCodeTypesValues

func PossibleMaintenanceOperationResultCodeTypesValues() []MaintenanceOperationResultCodeTypes

PossibleMaintenanceOperationResultCodeTypesValues returns an array of possible values for the MaintenanceOperationResultCodeTypes const type.

type MaintenanceRedeployStatus

MaintenanceRedeployStatus maintenance Operation Status.

type MaintenanceRedeployStatus struct {
    // IsCustomerInitiatedMaintenanceAllowed - True, if customer is allowed to perform Maintenance.
    IsCustomerInitiatedMaintenanceAllowed *bool `json:"isCustomerInitiatedMaintenanceAllowed,omitempty"`
    // PreMaintenanceWindowStartTime - Start Time for the Pre Maintenance Window.
    PreMaintenanceWindowStartTime *date.Time `json:"preMaintenanceWindowStartTime,omitempty"`
    // PreMaintenanceWindowEndTime - End Time for the Pre Maintenance Window.
    PreMaintenanceWindowEndTime *date.Time `json:"preMaintenanceWindowEndTime,omitempty"`
    // MaintenanceWindowStartTime - Start Time for the Maintenance Window.
    MaintenanceWindowStartTime *date.Time `json:"maintenanceWindowStartTime,omitempty"`
    // MaintenanceWindowEndTime - End Time for the Maintenance Window.
    MaintenanceWindowEndTime *date.Time `json:"maintenanceWindowEndTime,omitempty"`
    // LastOperationResultCode - The Last Maintenance Operation Result Code. Possible values include: 'MaintenanceOperationResultCodeTypesNone', 'MaintenanceOperationResultCodeTypesRetryLater', 'MaintenanceOperationResultCodeTypesMaintenanceAborted', 'MaintenanceOperationResultCodeTypesMaintenanceCompleted'
    LastOperationResultCode MaintenanceOperationResultCodeTypes `json:"lastOperationResultCode,omitempty"`
    // LastOperationMessage - Message returned for the last Maintenance Operation.
    LastOperationMessage *string `json:"lastOperationMessage,omitempty"`
}

type ManagedArtifact

ManagedArtifact the managed artifact.

type ManagedArtifact struct {
    // ID - The managed artifact id.
    ID *string `json:"id,omitempty"`
}

type ManagedDiskParameters

ManagedDiskParameters the parameters of a managed disk.

type ManagedDiskParameters struct {
    // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS', 'StorageAccountTypesPremiumZRS', 'StorageAccountTypesStandardSSDZRS'
    StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
    // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed disk.
    DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
    // SecurityProfile - Specifies the security profile for the managed disk.
    SecurityProfile *VMDiskSecurityProfile `json:"securityProfile,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

type NetworkAPIVersion

NetworkAPIVersion enumerates the values for network api version.

type NetworkAPIVersion string
const (
    // NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne ...
    NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne NetworkAPIVersion = "2020-11-01"
)

func PossibleNetworkAPIVersionValues

func PossibleNetworkAPIVersionValues() []NetworkAPIVersion

PossibleNetworkAPIVersionValues returns an array of possible values for the NetworkAPIVersion const type.

type NetworkAccessPolicy

NetworkAccessPolicy enumerates the values for network access policy.

type NetworkAccessPolicy string
const (
    // NetworkAccessPolicyAllowAll The disk can be exported or uploaded to from any network.
    NetworkAccessPolicyAllowAll NetworkAccessPolicy = "AllowAll"
    // NetworkAccessPolicyAllowPrivate The disk can be exported or uploaded to using a DiskAccess resource's
    // private endpoints.
    NetworkAccessPolicyAllowPrivate NetworkAccessPolicy = "AllowPrivate"
    // NetworkAccessPolicyDenyAll The disk cannot be exported.
    NetworkAccessPolicyDenyAll NetworkAccessPolicy = "DenyAll"
)

func PossibleNetworkAccessPolicyValues

func PossibleNetworkAccessPolicyValues() []NetworkAccessPolicy

PossibleNetworkAccessPolicyValues returns an array of possible values for the NetworkAccessPolicy const type.

type NetworkInterfaceReference

NetworkInterfaceReference describes a network interface reference.

type NetworkInterfaceReference struct {
    *NetworkInterfaceReferenceProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (NetworkInterfaceReference) MarshalJSON

func (nir NetworkInterfaceReference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkInterfaceReference.

func (*NetworkInterfaceReference) UnmarshalJSON

func (nir *NetworkInterfaceReference) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for NetworkInterfaceReference struct.

type NetworkInterfaceReferenceProperties

NetworkInterfaceReferenceProperties describes a network interface reference properties.

type NetworkInterfaceReferenceProperties struct {
    // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
    Primary *bool `json:"primary,omitempty"`
    // DeleteOption - Specify what happens to the network interface when the VM is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach'
    DeleteOption DeleteOptions `json:"deleteOption,omitempty"`
}

type NetworkProfile

NetworkProfile specifies the network interfaces or the networking configuration of the virtual machine.

type NetworkProfile struct {
    // NetworkInterfaces - Specifies the list of resource Ids for the network interfaces associated with the virtual machine.
    NetworkInterfaces *[]NetworkInterfaceReference `json:"networkInterfaces,omitempty"`
    // NetworkAPIVersion - specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations. Possible values include: 'NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne'
    NetworkAPIVersion NetworkAPIVersion `json:"networkApiVersion,omitempty"`
    // NetworkInterfaceConfigurations - Specifies the networking configurations that will be used to create the virtual machine networking resources.
    NetworkInterfaceConfigurations *[]VirtualMachineNetworkInterfaceConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

type OSDisk

OSDisk specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).

type OSDisk struct {
    // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // EncryptionSettings - Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15
    EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
    // Name - The disk name.
    Name *string `json:"name,omitempty"`
    // Vhd - The virtual hard disk.
    Vhd *VirtualHardDisk `json:"vhd,omitempty"`
    // Image - The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.
    Image *VirtualHardDisk `json:"image,omitempty"`
    // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None** for Standard storage. **ReadOnly** for Premium storage. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
    WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
    // DiffDiskSettings - Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.
    DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"`
    // CreateOption - Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
    CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
    // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // ManagedDisk - The managed disk parameters.
    ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
    // DeleteOption - Specifies whether OS Disk should be deleted or detached upon VM deletion. <br><br> Possible values: <br><br> **Delete** If this value is used, the OS disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the os disk is retained after VM is deleted. <br><br> The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk. Possible values include: 'DiskDeleteOptionTypesDelete', 'DiskDeleteOptionTypesDetach'
    DeleteOption DiskDeleteOptionTypes `json:"deleteOption,omitempty"`
}

type OSDiskImage

OSDiskImage contains the os disk image information.

type OSDiskImage struct {
    // OperatingSystem - The operating system of the osDiskImage. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OperatingSystem OperatingSystemTypes `json:"operatingSystem,omitempty"`
}

type OSDiskImageEncryption

OSDiskImageEncryption contains encryption settings for an OS disk image.

type OSDiskImageEncryption struct {
    // SecurityProfile - This property specifies the security profile of an OS disk image.
    SecurityProfile *OSDiskImageSecurityProfile `json:"securityProfile,omitempty"`
    // DiskEncryptionSetID - A relative URI containing the resource ID of the disk encryption set.
    DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty"`
}

type OSDiskImageSecurityProfile

OSDiskImageSecurityProfile contains security profile for an OS disk image.

type OSDiskImageSecurityProfile struct {
    // ConfidentialVMEncryptionType - confidential VM encryption types. Possible values include: 'ConfidentialVMEncryptionTypeEncryptedVMGuestStateOnlyWithPmk', 'ConfidentialVMEncryptionTypeEncryptedWithPmk', 'ConfidentialVMEncryptionTypeEncryptedWithCmk'
    ConfidentialVMEncryptionType ConfidentialVMEncryptionType `json:"confidentialVMEncryptionType,omitempty"`
    // SecureVMDiskEncryptionSetID - secure VM disk encryption set id
    SecureVMDiskEncryptionSetID *string `json:"secureVMDiskEncryptionSetId,omitempty"`
}

type OSFamily

OSFamily describes a cloud service OS family.

type OSFamily struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Resource location.
    Location   *string             `json:"location,omitempty"`
    Properties *OSFamilyProperties `json:"properties,omitempty"`
}

func (OSFamily) MarshalJSON

func (of OSFamily) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OSFamily.

type OSFamilyListResult

OSFamilyListResult ...

type OSFamilyListResult struct {
    autorest.Response `json:"-"`
    Value             *[]OSFamily `json:"value,omitempty"`
    NextLink          *string     `json:"nextLink,omitempty"`
}

func (OSFamilyListResult) IsEmpty

func (oflr OSFamilyListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OSFamilyListResultIterator

OSFamilyListResultIterator provides access to a complete listing of OSFamily values.

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

func NewOSFamilyListResultIterator

func NewOSFamilyListResultIterator(page OSFamilyListResultPage) OSFamilyListResultIterator

Creates a new instance of the OSFamilyListResultIterator type.

func (*OSFamilyListResultIterator) Next

func (iter *OSFamilyListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OSFamilyListResultIterator) NextWithContext

func (iter *OSFamilyListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OSFamilyListResultIterator) NotDone

func (iter OSFamilyListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OSFamilyListResultIterator) Response

func (iter OSFamilyListResultIterator) Response() OSFamilyListResult

Response returns the raw server response from the last page request.

func (OSFamilyListResultIterator) Value

func (iter OSFamilyListResultIterator) Value() OSFamily

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OSFamilyListResultPage

OSFamilyListResultPage contains a page of OSFamily values.

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

func NewOSFamilyListResultPage

func NewOSFamilyListResultPage(cur OSFamilyListResult, getNextPage func(context.Context, OSFamilyListResult) (OSFamilyListResult, error)) OSFamilyListResultPage

Creates a new instance of the OSFamilyListResultPage type.

func (*OSFamilyListResultPage) Next

func (page *OSFamilyListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OSFamilyListResultPage) NextWithContext

func (page *OSFamilyListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OSFamilyListResultPage) NotDone

func (page OSFamilyListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OSFamilyListResultPage) Response

func (page OSFamilyListResultPage) Response() OSFamilyListResult

Response returns the raw server response from the last page request.

func (OSFamilyListResultPage) Values

func (page OSFamilyListResultPage) Values() []OSFamily

Values returns the slice of values for the current page or nil if there are no values.

type OSFamilyProperties

OSFamilyProperties OS family properties.

type OSFamilyProperties struct {
    // Name - READ-ONLY; The OS family name.
    Name *string `json:"name,omitempty"`
    // Label - READ-ONLY; The OS family label.
    Label *string `json:"label,omitempty"`
    // Versions - READ-ONLY; List of OS versions belonging to this family.
    Versions *[]OSVersionPropertiesBase `json:"versions,omitempty"`
}

func (OSFamilyProperties) MarshalJSON

func (ofp OSFamilyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OSFamilyProperties.

type OSProfile

OSProfile specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.

type OSProfile struct {
    // ComputerName - Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules).
    ComputerName *string `json:"computerName,omitempty"`
    // AdminUsername - Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters.
    AdminUsername *string `json:"adminUsername,omitempty"`
    // AdminPassword - Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)
    AdminPassword *string `json:"adminPassword,omitempty"`
    // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)
    CustomData *string `json:"customData,omitempty"`
    // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine.
    WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
    // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
    LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`
    // Secrets - Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
    Secrets *[]VaultSecretGroup `json:"secrets,omitempty"`
    // AllowExtensionOperations - Specifies whether extension operations should be allowed on the virtual machine. <br><br>This may only be set to False when no extensions are present on the virtual machine.
    AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty"`
    // RequireGuestProvisionSignal - Specifies whether the guest provision signal is required to infer provision success of the virtual machine.  **Note: This property is for private testing only, and all customers must not set the property to false.**
    RequireGuestProvisionSignal *bool `json:"requireGuestProvisionSignal,omitempty"`
}

type OSVersion

OSVersion describes a cloud service OS version.

type OSVersion struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type.
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Resource location.
    Location   *string              `json:"location,omitempty"`
    Properties *OSVersionProperties `json:"properties,omitempty"`
}

func (OSVersion) MarshalJSON

func (ov OSVersion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OSVersion.

type OSVersionListResult

OSVersionListResult ...

type OSVersionListResult struct {
    autorest.Response `json:"-"`
    Value             *[]OSVersion `json:"value,omitempty"`
    NextLink          *string      `json:"nextLink,omitempty"`
}

func (OSVersionListResult) IsEmpty

func (ovlr OSVersionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OSVersionListResultIterator

OSVersionListResultIterator provides access to a complete listing of OSVersion values.

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

func NewOSVersionListResultIterator

func NewOSVersionListResultIterator(page OSVersionListResultPage) OSVersionListResultIterator

Creates a new instance of the OSVersionListResultIterator type.

func (*OSVersionListResultIterator) Next

func (iter *OSVersionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OSVersionListResultIterator) NextWithContext

func (iter *OSVersionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OSVersionListResultIterator) NotDone

func (iter OSVersionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OSVersionListResultIterator) Response

func (iter OSVersionListResultIterator) Response() OSVersionListResult

Response returns the raw server response from the last page request.

func (OSVersionListResultIterator) Value

func (iter OSVersionListResultIterator) Value() OSVersion

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OSVersionListResultPage

OSVersionListResultPage contains a page of OSVersion values.

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

func NewOSVersionListResultPage

func NewOSVersionListResultPage(cur OSVersionListResult, getNextPage func(context.Context, OSVersionListResult) (OSVersionListResult, error)) OSVersionListResultPage

Creates a new instance of the OSVersionListResultPage type.

func (*OSVersionListResultPage) Next

func (page *OSVersionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OSVersionListResultPage) NextWithContext

func (page *OSVersionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OSVersionListResultPage) NotDone

func (page OSVersionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OSVersionListResultPage) Response

func (page OSVersionListResultPage) Response() OSVersionListResult

Response returns the raw server response from the last page request.

func (OSVersionListResultPage) Values

func (page OSVersionListResultPage) Values() []OSVersion

Values returns the slice of values for the current page or nil if there are no values.

type OSVersionProperties

OSVersionProperties OS version properties.

type OSVersionProperties struct {
    // Family - READ-ONLY; The family of this OS version.
    Family *string `json:"family,omitempty"`
    // FamilyLabel - READ-ONLY; The family label of this OS version.
    FamilyLabel *string `json:"familyLabel,omitempty"`
    // Version - READ-ONLY; The OS version.
    Version *string `json:"version,omitempty"`
    // Label - READ-ONLY; The OS version label.
    Label *string `json:"label,omitempty"`
    // IsDefault - READ-ONLY; Specifies whether this is the default OS version for its family.
    IsDefault *bool `json:"isDefault,omitempty"`
    // IsActive - READ-ONLY; Specifies whether this OS version is active.
    IsActive *bool `json:"isActive,omitempty"`
}

func (OSVersionProperties) MarshalJSON

func (ovp OSVersionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OSVersionProperties.

type OSVersionPropertiesBase

OSVersionPropertiesBase configuration view of an OS version.

type OSVersionPropertiesBase struct {
    // Version - READ-ONLY; The OS version.
    Version *string `json:"version,omitempty"`
    // Label - READ-ONLY; The OS version label.
    Label *string `json:"label,omitempty"`
    // IsDefault - READ-ONLY; Specifies whether this is the default OS version for its family.
    IsDefault *bool `json:"isDefault,omitempty"`
    // IsActive - READ-ONLY; Specifies whether this OS version is active.
    IsActive *bool `json:"isActive,omitempty"`
}

func (OSVersionPropertiesBase) MarshalJSON

func (ovpb OSVersionPropertiesBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OSVersionPropertiesBase.

type OperatingSystemStateTypes

OperatingSystemStateTypes enumerates the values for operating system state types.

type OperatingSystemStateTypes string
const (
    // OperatingSystemStateTypesGeneralized Generalized image. Needs to be provisioned during deployment time.
    OperatingSystemStateTypesGeneralized OperatingSystemStateTypes = "Generalized"
    // OperatingSystemStateTypesSpecialized Specialized image. Contains already provisioned OS Disk.
    OperatingSystemStateTypesSpecialized OperatingSystemStateTypes = "Specialized"
)

func PossibleOperatingSystemStateTypesValues

func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes

PossibleOperatingSystemStateTypesValues returns an array of possible values for the OperatingSystemStateTypes const type.

type OperatingSystemType

OperatingSystemType enumerates the values for operating system type.

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

func PossibleOperatingSystemTypeValues

func PossibleOperatingSystemTypeValues() []OperatingSystemType

PossibleOperatingSystemTypeValues returns an array of possible values for the OperatingSystemType const type.

type OperatingSystemTypes

OperatingSystemTypes enumerates the values for operating system types.

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

func PossibleOperatingSystemTypesValues

func PossibleOperatingSystemTypesValues() []OperatingSystemTypes

PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.

type OperationListResult

OperationListResult the List Compute Operation operation response.

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of compute operations
    Value *[]OperationValue `json:"value,omitempty"`
}

func (OperationListResult) MarshalJSON

func (olr OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationListResult.

type OperationValue

OperationValue describes the properties of a Compute Operation value.

type OperationValue struct {
    // Origin - READ-ONLY; The origin of the compute operation.
    Origin *string `json:"origin,omitempty"`
    // Name - READ-ONLY; The name of the compute operation.
    Name                   *string `json:"name,omitempty"`
    *OperationValueDisplay `json:"display,omitempty"`
}

func (OperationValue) MarshalJSON

func (ov OperationValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationValue.

func (*OperationValue) UnmarshalJSON

func (ov *OperationValue) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OperationValue struct.

type OperationValueDisplay

OperationValueDisplay describes the properties of a Compute Operation Value Display.

type OperationValueDisplay struct {
    // Operation - READ-ONLY; The display name of the compute operation.
    Operation *string `json:"operation,omitempty"`
    // Resource - READ-ONLY; The display name of the resource the operation applies to.
    Resource *string `json:"resource,omitempty"`
    // Description - READ-ONLY; The description of the operation.
    Description *string `json:"description,omitempty"`
    // Provider - READ-ONLY; The resource provider for the operation.
    Provider *string `json:"provider,omitempty"`
}

func (OperationValueDisplay) MarshalJSON

func (ovd OperationValueDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationValueDisplay.

type OperationsClient

OperationsClient is the compute Client

type OperationsClient struct {
    BaseClient
}

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)

List gets a list of compute operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OrchestrationMode

OrchestrationMode enumerates the values for orchestration mode.

type OrchestrationMode string
const (
    // OrchestrationModeFlexible ...
    OrchestrationModeFlexible OrchestrationMode = "Flexible"
    // OrchestrationModeUniform ...
    OrchestrationModeUniform OrchestrationMode = "Uniform"
)

func PossibleOrchestrationModeValues

func PossibleOrchestrationModeValues() []OrchestrationMode

PossibleOrchestrationModeValues returns an array of possible values for the OrchestrationMode const type.

type OrchestrationServiceNames

OrchestrationServiceNames enumerates the values for orchestration service names.

type OrchestrationServiceNames string
const (
    // OrchestrationServiceNamesAutomaticRepairs ...
    OrchestrationServiceNamesAutomaticRepairs OrchestrationServiceNames = "AutomaticRepairs"
)

func PossibleOrchestrationServiceNamesValues

func PossibleOrchestrationServiceNamesValues() []OrchestrationServiceNames

PossibleOrchestrationServiceNamesValues returns an array of possible values for the OrchestrationServiceNames const type.

type OrchestrationServiceState

OrchestrationServiceState enumerates the values for orchestration service state.

type OrchestrationServiceState string
const (
    // OrchestrationServiceStateNotRunning ...
    OrchestrationServiceStateNotRunning OrchestrationServiceState = "NotRunning"
    // OrchestrationServiceStateRunning ...
    OrchestrationServiceStateRunning OrchestrationServiceState = "Running"
    // OrchestrationServiceStateSuspended ...
    OrchestrationServiceStateSuspended OrchestrationServiceState = "Suspended"
)

func PossibleOrchestrationServiceStateValues

func PossibleOrchestrationServiceStateValues() []OrchestrationServiceState

PossibleOrchestrationServiceStateValues returns an array of possible values for the OrchestrationServiceState const type.

type OrchestrationServiceStateAction

OrchestrationServiceStateAction enumerates the values for orchestration service state action.

type OrchestrationServiceStateAction string
const (
    // OrchestrationServiceStateActionResume ...
    OrchestrationServiceStateActionResume OrchestrationServiceStateAction = "Resume"
    // OrchestrationServiceStateActionSuspend ...
    OrchestrationServiceStateActionSuspend OrchestrationServiceStateAction = "Suspend"
)

func PossibleOrchestrationServiceStateActionValues

func PossibleOrchestrationServiceStateActionValues() []OrchestrationServiceStateAction

PossibleOrchestrationServiceStateActionValues returns an array of possible values for the OrchestrationServiceStateAction const type.

type OrchestrationServiceStateInput

OrchestrationServiceStateInput the input for OrchestrationServiceState

type OrchestrationServiceStateInput struct {
    // ServiceName - The name of the service. Possible values include: 'OrchestrationServiceNamesAutomaticRepairs'
    ServiceName OrchestrationServiceNames `json:"serviceName,omitempty"`
    // Action - The action to be performed. Possible values include: 'OrchestrationServiceStateActionResume', 'OrchestrationServiceStateActionSuspend'
    Action OrchestrationServiceStateAction `json:"action,omitempty"`
}

type OrchestrationServiceSummary

OrchestrationServiceSummary summary for an orchestration service of a virtual machine scale set.

type OrchestrationServiceSummary struct {
    // ServiceName - READ-ONLY; The name of the service. Possible values include: 'OrchestrationServiceNamesAutomaticRepairs', 'OrchestrationServiceNamesDummyOrchestrationServiceName'
    ServiceName OrchestrationServiceNames `json:"serviceName,omitempty"`
    // ServiceState - READ-ONLY; The current state of the service. Possible values include: 'OrchestrationServiceStateNotRunning', 'OrchestrationServiceStateRunning', 'OrchestrationServiceStateSuspended'
    ServiceState OrchestrationServiceState `json:"serviceState,omitempty"`
}

func (OrchestrationServiceSummary) MarshalJSON

func (oss OrchestrationServiceSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrchestrationServiceSummary.

type PassNames

PassNames enumerates the values for pass names.

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

func PossiblePassNamesValues

func PossiblePassNamesValues() []PassNames

PossiblePassNamesValues returns an array of possible values for the PassNames const type.

type PatchAssessmentState

PatchAssessmentState enumerates the values for patch assessment state.

type PatchAssessmentState string
const (
    // PatchAssessmentStateAvailable ...
    PatchAssessmentStateAvailable PatchAssessmentState = "Available"
    // PatchAssessmentStateUnknown ...
    PatchAssessmentStateUnknown PatchAssessmentState = "Unknown"
)

func PossiblePatchAssessmentStateValues

func PossiblePatchAssessmentStateValues() []PatchAssessmentState

PossiblePatchAssessmentStateValues returns an array of possible values for the PatchAssessmentState const type.

type PatchInstallationDetail

PatchInstallationDetail information about a specific patch that was encountered during an installation action.

type PatchInstallationDetail struct {
    // PatchID - READ-ONLY; A unique identifier for the patch.
    PatchID *string `json:"patchId,omitempty"`
    // Name - READ-ONLY; The friendly name of the patch.
    Name *string `json:"name,omitempty"`
    // Version - READ-ONLY; The version string of the package. It may conform to Semantic Versioning. Only applies to Linux.
    Version *string `json:"version,omitempty"`
    // KbID - READ-ONLY; The KBID of the patch. Only applies to Windows patches.
    KbID *string `json:"kbId,omitempty"`
    // Classifications - READ-ONLY; The classification(s) of the patch as provided by the patch publisher.
    Classifications *[]string `json:"classifications,omitempty"`
    // InstallationState - READ-ONLY; The state of the patch after the installation operation completed. Possible values include: 'PatchInstallationStateUnknown', 'PatchInstallationStateInstalled', 'PatchInstallationStateFailed', 'PatchInstallationStateExcluded', 'PatchInstallationStateNotSelected', 'PatchInstallationStatePending'
    InstallationState PatchInstallationState `json:"installationState,omitempty"`
}

func (PatchInstallationDetail) MarshalJSON

func (pid PatchInstallationDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchInstallationDetail.

type PatchInstallationState

PatchInstallationState enumerates the values for patch installation state.

type PatchInstallationState string
const (
    // PatchInstallationStateExcluded ...
    PatchInstallationStateExcluded PatchInstallationState = "Excluded"
    // PatchInstallationStateFailed ...
    PatchInstallationStateFailed PatchInstallationState = "Failed"
    // PatchInstallationStateInstalled ...
    PatchInstallationStateInstalled PatchInstallationState = "Installed"
    // PatchInstallationStateNotSelected ...
    PatchInstallationStateNotSelected PatchInstallationState = "NotSelected"
    // PatchInstallationStatePending ...
    PatchInstallationStatePending PatchInstallationState = "Pending"
    // PatchInstallationStateUnknown ...
    PatchInstallationStateUnknown PatchInstallationState = "Unknown"
)

func PossiblePatchInstallationStateValues

func PossiblePatchInstallationStateValues() []PatchInstallationState

PossiblePatchInstallationStateValues returns an array of possible values for the PatchInstallationState const type.

type PatchOperationStatus

PatchOperationStatus enumerates the values for patch operation status.

type PatchOperationStatus string
const (
    // PatchOperationStatusCompletedWithWarnings ...
    PatchOperationStatusCompletedWithWarnings PatchOperationStatus = "CompletedWithWarnings"
    // PatchOperationStatusFailed ...
    PatchOperationStatusFailed PatchOperationStatus = "Failed"
    // PatchOperationStatusInProgress ...
    PatchOperationStatusInProgress PatchOperationStatus = "InProgress"
    // PatchOperationStatusSucceeded ...
    PatchOperationStatusSucceeded PatchOperationStatus = "Succeeded"
    // PatchOperationStatusUnknown ...
    PatchOperationStatusUnknown PatchOperationStatus = "Unknown"
)

func PossiblePatchOperationStatusValues

func PossiblePatchOperationStatusValues() []PatchOperationStatus

PossiblePatchOperationStatusValues returns an array of possible values for the PatchOperationStatus const type.

type PatchSettings

PatchSettings specifies settings related to VM Guest Patching on Windows.

type PatchSettings struct {
    // PatchMode - Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You  control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true. Possible values include: 'WindowsVMGuestPatchModeManual', 'WindowsVMGuestPatchModeAutomaticByOS', 'WindowsVMGuestPatchModeAutomaticByPlatform'
    PatchMode WindowsVMGuestPatchMode `json:"patchMode,omitempty"`
    // EnableHotpatching - Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
    EnableHotpatching *bool `json:"enableHotpatching,omitempty"`
    // AssessmentMode - Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. Possible values include: 'WindowsPatchAssessmentModeImageDefault', 'WindowsPatchAssessmentModeAutomaticByPlatform'
    AssessmentMode WindowsPatchAssessmentMode `json:"assessmentMode,omitempty"`
}

type PirCommunityGalleryResource

PirCommunityGalleryResource base information about the community gallery resource in pir.

type PirCommunityGalleryResource struct {
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                        *string `json:"type,omitempty"`
    *CommunityGalleryIdentifier `json:"identifier,omitempty"`
}

func (PirCommunityGalleryResource) MarshalJSON

func (pcgr PirCommunityGalleryResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PirCommunityGalleryResource.

func (*PirCommunityGalleryResource) UnmarshalJSON

func (pcgr *PirCommunityGalleryResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PirCommunityGalleryResource struct.

type PirResource

PirResource the Resource model definition.

type PirResource struct {
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
}

func (PirResource) MarshalJSON

func (pr PirResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PirResource.

type PirSharedGalleryResource

PirSharedGalleryResource base information about the shared gallery resource in pir.

type PirSharedGalleryResource struct {
    *SharedGalleryIdentifier `json:"identifier,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
}

func (PirSharedGalleryResource) MarshalJSON

func (psgr PirSharedGalleryResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PirSharedGalleryResource.

func (*PirSharedGalleryResource) UnmarshalJSON

func (psgr *PirSharedGalleryResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PirSharedGalleryResource struct.

type Plan

Plan specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.

type Plan struct {
    // Name - The plan ID.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
    Product *string `json:"product,omitempty"`
    // PromotionCode - The promotion code.
    PromotionCode *string `json:"promotionCode,omitempty"`
}

type PrivateEndpoint

PrivateEndpoint the Private Endpoint resource.

type PrivateEndpoint struct {
    // ID - READ-ONLY; The ARM identifier for Private Endpoint
    ID *string `json:"id,omitempty"`
}

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

PrivateEndpointConnection the Private Endpoint Connection resource.

type PrivateEndpointConnection struct {
    autorest.Response `json:"-"`
    // PrivateEndpointConnectionProperties - Resource properties.
    *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; private endpoint connection Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; private endpoint connection name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; private endpoint connection type
    Type *string `json:"type,omitempty"`
}

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

PrivateEndpointConnectionListResult a list of private link resources

type PrivateEndpointConnectionListResult struct {
    autorest.Response `json:"-"`
    // Value - Array of private endpoint connections
    Value *[]PrivateEndpointConnection `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots.
    NextLink *string `json:"nextLink,omitempty"`
}

func (PrivateEndpointConnectionListResult) IsEmpty

func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateEndpointConnectionListResultIterator

PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.

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

func NewPrivateEndpointConnectionListResultIterator

func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator

Creates a new instance of the PrivateEndpointConnectionListResultIterator type.

func (*PrivateEndpointConnectionListResultIterator) Next

func (iter *PrivateEndpointConnectionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultIterator) NextWithContext

func (iter *PrivateEndpointConnectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PrivateEndpointConnectionListResultIterator) NotDone

func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultIterator) Response

func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultIterator) Value

func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PrivateEndpointConnectionListResultPage

PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.

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

func NewPrivateEndpointConnectionListResultPage

func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage

Creates a new instance of the PrivateEndpointConnectionListResultPage type.

func (*PrivateEndpointConnectionListResultPage) Next

func (page *PrivateEndpointConnectionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PrivateEndpointConnectionListResultPage) NextWithContext

func (page *PrivateEndpointConnectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PrivateEndpointConnectionListResultPage) NotDone

func (page PrivateEndpointConnectionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PrivateEndpointConnectionListResultPage) Response

func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult

Response returns the raw server response from the last page request.

func (PrivateEndpointConnectionListResultPage) Values

func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection

Values returns the slice of values for the current page or nil if there are no values.

type PrivateEndpointConnectionProperties

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointConnectionProperties struct {
    // PrivateEndpoint - READ-ONLY; The resource of private end point.
    PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
    // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between DiskAccess and Virtual Network.
    PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
    // ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed'
    ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

func (PrivateEndpointConnectionProperties) MarshalJSON

func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.

type PrivateEndpointConnectionProvisioningState

PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.

type PrivateEndpointConnectionProvisioningState string
const (
    // PrivateEndpointConnectionProvisioningStateCreating ...
    PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
    // PrivateEndpointConnectionProvisioningStateDeleting ...
    PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
    // PrivateEndpointConnectionProvisioningStateFailed ...
    PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
    // PrivateEndpointConnectionProvisioningStateSucceeded ...
    PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointServiceConnectionStatus

PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.

type PrivateEndpointServiceConnectionStatus string
const (
    // PrivateEndpointServiceConnectionStatusApproved ...
    PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
    // PrivateEndpointServiceConnectionStatusPending ...
    PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
    // PrivateEndpointServiceConnectionStatusRejected ...
    PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

PrivateLinkResource a private link resource

type PrivateLinkResource struct {
    // PrivateLinkResourceProperties - Resource properties.
    *PrivateLinkResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; private link resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; private link resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; private link resource type
    Type *string `json:"type,omitempty"`
}

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult

PrivateLinkResourceListResult a list of private link resources

type PrivateLinkResourceListResult struct {
    autorest.Response `json:"-"`
    // Value - Array of private link resources
    Value *[]PrivateLinkResource `json:"value,omitempty"`
}

type PrivateLinkResourceProperties

PrivateLinkResourceProperties properties of a private link resource.

type PrivateLinkResourceProperties struct {
    // GroupID - READ-ONLY; The private link resource group id.
    GroupID *string `json:"groupId,omitempty"`
    // RequiredMembers - READ-ONLY; The private link resource required member names.
    RequiredMembers *[]string `json:"requiredMembers,omitempty"`
    // RequiredZoneNames - The private link resource DNS zone name.
    RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkServiceConnectionState

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type PrivateLinkServiceConnectionState struct {
    // Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected'
    Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
    // Description - The reason for approval/rejection of the connection.
    Description *string `json:"description,omitempty"`
    // ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
    ActionsRequired *string `json:"actionsRequired,omitempty"`
}

type PropertyUpdatesInProgress

PropertyUpdatesInProgress properties of the disk for which update is pending.

type PropertyUpdatesInProgress struct {
    // TargetTier - The target performance tier of the disk if a tier change operation is in progress.
    TargetTier *string `json:"targetTier,omitempty"`
}

type ProtocolTypes

ProtocolTypes enumerates the values for protocol types.

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

func PossibleProtocolTypesValues

func PossibleProtocolTypesValues() []ProtocolTypes

PossibleProtocolTypesValues returns an array of possible values for the ProtocolTypes const type.

type ProvisioningState

ProvisioningState enumerates the values for provisioning state.

type ProvisioningState string
const (
    // ProvisioningStateCreating ...
    ProvisioningStateCreating ProvisioningState = "Creating"
    // ProvisioningStateDeleting ...
    ProvisioningStateDeleting ProvisioningState = "Deleting"
    // ProvisioningStateFailed ...
    ProvisioningStateFailed ProvisioningState = "Failed"
    // ProvisioningStateMigrating ...
    ProvisioningStateMigrating ProvisioningState = "Migrating"
    // ProvisioningStateSucceeded ...
    ProvisioningStateSucceeded ProvisioningState = "Succeeded"
    // ProvisioningStateUpdating ...
    ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProvisioningState1

ProvisioningState1 enumerates the values for provisioning state 1.

type ProvisioningState1 string
const (
    // ProvisioningState1Creating ...
    ProvisioningState1Creating ProvisioningState1 = "Creating"
    // ProvisioningState1Deleting ...
    ProvisioningState1Deleting ProvisioningState1 = "Deleting"
    // ProvisioningState1Failed ...
    ProvisioningState1Failed ProvisioningState1 = "Failed"
    // ProvisioningState1Migrating ...
    ProvisioningState1Migrating ProvisioningState1 = "Migrating"
    // ProvisioningState1Succeeded ...
    ProvisioningState1Succeeded ProvisioningState1 = "Succeeded"
    // ProvisioningState1Updating ...
    ProvisioningState1Updating ProvisioningState1 = "Updating"
)

func PossibleProvisioningState1Values

func PossibleProvisioningState1Values() []ProvisioningState1

PossibleProvisioningState1Values returns an array of possible values for the ProvisioningState1 const type.

type ProvisioningState2

ProvisioningState2 enumerates the values for provisioning state 2.

type ProvisioningState2 string
const (
    // ProvisioningState2Creating ...
    ProvisioningState2Creating ProvisioningState2 = "Creating"
    // ProvisioningState2Deleting ...
    ProvisioningState2Deleting ProvisioningState2 = "Deleting"
    // ProvisioningState2Failed ...
    ProvisioningState2Failed ProvisioningState2 = "Failed"
    // ProvisioningState2Migrating ...
    ProvisioningState2Migrating ProvisioningState2 = "Migrating"
    // ProvisioningState2Succeeded ...
    ProvisioningState2Succeeded ProvisioningState2 = "Succeeded"
    // ProvisioningState2Updating ...
    ProvisioningState2Updating ProvisioningState2 = "Updating"
)

func PossibleProvisioningState2Values

func PossibleProvisioningState2Values() []ProvisioningState2

PossibleProvisioningState2Values returns an array of possible values for the ProvisioningState2 const type.

type ProvisioningState3

ProvisioningState3 enumerates the values for provisioning state 3.

type ProvisioningState3 string
const (
    // ProvisioningState3Creating ...
    ProvisioningState3Creating ProvisioningState3 = "Creating"
    // ProvisioningState3Deleting ...
    ProvisioningState3Deleting ProvisioningState3 = "Deleting"
    // ProvisioningState3Failed ...
    ProvisioningState3Failed ProvisioningState3 = "Failed"
    // ProvisioningState3Migrating ...
    ProvisioningState3Migrating ProvisioningState3 = "Migrating"
    // ProvisioningState3Succeeded ...
    ProvisioningState3Succeeded ProvisioningState3 = "Succeeded"
    // ProvisioningState3Updating ...
    ProvisioningState3Updating ProvisioningState3 = "Updating"
)

func PossibleProvisioningState3Values

func PossibleProvisioningState3Values() []ProvisioningState3

PossibleProvisioningState3Values returns an array of possible values for the ProvisioningState3 const type.

type ProximityPlacementGroup

ProximityPlacementGroup specifies information about the proximity placement group.

type ProximityPlacementGroup struct {
    autorest.Response `json:"-"`
    // ProximityPlacementGroupProperties - Describes the properties of a Proximity Placement Group.
    *ProximityPlacementGroupProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (ProximityPlacementGroup) MarshalJSON

func (ppg ProximityPlacementGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProximityPlacementGroup.

func (*ProximityPlacementGroup) UnmarshalJSON

func (ppg *ProximityPlacementGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProximityPlacementGroup struct.

type ProximityPlacementGroupListResult

ProximityPlacementGroupListResult the List Proximity Placement Group operation response.

type ProximityPlacementGroupListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of proximity placement groups
    Value *[]ProximityPlacementGroup `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of proximity placement groups.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ProximityPlacementGroupListResult) IsEmpty

func (ppglr ProximityPlacementGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProximityPlacementGroupListResultIterator

ProximityPlacementGroupListResultIterator provides access to a complete listing of ProximityPlacementGroup values.

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

func NewProximityPlacementGroupListResultIterator

func NewProximityPlacementGroupListResultIterator(page ProximityPlacementGroupListResultPage) ProximityPlacementGroupListResultIterator

Creates a new instance of the ProximityPlacementGroupListResultIterator type.

func (*ProximityPlacementGroupListResultIterator) Next

func (iter *ProximityPlacementGroupListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProximityPlacementGroupListResultIterator) NextWithContext

func (iter *ProximityPlacementGroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ProximityPlacementGroupListResultIterator) NotDone

func (iter ProximityPlacementGroupListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ProximityPlacementGroupListResultIterator) Response

func (iter ProximityPlacementGroupListResultIterator) Response() ProximityPlacementGroupListResult

Response returns the raw server response from the last page request.

func (ProximityPlacementGroupListResultIterator) Value

func (iter ProximityPlacementGroupListResultIterator) Value() ProximityPlacementGroup

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ProximityPlacementGroupListResultPage

ProximityPlacementGroupListResultPage contains a page of ProximityPlacementGroup values.

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

func NewProximityPlacementGroupListResultPage

func NewProximityPlacementGroupListResultPage(cur ProximityPlacementGroupListResult, getNextPage func(context.Context, ProximityPlacementGroupListResult) (ProximityPlacementGroupListResult, error)) ProximityPlacementGroupListResultPage

Creates a new instance of the ProximityPlacementGroupListResultPage type.

func (*ProximityPlacementGroupListResultPage) Next

func (page *ProximityPlacementGroupListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ProximityPlacementGroupListResultPage) NextWithContext

func (page *ProximityPlacementGroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ProximityPlacementGroupListResultPage) NotDone

func (page ProximityPlacementGroupListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ProximityPlacementGroupListResultPage) Response

func (page ProximityPlacementGroupListResultPage) Response() ProximityPlacementGroupListResult

Response returns the raw server response from the last page request.

func (ProximityPlacementGroupListResultPage) Values

func (page ProximityPlacementGroupListResultPage) Values() []ProximityPlacementGroup

Values returns the slice of values for the current page or nil if there are no values.

type ProximityPlacementGroupProperties

ProximityPlacementGroupProperties describes the properties of a Proximity Placement Group.

type ProximityPlacementGroupProperties struct {
    // ProximityPlacementGroupType - Specifies the type of the proximity placement group. <br><br> Possible values are: <br><br> **Standard** : Co-locate resources within an Azure region or Availability Zone. <br><br> **Ultra** : For future use. Possible values include: 'ProximityPlacementGroupTypeStandard', 'ProximityPlacementGroupTypeUltra'
    ProximityPlacementGroupType ProximityPlacementGroupType `json:"proximityPlacementGroupType,omitempty"`
    // VirtualMachines - READ-ONLY; A list of references to all virtual machines in the proximity placement group.
    VirtualMachines *[]SubResourceWithColocationStatus `json:"virtualMachines,omitempty"`
    // VirtualMachineScaleSets - READ-ONLY; A list of references to all virtual machine scale sets in the proximity placement group.
    VirtualMachineScaleSets *[]SubResourceWithColocationStatus `json:"virtualMachineScaleSets,omitempty"`
    // AvailabilitySets - READ-ONLY; A list of references to all availability sets in the proximity placement group.
    AvailabilitySets *[]SubResourceWithColocationStatus `json:"availabilitySets,omitempty"`
    // ColocationStatus - Describes colocation status of the Proximity Placement Group.
    ColocationStatus *InstanceViewStatus `json:"colocationStatus,omitempty"`
}

func (ProximityPlacementGroupProperties) MarshalJSON

func (ppgp ProximityPlacementGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProximityPlacementGroupProperties.

type ProximityPlacementGroupType

ProximityPlacementGroupType enumerates the values for proximity placement group type.

type ProximityPlacementGroupType string
const (
    // ProximityPlacementGroupTypeStandard ...
    ProximityPlacementGroupTypeStandard ProximityPlacementGroupType = "Standard"
    // ProximityPlacementGroupTypeUltra ...
    ProximityPlacementGroupTypeUltra ProximityPlacementGroupType = "Ultra"
)

func PossibleProximityPlacementGroupTypeValues

func PossibleProximityPlacementGroupTypeValues() []ProximityPlacementGroupType

PossibleProximityPlacementGroupTypeValues returns an array of possible values for the ProximityPlacementGroupType const type.

type ProximityPlacementGroupUpdate

ProximityPlacementGroupUpdate specifies information about the proximity placement group.

type ProximityPlacementGroupUpdate struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (ProximityPlacementGroupUpdate) MarshalJSON

func (ppgu ProximityPlacementGroupUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProximityPlacementGroupUpdate.

type ProximityPlacementGroupsClient

ProximityPlacementGroupsClient is the compute Client

type ProximityPlacementGroupsClient struct {
    BaseClient
}

func NewProximityPlacementGroupsClient

func NewProximityPlacementGroupsClient(subscriptionID string) ProximityPlacementGroupsClient

NewProximityPlacementGroupsClient creates an instance of the ProximityPlacementGroupsClient client.

func NewProximityPlacementGroupsClientWithBaseURI

func NewProximityPlacementGroupsClientWithBaseURI(baseURI string, subscriptionID string) ProximityPlacementGroupsClient

NewProximityPlacementGroupsClientWithBaseURI creates an instance of the ProximityPlacementGroupsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ProximityPlacementGroupsClient) CreateOrUpdate

func (client ProximityPlacementGroupsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (result ProximityPlacementGroup, err error)

CreateOrUpdate create or update a proximity placement group. Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group. parameters - parameters supplied to the Create Proximity Placement Group operation.

func (ProximityPlacementGroupsClient) CreateOrUpdatePreparer

func (client ProximityPlacementGroupsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroup) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ProximityPlacementGroupsClient) CreateOrUpdateResponder

func (client ProximityPlacementGroupsClient) CreateOrUpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ProximityPlacementGroupsClient) CreateOrUpdateSender

func (client ProximityPlacementGroupsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (ProximityPlacementGroupsClient) Delete

func (client ProximityPlacementGroupsClient) Delete(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (result autorest.Response, err error)

Delete delete a proximity placement group. Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group.

func (ProximityPlacementGroupsClient) DeletePreparer

func (client ProximityPlacementGroupsClient) DeletePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ProximityPlacementGroupsClient) DeleteResponder

func (client ProximityPlacementGroupsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ProximityPlacementGroupsClient) DeleteSender

func (client ProximityPlacementGroupsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ProximityPlacementGroupsClient) Get

func (client ProximityPlacementGroupsClient) Get(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, includeColocationStatus string) (result ProximityPlacementGroup, err error)

Get retrieves information about a proximity placement group . Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group. includeColocationStatus - includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group.

func (ProximityPlacementGroupsClient) GetPreparer

func (client ProximityPlacementGroupsClient) GetPreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, includeColocationStatus string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ProximityPlacementGroupsClient) GetResponder

func (client ProximityPlacementGroupsClient) GetResponder(resp *http.Response) (result ProximityPlacementGroup, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ProximityPlacementGroupsClient) GetSender

func (client ProximityPlacementGroupsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ProximityPlacementGroupsClient) ListByResourceGroup

func (client ProximityPlacementGroupsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultPage, err error)

ListByResourceGroup lists all proximity placement groups in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (ProximityPlacementGroupsClient) ListByResourceGroupComplete

func (client ProximityPlacementGroupsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ProximityPlacementGroupListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ProximityPlacementGroupsClient) ListByResourceGroupPreparer

func (client ProximityPlacementGroupsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ProximityPlacementGroupsClient) ListByResourceGroupResponder

func (client ProximityPlacementGroupsClient) ListByResourceGroupResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ProximityPlacementGroupsClient) ListByResourceGroupSender

func (client ProximityPlacementGroupsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ProximityPlacementGroupsClient) ListBySubscription

func (client ProximityPlacementGroupsClient) ListBySubscription(ctx context.Context) (result ProximityPlacementGroupListResultPage, err error)

ListBySubscription lists all proximity placement groups in a subscription.

func (ProximityPlacementGroupsClient) ListBySubscriptionComplete

func (client ProximityPlacementGroupsClient) ListBySubscriptionComplete(ctx context.Context) (result ProximityPlacementGroupListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (ProximityPlacementGroupsClient) ListBySubscriptionPreparer

func (client ProximityPlacementGroupsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ProximityPlacementGroupsClient) ListBySubscriptionResponder

func (client ProximityPlacementGroupsClient) ListBySubscriptionResponder(resp *http.Response) (result ProximityPlacementGroupListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ProximityPlacementGroupsClient) ListBySubscriptionSender

func (client ProximityPlacementGroupsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (ProximityPlacementGroupsClient) Update

func (client ProximityPlacementGroupsClient) Update(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (result ProximityPlacementGroup, err error)

Update update a proximity placement group. Parameters: resourceGroupName - the name of the resource group. proximityPlacementGroupName - the name of the proximity placement group. parameters - parameters supplied to the Update Proximity Placement Group operation.

func (ProximityPlacementGroupsClient) UpdatePreparer

func (client ProximityPlacementGroupsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, proximityPlacementGroupName string, parameters ProximityPlacementGroupUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ProximityPlacementGroupsClient) UpdateResponder

func (client ProximityPlacementGroupsClient) UpdateResponder(resp *http.Response) (result ProximityPlacementGroup, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ProximityPlacementGroupsClient) UpdateSender

func (client ProximityPlacementGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ProxyOnlyResource

ProxyOnlyResource the ProxyOnly Resource model definition.

type ProxyOnlyResource struct {
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

func (ProxyOnlyResource) MarshalJSON

func (por ProxyOnlyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyOnlyResource.

type ProxyResource

ProxyResource the resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location

type ProxyResource struct {
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type PublicIPAddressSku

PublicIPAddressSku describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.

type PublicIPAddressSku struct {
    // Name - Specify public IP sku name. Possible values include: 'PublicIPAddressSkuNameBasic', 'PublicIPAddressSkuNameStandard'
    Name PublicIPAddressSkuName `json:"name,omitempty"`
    // Tier - Specify public IP sku tier. Possible values include: 'PublicIPAddressSkuTierRegional', 'PublicIPAddressSkuTierGlobal'
    Tier PublicIPAddressSkuTier `json:"tier,omitempty"`
}

type PublicIPAddressSkuName

PublicIPAddressSkuName enumerates the values for public ip address sku name.

type PublicIPAddressSkuName string
const (
    // PublicIPAddressSkuNameBasic ...
    PublicIPAddressSkuNameBasic PublicIPAddressSkuName = "Basic"
    // PublicIPAddressSkuNameStandard ...
    PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard"
)

func PossiblePublicIPAddressSkuNameValues

func PossiblePublicIPAddressSkuNameValues() []PublicIPAddressSkuName

PossiblePublicIPAddressSkuNameValues returns an array of possible values for the PublicIPAddressSkuName const type.

type PublicIPAddressSkuTier

PublicIPAddressSkuTier enumerates the values for public ip address sku tier.

type PublicIPAddressSkuTier string
const (
    // PublicIPAddressSkuTierGlobal ...
    PublicIPAddressSkuTierGlobal PublicIPAddressSkuTier = "Global"
    // PublicIPAddressSkuTierRegional ...
    PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional"
)

func PossiblePublicIPAddressSkuTierValues

func PossiblePublicIPAddressSkuTierValues() []PublicIPAddressSkuTier

PossiblePublicIPAddressSkuTierValues returns an array of possible values for the PublicIPAddressSkuTier const type.

type PublicIPAllocationMethod

PublicIPAllocationMethod enumerates the values for public ip allocation method.

type PublicIPAllocationMethod string
const (
    // PublicIPAllocationMethodDynamic ...
    PublicIPAllocationMethodDynamic PublicIPAllocationMethod = "Dynamic"
    // PublicIPAllocationMethodStatic ...
    PublicIPAllocationMethodStatic PublicIPAllocationMethod = "Static"
)

func PossiblePublicIPAllocationMethodValues

func PossiblePublicIPAllocationMethodValues() []PublicIPAllocationMethod

PossiblePublicIPAllocationMethodValues returns an array of possible values for the PublicIPAllocationMethod const type.

type PublicNetworkAccess

PublicNetworkAccess enumerates the values for public network access.

type PublicNetworkAccess string
const (
    // PublicNetworkAccessDisabled You cannot access the underlying data of the disk publicly on the internet
    // even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your
    // trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
    PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
    // PublicNetworkAccessEnabled You can generate a SAS URI to access the underlying data of the disk publicly
    // on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI
    // only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.
    PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type PurchasePlan

PurchasePlan used for establishing the purchase context of any 3rd Party artifact through MarketPlace.

type PurchasePlan struct {
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Name - The plan ID.
    Name *string `json:"name,omitempty"`
    // Product - Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
    Product *string `json:"product,omitempty"`
    // PromotionCode - The Offer Promotion Code.
    PromotionCode *string `json:"promotionCode,omitempty"`
}

type ReadCloser

ReadCloser ...

type ReadCloser struct {
    autorest.Response `json:"-"`
    Value             *io.ReadCloser `json:"value,omitempty"`
}

type RecommendedMachineConfiguration

RecommendedMachineConfiguration the properties describe the recommended machine configuration for this Image Definition. These properties are updatable.

type RecommendedMachineConfiguration struct {
    VCPUs  *ResourceRange `json:"vCPUs,omitempty"`
    Memory *ResourceRange `json:"memory,omitempty"`
}

type RecoveryWalkResponse

RecoveryWalkResponse response after calling a manual recovery walk

type RecoveryWalkResponse struct {
    autorest.Response `json:"-"`
    // WalkPerformed - READ-ONLY; Whether the recovery walk was performed
    WalkPerformed *bool `json:"walkPerformed,omitempty"`
    // NextPlatformUpdateDomain - READ-ONLY; The next update domain that needs to be walked. Null means walk spanning all update domains has been completed
    NextPlatformUpdateDomain *int32 `json:"nextPlatformUpdateDomain,omitempty"`
}

func (RecoveryWalkResponse) MarshalJSON

func (rwr RecoveryWalkResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryWalkResponse.

type RegionalReplicationStatus

RegionalReplicationStatus this is the regional replication status.

type RegionalReplicationStatus struct {
    // Region - READ-ONLY; The region to which the gallery image version is being replicated to.
    Region *string `json:"region,omitempty"`
    // State - READ-ONLY; This is the regional replication state. Possible values include: 'ReplicationStateUnknown', 'ReplicationStateReplicating', 'ReplicationStateCompleted', 'ReplicationStateFailed'
    State ReplicationState `json:"state,omitempty"`
    // Details - READ-ONLY; The details of the replication status.
    Details *string `json:"details,omitempty"`
    // Progress - READ-ONLY; It indicates progress of the replication job.
    Progress *int32 `json:"progress,omitempty"`
}

func (RegionalReplicationStatus) MarshalJSON

func (rrs RegionalReplicationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegionalReplicationStatus.

type RegionalSharingStatus

RegionalSharingStatus gallery regional sharing status

type RegionalSharingStatus struct {
    // Region - Region name
    Region *string `json:"region,omitempty"`
    // State - Gallery sharing state in current region. Possible values include: 'SharingStateSucceeded', 'SharingStateInProgress', 'SharingStateFailed', 'SharingStateUnknown'
    State SharingState `json:"state,omitempty"`
    // Details - Details of gallery regional sharing failure.
    Details *string `json:"details,omitempty"`
}

type RepairAction

RepairAction enumerates the values for repair action.

type RepairAction string
const (
    // RepairActionReimage ...
    RepairActionReimage RepairAction = "Reimage"
    // RepairActionReplace ...
    RepairActionReplace RepairAction = "Replace"
    // RepairActionRestart ...
    RepairActionRestart RepairAction = "Restart"
)

func PossibleRepairActionValues

func PossibleRepairActionValues() []RepairAction

PossibleRepairActionValues returns an array of possible values for the RepairAction const type.

type ReplicationMode

ReplicationMode enumerates the values for replication mode.

type ReplicationMode string
const (
    // ReplicationModeFull ...
    ReplicationModeFull ReplicationMode = "Full"
    // ReplicationModeShallow ...
    ReplicationModeShallow ReplicationMode = "Shallow"
)

func PossibleReplicationModeValues

func PossibleReplicationModeValues() []ReplicationMode

PossibleReplicationModeValues returns an array of possible values for the ReplicationMode const type.

type ReplicationState

ReplicationState enumerates the values for replication state.

type ReplicationState string
const (
    // ReplicationStateCompleted ...
    ReplicationStateCompleted ReplicationState = "Completed"
    // ReplicationStateFailed ...
    ReplicationStateFailed ReplicationState = "Failed"
    // ReplicationStateReplicating ...
    ReplicationStateReplicating ReplicationState = "Replicating"
    // ReplicationStateUnknown ...
    ReplicationStateUnknown ReplicationState = "Unknown"
)

func PossibleReplicationStateValues

func PossibleReplicationStateValues() []ReplicationState

PossibleReplicationStateValues returns an array of possible values for the ReplicationState const type.

type ReplicationStatus

ReplicationStatus this is the replication status of the gallery image version.

type ReplicationStatus struct {
    // AggregatedState - READ-ONLY; This is the aggregated replication status based on all the regional replication status flags. Possible values include: 'AggregatedReplicationStateUnknown', 'AggregatedReplicationStateInProgress', 'AggregatedReplicationStateCompleted', 'AggregatedReplicationStateFailed'
    AggregatedState AggregatedReplicationState `json:"aggregatedState,omitempty"`
    // Summary - READ-ONLY; This is a summary of replication status for each region.
    Summary *[]RegionalReplicationStatus `json:"summary,omitempty"`
}

func (ReplicationStatus) MarshalJSON

func (rs ReplicationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicationStatus.

type ReplicationStatusTypes

ReplicationStatusTypes enumerates the values for replication status types.

type ReplicationStatusTypes string
const (
    // ReplicationStatusTypesReplicationStatus ...
    ReplicationStatusTypesReplicationStatus ReplicationStatusTypes = "ReplicationStatus"
)

func PossibleReplicationStatusTypesValues

func PossibleReplicationStatusTypesValues() []ReplicationStatusTypes

PossibleReplicationStatusTypesValues returns an array of possible values for the ReplicationStatusTypes const type.

type RequestRateByIntervalInput

RequestRateByIntervalInput api request input for LogAnalytics getRequestRateByInterval Api.

type RequestRateByIntervalInput struct {
    // IntervalLength - Interval value in minutes used to create LogAnalytics call rate logs. Possible values include: 'IntervalInMinsThreeMins', 'IntervalInMinsFiveMins', 'IntervalInMinsThirtyMins', 'IntervalInMinsSixtyMins'
    IntervalLength IntervalInMins `json:"intervalLength,omitempty"`
    // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
    BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"`
    // FromTime - From time of the query
    FromTime *date.Time `json:"fromTime,omitempty"`
    // ToTime - To time of the query
    ToTime *date.Time `json:"toTime,omitempty"`
    // GroupByThrottlePolicy - Group query result by Throttle Policy applied.
    GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"`
    // GroupByOperationName - Group query result by Operation Name.
    GroupByOperationName *bool `json:"groupByOperationName,omitempty"`
    // GroupByResourceName - Group query result by Resource Name.
    GroupByResourceName *bool `json:"groupByResourceName,omitempty"`
    // GroupByClientApplicationID - Group query result by Client Application ID.
    GroupByClientApplicationID *bool `json:"groupByClientApplicationId,omitempty"`
    // GroupByUserAgent - Group query result by User Agent.
    GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"`
}

type Resource

Resource the Resource model definition.

type Resource struct {
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentityType

ResourceIdentityType enumerates the values for resource identity type.

type ResourceIdentityType string
const (
    // ResourceIdentityTypeNone ...
    ResourceIdentityTypeNone ResourceIdentityType = "None"
    // ResourceIdentityTypeSystemAssigned ...
    ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned"
    // ResourceIdentityTypeSystemAssignedUserAssigned ...
    ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned"
    // ResourceIdentityTypeUserAssigned ...
    ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type ResourceInstanceViewStatus

ResourceInstanceViewStatus instance view status.

type ResourceInstanceViewStatus struct {
    // Code - READ-ONLY; The status code.
    Code *string `json:"code,omitempty"`
    // DisplayStatus - READ-ONLY; The short localizable label for the status.
    DisplayStatus *string `json:"displayStatus,omitempty"`
    // Message - READ-ONLY; The detailed status message, including for alerts and error messages.
    Message *string `json:"message,omitempty"`
    // Time - READ-ONLY; The time of the status.
    Time *date.Time `json:"time,omitempty"`
    // Level - The level code. Possible values include: 'StatusLevelTypesInfo', 'StatusLevelTypesWarning', 'StatusLevelTypesError'
    Level StatusLevelTypes `json:"level,omitempty"`
}

func (ResourceInstanceViewStatus) MarshalJSON

func (rivs ResourceInstanceViewStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceInstanceViewStatus.

type ResourceRange

ResourceRange describes the resource range.

type ResourceRange struct {
    // Min - The minimum number of the resource.
    Min *int32 `json:"min,omitempty"`
    // Max - The maximum number of the resource.
    Max *int32 `json:"max,omitempty"`
}

type ResourceSku

ResourceSku describes an available Compute SKU.

type ResourceSku struct {
    // ResourceType - READ-ONLY; The type of resource the SKU applies to.
    ResourceType *string `json:"resourceType,omitempty"`
    // Name - READ-ONLY; The name of SKU.
    Name *string `json:"name,omitempty"`
    // Tier - READ-ONLY; Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**
    Tier *string `json:"tier,omitempty"`
    // Size - READ-ONLY; The Size of the SKU.
    Size *string `json:"size,omitempty"`
    // Family - READ-ONLY; The Family of this particular SKU.
    Family *string `json:"family,omitempty"`
    // Kind - READ-ONLY; The Kind of resources that are supported in this SKU.
    Kind *string `json:"kind,omitempty"`
    // Capacity - READ-ONLY; Specifies the number of virtual machines in the scale set.
    Capacity *ResourceSkuCapacity `json:"capacity,omitempty"`
    // Locations - READ-ONLY; The set of locations that the SKU is available.
    Locations *[]string `json:"locations,omitempty"`
    // LocationInfo - READ-ONLY; A list of locations and availability zones in those locations where the SKU is available.
    LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"`
    // APIVersions - READ-ONLY; The api versions that support this SKU.
    APIVersions *[]string `json:"apiVersions,omitempty"`
    // Costs - READ-ONLY; Metadata for retrieving price info.
    Costs *[]ResourceSkuCosts `json:"costs,omitempty"`
    // Capabilities - READ-ONLY; A name value pair to describe the capability.
    Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
    // Restrictions - READ-ONLY; The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
    Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"`
}

func (ResourceSku) MarshalJSON

func (rs ResourceSku) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSku.

type ResourceSkuCapabilities

ResourceSkuCapabilities describes The SKU capabilities object.

type ResourceSkuCapabilities struct {
    // Name - READ-ONLY; An invariant to describe the feature.
    Name *string `json:"name,omitempty"`
    // Value - READ-ONLY; An invariant if the feature is measured by quantity.
    Value *string `json:"value,omitempty"`
}

func (ResourceSkuCapabilities) MarshalJSON

func (rsc ResourceSkuCapabilities) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSkuCapabilities.

type ResourceSkuCapacity

ResourceSkuCapacity describes scaling information of a SKU.

type ResourceSkuCapacity struct {
    // Minimum - READ-ONLY; The minimum capacity.
    Minimum *int64 `json:"minimum,omitempty"`
    // Maximum - READ-ONLY; The maximum capacity that can be set.
    Maximum *int64 `json:"maximum,omitempty"`
    // Default - READ-ONLY; The default capacity.
    Default *int64 `json:"default,omitempty"`
    // ScaleType - READ-ONLY; The scale type applicable to the sku. Possible values include: 'ResourceSkuCapacityScaleTypeAutomatic', 'ResourceSkuCapacityScaleTypeManual', 'ResourceSkuCapacityScaleTypeNone'
    ScaleType ResourceSkuCapacityScaleType `json:"scaleType,omitempty"`
}

func (ResourceSkuCapacity) MarshalJSON

func (rsc ResourceSkuCapacity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSkuCapacity.

type ResourceSkuCapacityScaleType

ResourceSkuCapacityScaleType enumerates the values for resource sku capacity scale type.

type ResourceSkuCapacityScaleType string
const (
    // ResourceSkuCapacityScaleTypeAutomatic ...
    ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "Automatic"
    // ResourceSkuCapacityScaleTypeManual ...
    ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "Manual"
    // ResourceSkuCapacityScaleTypeNone ...
    ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "None"
)

func PossibleResourceSkuCapacityScaleTypeValues

func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType

PossibleResourceSkuCapacityScaleTypeValues returns an array of possible values for the ResourceSkuCapacityScaleType const type.

type ResourceSkuCosts

ResourceSkuCosts describes metadata for retrieving price info.

type ResourceSkuCosts struct {
    // MeterID - READ-ONLY; Used for querying price from commerce.
    MeterID *string `json:"meterID,omitempty"`
    // Quantity - READ-ONLY; The multiplier is needed to extend the base metered cost.
    Quantity *int64 `json:"quantity,omitempty"`
    // ExtendedUnit - READ-ONLY; An invariant to show the extended unit.
    ExtendedUnit *string `json:"extendedUnit,omitempty"`
}

func (ResourceSkuCosts) MarshalJSON

func (rsc ResourceSkuCosts) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSkuCosts.

type ResourceSkuLocationInfo

ResourceSkuLocationInfo describes an available Compute SKU Location Information.

type ResourceSkuLocationInfo struct {
    // Location - READ-ONLY; Location of the SKU
    Location *string `json:"location,omitempty"`
    // Zones - READ-ONLY; List of availability zones where the SKU is supported.
    Zones *[]string `json:"zones,omitempty"`
    // ZoneDetails - READ-ONLY; Details of capabilities available to a SKU in specific zones.
    ZoneDetails *[]ResourceSkuZoneDetails `json:"zoneDetails,omitempty"`
    // ExtendedLocations - READ-ONLY; The names of extended locations.
    ExtendedLocations *[]string `json:"extendedLocations,omitempty"`
    // Type - READ-ONLY; The type of the extended location. Possible values include: 'ExtendedLocationTypeEdgeZone'
    Type ExtendedLocationType `json:"type,omitempty"`
}

func (ResourceSkuLocationInfo) MarshalJSON

func (rsli ResourceSkuLocationInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSkuLocationInfo.

type ResourceSkuRestrictionInfo

ResourceSkuRestrictionInfo describes an available Compute SKU Restriction Information.

type ResourceSkuRestrictionInfo struct {
    // Locations - READ-ONLY; Locations where the SKU is restricted
    Locations *[]string `json:"locations,omitempty"`
    // Zones - READ-ONLY; List of availability zones where the SKU is restricted.
    Zones *[]string `json:"zones,omitempty"`
}

func (ResourceSkuRestrictionInfo) MarshalJSON

func (rsri ResourceSkuRestrictionInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSkuRestrictionInfo.

type ResourceSkuRestrictions

ResourceSkuRestrictions describes scaling information of a SKU.

type ResourceSkuRestrictions struct {
    // Type - READ-ONLY; The type of restrictions. Possible values include: 'ResourceSkuRestrictionsTypeLocation', 'ResourceSkuRestrictionsTypeZone'
    Type ResourceSkuRestrictionsType `json:"type,omitempty"`
    // Values - READ-ONLY; The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
    Values *[]string `json:"values,omitempty"`
    // RestrictionInfo - READ-ONLY; The information about the restriction where the SKU cannot be used.
    RestrictionInfo *ResourceSkuRestrictionInfo `json:"restrictionInfo,omitempty"`
    // ReasonCode - READ-ONLY; The reason for restriction. Possible values include: 'ResourceSkuRestrictionsReasonCodeQuotaID', 'ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription'
    ReasonCode ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"`
}

func (ResourceSkuRestrictions) MarshalJSON

func (rsr ResourceSkuRestrictions) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSkuRestrictions.

type ResourceSkuRestrictionsReasonCode

ResourceSkuRestrictionsReasonCode enumerates the values for resource sku restrictions reason code.

type ResourceSkuRestrictionsReasonCode string
const (
    // ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ...
    ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription"
    // ResourceSkuRestrictionsReasonCodeQuotaID ...
    ResourceSkuRestrictionsReasonCodeQuotaID ResourceSkuRestrictionsReasonCode = "QuotaId"
)

func PossibleResourceSkuRestrictionsReasonCodeValues

func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode

PossibleResourceSkuRestrictionsReasonCodeValues returns an array of possible values for the ResourceSkuRestrictionsReasonCode const type.

type ResourceSkuRestrictionsType

ResourceSkuRestrictionsType enumerates the values for resource sku restrictions type.

type ResourceSkuRestrictionsType string
const (
    // ResourceSkuRestrictionsTypeLocation ...
    ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "Location"
    // ResourceSkuRestrictionsTypeZone ...
    ResourceSkuRestrictionsTypeZone ResourceSkuRestrictionsType = "Zone"
)

func PossibleResourceSkuRestrictionsTypeValues

func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType

PossibleResourceSkuRestrictionsTypeValues returns an array of possible values for the ResourceSkuRestrictionsType const type.

type ResourceSkuZoneDetails

ResourceSkuZoneDetails describes The zonal capabilities of a SKU.

type ResourceSkuZoneDetails struct {
    // Name - READ-ONLY; The set of zones that the SKU is available in with the specified capabilities.
    Name *[]string `json:"name,omitempty"`
    // Capabilities - READ-ONLY; A list of capabilities that are available for the SKU in the specified list of zones.
    Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"`
}

func (ResourceSkuZoneDetails) MarshalJSON

func (rszd ResourceSkuZoneDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceSkuZoneDetails.

type ResourceSkusClient

ResourceSkusClient is the compute Client

type ResourceSkusClient struct {
    BaseClient
}

func NewResourceSkusClient

func NewResourceSkusClient(subscriptionID string) ResourceSkusClient

NewResourceSkusClient creates an instance of the ResourceSkusClient client.

func NewResourceSkusClientWithBaseURI

func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient

NewResourceSkusClientWithBaseURI creates an instance of the ResourceSkusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ResourceSkusClient) List

func (client ResourceSkusClient) List(ctx context.Context, filter string, includeExtendedLocations string) (result ResourceSkusResultPage, err error)

List gets the list of Microsoft.Compute SKUs available for your Subscription. Parameters: filter - the filter to apply on the operation. Only **location** filter is supported currently. includeExtendedLocations - to Include Extended Locations information or not in the response.

func (ResourceSkusClient) ListComplete

func (client ResourceSkusClient) ListComplete(ctx context.Context, filter string, includeExtendedLocations string) (result ResourceSkusResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ResourceSkusClient) ListPreparer

func (client ResourceSkusClient) ListPreparer(ctx context.Context, filter string, includeExtendedLocations string) (*http.Request, error)

ListPreparer prepares the List request.

func (ResourceSkusClient) ListResponder

func (client ResourceSkusClient) ListResponder(resp *http.Response) (result ResourceSkusResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ResourceSkusClient) ListSender

func (client ResourceSkusClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ResourceSkusResult

ResourceSkusResult the List Resource Skus operation response.

type ResourceSkusResult struct {
    autorest.Response `json:"-"`
    // Value - The list of skus available for the subscription.
    Value *[]ResourceSku `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of Resource Skus. Call ListNext() with this URI to fetch the next page of Resource Skus
    NextLink *string `json:"nextLink,omitempty"`
}

func (ResourceSkusResult) IsEmpty

func (rsr ResourceSkusResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResourceSkusResultIterator

ResourceSkusResultIterator provides access to a complete listing of ResourceSku values.

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

func NewResourceSkusResultIterator

func NewResourceSkusResultIterator(page ResourceSkusResultPage) ResourceSkusResultIterator

Creates a new instance of the ResourceSkusResultIterator type.

func (*ResourceSkusResultIterator) Next

func (iter *ResourceSkusResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceSkusResultIterator) NextWithContext

func (iter *ResourceSkusResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResourceSkusResultIterator) NotDone

func (iter ResourceSkusResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceSkusResultIterator) Response

func (iter ResourceSkusResultIterator) Response() ResourceSkusResult

Response returns the raw server response from the last page request.

func (ResourceSkusResultIterator) Value

func (iter ResourceSkusResultIterator) Value() ResourceSku

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceSkusResultPage

ResourceSkusResultPage contains a page of ResourceSku values.

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

func NewResourceSkusResultPage

func NewResourceSkusResultPage(cur ResourceSkusResult, getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage

Creates a new instance of the ResourceSkusResultPage type.

func (*ResourceSkusResultPage) Next

func (page *ResourceSkusResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceSkusResultPage) NextWithContext

func (page *ResourceSkusResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResourceSkusResultPage) NotDone

func (page ResourceSkusResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceSkusResultPage) Response

func (page ResourceSkusResultPage) Response() ResourceSkusResult

Response returns the raw server response from the last page request.

func (ResourceSkusResultPage) Values

func (page ResourceSkusResultPage) Values() []ResourceSku

Values returns the slice of values for the current page or nil if there are no values.

type ResourceURIList

ResourceURIList the List resources which are encrypted with the disk encryption set.

type ResourceURIList struct {
    autorest.Response `json:"-"`
    // Value - A list of IDs or Owner IDs of resources which are encrypted with the disk encryption set.
    Value *[]string `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the next page of encrypted resources.
    NextLink *string `json:"nextLink,omitempty"`
}

func (ResourceURIList) IsEmpty

func (rul ResourceURIList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResourceURIListIterator

ResourceURIListIterator provides access to a complete listing of string values.

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

func NewResourceURIListIterator

func NewResourceURIListIterator(page ResourceURIListPage) ResourceURIListIterator

Creates a new instance of the ResourceURIListIterator type.

func (*ResourceURIListIterator) Next

func (iter *ResourceURIListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceURIListIterator) NextWithContext

func (iter *ResourceURIListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ResourceURIListIterator) NotDone

func (iter ResourceURIListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ResourceURIListIterator) Response

func (iter ResourceURIListIterator) Response() ResourceURIList

Response returns the raw server response from the last page request.

func (ResourceURIListIterator) Value

func (iter ResourceURIListIterator) Value() string

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ResourceURIListPage

ResourceURIListPage contains a page of string values.

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

func NewResourceURIListPage

func NewResourceURIListPage(cur ResourceURIList, getNextPage func(context.Context, ResourceURIList) (ResourceURIList, error)) ResourceURIListPage

Creates a new instance of the ResourceURIListPage type.

func (*ResourceURIListPage) Next

func (page *ResourceURIListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ResourceURIListPage) NextWithContext

func (page *ResourceURIListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ResourceURIListPage) NotDone

func (page ResourceURIListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ResourceURIListPage) Response

func (page ResourceURIListPage) Response() ResourceURIList

Response returns the raw server response from the last page request.

func (ResourceURIListPage) Values

func (page ResourceURIListPage) Values() []string

Values returns the slice of values for the current page or nil if there are no values.

type RestorePoint

RestorePoint restore Point details.

type RestorePoint struct {
    autorest.Response       `json:"-"`
    *RestorePointProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
}

func (RestorePoint) MarshalJSON

func (rp RestorePoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestorePoint.

func (*RestorePoint) UnmarshalJSON

func (rp *RestorePoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RestorePoint struct.

type RestorePointCollection

RestorePointCollection create or update Restore Point collection parameters.

type RestorePointCollection struct {
    autorest.Response                 `json:"-"`
    *RestorePointCollectionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (RestorePointCollection) MarshalJSON

func (RPCVar RestorePointCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestorePointCollection.

func (*RestorePointCollection) UnmarshalJSON

func (RPCVar *RestorePointCollection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RestorePointCollection struct.

type RestorePointCollectionExpandOptions

RestorePointCollectionExpandOptions enumerates the values for restore point collection expand options.

type RestorePointCollectionExpandOptions string
const (
    // RestorePointCollectionExpandOptionsRestorePoints ...
    RestorePointCollectionExpandOptionsRestorePoints RestorePointCollectionExpandOptions = "restorePoints"
)

func PossibleRestorePointCollectionExpandOptionsValues

func PossibleRestorePointCollectionExpandOptionsValues() []RestorePointCollectionExpandOptions

PossibleRestorePointCollectionExpandOptionsValues returns an array of possible values for the RestorePointCollectionExpandOptions const type.

type RestorePointCollectionListResult

RestorePointCollectionListResult the List restore point collection operation response.

type RestorePointCollectionListResult struct {
    autorest.Response `json:"-"`
    // Value - Gets the list of restore point collections.
    Value *[]RestorePointCollection `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of RestorePointCollections. Call ListNext() with this to fetch the next page of RestorePointCollections
    NextLink *string `json:"nextLink,omitempty"`
}

func (RestorePointCollectionListResult) IsEmpty

func (rpclr RestorePointCollectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RestorePointCollectionListResultIterator

RestorePointCollectionListResultIterator provides access to a complete listing of RestorePointCollection values.

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

func NewRestorePointCollectionListResultIterator

func NewRestorePointCollectionListResultIterator(page RestorePointCollectionListResultPage) RestorePointCollectionListResultIterator

Creates a new instance of the RestorePointCollectionListResultIterator type.

func (*RestorePointCollectionListResultIterator) Next

func (iter *RestorePointCollectionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RestorePointCollectionListResultIterator) NextWithContext

func (iter *RestorePointCollectionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RestorePointCollectionListResultIterator) NotDone

func (iter RestorePointCollectionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RestorePointCollectionListResultIterator) Response

func (iter RestorePointCollectionListResultIterator) Response() RestorePointCollectionListResult

Response returns the raw server response from the last page request.

func (RestorePointCollectionListResultIterator) Value

func (iter RestorePointCollectionListResultIterator) Value() RestorePointCollection

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RestorePointCollectionListResultPage

RestorePointCollectionListResultPage contains a page of RestorePointCollection values.

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

func NewRestorePointCollectionListResultPage

func NewRestorePointCollectionListResultPage(cur RestorePointCollectionListResult, getNextPage func(context.Context, RestorePointCollectionListResult) (RestorePointCollectionListResult, error)) RestorePointCollectionListResultPage

Creates a new instance of the RestorePointCollectionListResultPage type.

func (*RestorePointCollectionListResultPage) Next

func (page *RestorePointCollectionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RestorePointCollectionListResultPage) NextWithContext

func (page *RestorePointCollectionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RestorePointCollectionListResultPage) NotDone

func (page RestorePointCollectionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RestorePointCollectionListResultPage) Response

func (page RestorePointCollectionListResultPage) Response() RestorePointCollectionListResult

Response returns the raw server response from the last page request.

func (RestorePointCollectionListResultPage) Values

func (page RestorePointCollectionListResultPage) Values() []RestorePointCollection

Values returns the slice of values for the current page or nil if there are no values.

type RestorePointCollectionProperties

RestorePointCollectionProperties the restore point collection properties.

type RestorePointCollectionProperties struct {
    Source *RestorePointCollectionSourceProperties `json:"source,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the restore point collection.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // RestorePointCollectionID - READ-ONLY; The unique id of the restore point collection.
    RestorePointCollectionID *string `json:"restorePointCollectionId,omitempty"`
    // RestorePoints - READ-ONLY; A list containing all restore points created under this restore point collection.
    RestorePoints *[]RestorePoint `json:"restorePoints,omitempty"`
}

func (RestorePointCollectionProperties) MarshalJSON

func (rpcp RestorePointCollectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestorePointCollectionProperties.

type RestorePointCollectionSourceProperties

RestorePointCollectionSourceProperties the properties of the source resource that this restore point collection is created from.

type RestorePointCollectionSourceProperties struct {
    // Location - READ-ONLY; Location of the source resource used to create this restore point collection.
    Location *string `json:"location,omitempty"`
    // ID - Resource Id of the source resource used to create this restore point collection
    ID *string `json:"id,omitempty"`
}

func (RestorePointCollectionSourceProperties) MarshalJSON

func (rpcsp RestorePointCollectionSourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestorePointCollectionSourceProperties.

type RestorePointCollectionUpdate

RestorePointCollectionUpdate update Restore Point collection parameters.

type RestorePointCollectionUpdate struct {
    *RestorePointCollectionProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (RestorePointCollectionUpdate) MarshalJSON

func (rpcu RestorePointCollectionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestorePointCollectionUpdate.

func (*RestorePointCollectionUpdate) UnmarshalJSON

func (rpcu *RestorePointCollectionUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RestorePointCollectionUpdate struct.

type RestorePointCollectionsClient

RestorePointCollectionsClient is the compute Client

type RestorePointCollectionsClient struct {
    BaseClient
}

func NewRestorePointCollectionsClient

func NewRestorePointCollectionsClient(subscriptionID string) RestorePointCollectionsClient

NewRestorePointCollectionsClient creates an instance of the RestorePointCollectionsClient client.

func NewRestorePointCollectionsClientWithBaseURI

func NewRestorePointCollectionsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointCollectionsClient

NewRestorePointCollectionsClientWithBaseURI creates an instance of the RestorePointCollectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RestorePointCollectionsClient) CreateOrUpdate

func (client RestorePointCollectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollection) (result RestorePointCollection, err error)

CreateOrUpdate the operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection. parameters - parameters supplied to the Create or Update restore point collection operation.

func (RestorePointCollectionsClient) CreateOrUpdatePreparer

func (client RestorePointCollectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RestorePointCollectionsClient) CreateOrUpdateResponder

func (client RestorePointCollectionsClient) CreateOrUpdateResponder(resp *http.Response) (result RestorePointCollection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RestorePointCollectionsClient) CreateOrUpdateSender

func (client RestorePointCollectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (RestorePointCollectionsClient) Delete

func (client RestorePointCollectionsClient) Delete(ctx context.Context, resourceGroupName string, restorePointCollectionName string) (result RestorePointCollectionsDeleteFuture, err error)

Delete the operation to delete the restore point collection. This operation will also delete all the contained restore points. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the Restore Point Collection.

func (RestorePointCollectionsClient) DeletePreparer

func (client RestorePointCollectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RestorePointCollectionsClient) DeleteResponder

func (client RestorePointCollectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RestorePointCollectionsClient) DeleteSender

func (client RestorePointCollectionsClient) DeleteSender(req *http.Request) (future RestorePointCollectionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RestorePointCollectionsClient) Get

func (client RestorePointCollectionsClient) Get(ctx context.Context, resourceGroupName string, restorePointCollectionName string, expand RestorePointCollectionExpandOptions) (result RestorePointCollection, err error)

Get the operation to get the restore point collection. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection. expand - the expand expression to apply on the operation. If expand=restorePoints, server will return all contained restore points in the restorePointCollection.

func (RestorePointCollectionsClient) GetPreparer

func (client RestorePointCollectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, expand RestorePointCollectionExpandOptions) (*http.Request, error)

GetPreparer prepares the Get request.

func (RestorePointCollectionsClient) GetResponder

func (client RestorePointCollectionsClient) GetResponder(resp *http.Response) (result RestorePointCollection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RestorePointCollectionsClient) GetSender

func (client RestorePointCollectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RestorePointCollectionsClient) List

func (client RestorePointCollectionsClient) List(ctx context.Context, resourceGroupName string) (result RestorePointCollectionListResultPage, err error)

List gets the list of restore point collections in a resource group. Parameters: resourceGroupName - the name of the resource group.

func (RestorePointCollectionsClient) ListAll

func (client RestorePointCollectionsClient) ListAll(ctx context.Context) (result RestorePointCollectionListResultPage, err error)

ListAll gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections.

func (RestorePointCollectionsClient) ListAllComplete

func (client RestorePointCollectionsClient) ListAllComplete(ctx context.Context) (result RestorePointCollectionListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (RestorePointCollectionsClient) ListAllPreparer

func (client RestorePointCollectionsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (RestorePointCollectionsClient) ListAllResponder

func (client RestorePointCollectionsClient) ListAllResponder(resp *http.Response) (result RestorePointCollectionListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (RestorePointCollectionsClient) ListAllSender

func (client RestorePointCollectionsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (RestorePointCollectionsClient) ListComplete

func (client RestorePointCollectionsClient) ListComplete(ctx context.Context, resourceGroupName string) (result RestorePointCollectionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (RestorePointCollectionsClient) ListPreparer

func (client RestorePointCollectionsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (RestorePointCollectionsClient) ListResponder

func (client RestorePointCollectionsClient) ListResponder(resp *http.Response) (result RestorePointCollectionListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (RestorePointCollectionsClient) ListSender

func (client RestorePointCollectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (RestorePointCollectionsClient) Update

func (client RestorePointCollectionsClient) Update(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollectionUpdate) (result RestorePointCollection, err error)

Update the operation to update the restore point collection. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection. parameters - parameters supplied to the Update restore point collection operation.

func (RestorePointCollectionsClient) UpdatePreparer

func (client RestorePointCollectionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, parameters RestorePointCollectionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RestorePointCollectionsClient) UpdateResponder

func (client RestorePointCollectionsClient) UpdateResponder(resp *http.Response) (result RestorePointCollection, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (RestorePointCollectionsClient) UpdateSender

func (client RestorePointCollectionsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type RestorePointCollectionsDeleteFuture

RestorePointCollectionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type RestorePointCollectionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(RestorePointCollectionsClient) (autorest.Response, error)
}

func (*RestorePointCollectionsDeleteFuture) UnmarshalJSON

func (future *RestorePointCollectionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RestorePointExpandOptions

RestorePointExpandOptions enumerates the values for restore point expand options.

type RestorePointExpandOptions string
const (
    // RestorePointExpandOptionsInstanceView ...
    RestorePointExpandOptionsInstanceView RestorePointExpandOptions = "instanceView"
)

func PossibleRestorePointExpandOptionsValues

func PossibleRestorePointExpandOptionsValues() []RestorePointExpandOptions

PossibleRestorePointExpandOptionsValues returns an array of possible values for the RestorePointExpandOptions const type.

type RestorePointInstanceView

RestorePointInstanceView the instance view of a restore point.

type RestorePointInstanceView struct {
    // DiskRestorePoints - The disk restore points information.
    DiskRestorePoints *[]DiskRestorePointInstanceView `json:"diskRestorePoints,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

type RestorePointProperties

RestorePointProperties the restore point properties.

type RestorePointProperties struct {
    // ExcludeDisks - List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included.
    ExcludeDisks *[]APIEntityReference `json:"excludeDisks,omitempty"`
    // SourceMetadata - READ-ONLY; Gets the details of the VM captured at the time of the restore point creation.
    SourceMetadata *RestorePointSourceMetadata `json:"sourceMetadata,omitempty"`
    // ProvisioningState - READ-ONLY; Gets the provisioning state of the restore point.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ConsistencyMode - READ-ONLY; Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details. Possible values include: 'ConsistencyModeTypesCrashConsistent', 'ConsistencyModeTypesFileSystemConsistent', 'ConsistencyModeTypesApplicationConsistent'
    ConsistencyMode ConsistencyModeTypes `json:"consistencyMode,omitempty"`
    // TimeCreated - Gets the creation time of the restore point.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
    // SourceRestorePoint - Resource Id of the source restore point from which a copy needs to be created.
    SourceRestorePoint *APIEntityReference `json:"sourceRestorePoint,omitempty"`
    // InstanceView - READ-ONLY; The restore point instance view.
    InstanceView *RestorePointInstanceView `json:"instanceView,omitempty"`
}

func (RestorePointProperties) MarshalJSON

func (rpp RestorePointProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RestorePointProperties.

type RestorePointSourceMetadata

RestorePointSourceMetadata describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation.

type RestorePointSourceMetadata struct {
    // HardwareProfile - Gets the hardware profile.
    HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`
    // StorageProfile - Gets the storage profile.
    StorageProfile *RestorePointSourceVMStorageProfile `json:"storageProfile,omitempty"`
    // OsProfile - Gets the OS profile.
    OsProfile *OSProfile `json:"osProfile,omitempty"`
    // DiagnosticsProfile - Gets the diagnostics profile.
    DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
    // LicenseType - Gets the license type, which is for bring your own license scenario.
    LicenseType *string `json:"licenseType,omitempty"`
    // VMID - Gets the virtual machine unique id.
    VMID *string `json:"vmId,omitempty"`
    // SecurityProfile - Gets the security profile.
    SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"`
    // Location - Location of the VM from which the restore point was created.
    Location *string `json:"location,omitempty"`
}

type RestorePointSourceVMDataDisk

RestorePointSourceVMDataDisk describes a data disk.

type RestorePointSourceVMDataDisk struct {
    // Lun - Gets the logical unit number.
    Lun *int32 `json:"lun,omitempty"`
    // Name - Gets the disk name.
    Name *string `json:"name,omitempty"`
    // Caching - Gets the caching type. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // DiskSizeGB - Gets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks.
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // ManagedDisk - Gets the managed disk details
    ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
    // DiskRestorePoint - Gets the disk restore point Id.
    DiskRestorePoint *APIEntityReference `json:"diskRestorePoint,omitempty"`
}

type RestorePointSourceVMOSDisk

RestorePointSourceVMOSDisk describes an Operating System disk.

type RestorePointSourceVMOSDisk struct {
    // OsType - Gets the Operating System type. Possible values include: 'OperatingSystemTypeWindows', 'OperatingSystemTypeLinux'
    OsType OperatingSystemType `json:"osType,omitempty"`
    // EncryptionSettings - Gets the disk encryption settings.
    EncryptionSettings *DiskEncryptionSettings `json:"encryptionSettings,omitempty"`
    // Name - Gets the disk name.
    Name *string `json:"name,omitempty"`
    // Caching - Gets the caching type. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // DiskSizeGB - Gets the disk size in GB.
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // ManagedDisk - Gets the managed disk details
    ManagedDisk *ManagedDiskParameters `json:"managedDisk,omitempty"`
    // DiskRestorePoint - Gets the disk restore point Id.
    DiskRestorePoint *APIEntityReference `json:"diskRestorePoint,omitempty"`
}

type RestorePointSourceVMStorageProfile

RestorePointSourceVMStorageProfile describes the storage profile.

type RestorePointSourceVMStorageProfile struct {
    // OsDisk - Gets the OS disk of the VM captured at the time of the restore point creation.
    OsDisk *RestorePointSourceVMOSDisk `json:"osDisk,omitempty"`
    // DataDisks - Gets the data disks of the VM captured at the time of the restore point creation.
    DataDisks *[]RestorePointSourceVMDataDisk `json:"dataDisks,omitempty"`
}

type RestorePointsClient

RestorePointsClient is the compute Client

type RestorePointsClient struct {
    BaseClient
}

func NewRestorePointsClient

func NewRestorePointsClient(subscriptionID string) RestorePointsClient

NewRestorePointsClient creates an instance of the RestorePointsClient client.

func NewRestorePointsClientWithBaseURI

func NewRestorePointsClientWithBaseURI(baseURI string, subscriptionID string) RestorePointsClient

NewRestorePointsClientWithBaseURI creates an instance of the RestorePointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RestorePointsClient) Create

func (client RestorePointsClient) Create(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, parameters RestorePoint) (result RestorePointsCreateFuture, err error)

Create the operation to create the restore point. Updating properties of an existing restore point is not allowed Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection. restorePointName - the name of the restore point. parameters - parameters supplied to the Create restore point operation.

func (RestorePointsClient) CreatePreparer

func (client RestorePointsClient) CreatePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, parameters RestorePoint) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RestorePointsClient) CreateResponder

func (client RestorePointsClient) CreateResponder(resp *http.Response) (result RestorePoint, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (RestorePointsClient) CreateSender

func (client RestorePointsClient) CreateSender(req *http.Request) (future RestorePointsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (RestorePointsClient) Delete

func (client RestorePointsClient) Delete(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string) (result RestorePointsDeleteFuture, err error)

Delete the operation to delete the restore point. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the Restore Point Collection. restorePointName - the name of the restore point.

func (RestorePointsClient) DeletePreparer

func (client RestorePointsClient) DeletePreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RestorePointsClient) DeleteResponder

func (client RestorePointsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (RestorePointsClient) DeleteSender

func (client RestorePointsClient) DeleteSender(req *http.Request) (future RestorePointsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (RestorePointsClient) Get

func (client RestorePointsClient) Get(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, expand RestorePointExpandOptions) (result RestorePoint, err error)

Get the operation to get the restore point. Parameters: resourceGroupName - the name of the resource group. restorePointCollectionName - the name of the restore point collection. restorePointName - the name of the restore point. expand - the expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.

func (RestorePointsClient) GetPreparer

func (client RestorePointsClient) GetPreparer(ctx context.Context, resourceGroupName string, restorePointCollectionName string, restorePointName string, expand RestorePointExpandOptions) (*http.Request, error)

GetPreparer prepares the Get request.

func (RestorePointsClient) GetResponder

func (client RestorePointsClient) GetResponder(resp *http.Response) (result RestorePoint, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RestorePointsClient) GetSender

func (client RestorePointsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type RestorePointsCreateFuture

RestorePointsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type RestorePointsCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(RestorePointsClient) (RestorePoint, error)
}

func (*RestorePointsCreateFuture) UnmarshalJSON

func (future *RestorePointsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RestorePointsDeleteFuture

RestorePointsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type RestorePointsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(RestorePointsClient) (autorest.Response, error)
}

func (*RestorePointsDeleteFuture) UnmarshalJSON

func (future *RestorePointsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type RetrieveBootDiagnosticsDataResult

RetrieveBootDiagnosticsDataResult the SAS URIs of the console screenshot and serial log blobs.

type RetrieveBootDiagnosticsDataResult struct {
    autorest.Response `json:"-"`
    // ConsoleScreenshotBlobURI - READ-ONLY; The console screenshot blob URI
    ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"`
    // SerialConsoleLogBlobURI - READ-ONLY; The serial console log blob URI.
    SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"`
}

func (RetrieveBootDiagnosticsDataResult) MarshalJSON

func (rbddr RetrieveBootDiagnosticsDataResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RetrieveBootDiagnosticsDataResult.

type RoleInstance

RoleInstance ...

type RoleInstance struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource Name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource Type.
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Resource Location.
    Location *string `json:"location,omitempty"`
    // Tags - READ-ONLY; Resource tags.
    Tags       map[string]*string      `json:"tags"`
    Sku        *InstanceSku            `json:"sku,omitempty"`
    Properties *RoleInstanceProperties `json:"properties,omitempty"`
}

func (RoleInstance) MarshalJSON

func (ri RoleInstance) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoleInstance.

type RoleInstanceInstanceView

RoleInstanceInstanceView the instance view of the role instance.

type RoleInstanceInstanceView struct {
    autorest.Response `json:"-"`
    // PlatformUpdateDomain - READ-ONLY; The Update Domain.
    PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"`
    // PlatformFaultDomain - READ-ONLY; The Fault Domain.
    PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
    // PrivateID - READ-ONLY; Specifies a unique identifier generated internally for the cloud service associated with this role instance. <br /><br /> NOTE: If you are using Azure Diagnostics extension, this property can be used as 'DeploymentId' for querying details.
    PrivateID *string `json:"privateId,omitempty"`
    // Statuses - READ-ONLY
    Statuses *[]ResourceInstanceViewStatus `json:"statuses,omitempty"`
}

func (RoleInstanceInstanceView) MarshalJSON

func (riiv RoleInstanceInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoleInstanceInstanceView.

type RoleInstanceListResult

RoleInstanceListResult ...

type RoleInstanceListResult struct {
    autorest.Response `json:"-"`
    Value             *[]RoleInstance `json:"value,omitempty"`
    NextLink          *string         `json:"nextLink,omitempty"`
}

func (RoleInstanceListResult) IsEmpty

func (rilr RoleInstanceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RoleInstanceListResultIterator

RoleInstanceListResultIterator provides access to a complete listing of RoleInstance values.

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

func NewRoleInstanceListResultIterator

func NewRoleInstanceListResultIterator(page RoleInstanceListResultPage) RoleInstanceListResultIterator

Creates a new instance of the RoleInstanceListResultIterator type.

func (*RoleInstanceListResultIterator) Next

func (iter *RoleInstanceListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RoleInstanceListResultIterator) NextWithContext

func (iter *RoleInstanceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RoleInstanceListResultIterator) NotDone

func (iter RoleInstanceListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RoleInstanceListResultIterator) Response

func (iter RoleInstanceListResultIterator) Response() RoleInstanceListResult

Response returns the raw server response from the last page request.

func (RoleInstanceListResultIterator) Value

func (iter RoleInstanceListResultIterator) Value() RoleInstance

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RoleInstanceListResultPage

RoleInstanceListResultPage contains a page of RoleInstance values.

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

func NewRoleInstanceListResultPage

func NewRoleInstanceListResultPage(cur RoleInstanceListResult, getNextPage func(context.Context, RoleInstanceListResult) (RoleInstanceListResult, error)) RoleInstanceListResultPage

Creates a new instance of the RoleInstanceListResultPage type.

func (*RoleInstanceListResultPage) Next

func (page *RoleInstanceListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RoleInstanceListResultPage) NextWithContext

func (page *RoleInstanceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RoleInstanceListResultPage) NotDone

func (page RoleInstanceListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RoleInstanceListResultPage) Response

func (page RoleInstanceListResultPage) Response() RoleInstanceListResult

Response returns the raw server response from the last page request.

func (RoleInstanceListResultPage) Values

func (page RoleInstanceListResultPage) Values() []RoleInstance

Values returns the slice of values for the current page or nil if there are no values.

type RoleInstanceNetworkProfile

RoleInstanceNetworkProfile describes the network profile for the role instance.

type RoleInstanceNetworkProfile struct {
    // NetworkInterfaces - READ-ONLY; Specifies the list of resource Ids for the network interfaces associated with the role instance.
    NetworkInterfaces *[]SubResource `json:"networkInterfaces,omitempty"`
}

func (RoleInstanceNetworkProfile) MarshalJSON

func (rinp RoleInstanceNetworkProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RoleInstanceNetworkProfile.

type RoleInstanceProperties

RoleInstanceProperties ...

type RoleInstanceProperties struct {
    NetworkProfile *RoleInstanceNetworkProfile `json:"networkProfile,omitempty"`
    InstanceView   *RoleInstanceInstanceView   `json:"instanceView,omitempty"`
}

type RoleInstances

RoleInstances specifies a list of role instances from the cloud service.

type RoleInstances struct {
    // RoleInstances - List of cloud service role instance names. Value of '*' will signify all role instances of the cloud service.
    RoleInstances *[]string `json:"roleInstances,omitempty"`
}

type RollbackStatusInfo

RollbackStatusInfo information about rollback on failed VM instances after a OS Upgrade operation.

type RollbackStatusInfo struct {
    // SuccessfullyRolledbackInstanceCount - READ-ONLY; The number of instances which have been successfully rolled back.
    SuccessfullyRolledbackInstanceCount *int32 `json:"successfullyRolledbackInstanceCount,omitempty"`
    // FailedRolledbackInstanceCount - READ-ONLY; The number of instances which failed to rollback.
    FailedRolledbackInstanceCount *int32 `json:"failedRolledbackInstanceCount,omitempty"`
    // RollbackError - READ-ONLY; Error details if OS rollback failed.
    RollbackError *APIError `json:"rollbackError,omitempty"`
}

func (RollbackStatusInfo) MarshalJSON

func (rsi RollbackStatusInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RollbackStatusInfo.

type RollingUpgradeActionType

RollingUpgradeActionType enumerates the values for rolling upgrade action type.

type RollingUpgradeActionType string
const (
    // RollingUpgradeActionTypeCancel ...
    RollingUpgradeActionTypeCancel RollingUpgradeActionType = "Cancel"
    // RollingUpgradeActionTypeStart ...
    RollingUpgradeActionTypeStart RollingUpgradeActionType = "Start"
)

func PossibleRollingUpgradeActionTypeValues

func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType

PossibleRollingUpgradeActionTypeValues returns an array of possible values for the RollingUpgradeActionType const type.

type RollingUpgradePolicy

RollingUpgradePolicy the configuration parameters used while performing a rolling upgrade.

type RollingUpgradePolicy struct {
    // MaxBatchInstancePercent - The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%.
    MaxBatchInstancePercent *int32 `json:"maxBatchInstancePercent,omitempty"`
    // MaxUnhealthyInstancePercent - The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%.
    MaxUnhealthyInstancePercent *int32 `json:"maxUnhealthyInstancePercent,omitempty"`
    // MaxUnhealthyUpgradedInstancePercent - The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%.
    MaxUnhealthyUpgradedInstancePercent *int32 `json:"maxUnhealthyUpgradedInstancePercent,omitempty"`
    // PauseTimeBetweenBatches - The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S).
    PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches,omitempty"`
    // EnableCrossZoneUpgrade - Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size.
    EnableCrossZoneUpgrade *bool `json:"enableCrossZoneUpgrade,omitempty"`
    // PrioritizeUnhealthyInstances - Upgrade all unhealthy instances in a scale set before any healthy instances.
    PrioritizeUnhealthyInstances *bool `json:"prioritizeUnhealthyInstances,omitempty"`
}

type RollingUpgradeProgressInfo

RollingUpgradeProgressInfo information about the number of virtual machine instances in each upgrade state.

type RollingUpgradeProgressInfo struct {
    // SuccessfulInstanceCount - READ-ONLY; The number of instances that have been successfully upgraded.
    SuccessfulInstanceCount *int32 `json:"successfulInstanceCount,omitempty"`
    // FailedInstanceCount - READ-ONLY; The number of instances that have failed to be upgraded successfully.
    FailedInstanceCount *int32 `json:"failedInstanceCount,omitempty"`
    // InProgressInstanceCount - READ-ONLY; The number of instances that are currently being upgraded.
    InProgressInstanceCount *int32 `json:"inProgressInstanceCount,omitempty"`
    // PendingInstanceCount - READ-ONLY; The number of instances that have not yet begun to be upgraded.
    PendingInstanceCount *int32 `json:"pendingInstanceCount,omitempty"`
}

func (RollingUpgradeProgressInfo) MarshalJSON

func (rupi RollingUpgradeProgressInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RollingUpgradeProgressInfo.

type RollingUpgradeRunningStatus

RollingUpgradeRunningStatus information about the current running state of the overall upgrade.

type RollingUpgradeRunningStatus struct {
    // Code - READ-ONLY; Code indicating the current status of the upgrade. Possible values include: 'RollingUpgradeStatusCodeRollingForward', 'RollingUpgradeStatusCodeCancelled', 'RollingUpgradeStatusCodeCompleted', 'RollingUpgradeStatusCodeFaulted'
    Code RollingUpgradeStatusCode `json:"code,omitempty"`
    // StartTime - READ-ONLY; Start time of the upgrade.
    StartTime *date.Time `json:"startTime,omitempty"`
    // LastAction - READ-ONLY; The last action performed on the rolling upgrade. Possible values include: 'RollingUpgradeActionTypeStart', 'RollingUpgradeActionTypeCancel'
    LastAction RollingUpgradeActionType `json:"lastAction,omitempty"`
    // LastActionTime - READ-ONLY; Last action time of the upgrade.
    LastActionTime *date.Time `json:"lastActionTime,omitempty"`
}

func (RollingUpgradeRunningStatus) MarshalJSON

func (rurs RollingUpgradeRunningStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RollingUpgradeRunningStatus.

type RollingUpgradeStatusCode

RollingUpgradeStatusCode enumerates the values for rolling upgrade status code.

type RollingUpgradeStatusCode string
const (
    // RollingUpgradeStatusCodeCancelled ...
    RollingUpgradeStatusCodeCancelled RollingUpgradeStatusCode = "Cancelled"
    // RollingUpgradeStatusCodeCompleted ...
    RollingUpgradeStatusCodeCompleted RollingUpgradeStatusCode = "Completed"
    // RollingUpgradeStatusCodeFaulted ...
    RollingUpgradeStatusCodeFaulted RollingUpgradeStatusCode = "Faulted"
    // RollingUpgradeStatusCodeRollingForward ...
    RollingUpgradeStatusCodeRollingForward RollingUpgradeStatusCode = "RollingForward"
)

func PossibleRollingUpgradeStatusCodeValues

func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode

PossibleRollingUpgradeStatusCodeValues returns an array of possible values for the RollingUpgradeStatusCode const type.

type RollingUpgradeStatusInfo

RollingUpgradeStatusInfo the status of the latest virtual machine scale set rolling upgrade.

type RollingUpgradeStatusInfo struct {
    autorest.Response                   `json:"-"`
    *RollingUpgradeStatusInfoProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (RollingUpgradeStatusInfo) MarshalJSON

func (rusi RollingUpgradeStatusInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RollingUpgradeStatusInfo.

func (*RollingUpgradeStatusInfo) UnmarshalJSON

func (rusi *RollingUpgradeStatusInfo) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RollingUpgradeStatusInfo struct.

type RollingUpgradeStatusInfoProperties

RollingUpgradeStatusInfoProperties the status of the latest virtual machine scale set rolling upgrade.

type RollingUpgradeStatusInfoProperties struct {
    // Policy - READ-ONLY; The rolling upgrade policies applied for this upgrade.
    Policy *RollingUpgradePolicy `json:"policy,omitempty"`
    // RunningStatus - READ-ONLY; Information about the current running state of the overall upgrade.
    RunningStatus *RollingUpgradeRunningStatus `json:"runningStatus,omitempty"`
    // Progress - READ-ONLY; Information about the number of virtual machine instances in each upgrade state.
    Progress *RollingUpgradeProgressInfo `json:"progress,omitempty"`
    // Error - READ-ONLY; Error details for this upgrade, if there are any.
    Error *APIError `json:"error,omitempty"`
}

func (RollingUpgradeStatusInfoProperties) MarshalJSON

func (rusip RollingUpgradeStatusInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RollingUpgradeStatusInfoProperties.

type RunCommandDocument

RunCommandDocument describes the properties of a Run Command.

type RunCommandDocument struct {
    autorest.Response `json:"-"`
    // Script - The script to be executed.
    Script *[]string `json:"script,omitempty"`
    // Parameters - The parameters used by the script.
    Parameters *[]RunCommandParameterDefinition `json:"parameters,omitempty"`
    // Schema - The VM run command schema.
    Schema *string `json:"$schema,omitempty"`
    // ID - The VM run command id.
    ID *string `json:"id,omitempty"`
    // OsType - The Operating System type. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // Label - The VM run command label.
    Label *string `json:"label,omitempty"`
    // Description - The VM run command description.
    Description *string `json:"description,omitempty"`
}

type RunCommandDocumentBase

RunCommandDocumentBase describes the properties of a Run Command metadata.

type RunCommandDocumentBase struct {
    // Schema - The VM run command schema.
    Schema *string `json:"$schema,omitempty"`
    // ID - The VM run command id.
    ID *string `json:"id,omitempty"`
    // OsType - The Operating System type. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // Label - The VM run command label.
    Label *string `json:"label,omitempty"`
    // Description - The VM run command description.
    Description *string `json:"description,omitempty"`
}

type RunCommandInput

RunCommandInput capture Virtual Machine parameters.

type RunCommandInput struct {
    // CommandID - The run command id.
    CommandID *string `json:"commandId,omitempty"`
    // Script - Optional. The script to be executed.  When this value is given, the given script will override the default script of the command.
    Script *[]string `json:"script,omitempty"`
    // Parameters - The run command parameters.
    Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"`
}

type RunCommandInputParameter

RunCommandInputParameter describes the properties of a run command parameter.

type RunCommandInputParameter struct {
    // Name - The run command parameter name.
    Name *string `json:"name,omitempty"`
    // Value - The run command parameter value.
    Value *string `json:"value,omitempty"`
}

type RunCommandListResult

RunCommandListResult the List Virtual Machine operation response.

type RunCommandListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of virtual machine run commands.
    Value *[]RunCommandDocumentBase `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of run commands. Call ListNext() with this to fetch the next page of run commands.
    NextLink *string `json:"nextLink,omitempty"`
}

func (RunCommandListResult) IsEmpty

func (rclr RunCommandListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RunCommandListResultIterator

RunCommandListResultIterator provides access to a complete listing of RunCommandDocumentBase values.

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

func NewRunCommandListResultIterator

func NewRunCommandListResultIterator(page RunCommandListResultPage) RunCommandListResultIterator

Creates a new instance of the RunCommandListResultIterator type.

func (*RunCommandListResultIterator) Next

func (iter *RunCommandListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RunCommandListResultIterator) NextWithContext

func (iter *RunCommandListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (RunCommandListResultIterator) NotDone

func (iter RunCommandListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (RunCommandListResultIterator) Response

func (iter RunCommandListResultIterator) Response() RunCommandListResult

Response returns the raw server response from the last page request.

func (RunCommandListResultIterator) Value

func (iter RunCommandListResultIterator) Value() RunCommandDocumentBase

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type RunCommandListResultPage

RunCommandListResultPage contains a page of RunCommandDocumentBase values.

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

func NewRunCommandListResultPage

func NewRunCommandListResultPage(cur RunCommandListResult, getNextPage func(context.Context, RunCommandListResult) (RunCommandListResult, error)) RunCommandListResultPage

Creates a new instance of the RunCommandListResultPage type.

func (*RunCommandListResultPage) Next

func (page *RunCommandListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*RunCommandListResultPage) NextWithContext

func (page *RunCommandListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (RunCommandListResultPage) NotDone

func (page RunCommandListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (RunCommandListResultPage) Response

func (page RunCommandListResultPage) Response() RunCommandListResult

Response returns the raw server response from the last page request.

func (RunCommandListResultPage) Values

func (page RunCommandListResultPage) Values() []RunCommandDocumentBase

Values returns the slice of values for the current page or nil if there are no values.

type RunCommandParameterDefinition

RunCommandParameterDefinition describes the properties of a run command parameter.

type RunCommandParameterDefinition struct {
    // Name - The run command parameter name.
    Name *string `json:"name,omitempty"`
    // Type - The run command parameter type.
    Type *string `json:"type,omitempty"`
    // DefaultValue - The run command parameter default value.
    DefaultValue *string `json:"defaultValue,omitempty"`
    // Required - The run command parameter required.
    Required *bool `json:"required,omitempty"`
}

type RunCommandResult

RunCommandResult ...

type RunCommandResult struct {
    autorest.Response `json:"-"`
    // Value - Run command operation response.
    Value *[]InstanceViewStatus `json:"value,omitempty"`
}

type SSHConfiguration

SSHConfiguration SSH configuration for Linux based VMs running on Azure

type SSHConfiguration struct {
    // PublicKeys - The list of SSH public keys used to authenticate with linux based VMs.
    PublicKeys *[]SSHPublicKey `json:"publicKeys,omitempty"`
}

type SSHPublicKey

SSHPublicKey contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.

type SSHPublicKey struct {
    // Path - Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    Path *string `json:"path,omitempty"`
    // KeyData - SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    KeyData *string `json:"keyData,omitempty"`
}

type SSHPublicKeyGenerateKeyPairResult

SSHPublicKeyGenerateKeyPairResult response from generation of an SSH key pair.

type SSHPublicKeyGenerateKeyPairResult struct {
    autorest.Response `json:"-"`
    // PrivateKey - Private key portion of the key pair used to authenticate to a virtual machine through ssh. The private key is returned in RFC3447 format and should be treated as a secret.
    PrivateKey *string `json:"privateKey,omitempty"`
    // PublicKey - Public key portion of the key pair used to authenticate to a virtual machine through ssh. The public key is in ssh-rsa format.
    PublicKey *string `json:"publicKey,omitempty"`
    // ID - The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{SshPublicKeyName}
    ID *string `json:"id,omitempty"`
}

type SSHPublicKeyResource

SSHPublicKeyResource specifies information about the SSH public key.

type SSHPublicKeyResource struct {
    autorest.Response `json:"-"`
    // SSHPublicKeyResourceProperties - Properties of the SSH public key.
    *SSHPublicKeyResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (SSHPublicKeyResource) MarshalJSON

func (spkr SSHPublicKeyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SSHPublicKeyResource.

func (*SSHPublicKeyResource) UnmarshalJSON

func (spkr *SSHPublicKeyResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SSHPublicKeyResource struct.

type SSHPublicKeyResourceProperties

SSHPublicKeyResourceProperties properties of the SSH public key.

type SSHPublicKeyResourceProperties struct {
    // PublicKey - SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format.
    PublicKey *string `json:"publicKey,omitempty"`
}

type SSHPublicKeyUpdateResource

SSHPublicKeyUpdateResource specifies information about the SSH public key.

type SSHPublicKeyUpdateResource struct {
    // SSHPublicKeyResourceProperties - Properties of the SSH public key.
    *SSHPublicKeyResourceProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (SSHPublicKeyUpdateResource) MarshalJSON

func (spkur SSHPublicKeyUpdateResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SSHPublicKeyUpdateResource.

func (*SSHPublicKeyUpdateResource) UnmarshalJSON

func (spkur *SSHPublicKeyUpdateResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SSHPublicKeyUpdateResource struct.

type SSHPublicKeysClient

SSHPublicKeysClient is the compute Client

type SSHPublicKeysClient struct {
    BaseClient
}

func NewSSHPublicKeysClient

func NewSSHPublicKeysClient(subscriptionID string) SSHPublicKeysClient

NewSSHPublicKeysClient creates an instance of the SSHPublicKeysClient client.

func NewSSHPublicKeysClientWithBaseURI

func NewSSHPublicKeysClientWithBaseURI(baseURI string, subscriptionID string) SSHPublicKeysClient

NewSSHPublicKeysClientWithBaseURI creates an instance of the SSHPublicKeysClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SSHPublicKeysClient) Create

func (client SSHPublicKeysClient) Create(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyResource) (result SSHPublicKeyResource, err error)

Create creates a new SSH public key resource. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key. parameters - parameters supplied to create the SSH public key.

func (SSHPublicKeysClient) CreatePreparer

func (client SSHPublicKeysClient) CreatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SSHPublicKeysClient) CreateResponder

func (client SSHPublicKeysClient) CreateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (SSHPublicKeysClient) CreateSender

func (client SSHPublicKeysClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (SSHPublicKeysClient) Delete

func (client SSHPublicKeysClient) Delete(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result autorest.Response, err error)

Delete delete an SSH public key. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key.

func (SSHPublicKeysClient) DeletePreparer

func (client SSHPublicKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SSHPublicKeysClient) DeleteResponder

func (client SSHPublicKeysClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SSHPublicKeysClient) DeleteSender

func (client SSHPublicKeysClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SSHPublicKeysClient) GenerateKeyPair

func (client SSHPublicKeysClient) GenerateKeyPair(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyGenerateKeyPairResult, err error)

GenerateKeyPair generates and returns a public/private key pair and populates the SSH public key resource with the public key. The length of the key will be 3072 bits. This operation can only be performed once per SSH public key resource. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key.

func (SSHPublicKeysClient) GenerateKeyPairPreparer

func (client SSHPublicKeysClient) GenerateKeyPairPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)

GenerateKeyPairPreparer prepares the GenerateKeyPair request.

func (SSHPublicKeysClient) GenerateKeyPairResponder

func (client SSHPublicKeysClient) GenerateKeyPairResponder(resp *http.Response) (result SSHPublicKeyGenerateKeyPairResult, err error)

GenerateKeyPairResponder handles the response to the GenerateKeyPair request. The method always closes the http.Response Body.

func (SSHPublicKeysClient) GenerateKeyPairSender

func (client SSHPublicKeysClient) GenerateKeyPairSender(req *http.Request) (*http.Response, error)

GenerateKeyPairSender sends the GenerateKeyPair request. The method will close the http.Response Body if it receives an error.

func (SSHPublicKeysClient) Get

func (client SSHPublicKeysClient) Get(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (result SSHPublicKeyResource, err error)

Get retrieves information about an SSH public key. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key.

func (SSHPublicKeysClient) GetPreparer

func (client SSHPublicKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SSHPublicKeysClient) GetResponder

func (client SSHPublicKeysClient) GetResponder(resp *http.Response) (result SSHPublicKeyResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SSHPublicKeysClient) GetSender

func (client SSHPublicKeysClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SSHPublicKeysClient) ListByResourceGroup

func (client SSHPublicKeysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultPage, err error)

ListByResourceGroup lists all of the SSH public keys in the specified resource group. Use the nextLink property in the response to get the next page of SSH public keys. Parameters: resourceGroupName - the name of the resource group.

func (SSHPublicKeysClient) ListByResourceGroupComplete

func (client SSHPublicKeysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SSHPublicKeysGroupListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SSHPublicKeysClient) ListByResourceGroupPreparer

func (client SSHPublicKeysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SSHPublicKeysClient) ListByResourceGroupResponder

func (client SSHPublicKeysClient) ListByResourceGroupResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SSHPublicKeysClient) ListByResourceGroupSender

func (client SSHPublicKeysClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (SSHPublicKeysClient) ListBySubscription

func (client SSHPublicKeysClient) ListBySubscription(ctx context.Context) (result SSHPublicKeysGroupListResultPage, err error)

ListBySubscription lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.

func (SSHPublicKeysClient) ListBySubscriptionComplete

func (client SSHPublicKeysClient) ListBySubscriptionComplete(ctx context.Context) (result SSHPublicKeysGroupListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (SSHPublicKeysClient) ListBySubscriptionPreparer

func (client SSHPublicKeysClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SSHPublicKeysClient) ListBySubscriptionResponder

func (client SSHPublicKeysClient) ListBySubscriptionResponder(resp *http.Response) (result SSHPublicKeysGroupListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (SSHPublicKeysClient) ListBySubscriptionSender

func (client SSHPublicKeysClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (SSHPublicKeysClient) Update

func (client SSHPublicKeysClient) Update(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyUpdateResource) (result SSHPublicKeyResource, err error)

Update updates a new SSH public key resource. Parameters: resourceGroupName - the name of the resource group. SSHPublicKeyName - the name of the SSH public key. parameters - parameters supplied to update the SSH public key.

func (SSHPublicKeysClient) UpdatePreparer

func (client SSHPublicKeysClient) UpdatePreparer(ctx context.Context, resourceGroupName string, SSHPublicKeyName string, parameters SSHPublicKeyUpdateResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SSHPublicKeysClient) UpdateResponder

func (client SSHPublicKeysClient) UpdateResponder(resp *http.Response) (result SSHPublicKeyResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SSHPublicKeysClient) UpdateSender

func (client SSHPublicKeysClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SSHPublicKeysGroupListResult

SSHPublicKeysGroupListResult the list SSH public keys operation response.

type SSHPublicKeysGroupListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of SSH public keys
    Value *[]SSHPublicKeyResource `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to fetch the next page of SSH public keys.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SSHPublicKeysGroupListResult) IsEmpty

func (spkglr SSHPublicKeysGroupListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SSHPublicKeysGroupListResultIterator

SSHPublicKeysGroupListResultIterator provides access to a complete listing of SSHPublicKeyResource values.

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

func NewSSHPublicKeysGroupListResultIterator

func NewSSHPublicKeysGroupListResultIterator(page SSHPublicKeysGroupListResultPage) SSHPublicKeysGroupListResultIterator

Creates a new instance of the SSHPublicKeysGroupListResultIterator type.

func (*SSHPublicKeysGroupListResultIterator) Next

func (iter *SSHPublicKeysGroupListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SSHPublicKeysGroupListResultIterator) NextWithContext

func (iter *SSHPublicKeysGroupListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SSHPublicKeysGroupListResultIterator) NotDone

func (iter SSHPublicKeysGroupListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SSHPublicKeysGroupListResultIterator) Response

func (iter SSHPublicKeysGroupListResultIterator) Response() SSHPublicKeysGroupListResult

Response returns the raw server response from the last page request.

func (SSHPublicKeysGroupListResultIterator) Value

func (iter SSHPublicKeysGroupListResultIterator) Value() SSHPublicKeyResource

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SSHPublicKeysGroupListResultPage

SSHPublicKeysGroupListResultPage contains a page of SSHPublicKeyResource values.

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

func NewSSHPublicKeysGroupListResultPage

func NewSSHPublicKeysGroupListResultPage(cur SSHPublicKeysGroupListResult, getNextPage func(context.Context, SSHPublicKeysGroupListResult) (SSHPublicKeysGroupListResult, error)) SSHPublicKeysGroupListResultPage

Creates a new instance of the SSHPublicKeysGroupListResultPage type.

func (*SSHPublicKeysGroupListResultPage) Next

func (page *SSHPublicKeysGroupListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SSHPublicKeysGroupListResultPage) NextWithContext

func (page *SSHPublicKeysGroupListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SSHPublicKeysGroupListResultPage) NotDone

func (page SSHPublicKeysGroupListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SSHPublicKeysGroupListResultPage) Response

func (page SSHPublicKeysGroupListResultPage) Response() SSHPublicKeysGroupListResult

Response returns the raw server response from the last page request.

func (SSHPublicKeysGroupListResultPage) Values

func (page SSHPublicKeysGroupListResultPage) Values() []SSHPublicKeyResource

Values returns the slice of values for the current page or nil if there are no values.

type ScaleInPolicy

ScaleInPolicy describes a scale-in policy for a virtual machine scale set.

type ScaleInPolicy struct {
    // Rules - The rules to be followed when scaling-in a virtual machine scale set. <br><br> Possible values are: <br><br> **Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. <br><br> **OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. <br><br> **NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal. <br><br>
    Rules *[]VirtualMachineScaleSetScaleInRules `json:"rules,omitempty"`
    // ForceDeletion - This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview)
    ForceDeletion *bool `json:"forceDeletion,omitempty"`
}

type ScheduledEventsProfile

ScheduledEventsProfile ...

type ScheduledEventsProfile struct {
    // TerminateNotificationProfile - Specifies Terminate Scheduled Event related configurations.
    TerminateNotificationProfile *TerminateNotificationProfile `json:"terminateNotificationProfile,omitempty"`
}

type SecurityEncryptionTypes

SecurityEncryptionTypes enumerates the values for security encryption types.

type SecurityEncryptionTypes string
const (
    // SecurityEncryptionTypesDiskWithVMGuestState ...
    SecurityEncryptionTypesDiskWithVMGuestState SecurityEncryptionTypes = "DiskWithVMGuestState"
    // SecurityEncryptionTypesVMGuestStateOnly ...
    SecurityEncryptionTypesVMGuestStateOnly SecurityEncryptionTypes = "VMGuestStateOnly"
)

func PossibleSecurityEncryptionTypesValues

func PossibleSecurityEncryptionTypesValues() []SecurityEncryptionTypes

PossibleSecurityEncryptionTypesValues returns an array of possible values for the SecurityEncryptionTypes const type.

type SecurityProfile

SecurityProfile specifies the Security profile settings for the virtual machine or virtual machine scale set.

type SecurityProfile struct {
    // UefiSettings - Specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01
    UefiSettings *UefiSettings `json:"uefiSettings,omitempty"`
    // EncryptionAtHost - This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource.
    EncryptionAtHost *bool `json:"encryptionAtHost,omitempty"`
    // SecurityType - Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set. Possible values include: 'SecurityTypesTrustedLaunch', 'SecurityTypesConfidentialVM'
    SecurityType SecurityTypes `json:"securityType,omitempty"`
}

type SecurityTypes

SecurityTypes enumerates the values for security types.

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

func PossibleSecurityTypesValues

func PossibleSecurityTypesValues() []SecurityTypes

PossibleSecurityTypesValues returns an array of possible values for the SecurityTypes const type.

type SelectPermissions

SelectPermissions enumerates the values for select permissions.

type SelectPermissions string
const (
    // SelectPermissionsPermissions ...
    SelectPermissionsPermissions SelectPermissions = "Permissions"
)

func PossibleSelectPermissionsValues

func PossibleSelectPermissionsValues() []SelectPermissions

PossibleSelectPermissionsValues returns an array of possible values for the SelectPermissions const type.

type SettingNames

SettingNames enumerates the values for setting names.

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

func PossibleSettingNamesValues

func PossibleSettingNamesValues() []SettingNames

PossibleSettingNamesValues returns an array of possible values for the SettingNames const type.

type ShareInfoElement

ShareInfoElement ...

type ShareInfoElement struct {
    // VMURI - READ-ONLY; A relative URI containing the ID of the VM that has the disk attached.
    VMURI *string `json:"vmUri,omitempty"`
}

func (ShareInfoElement) MarshalJSON

func (sie ShareInfoElement) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ShareInfoElement.

type SharedGalleriesClient

SharedGalleriesClient is the compute Client

type SharedGalleriesClient struct {
    BaseClient
}

func NewSharedGalleriesClient

func NewSharedGalleriesClient(subscriptionID string) SharedGalleriesClient

NewSharedGalleriesClient creates an instance of the SharedGalleriesClient client.

func NewSharedGalleriesClientWithBaseURI

func NewSharedGalleriesClientWithBaseURI(baseURI string, subscriptionID string) SharedGalleriesClient

NewSharedGalleriesClientWithBaseURI creates an instance of the SharedGalleriesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SharedGalleriesClient) Get

func (client SharedGalleriesClient) Get(ctx context.Context, location string, galleryUniqueName string) (result SharedGallery, err error)

Get get a shared gallery by subscription id or tenant id. Parameters: location - resource location. galleryUniqueName - the unique name of the Shared Gallery.

func (SharedGalleriesClient) GetPreparer

func (client SharedGalleriesClient) GetPreparer(ctx context.Context, location string, galleryUniqueName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SharedGalleriesClient) GetResponder

func (client SharedGalleriesClient) GetResponder(resp *http.Response) (result SharedGallery, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SharedGalleriesClient) GetSender

func (client SharedGalleriesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SharedGalleriesClient) List

func (client SharedGalleriesClient) List(ctx context.Context, location string, sharedTo SharedToValues) (result SharedGalleryListPage, err error)

List list shared galleries by subscription id or tenant id. Parameters: location - resource location. sharedTo - the query parameter to decide what shared galleries to fetch when doing listing operations.

func (SharedGalleriesClient) ListComplete

func (client SharedGalleriesClient) ListComplete(ctx context.Context, location string, sharedTo SharedToValues) (result SharedGalleryListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SharedGalleriesClient) ListPreparer

func (client SharedGalleriesClient) ListPreparer(ctx context.Context, location string, sharedTo SharedToValues) (*http.Request, error)

ListPreparer prepares the List request.

func (SharedGalleriesClient) ListResponder

func (client SharedGalleriesClient) ListResponder(resp *http.Response) (result SharedGalleryList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SharedGalleriesClient) ListSender

func (client SharedGalleriesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SharedGallery

SharedGallery specifies information about the Shared Gallery that you want to create or update.

type SharedGallery struct {
    autorest.Response        `json:"-"`
    *SharedGalleryIdentifier `json:"identifier,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
}

func (SharedGallery) MarshalJSON

func (sg SharedGallery) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SharedGallery.

func (*SharedGallery) UnmarshalJSON

func (sg *SharedGallery) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SharedGallery struct.

type SharedGalleryIdentifier

SharedGalleryIdentifier the identifier information of shared gallery.

type SharedGalleryIdentifier struct {
    // UniqueID - The unique id of this shared gallery.
    UniqueID *string `json:"uniqueId,omitempty"`
}

type SharedGalleryImage

SharedGalleryImage specifies information about the gallery image definition that you want to create or update.

type SharedGalleryImage struct {
    autorest.Response             `json:"-"`
    *SharedGalleryImageProperties `json:"properties,omitempty"`
    *SharedGalleryIdentifier      `json:"identifier,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
}

func (SharedGalleryImage) MarshalJSON

func (sgi SharedGalleryImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SharedGalleryImage.

func (*SharedGalleryImage) UnmarshalJSON

func (sgi *SharedGalleryImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SharedGalleryImage struct.

type SharedGalleryImageList

SharedGalleryImageList the List Shared Gallery Images operation response.

type SharedGalleryImageList struct {
    autorest.Response `json:"-"`
    // Value - A list of shared gallery images.
    Value *[]SharedGalleryImage `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of shared gallery images. Call ListNext() with this to fetch the next page of shared gallery images.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SharedGalleryImageList) IsEmpty

func (sgil SharedGalleryImageList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SharedGalleryImageListIterator

SharedGalleryImageListIterator provides access to a complete listing of SharedGalleryImage values.

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

func NewSharedGalleryImageListIterator

func NewSharedGalleryImageListIterator(page SharedGalleryImageListPage) SharedGalleryImageListIterator

Creates a new instance of the SharedGalleryImageListIterator type.

func (*SharedGalleryImageListIterator) Next

func (iter *SharedGalleryImageListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SharedGalleryImageListIterator) NextWithContext

func (iter *SharedGalleryImageListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SharedGalleryImageListIterator) NotDone

func (iter SharedGalleryImageListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SharedGalleryImageListIterator) Response

func (iter SharedGalleryImageListIterator) Response() SharedGalleryImageList

Response returns the raw server response from the last page request.

func (SharedGalleryImageListIterator) Value

func (iter SharedGalleryImageListIterator) Value() SharedGalleryImage

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SharedGalleryImageListPage

SharedGalleryImageListPage contains a page of SharedGalleryImage values.

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

func NewSharedGalleryImageListPage

func NewSharedGalleryImageListPage(cur SharedGalleryImageList, getNextPage func(context.Context, SharedGalleryImageList) (SharedGalleryImageList, error)) SharedGalleryImageListPage

Creates a new instance of the SharedGalleryImageListPage type.

func (*SharedGalleryImageListPage) Next

func (page *SharedGalleryImageListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SharedGalleryImageListPage) NextWithContext

func (page *SharedGalleryImageListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SharedGalleryImageListPage) NotDone

func (page SharedGalleryImageListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SharedGalleryImageListPage) Response

func (page SharedGalleryImageListPage) Response() SharedGalleryImageList

Response returns the raw server response from the last page request.

func (SharedGalleryImageListPage) Values

func (page SharedGalleryImageListPage) Values() []SharedGalleryImage

Values returns the slice of values for the current page or nil if there are no values.

type SharedGalleryImageProperties

SharedGalleryImageProperties describes the properties of a gallery image definition.

type SharedGalleryImageProperties struct {
    // OsType - This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // OsState - This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'OperatingSystemStateTypesGeneralized', 'OperatingSystemStateTypesSpecialized'
    OsState OperatingSystemStateTypes `json:"osState,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time                       `json:"endOfLifeDate,omitempty"`
    Identifier    *GalleryImageIdentifier          `json:"identifier,omitempty"`
    Recommended   *RecommendedMachineConfiguration `json:"recommended,omitempty"`
    Disallowed    *Disallowed                      `json:"disallowed,omitempty"`
    // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'HyperVGenerationV1', 'HyperVGenerationV2'
    HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
    // Features - A list of gallery image features.
    Features     *[]GalleryImageFeature `json:"features,omitempty"`
    PurchasePlan *ImagePurchasePlan     `json:"purchasePlan,omitempty"`
}

type SharedGalleryImageVersion

SharedGalleryImageVersion specifies information about the gallery image version that you want to create or update.

type SharedGalleryImageVersion struct {
    autorest.Response                    `json:"-"`
    *SharedGalleryImageVersionProperties `json:"properties,omitempty"`
    *SharedGalleryIdentifier             `json:"identifier,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
}

func (SharedGalleryImageVersion) MarshalJSON

func (sgiv SharedGalleryImageVersion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SharedGalleryImageVersion.

func (*SharedGalleryImageVersion) UnmarshalJSON

func (sgiv *SharedGalleryImageVersion) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SharedGalleryImageVersion struct.

type SharedGalleryImageVersionList

SharedGalleryImageVersionList the List Shared Gallery Image versions operation response.

type SharedGalleryImageVersionList struct {
    autorest.Response `json:"-"`
    // Value - A list of shared gallery images versions.
    Value *[]SharedGalleryImageVersion `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of shared gallery image versions. Call ListNext() with this to fetch the next page of shared gallery image versions.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SharedGalleryImageVersionList) IsEmpty

func (sgivl SharedGalleryImageVersionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SharedGalleryImageVersionListIterator

SharedGalleryImageVersionListIterator provides access to a complete listing of SharedGalleryImageVersion values.

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

func NewSharedGalleryImageVersionListIterator

func NewSharedGalleryImageVersionListIterator(page SharedGalleryImageVersionListPage) SharedGalleryImageVersionListIterator

Creates a new instance of the SharedGalleryImageVersionListIterator type.

func (*SharedGalleryImageVersionListIterator) Next

func (iter *SharedGalleryImageVersionListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SharedGalleryImageVersionListIterator) NextWithContext

func (iter *SharedGalleryImageVersionListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SharedGalleryImageVersionListIterator) NotDone

func (iter SharedGalleryImageVersionListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SharedGalleryImageVersionListIterator) Response

func (iter SharedGalleryImageVersionListIterator) Response() SharedGalleryImageVersionList

Response returns the raw server response from the last page request.

func (SharedGalleryImageVersionListIterator) Value

func (iter SharedGalleryImageVersionListIterator) Value() SharedGalleryImageVersion

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SharedGalleryImageVersionListPage

SharedGalleryImageVersionListPage contains a page of SharedGalleryImageVersion values.

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

func NewSharedGalleryImageVersionListPage

func NewSharedGalleryImageVersionListPage(cur SharedGalleryImageVersionList, getNextPage func(context.Context, SharedGalleryImageVersionList) (SharedGalleryImageVersionList, error)) SharedGalleryImageVersionListPage

Creates a new instance of the SharedGalleryImageVersionListPage type.

func (*SharedGalleryImageVersionListPage) Next

func (page *SharedGalleryImageVersionListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SharedGalleryImageVersionListPage) NextWithContext

func (page *SharedGalleryImageVersionListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SharedGalleryImageVersionListPage) NotDone

func (page SharedGalleryImageVersionListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SharedGalleryImageVersionListPage) Response

func (page SharedGalleryImageVersionListPage) Response() SharedGalleryImageVersionList

Response returns the raw server response from the last page request.

func (SharedGalleryImageVersionListPage) Values

func (page SharedGalleryImageVersionListPage) Values() []SharedGalleryImageVersion

Values returns the slice of values for the current page or nil if there are no values.

type SharedGalleryImageVersionProperties

SharedGalleryImageVersionProperties describes the properties of a gallery image version.

type SharedGalleryImageVersionProperties struct {
    // PublishedDate - The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
    PublishedDate *date.Time `json:"publishedDate,omitempty"`
    // EndOfLifeDate - The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
    EndOfLifeDate *date.Time `json:"endOfLifeDate,omitempty"`
}

type SharedGalleryImageVersionsClient

SharedGalleryImageVersionsClient is the compute Client

type SharedGalleryImageVersionsClient struct {
    BaseClient
}

func NewSharedGalleryImageVersionsClient

func NewSharedGalleryImageVersionsClient(subscriptionID string) SharedGalleryImageVersionsClient

NewSharedGalleryImageVersionsClient creates an instance of the SharedGalleryImageVersionsClient client.

func NewSharedGalleryImageVersionsClientWithBaseURI

func NewSharedGalleryImageVersionsClientWithBaseURI(baseURI string, subscriptionID string) SharedGalleryImageVersionsClient

NewSharedGalleryImageVersionsClientWithBaseURI creates an instance of the SharedGalleryImageVersionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SharedGalleryImageVersionsClient) Get

func (client SharedGalleryImageVersionsClient) Get(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, galleryImageVersionName string) (result SharedGalleryImageVersion, err error)

Get get a shared gallery image version by subscription id or tenant id. Parameters: location - resource location. galleryUniqueName - the unique name of the Shared Gallery. galleryImageName - the name of the Shared Gallery Image Definition from which the Image Versions are to be listed. galleryImageVersionName - the name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>

func (SharedGalleryImageVersionsClient) GetPreparer

func (client SharedGalleryImageVersionsClient) GetPreparer(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, galleryImageVersionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SharedGalleryImageVersionsClient) GetResponder

func (client SharedGalleryImageVersionsClient) GetResponder(resp *http.Response) (result SharedGalleryImageVersion, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SharedGalleryImageVersionsClient) GetSender

func (client SharedGalleryImageVersionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SharedGalleryImageVersionsClient) List

func (client SharedGalleryImageVersionsClient) List(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, sharedTo SharedToValues) (result SharedGalleryImageVersionListPage, err error)

List list shared gallery image versions by subscription id or tenant id. Parameters: location - resource location. galleryUniqueName - the unique name of the Shared Gallery. galleryImageName - the name of the Shared Gallery Image Definition from which the Image Versions are to be listed. sharedTo - the query parameter to decide what shared galleries to fetch when doing listing operations.

func (SharedGalleryImageVersionsClient) ListComplete

func (client SharedGalleryImageVersionsClient) ListComplete(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, sharedTo SharedToValues) (result SharedGalleryImageVersionListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SharedGalleryImageVersionsClient) ListPreparer

func (client SharedGalleryImageVersionsClient) ListPreparer(ctx context.Context, location string, galleryUniqueName string, galleryImageName string, sharedTo SharedToValues) (*http.Request, error)

ListPreparer prepares the List request.

func (SharedGalleryImageVersionsClient) ListResponder

func (client SharedGalleryImageVersionsClient) ListResponder(resp *http.Response) (result SharedGalleryImageVersionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SharedGalleryImageVersionsClient) ListSender

func (client SharedGalleryImageVersionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SharedGalleryImagesClient

SharedGalleryImagesClient is the compute Client

type SharedGalleryImagesClient struct {
    BaseClient
}

func NewSharedGalleryImagesClient

func NewSharedGalleryImagesClient(subscriptionID string) SharedGalleryImagesClient

NewSharedGalleryImagesClient creates an instance of the SharedGalleryImagesClient client.

func NewSharedGalleryImagesClientWithBaseURI

func NewSharedGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) SharedGalleryImagesClient

NewSharedGalleryImagesClientWithBaseURI creates an instance of the SharedGalleryImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SharedGalleryImagesClient) Get

func (client SharedGalleryImagesClient) Get(ctx context.Context, location string, galleryUniqueName string, galleryImageName string) (result SharedGalleryImage, err error)

Get get a shared gallery image by subscription id or tenant id. Parameters: location - resource location. galleryUniqueName - the unique name of the Shared Gallery. galleryImageName - the name of the Shared Gallery Image Definition from which the Image Versions are to be listed.

func (SharedGalleryImagesClient) GetPreparer

func (client SharedGalleryImagesClient) GetPreparer(ctx context.Context, location string, galleryUniqueName string, galleryImageName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SharedGalleryImagesClient) GetResponder

func (client SharedGalleryImagesClient) GetResponder(resp *http.Response) (result SharedGalleryImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SharedGalleryImagesClient) GetSender

func (client SharedGalleryImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SharedGalleryImagesClient) List

func (client SharedGalleryImagesClient) List(ctx context.Context, location string, galleryUniqueName string, sharedTo SharedToValues) (result SharedGalleryImageListPage, err error)

List list shared gallery images by subscription id or tenant id. Parameters: location - resource location. galleryUniqueName - the unique name of the Shared Gallery. sharedTo - the query parameter to decide what shared galleries to fetch when doing listing operations.

func (SharedGalleryImagesClient) ListComplete

func (client SharedGalleryImagesClient) ListComplete(ctx context.Context, location string, galleryUniqueName string, sharedTo SharedToValues) (result SharedGalleryImageListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SharedGalleryImagesClient) ListPreparer

func (client SharedGalleryImagesClient) ListPreparer(ctx context.Context, location string, galleryUniqueName string, sharedTo SharedToValues) (*http.Request, error)

ListPreparer prepares the List request.

func (SharedGalleryImagesClient) ListResponder

func (client SharedGalleryImagesClient) ListResponder(resp *http.Response) (result SharedGalleryImageList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SharedGalleryImagesClient) ListSender

func (client SharedGalleryImagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SharedGalleryList

SharedGalleryList the List Shared Galleries operation response.

type SharedGalleryList struct {
    autorest.Response `json:"-"`
    // Value - A list of shared galleries.
    Value *[]SharedGallery `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of shared galleries. Call ListNext() with this to fetch the next page of shared galleries.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SharedGalleryList) IsEmpty

func (sgl SharedGalleryList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SharedGalleryListIterator

SharedGalleryListIterator provides access to a complete listing of SharedGallery values.

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

func NewSharedGalleryListIterator

func NewSharedGalleryListIterator(page SharedGalleryListPage) SharedGalleryListIterator

Creates a new instance of the SharedGalleryListIterator type.

func (*SharedGalleryListIterator) Next

func (iter *SharedGalleryListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SharedGalleryListIterator) NextWithContext

func (iter *SharedGalleryListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SharedGalleryListIterator) NotDone

func (iter SharedGalleryListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SharedGalleryListIterator) Response

func (iter SharedGalleryListIterator) Response() SharedGalleryList

Response returns the raw server response from the last page request.

func (SharedGalleryListIterator) Value

func (iter SharedGalleryListIterator) Value() SharedGallery

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SharedGalleryListPage

SharedGalleryListPage contains a page of SharedGallery values.

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

func NewSharedGalleryListPage

func NewSharedGalleryListPage(cur SharedGalleryList, getNextPage func(context.Context, SharedGalleryList) (SharedGalleryList, error)) SharedGalleryListPage

Creates a new instance of the SharedGalleryListPage type.

func (*SharedGalleryListPage) Next

func (page *SharedGalleryListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SharedGalleryListPage) NextWithContext

func (page *SharedGalleryListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SharedGalleryListPage) NotDone

func (page SharedGalleryListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SharedGalleryListPage) Response

func (page SharedGalleryListPage) Response() SharedGalleryList

Response returns the raw server response from the last page request.

func (SharedGalleryListPage) Values

func (page SharedGalleryListPage) Values() []SharedGallery

Values returns the slice of values for the current page or nil if there are no values.

type SharedToValues

SharedToValues enumerates the values for shared to values.

type SharedToValues string
const (
    // SharedToValuesTenant ...
    SharedToValuesTenant SharedToValues = "tenant"
)

func PossibleSharedToValuesValues

func PossibleSharedToValuesValues() []SharedToValues

PossibleSharedToValuesValues returns an array of possible values for the SharedToValues const type.

type SharingProfile

SharingProfile profile for gallery sharing to subscription or tenant

type SharingProfile struct {
    // Permissions - This property allows you to specify the permission of sharing gallery. <br><br> Possible values are: <br><br> **Private** <br><br> **Groups**. Possible values include: 'GallerySharingPermissionTypesPrivate', 'GallerySharingPermissionTypesGroups'
    Permissions GallerySharingPermissionTypes `json:"permissions,omitempty"`
    // Groups - READ-ONLY; A list of sharing profile groups.
    Groups *[]SharingProfileGroup `json:"groups,omitempty"`
    // CommunityGalleryInfo - Information of community gallery if current gallery is shared to community.
    CommunityGalleryInfo interface{} `json:"communityGalleryInfo,omitempty"`
}

func (SharingProfile) MarshalJSON

func (sp SharingProfile) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SharingProfile.

type SharingProfileGroup

SharingProfileGroup group of the gallery sharing profile

type SharingProfileGroup struct {
    // Type - This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants** <br><br> **Community**. Possible values include: 'SharingProfileGroupTypesSubscriptions', 'SharingProfileGroupTypesAADTenants', 'SharingProfileGroupTypesCommunity'
    Type SharingProfileGroupTypes `json:"type,omitempty"`
    // Ids - A list of subscription/tenant ids the gallery is aimed to be shared to.
    Ids *[]string `json:"ids,omitempty"`
}

type SharingProfileGroupTypes

SharingProfileGroupTypes enumerates the values for sharing profile group types.

type SharingProfileGroupTypes string
const (
    // SharingProfileGroupTypesAADTenants ...
    SharingProfileGroupTypesAADTenants SharingProfileGroupTypes = "AADTenants"
    // SharingProfileGroupTypesCommunity ...
    SharingProfileGroupTypesCommunity SharingProfileGroupTypes = "Community"
    // SharingProfileGroupTypesSubscriptions ...
    SharingProfileGroupTypesSubscriptions SharingProfileGroupTypes = "Subscriptions"
)

func PossibleSharingProfileGroupTypesValues

func PossibleSharingProfileGroupTypesValues() []SharingProfileGroupTypes

PossibleSharingProfileGroupTypesValues returns an array of possible values for the SharingProfileGroupTypes const type.

type SharingState

SharingState enumerates the values for sharing state.

type SharingState string
const (
    // SharingStateFailed ...
    SharingStateFailed SharingState = "Failed"
    // SharingStateInProgress ...
    SharingStateInProgress SharingState = "InProgress"
    // SharingStateSucceeded ...
    SharingStateSucceeded SharingState = "Succeeded"
    // SharingStateUnknown ...
    SharingStateUnknown SharingState = "Unknown"
)

func PossibleSharingStateValues

func PossibleSharingStateValues() []SharingState

PossibleSharingStateValues returns an array of possible values for the SharingState const type.

type SharingStatus

SharingStatus sharing status of current gallery.

type SharingStatus struct {
    // AggregatedState - Aggregated sharing state of current gallery. Possible values include: 'SharingStateSucceeded', 'SharingStateInProgress', 'SharingStateFailed', 'SharingStateUnknown'
    AggregatedState SharingState `json:"aggregatedState,omitempty"`
    // Summary - Summary of all regional sharing status.
    Summary *[]RegionalSharingStatus `json:"summary,omitempty"`
}

type SharingUpdate

SharingUpdate specifies information about the gallery sharing profile update.

type SharingUpdate struct {
    autorest.Response `json:"-"`
    // OperationType - This property allows you to specify the operation type of gallery sharing update. <br><br> Possible values are: <br><br> **Add** <br><br> **Remove** <br><br> **Reset**. Possible values include: 'SharingUpdateOperationTypesAdd', 'SharingUpdateOperationTypesRemove', 'SharingUpdateOperationTypesReset', 'SharingUpdateOperationTypesEnableCommunity'
    OperationType SharingUpdateOperationTypes `json:"operationType,omitempty"`
    // Groups - A list of sharing profile groups.
    Groups *[]SharingProfileGroup `json:"groups,omitempty"`
}

type SharingUpdateOperationTypes

SharingUpdateOperationTypes enumerates the values for sharing update operation types.

type SharingUpdateOperationTypes string
const (
    // SharingUpdateOperationTypesAdd ...
    SharingUpdateOperationTypesAdd SharingUpdateOperationTypes = "Add"
    // SharingUpdateOperationTypesEnableCommunity ...
    SharingUpdateOperationTypesEnableCommunity SharingUpdateOperationTypes = "EnableCommunity"
    // SharingUpdateOperationTypesRemove ...
    SharingUpdateOperationTypesRemove SharingUpdateOperationTypes = "Remove"
    // SharingUpdateOperationTypesReset ...
    SharingUpdateOperationTypesReset SharingUpdateOperationTypes = "Reset"
)

func PossibleSharingUpdateOperationTypesValues

func PossibleSharingUpdateOperationTypesValues() []SharingUpdateOperationTypes

PossibleSharingUpdateOperationTypesValues returns an array of possible values for the SharingUpdateOperationTypes const type.

type Sku

Sku describes a virtual machine scale set sku. NOTE: If the new VM SKU is not supported on the hardware the scale set is currently on, you need to deallocate the VMs in the scale set before you modify the SKU name.

type Sku struct {
    // Name - The sku name.
    Name *string `json:"name,omitempty"`
    // Tier - Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> **Standard**<br /><br /> **Basic**
    Tier *string `json:"tier,omitempty"`
    // Capacity - Specifies the number of virtual machines in the scale set.
    Capacity *int64 `json:"capacity,omitempty"`
}

type Snapshot

Snapshot snapshot resource.

type Snapshot struct {
    autorest.Response `json:"-"`
    // ManagedBy - READ-ONLY; Unused. Always Null.
    ManagedBy *string      `json:"managedBy,omitempty"`
    Sku       *SnapshotSku `json:"sku,omitempty"`
    // ExtendedLocation - The extended location where the snapshot will be created. Extended location cannot be changed.
    ExtendedLocation    *ExtendedLocation `json:"extendedLocation,omitempty"`
    *SnapshotProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (Snapshot) MarshalJSON

func (s Snapshot) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Snapshot.

func (*Snapshot) UnmarshalJSON

func (s *Snapshot) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Snapshot struct.

type SnapshotList

SnapshotList the List Snapshots operation response.

type SnapshotList struct {
    autorest.Response `json:"-"`
    // Value - A list of snapshots.
    Value *[]Snapshot `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots.
    NextLink *string `json:"nextLink,omitempty"`
}

func (SnapshotList) IsEmpty

func (sl SnapshotList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SnapshotListIterator

SnapshotListIterator provides access to a complete listing of Snapshot values.

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

func NewSnapshotListIterator

func NewSnapshotListIterator(page SnapshotListPage) SnapshotListIterator

Creates a new instance of the SnapshotListIterator type.

func (*SnapshotListIterator) Next

func (iter *SnapshotListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SnapshotListIterator) NextWithContext

func (iter *SnapshotListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SnapshotListIterator) NotDone

func (iter SnapshotListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (SnapshotListIterator) Response

func (iter SnapshotListIterator) Response() SnapshotList

Response returns the raw server response from the last page request.

func (SnapshotListIterator) Value

func (iter SnapshotListIterator) Value() Snapshot

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SnapshotListPage

SnapshotListPage contains a page of Snapshot values.

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

func NewSnapshotListPage

func NewSnapshotListPage(cur SnapshotList, getNextPage func(context.Context, SnapshotList) (SnapshotList, error)) SnapshotListPage

Creates a new instance of the SnapshotListPage type.

func (*SnapshotListPage) Next

func (page *SnapshotListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SnapshotListPage) NextWithContext

func (page *SnapshotListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SnapshotListPage) NotDone

func (page SnapshotListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SnapshotListPage) Response

func (page SnapshotListPage) Response() SnapshotList

Response returns the raw server response from the last page request.

func (SnapshotListPage) Values

func (page SnapshotListPage) Values() []Snapshot

Values returns the slice of values for the current page or nil if there are no values.

type SnapshotProperties

SnapshotProperties snapshot resource properties.

type SnapshotProperties struct {
    // TimeCreated - READ-ONLY; The time when the snapshot was created.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
    // OsType - The Operating System type. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // HyperVGeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'HyperVGenerationV1', 'HyperVGenerationV2'
    HyperVGeneration HyperVGeneration `json:"hyperVGeneration,omitempty"`
    // PurchasePlan - Purchase plan information for the image from which the source disk for the snapshot was originally created.
    PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"`
    // SupportedCapabilities - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
    SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"`
    // CreationData - Disk source information. CreationData information cannot be changed after the disk has been created.
    CreationData *CreationData `json:"creationData,omitempty"`
    // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // DiskSizeBytes - READ-ONLY; The size of the disk in bytes. This field is read only.
    DiskSizeBytes *int64 `json:"diskSizeBytes,omitempty"`
    // DiskState - The state of the snapshot. Possible values include: 'DiskStateUnattached', 'DiskStateAttached', 'DiskStateReserved', 'DiskStateFrozen', 'DiskStateActiveSAS', 'DiskStateActiveSASFrozen', 'DiskStateReadyToUpload', 'DiskStateActiveUpload'
    DiskState DiskState `json:"diskState,omitempty"`
    // UniqueID - READ-ONLY; Unique Guid identifying the resource.
    UniqueID *string `json:"uniqueId,omitempty"`
    // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
    EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
    // ProvisioningState - READ-ONLY; The disk provisioning state.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Incremental - Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
    Incremental *bool `json:"incremental,omitempty"`
    // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
    Encryption *Encryption `json:"encryption,omitempty"`
    // NetworkAccessPolicy - Possible values include: 'NetworkAccessPolicyAllowAll', 'NetworkAccessPolicyAllowPrivate', 'NetworkAccessPolicyDenyAll'
    NetworkAccessPolicy NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`
    // DiskAccessID - ARM id of the DiskAccess resource for using private endpoints on disks.
    DiskAccessID *string `json:"diskAccessId,omitempty"`
    // SecurityProfile - Contains the security related information for the resource.
    SecurityProfile *DiskSecurityProfile `json:"securityProfile,omitempty"`
    // SupportsHibernation - Indicates the OS on a snapshot supports hibernation.
    SupportsHibernation *bool `json:"supportsHibernation,omitempty"`
    // PublicNetworkAccess - Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
    // CompletionPercent - Percentage complete for the background copy when a resource is created via the CopyStart operation.
    CompletionPercent *float64 `json:"completionPercent,omitempty"`
    // DataAccessAuthMode - Possible values include: 'DataAccessAuthModeAzureActiveDirectory', 'DataAccessAuthModeNone'
    DataAccessAuthMode DataAccessAuthMode `json:"dataAccessAuthMode,omitempty"`
}

func (SnapshotProperties) MarshalJSON

func (sp SnapshotProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotProperties.

type SnapshotSku

SnapshotSku the snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot

type SnapshotSku struct {
    // Name - The sku name. Possible values include: 'SnapshotStorageAccountTypesStandardLRS', 'SnapshotStorageAccountTypesPremiumLRS', 'SnapshotStorageAccountTypesStandardZRS'
    Name SnapshotStorageAccountTypes `json:"name,omitempty"`
    // Tier - READ-ONLY; The sku tier.
    Tier *string `json:"tier,omitempty"`
}

func (SnapshotSku) MarshalJSON

func (ss SnapshotSku) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotSku.

type SnapshotStorageAccountTypes

SnapshotStorageAccountTypes enumerates the values for snapshot storage account types.

type SnapshotStorageAccountTypes string
const (
    // SnapshotStorageAccountTypesPremiumLRS Premium SSD locally redundant storage
    SnapshotStorageAccountTypesPremiumLRS SnapshotStorageAccountTypes = "Premium_LRS"
    // SnapshotStorageAccountTypesStandardLRS Standard HDD locally redundant storage
    SnapshotStorageAccountTypesStandardLRS SnapshotStorageAccountTypes = "Standard_LRS"
    // SnapshotStorageAccountTypesStandardZRS Standard zone redundant storage
    SnapshotStorageAccountTypesStandardZRS SnapshotStorageAccountTypes = "Standard_ZRS"
)

func PossibleSnapshotStorageAccountTypesValues

func PossibleSnapshotStorageAccountTypesValues() []SnapshotStorageAccountTypes

PossibleSnapshotStorageAccountTypesValues returns an array of possible values for the SnapshotStorageAccountTypes const type.

type SnapshotUpdate

SnapshotUpdate snapshot update resource.

type SnapshotUpdate struct {
    *SnapshotUpdateProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
    Sku  *SnapshotSku       `json:"sku,omitempty"`
}

func (SnapshotUpdate) MarshalJSON

func (su SnapshotUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SnapshotUpdate.

func (*SnapshotUpdate) UnmarshalJSON

func (su *SnapshotUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SnapshotUpdate struct.

type SnapshotUpdateProperties

SnapshotUpdateProperties snapshot resource update properties.

type SnapshotUpdateProperties struct {
    // OsType - the Operating System type. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // EncryptionSettingsCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
    EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
    // Encryption - Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
    Encryption *Encryption `json:"encryption,omitempty"`
    // NetworkAccessPolicy - Possible values include: 'NetworkAccessPolicyAllowAll', 'NetworkAccessPolicyAllowPrivate', 'NetworkAccessPolicyDenyAll'
    NetworkAccessPolicy NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"`
    // DiskAccessID - ARM id of the DiskAccess resource for using private endpoints on disks.
    DiskAccessID *string `json:"diskAccessId,omitempty"`
    // SupportsHibernation - Indicates the OS on a snapshot supports hibernation.
    SupportsHibernation *bool `json:"supportsHibernation,omitempty"`
    // PublicNetworkAccess - Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
    // DataAccessAuthMode - Possible values include: 'DataAccessAuthModeAzureActiveDirectory', 'DataAccessAuthModeNone'
    DataAccessAuthMode DataAccessAuthMode `json:"dataAccessAuthMode,omitempty"`
    // SupportedCapabilities - List of supported capabilities for the image from which the OS disk was created.
    SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"`
}

type SnapshotsClient

SnapshotsClient is the compute Client

type SnapshotsClient struct {
    BaseClient
}

func NewSnapshotsClient

func NewSnapshotsClient(subscriptionID string) SnapshotsClient

NewSnapshotsClient creates an instance of the SnapshotsClient client.

func NewSnapshotsClientWithBaseURI

func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient

NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SnapshotsClient) CreateOrUpdate

func (client SnapshotsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (result SnapshotsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters. snapshot - snapshot object supplied in the body of the Put disk operation.

func (SnapshotsClient) CreateOrUpdatePreparer

func (client SnapshotsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot Snapshot) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (SnapshotsClient) CreateOrUpdateResponder

func (client SnapshotsClient) CreateOrUpdateResponder(resp *http.Response) (result Snapshot, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (SnapshotsClient) CreateOrUpdateSender

func (client SnapshotsClient) CreateOrUpdateSender(req *http.Request) (future SnapshotsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Delete

func (client SnapshotsClient) Delete(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsDeleteFuture, err error)

Delete deletes a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.

func (SnapshotsClient) DeletePreparer

func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SnapshotsClient) DeleteResponder

func (client SnapshotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (SnapshotsClient) DeleteSender

func (client SnapshotsClient) DeleteSender(req *http.Request) (future SnapshotsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Get

func (client SnapshotsClient) Get(ctx context.Context, resourceGroupName string, snapshotName string) (result Snapshot, err error)

Get gets information about a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.

func (SnapshotsClient) GetPreparer

func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SnapshotsClient) GetResponder

func (client SnapshotsClient) GetResponder(resp *http.Response) (result Snapshot, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (SnapshotsClient) GetSender

func (client SnapshotsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) GrantAccess

func (client SnapshotsClient) GrantAccess(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (result SnapshotsGrantAccessFuture, err error)

GrantAccess grants access to a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters. grantAccessData - access data object supplied in the body of the get snapshot access operation.

func (SnapshotsClient) GrantAccessPreparer

func (client SnapshotsClient) GrantAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string, grantAccessData GrantAccessData) (*http.Request, error)

GrantAccessPreparer prepares the GrantAccess request.

func (SnapshotsClient) GrantAccessResponder

func (client SnapshotsClient) GrantAccessResponder(resp *http.Response) (result AccessURI, err error)

GrantAccessResponder handles the response to the GrantAccess request. The method always closes the http.Response Body.

func (SnapshotsClient) GrantAccessSender

func (client SnapshotsClient) GrantAccessSender(req *http.Request) (future SnapshotsGrantAccessFuture, err error)

GrantAccessSender sends the GrantAccess request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) List

func (client SnapshotsClient) List(ctx context.Context) (result SnapshotListPage, err error)

List lists snapshots under a subscription.

func (SnapshotsClient) ListByResourceGroup

func (client SnapshotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SnapshotListPage, err error)

ListByResourceGroup lists snapshots under a resource group. Parameters: resourceGroupName - the name of the resource group.

func (SnapshotsClient) ListByResourceGroupComplete

func (client SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SnapshotListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (SnapshotsClient) ListByResourceGroupPreparer

func (client SnapshotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SnapshotsClient) ListByResourceGroupResponder

func (client SnapshotsClient) ListByResourceGroupResponder(resp *http.Response) (result SnapshotList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (SnapshotsClient) ListByResourceGroupSender

func (client SnapshotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) ListComplete

func (client SnapshotsClient) ListComplete(ctx context.Context) (result SnapshotListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (SnapshotsClient) ListPreparer

func (client SnapshotsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (SnapshotsClient) ListResponder

func (client SnapshotsClient) ListResponder(resp *http.Response) (result SnapshotList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SnapshotsClient) ListSender

func (client SnapshotsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) RevokeAccess

func (client SnapshotsClient) RevokeAccess(ctx context.Context, resourceGroupName string, snapshotName string) (result SnapshotsRevokeAccessFuture, err error)

RevokeAccess revokes access to a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.

func (SnapshotsClient) RevokeAccessPreparer

func (client SnapshotsClient) RevokeAccessPreparer(ctx context.Context, resourceGroupName string, snapshotName string) (*http.Request, error)

RevokeAccessPreparer prepares the RevokeAccess request.

func (SnapshotsClient) RevokeAccessResponder

func (client SnapshotsClient) RevokeAccessResponder(resp *http.Response) (result autorest.Response, err error)

RevokeAccessResponder handles the response to the RevokeAccess request. The method always closes the http.Response Body.

func (SnapshotsClient) RevokeAccessSender

func (client SnapshotsClient) RevokeAccessSender(req *http.Request) (future SnapshotsRevokeAccessFuture, err error)

RevokeAccessSender sends the RevokeAccess request. The method will close the http.Response Body if it receives an error.

func (SnapshotsClient) Update

func (client SnapshotsClient) Update(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (result SnapshotsUpdateFuture, err error)

Update updates (patches) a snapshot. Parameters: resourceGroupName - the name of the resource group. snapshotName - the name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters. snapshot - snapshot object supplied in the body of the Patch snapshot operation.

func (SnapshotsClient) UpdatePreparer

func (client SnapshotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, snapshotName string, snapshot SnapshotUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (SnapshotsClient) UpdateResponder

func (client SnapshotsClient) UpdateResponder(resp *http.Response) (result Snapshot, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (SnapshotsClient) UpdateSender

func (client SnapshotsClient) UpdateSender(req *http.Request) (future SnapshotsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type SnapshotsCreateOrUpdateFuture

SnapshotsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (Snapshot, error)
}

func (*SnapshotsCreateOrUpdateFuture) UnmarshalJSON

func (future *SnapshotsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsDeleteFuture

SnapshotsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (autorest.Response, error)
}

func (*SnapshotsDeleteFuture) UnmarshalJSON

func (future *SnapshotsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsGrantAccessFuture

SnapshotsGrantAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsGrantAccessFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (AccessURI, error)
}

func (*SnapshotsGrantAccessFuture) UnmarshalJSON

func (future *SnapshotsGrantAccessFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsRevokeAccessFuture

SnapshotsRevokeAccessFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsRevokeAccessFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (autorest.Response, error)
}

func (*SnapshotsRevokeAccessFuture) UnmarshalJSON

func (future *SnapshotsRevokeAccessFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SnapshotsUpdateFuture

SnapshotsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type SnapshotsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(SnapshotsClient) (Snapshot, error)
}

func (*SnapshotsUpdateFuture) UnmarshalJSON

func (future *SnapshotsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SoftDeletePolicy

SoftDeletePolicy contains information about the soft deletion policy of the gallery.

type SoftDeletePolicy struct {
    // IsSoftDeleteEnabled - Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.
    IsSoftDeleteEnabled *bool `json:"isSoftDeleteEnabled,omitempty"`
}

type SourceVault

SourceVault the vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}

type SourceVault struct {
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

type SpotRestorePolicy

SpotRestorePolicy specifies the Spot-Try-Restore properties for the virtual machine scale set. <br><br> With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.

type SpotRestorePolicy struct {
    // Enabled - Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints
    Enabled *bool `json:"enabled,omitempty"`
    // RestoreTimeout - Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances
    RestoreTimeout *string `json:"restoreTimeout,omitempty"`
}

type StatusCodeCount

StatusCodeCount ...

type StatusCodeCount struct {
    // Code - READ-ONLY; The instance view status code
    Code *string `json:"code,omitempty"`
    // Count - READ-ONLY; Number of instances having this status code
    Count *int32 `json:"count,omitempty"`
}

func (StatusCodeCount) MarshalJSON

func (scc StatusCodeCount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatusCodeCount.

type StatusLevelTypes

StatusLevelTypes enumerates the values for status level types.

type StatusLevelTypes string
const (
    // StatusLevelTypesError ...
    StatusLevelTypesError StatusLevelTypes = "Error"
    // StatusLevelTypesInfo ...
    StatusLevelTypesInfo StatusLevelTypes = "Info"
    // StatusLevelTypesWarning ...
    StatusLevelTypesWarning StatusLevelTypes = "Warning"
)

func PossibleStatusLevelTypesValues

func PossibleStatusLevelTypesValues() []StatusLevelTypes

PossibleStatusLevelTypesValues returns an array of possible values for the StatusLevelTypes const type.

type StorageAccountType

StorageAccountType enumerates the values for storage account type.

type StorageAccountType string
const (
    // StorageAccountTypePremiumLRS ...
    StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS"
    // StorageAccountTypeStandardLRS ...
    StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS"
    // StorageAccountTypeStandardZRS ...
    StorageAccountTypeStandardZRS StorageAccountType = "Standard_ZRS"
)

func PossibleStorageAccountTypeValues

func PossibleStorageAccountTypeValues() []StorageAccountType

PossibleStorageAccountTypeValues returns an array of possible values for the StorageAccountType const type.

type StorageAccountTypes

StorageAccountTypes enumerates the values for storage account types.

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

func PossibleStorageAccountTypesValues

func PossibleStorageAccountTypesValues() []StorageAccountTypes

PossibleStorageAccountTypesValues returns an array of possible values for the StorageAccountTypes const type.

type StorageProfile

StorageProfile specifies the storage settings for the virtual machine disks.

type StorageProfile struct {
    // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
    ImageReference *ImageReference `json:"imageReference,omitempty"`
    // OsDisk - Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
    OsDisk *OSDisk `json:"osDisk,omitempty"`
    // DataDisks - Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
    DataDisks *[]DataDisk `json:"dataDisks,omitempty"`
}

type SubResource

SubResource ...

type SubResource struct {
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

type SubResourceReadOnly

SubResourceReadOnly ...

type SubResourceReadOnly struct {
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
}

func (SubResourceReadOnly) MarshalJSON

func (srro SubResourceReadOnly) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SubResourceReadOnly.

type SubResourceWithColocationStatus

SubResourceWithColocationStatus ...

type SubResourceWithColocationStatus struct {
    // ColocationStatus - Describes colocation status of a resource in the Proximity Placement Group.
    ColocationStatus *InstanceViewStatus `json:"colocationStatus,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

type SupportedCapabilities

SupportedCapabilities list of supported capabilities persisted on the disk resource for VM use.

type SupportedCapabilities struct {
    // AcceleratedNetwork - True if the image from which the OS disk is created supports accelerated networking.
    AcceleratedNetwork *bool `json:"acceleratedNetwork,omitempty"`
    // Architecture - CPU architecture supported by an OS disk. Possible values include: 'ArchitectureX64', 'ArchitectureArm64'
    Architecture Architecture `json:"architecture,omitempty"`
}

type TargetRegion

TargetRegion describes the target region information.

type TargetRegion struct {
    // Name - The name of the region.
    Name *string `json:"name,omitempty"`
    // RegionalReplicaCount - The number of replicas of the Image Version to be created per region. This property is updatable.
    RegionalReplicaCount *int32 `json:"regionalReplicaCount,omitempty"`
    // StorageAccountType - Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'StorageAccountTypeStandardLRS', 'StorageAccountTypeStandardZRS', 'StorageAccountTypePremiumLRS'
    StorageAccountType StorageAccountType `json:"storageAccountType,omitempty"`
    Encryption         *EncryptionImages  `json:"encryption,omitempty"`
}

type TerminateNotificationProfile

TerminateNotificationProfile ...

type TerminateNotificationProfile struct {
    // NotBeforeTimeout - Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)
    NotBeforeTimeout *string `json:"notBeforeTimeout,omitempty"`
    // Enable - Specifies whether the Terminate Scheduled event is enabled or disabled.
    Enable *bool `json:"enable,omitempty"`
}

type ThrottledRequestsInput

ThrottledRequestsInput api request input for LogAnalytics getThrottledRequests Api.

type ThrottledRequestsInput struct {
    // BlobContainerSasURI - SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
    BlobContainerSasURI *string `json:"blobContainerSasUri,omitempty"`
    // FromTime - From time of the query
    FromTime *date.Time `json:"fromTime,omitempty"`
    // ToTime - To time of the query
    ToTime *date.Time `json:"toTime,omitempty"`
    // GroupByThrottlePolicy - Group query result by Throttle Policy applied.
    GroupByThrottlePolicy *bool `json:"groupByThrottlePolicy,omitempty"`
    // GroupByOperationName - Group query result by Operation Name.
    GroupByOperationName *bool `json:"groupByOperationName,omitempty"`
    // GroupByResourceName - Group query result by Resource Name.
    GroupByResourceName *bool `json:"groupByResourceName,omitempty"`
    // GroupByClientApplicationID - Group query result by Client Application ID.
    GroupByClientApplicationID *bool `json:"groupByClientApplicationId,omitempty"`
    // GroupByUserAgent - Group query result by User Agent.
    GroupByUserAgent *bool `json:"groupByUserAgent,omitempty"`
}

type UefiSettings

UefiSettings specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01

type UefiSettings struct {
    // SecureBootEnabled - Specifies whether secure boot should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01
    SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
    // VTpmEnabled - Specifies whether vTPM should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01
    VTpmEnabled *bool `json:"vTpmEnabled,omitempty"`
}

type UpdateDomain

UpdateDomain defines an update domain for the cloud service.

type UpdateDomain struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource Name
    Name *string `json:"name,omitempty"`
}

func (UpdateDomain) MarshalJSON

func (ud UpdateDomain) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateDomain.

type UpdateDomainListResult

UpdateDomainListResult ...

type UpdateDomainListResult struct {
    autorest.Response `json:"-"`
    Value             *[]UpdateDomain `json:"value,omitempty"`
    NextLink          *string         `json:"nextLink,omitempty"`
}

func (UpdateDomainListResult) IsEmpty

func (udlr UpdateDomainListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type UpdateDomainListResultIterator

UpdateDomainListResultIterator provides access to a complete listing of UpdateDomain values.

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

func NewUpdateDomainListResultIterator

func NewUpdateDomainListResultIterator(page UpdateDomainListResultPage) UpdateDomainListResultIterator

Creates a new instance of the UpdateDomainListResultIterator type.

func (*UpdateDomainListResultIterator) Next

func (iter *UpdateDomainListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*UpdateDomainListResultIterator) NextWithContext

func (iter *UpdateDomainListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (UpdateDomainListResultIterator) NotDone

func (iter UpdateDomainListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (UpdateDomainListResultIterator) Response

func (iter UpdateDomainListResultIterator) Response() UpdateDomainListResult

Response returns the raw server response from the last page request.

func (UpdateDomainListResultIterator) Value

func (iter UpdateDomainListResultIterator) Value() UpdateDomain

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type UpdateDomainListResultPage

UpdateDomainListResultPage contains a page of UpdateDomain values.

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

func NewUpdateDomainListResultPage

func NewUpdateDomainListResultPage(cur UpdateDomainListResult, getNextPage func(context.Context, UpdateDomainListResult) (UpdateDomainListResult, error)) UpdateDomainListResultPage

Creates a new instance of the UpdateDomainListResultPage type.

func (*UpdateDomainListResultPage) Next

func (page *UpdateDomainListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*UpdateDomainListResultPage) NextWithContext

func (page *UpdateDomainListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (UpdateDomainListResultPage) NotDone

func (page UpdateDomainListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (UpdateDomainListResultPage) Response

func (page UpdateDomainListResultPage) Response() UpdateDomainListResult

Response returns the raw server response from the last page request.

func (UpdateDomainListResultPage) Values

func (page UpdateDomainListResultPage) Values() []UpdateDomain

Values returns the slice of values for the current page or nil if there are no values.

type UpdateResource

UpdateResource the Update Resource model definition.

type UpdateResource struct {
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (UpdateResource) MarshalJSON

func (ur UpdateResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateResource.

type UpdateResourceDefinition

UpdateResourceDefinition the Update Resource model definition.

type UpdateResourceDefinition struct {
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (UpdateResourceDefinition) MarshalJSON

func (urd UpdateResourceDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateResourceDefinition.

type UpgradeMode

UpgradeMode enumerates the values for upgrade mode.

type UpgradeMode string
const (
    // UpgradeModeAutomatic ...
    UpgradeModeAutomatic UpgradeMode = "Automatic"
    // UpgradeModeManual ...
    UpgradeModeManual UpgradeMode = "Manual"
    // UpgradeModeRolling ...
    UpgradeModeRolling UpgradeMode = "Rolling"
)

func PossibleUpgradeModeValues

func PossibleUpgradeModeValues() []UpgradeMode

PossibleUpgradeModeValues returns an array of possible values for the UpgradeMode const type.

type UpgradeOperationHistoricalStatusInfo

UpgradeOperationHistoricalStatusInfo virtual Machine Scale Set OS Upgrade History operation response.

type UpgradeOperationHistoricalStatusInfo struct {
    // Properties - READ-ONLY; Information about the properties of the upgrade operation.
    Properties *UpgradeOperationHistoricalStatusInfoProperties `json:"properties,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - READ-ONLY; Resource location
    Location *string `json:"location,omitempty"`
}

func (UpgradeOperationHistoricalStatusInfo) MarshalJSON

func (uohsi UpgradeOperationHistoricalStatusInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpgradeOperationHistoricalStatusInfo.

type UpgradeOperationHistoricalStatusInfoProperties

UpgradeOperationHistoricalStatusInfoProperties describes each OS upgrade on the Virtual Machine Scale Set.

type UpgradeOperationHistoricalStatusInfoProperties struct {
    // RunningStatus - READ-ONLY; Information about the overall status of the upgrade operation.
    RunningStatus *UpgradeOperationHistoryStatus `json:"runningStatus,omitempty"`
    // Progress - READ-ONLY; Counts of the VMs in each state.
    Progress *RollingUpgradeProgressInfo `json:"progress,omitempty"`
    // Error - READ-ONLY; Error Details for this upgrade if there are any.
    Error *APIError `json:"error,omitempty"`
    // StartedBy - READ-ONLY; Invoker of the Upgrade Operation. Possible values include: 'UpgradeOperationInvokerUnknown', 'UpgradeOperationInvokerUser', 'UpgradeOperationInvokerPlatform'
    StartedBy UpgradeOperationInvoker `json:"startedBy,omitempty"`
    // TargetImageReference - READ-ONLY; Image Reference details
    TargetImageReference *ImageReference `json:"targetImageReference,omitempty"`
    // RollbackInfo - READ-ONLY; Information about OS rollback if performed
    RollbackInfo *RollbackStatusInfo `json:"rollbackInfo,omitempty"`
}

func (UpgradeOperationHistoricalStatusInfoProperties) MarshalJSON

func (uohsip UpgradeOperationHistoricalStatusInfoProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpgradeOperationHistoricalStatusInfoProperties.

type UpgradeOperationHistoryStatus

UpgradeOperationHistoryStatus information about the current running state of the overall upgrade.

type UpgradeOperationHistoryStatus struct {
    // Code - READ-ONLY; Code indicating the current status of the upgrade. Possible values include: 'UpgradeStateRollingForward', 'UpgradeStateCancelled', 'UpgradeStateCompleted', 'UpgradeStateFaulted'
    Code UpgradeState `json:"code,omitempty"`
    // StartTime - READ-ONLY; Start time of the upgrade.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; End time of the upgrade.
    EndTime *date.Time `json:"endTime,omitempty"`
}

func (UpgradeOperationHistoryStatus) MarshalJSON

func (uohs UpgradeOperationHistoryStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpgradeOperationHistoryStatus.

type UpgradeOperationInvoker

UpgradeOperationInvoker enumerates the values for upgrade operation invoker.

type UpgradeOperationInvoker string
const (
    // UpgradeOperationInvokerPlatform ...
    UpgradeOperationInvokerPlatform UpgradeOperationInvoker = "Platform"
    // UpgradeOperationInvokerUnknown ...
    UpgradeOperationInvokerUnknown UpgradeOperationInvoker = "Unknown"
    // UpgradeOperationInvokerUser ...
    UpgradeOperationInvokerUser UpgradeOperationInvoker = "User"
)

func PossibleUpgradeOperationInvokerValues

func PossibleUpgradeOperationInvokerValues() []UpgradeOperationInvoker

PossibleUpgradeOperationInvokerValues returns an array of possible values for the UpgradeOperationInvoker const type.

type UpgradePolicy

UpgradePolicy describes an upgrade policy - automatic, manual, or rolling.

type UpgradePolicy struct {
    // Mode - Specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> **Manual** - You  control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.<br /><br /> **Automatic** - All virtual machines in the scale set are  automatically updated at the same time. Possible values include: 'UpgradeModeAutomatic', 'UpgradeModeManual', 'UpgradeModeRolling'
    Mode UpgradeMode `json:"mode,omitempty"`
    // RollingUpgradePolicy - The configuration parameters used while performing a rolling upgrade.
    RollingUpgradePolicy *RollingUpgradePolicy `json:"rollingUpgradePolicy,omitempty"`
    // AutomaticOSUpgradePolicy - Configuration parameters used for performing automatic OS Upgrade.
    AutomaticOSUpgradePolicy *AutomaticOSUpgradePolicy `json:"automaticOSUpgradePolicy,omitempty"`
}

type UpgradeState

UpgradeState enumerates the values for upgrade state.

type UpgradeState string
const (
    // UpgradeStateCancelled ...
    UpgradeStateCancelled UpgradeState = "Cancelled"
    // UpgradeStateCompleted ...
    UpgradeStateCompleted UpgradeState = "Completed"
    // UpgradeStateFaulted ...
    UpgradeStateFaulted UpgradeState = "Faulted"
    // UpgradeStateRollingForward ...
    UpgradeStateRollingForward UpgradeState = "RollingForward"
)

func PossibleUpgradeStateValues

func PossibleUpgradeStateValues() []UpgradeState

PossibleUpgradeStateValues returns an array of possible values for the UpgradeState const type.

type Usage

Usage describes Compute Resource Usage.

type Usage struct {
    // Unit - An enum describing the unit of usage measurement.
    Unit *string `json:"unit,omitempty"`
    // CurrentValue - The current usage of the resource.
    CurrentValue *int32 `json:"currentValue,omitempty"`
    // Limit - The maximum permitted usage of the resource.
    Limit *int64 `json:"limit,omitempty"`
    // Name - The name of the type of usage.
    Name *UsageName `json:"name,omitempty"`
}

type UsageClient

UsageClient is the compute Client

type UsageClient struct {
    BaseClient
}

func NewUsageClient

func NewUsageClient(subscriptionID string) UsageClient

NewUsageClient creates an instance of the UsageClient client.

func NewUsageClientWithBaseURI

func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient

NewUsageClientWithBaseURI creates an instance of the UsageClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (UsageClient) List

func (client UsageClient) List(ctx context.Context, location string) (result ListUsagesResultPage, err error)

List gets, for the specified location, the current compute resource usage information as well as the limits for compute resources under the subscription. Parameters: location - the location for which resource usage is queried.

func (UsageClient) ListComplete

func (client UsageClient) ListComplete(ctx context.Context, location string) (result ListUsagesResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (UsageClient) ListPreparer

func (client UsageClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (UsageClient) ListResponder

func (client UsageClient) ListResponder(resp *http.Response) (result ListUsagesResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (UsageClient) ListSender

func (client UsageClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type UsageName

UsageName the Usage Names.

type UsageName struct {
    // Value - The name of the resource.
    Value *string `json:"value,omitempty"`
    // LocalizedValue - The localized name of the resource.
    LocalizedValue *string `json:"localizedValue,omitempty"`
}

type UserArtifactManage

UserArtifactManage ...

type UserArtifactManage struct {
    // Install - Required. The path and arguments to install the gallery application. This is limited to 4096 characters.
    Install *string `json:"install,omitempty"`
    // Remove - Required. The path and arguments to remove the gallery application. This is limited to 4096 characters.
    Remove *string `json:"remove,omitempty"`
    // Update - Optional. The path and arguments to update the gallery application. If not present, then update operation will invoke remove command on the previous version and install command on the current version of the gallery application. This is limited to 4096 characters.
    Update *string `json:"update,omitempty"`
}

type UserArtifactSource

UserArtifactSource the source image from which the Image Version is going to be created.

type UserArtifactSource struct {
    // MediaLink - Required. The mediaLink of the artifact, must be a readable storage page blob.
    MediaLink *string `json:"mediaLink,omitempty"`
    // DefaultConfigurationLink - Optional. The defaultConfigurationLink of the artifact, must be a readable storage page blob.
    DefaultConfigurationLink *string `json:"defaultConfigurationLink,omitempty"`
}

type VMDiskSecurityProfile

VMDiskSecurityProfile specifies the security profile settings for the managed disk. <br><br> NOTE: It can only be set for Confidential VMs

type VMDiskSecurityProfile struct {
    // SecurityEncryptionType - Specifies the EncryptionType of the managed disk. <br> It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. <br><br> NOTE: It can be set for only Confidential VMs. Possible values include: 'SecurityEncryptionTypesVMGuestStateOnly', 'SecurityEncryptionTypesDiskWithVMGuestState'
    SecurityEncryptionType SecurityEncryptionTypes `json:"securityEncryptionType,omitempty"`
    // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.
    DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
}

type VMDiskTypes

VMDiskTypes enumerates the values for vm disk types.

type VMDiskTypes string
const (
    // VMDiskTypesNone ...
    VMDiskTypesNone VMDiskTypes = "None"
    // VMDiskTypesUnmanaged ...
    VMDiskTypesUnmanaged VMDiskTypes = "Unmanaged"
)

func PossibleVMDiskTypesValues

func PossibleVMDiskTypesValues() []VMDiskTypes

PossibleVMDiskTypesValues returns an array of possible values for the VMDiskTypes const type.

type VMGalleryApplication

VMGalleryApplication specifies the required information to reference a compute gallery application version

type VMGalleryApplication struct {
    // Tags - Optional, Specifies a passthrough value for more generic context.
    Tags *string `json:"tags,omitempty"`
    // Order - Optional, Specifies the order in which the packages have to be installed
    Order *int32 `json:"order,omitempty"`
    // PackageReferenceID - Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}
    PackageReferenceID *string `json:"packageReferenceId,omitempty"`
    // ConfigurationReference - Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided
    ConfigurationReference *string `json:"configurationReference,omitempty"`
}

type VMGuestPatchClassificationLinux

VMGuestPatchClassificationLinux enumerates the values for vm guest patch classification linux.

type VMGuestPatchClassificationLinux string
const (
    // VMGuestPatchClassificationLinuxCritical ...
    VMGuestPatchClassificationLinuxCritical VMGuestPatchClassificationLinux = "Critical"
    // VMGuestPatchClassificationLinuxOther ...
    VMGuestPatchClassificationLinuxOther VMGuestPatchClassificationLinux = "Other"
    // VMGuestPatchClassificationLinuxSecurity ...
    VMGuestPatchClassificationLinuxSecurity VMGuestPatchClassificationLinux = "Security"
)

func PossibleVMGuestPatchClassificationLinuxValues

func PossibleVMGuestPatchClassificationLinuxValues() []VMGuestPatchClassificationLinux

PossibleVMGuestPatchClassificationLinuxValues returns an array of possible values for the VMGuestPatchClassificationLinux const type.

type VMGuestPatchClassificationWindows

VMGuestPatchClassificationWindows enumerates the values for vm guest patch classification windows.

type VMGuestPatchClassificationWindows string
const (
    // VMGuestPatchClassificationWindowsCritical ...
    VMGuestPatchClassificationWindowsCritical VMGuestPatchClassificationWindows = "Critical"
    // VMGuestPatchClassificationWindowsDefinition ...
    VMGuestPatchClassificationWindowsDefinition VMGuestPatchClassificationWindows = "Definition"
    // VMGuestPatchClassificationWindowsFeaturePack ...
    VMGuestPatchClassificationWindowsFeaturePack VMGuestPatchClassificationWindows = "FeaturePack"
    // VMGuestPatchClassificationWindowsSecurity ...
    VMGuestPatchClassificationWindowsSecurity VMGuestPatchClassificationWindows = "Security"
    // VMGuestPatchClassificationWindowsServicePack ...
    VMGuestPatchClassificationWindowsServicePack VMGuestPatchClassificationWindows = "ServicePack"
    // VMGuestPatchClassificationWindowsTools ...
    VMGuestPatchClassificationWindowsTools VMGuestPatchClassificationWindows = "Tools"
    // VMGuestPatchClassificationWindowsUpdateRollUp ...
    VMGuestPatchClassificationWindowsUpdateRollUp VMGuestPatchClassificationWindows = "UpdateRollUp"
    // VMGuestPatchClassificationWindowsUpdates ...
    VMGuestPatchClassificationWindowsUpdates VMGuestPatchClassificationWindows = "Updates"
)

func PossibleVMGuestPatchClassificationWindowsValues

func PossibleVMGuestPatchClassificationWindowsValues() []VMGuestPatchClassificationWindows

PossibleVMGuestPatchClassificationWindowsValues returns an array of possible values for the VMGuestPatchClassificationWindows const type.

type VMGuestPatchRebootBehavior

VMGuestPatchRebootBehavior enumerates the values for vm guest patch reboot behavior.

type VMGuestPatchRebootBehavior string
const (
    // VMGuestPatchRebootBehaviorAlwaysRequiresReboot ...
    VMGuestPatchRebootBehaviorAlwaysRequiresReboot VMGuestPatchRebootBehavior = "AlwaysRequiresReboot"
    // VMGuestPatchRebootBehaviorCanRequestReboot ...
    VMGuestPatchRebootBehaviorCanRequestReboot VMGuestPatchRebootBehavior = "CanRequestReboot"
    // VMGuestPatchRebootBehaviorNeverReboots ...
    VMGuestPatchRebootBehaviorNeverReboots VMGuestPatchRebootBehavior = "NeverReboots"
    // VMGuestPatchRebootBehaviorUnknown ...
    VMGuestPatchRebootBehaviorUnknown VMGuestPatchRebootBehavior = "Unknown"
)

func PossibleVMGuestPatchRebootBehaviorValues

func PossibleVMGuestPatchRebootBehaviorValues() []VMGuestPatchRebootBehavior

PossibleVMGuestPatchRebootBehaviorValues returns an array of possible values for the VMGuestPatchRebootBehavior const type.

type VMGuestPatchRebootSetting

VMGuestPatchRebootSetting enumerates the values for vm guest patch reboot setting.

type VMGuestPatchRebootSetting string
const (
    // VMGuestPatchRebootSettingAlways ...
    VMGuestPatchRebootSettingAlways VMGuestPatchRebootSetting = "Always"
    // VMGuestPatchRebootSettingIfRequired ...
    VMGuestPatchRebootSettingIfRequired VMGuestPatchRebootSetting = "IfRequired"
    // VMGuestPatchRebootSettingNever ...
    VMGuestPatchRebootSettingNever VMGuestPatchRebootSetting = "Never"
)

func PossibleVMGuestPatchRebootSettingValues

func PossibleVMGuestPatchRebootSettingValues() []VMGuestPatchRebootSetting

PossibleVMGuestPatchRebootSettingValues returns an array of possible values for the VMGuestPatchRebootSetting const type.

type VMGuestPatchRebootStatus

VMGuestPatchRebootStatus enumerates the values for vm guest patch reboot status.

type VMGuestPatchRebootStatus string
const (
    // VMGuestPatchRebootStatusCompleted ...
    VMGuestPatchRebootStatusCompleted VMGuestPatchRebootStatus = "Completed"
    // VMGuestPatchRebootStatusFailed ...
    VMGuestPatchRebootStatusFailed VMGuestPatchRebootStatus = "Failed"
    // VMGuestPatchRebootStatusNotNeeded ...
    VMGuestPatchRebootStatusNotNeeded VMGuestPatchRebootStatus = "NotNeeded"
    // VMGuestPatchRebootStatusRequired ...
    VMGuestPatchRebootStatusRequired VMGuestPatchRebootStatus = "Required"
    // VMGuestPatchRebootStatusStarted ...
    VMGuestPatchRebootStatusStarted VMGuestPatchRebootStatus = "Started"
    // VMGuestPatchRebootStatusUnknown ...
    VMGuestPatchRebootStatusUnknown VMGuestPatchRebootStatus = "Unknown"
)

func PossibleVMGuestPatchRebootStatusValues

func PossibleVMGuestPatchRebootStatusValues() []VMGuestPatchRebootStatus

PossibleVMGuestPatchRebootStatusValues returns an array of possible values for the VMGuestPatchRebootStatus const type.

type VMScaleSetConvertToSinglePlacementGroupInput

VMScaleSetConvertToSinglePlacementGroupInput ...

type VMScaleSetConvertToSinglePlacementGroupInput struct {
    // ActivePlacementGroupID - Id of the placement group in which you want future virtual machine instances to be placed. To query placement group Id, please use Virtual Machine Scale Set VMs - Get API. If not provided, the platform will choose one with maximum number of virtual machine instances.
    ActivePlacementGroupID *string `json:"activePlacementGroupId,omitempty"`
}

type VMSizeProperties

VMSizeProperties specifies VM Size Property settings on the virtual machine.

type VMSizeProperties struct {
    // VCPUsAvailable - Specifies the number of vCPUs available for the VM. <br><br> When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) .
    VCPUsAvailable *int32 `json:"vCPUsAvailable,omitempty"`
    // VCPUsPerCore - Specifies the vCPU to physical core ratio. <br><br> When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) <br><br> Setting this property to 1 also means that hyper-threading is disabled.
    VCPUsPerCore *int32 `json:"vCPUsPerCore,omitempty"`
}

type VaultCertificate

VaultCertificate describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.

type VaultCertificate struct {
    // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br>  "data":"<Base64-encoded-certificate>",<br>  "dataType":"pfx",<br>  "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
    CertificateURL *string `json:"certificateUrl,omitempty"`
    // CertificateStore - For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted.
    CertificateStore *string `json:"certificateStore,omitempty"`
}

type VaultSecretGroup

VaultSecretGroup describes a set of certificates which are all in the same Key Vault.

type VaultSecretGroup struct {
    // SourceVault - The relative URL of the Key Vault containing all of the certificates in VaultCertificates.
    SourceVault *SubResource `json:"sourceVault,omitempty"`
    // VaultCertificates - The list of key vault references in SourceVault which contain certificates.
    VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"`
}

type VirtualHardDisk

VirtualHardDisk describes the uri of a disk.

type VirtualHardDisk struct {
    // URI - Specifies the virtual hard disk's uri.
    URI *string `json:"uri,omitempty"`
}

type VirtualMachine

VirtualMachine describes a Virtual Machine.

type VirtualMachine struct {
    autorest.Response `json:"-"`
    // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
    Plan                      *Plan `json:"plan,omitempty"`
    *VirtualMachineProperties `json:"properties,omitempty"`
    // Resources - READ-ONLY; The virtual machine child extension resources.
    Resources *[]VirtualMachineExtension `json:"resources,omitempty"`
    // Identity - The identity of the virtual machine, if configured.
    Identity *VirtualMachineIdentity `json:"identity,omitempty"`
    // Zones - The virtual machine zones.
    Zones *[]string `json:"zones,omitempty"`
    // ExtendedLocation - The extended location of the Virtual Machine.
    ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachine) MarshalJSON

func (VM VirtualMachine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachine.

func (*VirtualMachine) UnmarshalJSON

func (VM *VirtualMachine) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachine struct.

type VirtualMachineAgentInstanceView

VirtualMachineAgentInstanceView the instance view of the VM Agent running on the virtual machine.

type VirtualMachineAgentInstanceView struct {
    // VMAgentVersion - The VM Agent full version.
    VMAgentVersion *string `json:"vmAgentVersion,omitempty"`
    // ExtensionHandlers - The virtual machine extension handler instance view.
    ExtensionHandlers *[]VirtualMachineExtensionHandlerInstanceView `json:"extensionHandlers,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

type VirtualMachineAssessPatchesResult

VirtualMachineAssessPatchesResult describes the properties of an AssessPatches result.

type VirtualMachineAssessPatchesResult struct {
    autorest.Response `json:"-"`
    // Status - READ-ONLY; The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Unknown", "Failed", "Succeeded", or "CompletedWithWarnings.". Possible values include: 'PatchOperationStatusUnknown', 'PatchOperationStatusInProgress', 'PatchOperationStatusFailed', 'PatchOperationStatusSucceeded', 'PatchOperationStatusCompletedWithWarnings'
    Status PatchOperationStatus `json:"status,omitempty"`
    // AssessmentActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
    AssessmentActivityID *string `json:"assessmentActivityId,omitempty"`
    // RebootPending - READ-ONLY; The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred.
    RebootPending *bool `json:"rebootPending,omitempty"`
    // CriticalAndSecurityPatchCount - READ-ONLY; The number of critical or security patches that have been detected as available and not yet installed.
    CriticalAndSecurityPatchCount *int32 `json:"criticalAndSecurityPatchCount,omitempty"`
    // OtherPatchCount - READ-ONLY; The number of all available patches excluding critical and security.
    OtherPatchCount *int32 `json:"otherPatchCount,omitempty"`
    // StartDateTime - READ-ONLY; The UTC timestamp when the operation began.
    StartDateTime *date.Time `json:"startDateTime,omitempty"`
    // AvailablePatches - READ-ONLY; The list of patches that have been detected as available for installation.
    AvailablePatches *[]VirtualMachineSoftwarePatchProperties `json:"availablePatches,omitempty"`
    // Error - READ-ONLY; The errors that were encountered during execution of the operation. The details array contains the list of them.
    Error *APIError `json:"error,omitempty"`
}

func (VirtualMachineAssessPatchesResult) MarshalJSON

func (vmapr VirtualMachineAssessPatchesResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineAssessPatchesResult.

type VirtualMachineCaptureParameters

VirtualMachineCaptureParameters capture Virtual Machine parameters.

type VirtualMachineCaptureParameters struct {
    // VhdPrefix - The captured virtual hard disk's name prefix.
    VhdPrefix *string `json:"vhdPrefix,omitempty"`
    // DestinationContainerName - The destination container name.
    DestinationContainerName *string `json:"destinationContainerName,omitempty"`
    // OverwriteVhds - Specifies whether to overwrite the destination virtual hard disk, in case of conflict.
    OverwriteVhds *bool `json:"overwriteVhds,omitempty"`
}

type VirtualMachineCaptureResult

VirtualMachineCaptureResult output of virtual machine capture operation.

type VirtualMachineCaptureResult struct {
    autorest.Response `json:"-"`
    // Schema - READ-ONLY; the schema of the captured virtual machine
    Schema *string `json:"$schema,omitempty"`
    // ContentVersion - READ-ONLY; the version of the content
    ContentVersion *string `json:"contentVersion,omitempty"`
    // Parameters - READ-ONLY; parameters of the captured virtual machine
    Parameters interface{} `json:"parameters,omitempty"`
    // Resources - READ-ONLY; a list of resource items of the captured virtual machine
    Resources *[]interface{} `json:"resources,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineCaptureResult) MarshalJSON

func (vmcr VirtualMachineCaptureResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineCaptureResult.

type VirtualMachineEvictionPolicyTypes

VirtualMachineEvictionPolicyTypes enumerates the values for virtual machine eviction policy types.

type VirtualMachineEvictionPolicyTypes string
const (
    // VirtualMachineEvictionPolicyTypesDeallocate ...
    VirtualMachineEvictionPolicyTypesDeallocate VirtualMachineEvictionPolicyTypes = "Deallocate"
    // VirtualMachineEvictionPolicyTypesDelete ...
    VirtualMachineEvictionPolicyTypesDelete VirtualMachineEvictionPolicyTypes = "Delete"
)

func PossibleVirtualMachineEvictionPolicyTypesValues

func PossibleVirtualMachineEvictionPolicyTypesValues() []VirtualMachineEvictionPolicyTypes

PossibleVirtualMachineEvictionPolicyTypesValues returns an array of possible values for the VirtualMachineEvictionPolicyTypes const type.

type VirtualMachineExtension

VirtualMachineExtension describes a Virtual Machine Extension.

type VirtualMachineExtension struct {
    autorest.Response                  `json:"-"`
    *VirtualMachineExtensionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineExtension) MarshalJSON

func (vme VirtualMachineExtension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineExtension.

func (*VirtualMachineExtension) UnmarshalJSON

func (vme *VirtualMachineExtension) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineExtension struct.

type VirtualMachineExtensionHandlerInstanceView

VirtualMachineExtensionHandlerInstanceView the instance view of a virtual machine extension handler.

type VirtualMachineExtensionHandlerInstanceView struct {
    // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
    Type *string `json:"type,omitempty"`
    // TypeHandlerVersion - Specifies the version of the script handler.
    TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
    // Status - The extension handler status.
    Status *InstanceViewStatus `json:"status,omitempty"`
}

type VirtualMachineExtensionImage

VirtualMachineExtensionImage describes a Virtual Machine Extension Image.

type VirtualMachineExtensionImage struct {
    autorest.Response                       `json:"-"`
    *VirtualMachineExtensionImageProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineExtensionImage) MarshalJSON

func (vmei VirtualMachineExtensionImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineExtensionImage.

func (*VirtualMachineExtensionImage) UnmarshalJSON

func (vmei *VirtualMachineExtensionImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionImage struct.

type VirtualMachineExtensionImageProperties

VirtualMachineExtensionImageProperties describes the properties of a Virtual Machine Extension Image.

type VirtualMachineExtensionImageProperties struct {
    // OperatingSystem - The operating system this extension supports.
    OperatingSystem *string `json:"operatingSystem,omitempty"`
    // ComputeRole - The type of role (IaaS or PaaS) this extension supports.
    ComputeRole *string `json:"computeRole,omitempty"`
    // HandlerSchema - The schema defined by publisher, where extension consumers should provide settings in a matching schema.
    HandlerSchema *string `json:"handlerSchema,omitempty"`
    // VMScaleSetEnabled - Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS.
    VMScaleSetEnabled *bool `json:"vmScaleSetEnabled,omitempty"`
    // SupportsMultipleExtensions - Whether the handler can support multiple extensions.
    SupportsMultipleExtensions *bool `json:"supportsMultipleExtensions,omitempty"`
}

type VirtualMachineExtensionImagesClient

VirtualMachineExtensionImagesClient is the compute Client

type VirtualMachineExtensionImagesClient struct {
    BaseClient
}

func NewVirtualMachineExtensionImagesClient

func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient

NewVirtualMachineExtensionImagesClient creates an instance of the VirtualMachineExtensionImagesClient client.

func NewVirtualMachineExtensionImagesClientWithBaseURI

func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient

NewVirtualMachineExtensionImagesClientWithBaseURI creates an instance of the VirtualMachineExtensionImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineExtensionImagesClient) Get

func (client VirtualMachineExtensionImagesClient) Get(ctx context.Context, location string, publisherName string, typeParameter string, version string) (result VirtualMachineExtensionImage, err error)

Get gets a virtual machine extension image. Parameters: location - the name of a supported Azure region.

func (VirtualMachineExtensionImagesClient) GetPreparer

func (client VirtualMachineExtensionImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, typeParameter string, version string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineExtensionImagesClient) GetResponder

func (client VirtualMachineExtensionImagesClient) GetResponder(resp *http.Response) (result VirtualMachineExtensionImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineExtensionImagesClient) GetSender

func (client VirtualMachineExtensionImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionImagesClient) ListTypes

func (client VirtualMachineExtensionImagesClient) ListTypes(ctx context.Context, location string, publisherName string) (result ListVirtualMachineExtensionImage, err error)

ListTypes gets a list of virtual machine extension image types. Parameters: location - the name of a supported Azure region.

func (VirtualMachineExtensionImagesClient) ListTypesPreparer

func (client VirtualMachineExtensionImagesClient) ListTypesPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)

ListTypesPreparer prepares the ListTypes request.

func (VirtualMachineExtensionImagesClient) ListTypesResponder

func (client VirtualMachineExtensionImagesClient) ListTypesResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)

ListTypesResponder handles the response to the ListTypes request. The method always closes the http.Response Body.

func (VirtualMachineExtensionImagesClient) ListTypesSender

func (client VirtualMachineExtensionImagesClient) ListTypesSender(req *http.Request) (*http.Response, error)

ListTypesSender sends the ListTypes request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionImagesClient) ListVersions

func (client VirtualMachineExtensionImagesClient) ListVersions(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (result ListVirtualMachineExtensionImage, err error)

ListVersions gets a list of virtual machine extension image versions. Parameters: location - the name of a supported Azure region. filter - the filter to apply on the operation.

func (VirtualMachineExtensionImagesClient) ListVersionsPreparer

func (client VirtualMachineExtensionImagesClient) ListVersionsPreparer(ctx context.Context, location string, publisherName string, typeParameter string, filter string, top *int32, orderby string) (*http.Request, error)

ListVersionsPreparer prepares the ListVersions request.

func (VirtualMachineExtensionImagesClient) ListVersionsResponder

func (client VirtualMachineExtensionImagesClient) ListVersionsResponder(resp *http.Response) (result ListVirtualMachineExtensionImage, err error)

ListVersionsResponder handles the response to the ListVersions request. The method always closes the http.Response Body.

func (VirtualMachineExtensionImagesClient) ListVersionsSender

func (client VirtualMachineExtensionImagesClient) ListVersionsSender(req *http.Request) (*http.Response, error)

ListVersionsSender sends the ListVersions request. The method will close the http.Response Body if it receives an error.

type VirtualMachineExtensionInstanceView

VirtualMachineExtensionInstanceView the instance view of a virtual machine extension.

type VirtualMachineExtensionInstanceView struct {
    // Name - The virtual machine extension name.
    Name *string `json:"name,omitempty"`
    // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
    Type *string `json:"type,omitempty"`
    // TypeHandlerVersion - Specifies the version of the script handler.
    TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
    // Substatuses - The resource status information.
    Substatuses *[]InstanceViewStatus `json:"substatuses,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

type VirtualMachineExtensionProperties

VirtualMachineExtensionProperties describes the properties of a Virtual Machine Extension.

type VirtualMachineExtensionProperties struct {
    // ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
    ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
    // Publisher - The name of the extension handler publisher.
    Publisher *string `json:"publisher,omitempty"`
    // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
    Type *string `json:"type,omitempty"`
    // TypeHandlerVersion - Specifies the version of the script handler.
    TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
    // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
    AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
    // EnableAutomaticUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
    EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"`
    // Settings - Json formatted public settings for the extension.
    Settings interface{} `json:"settings,omitempty"`
    // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
    ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // InstanceView - The virtual machine extension instance view.
    InstanceView *VirtualMachineExtensionInstanceView `json:"instanceView,omitempty"`
    // SuppressFailures - Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
    SuppressFailures *bool `json:"suppressFailures,omitempty"`
    // ProtectedSettingsFromKeyVault - The extensions protected settings that are passed by reference, and consumed from key vault
    ProtectedSettingsFromKeyVault interface{} `json:"protectedSettingsFromKeyVault,omitempty"`
}

func (VirtualMachineExtensionProperties) MarshalJSON

func (vmep VirtualMachineExtensionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineExtensionProperties.

type VirtualMachineExtensionUpdate

VirtualMachineExtensionUpdate describes a Virtual Machine Extension.

type VirtualMachineExtensionUpdate struct {
    *VirtualMachineExtensionUpdateProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineExtensionUpdate) MarshalJSON

func (vmeu VirtualMachineExtensionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineExtensionUpdate.

func (*VirtualMachineExtensionUpdate) UnmarshalJSON

func (vmeu *VirtualMachineExtensionUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineExtensionUpdate struct.

type VirtualMachineExtensionUpdateProperties

VirtualMachineExtensionUpdateProperties describes the properties of a Virtual Machine Extension.

type VirtualMachineExtensionUpdateProperties struct {
    // ForceUpdateTag - How the extension handler should be forced to update even if the extension configuration has not changed.
    ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
    // Publisher - The name of the extension handler publisher.
    Publisher *string `json:"publisher,omitempty"`
    // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
    Type *string `json:"type,omitempty"`
    // TypeHandlerVersion - Specifies the version of the script handler.
    TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
    // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
    AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
    // EnableAutomaticUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
    EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"`
    // Settings - Json formatted public settings for the extension.
    Settings interface{} `json:"settings,omitempty"`
    // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
    ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
    // SuppressFailures - Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
    SuppressFailures *bool `json:"suppressFailures,omitempty"`
    // ProtectedSettingsFromKeyVault - The extensions protected settings that are passed by reference, and consumed from key vault
    ProtectedSettingsFromKeyVault interface{} `json:"protectedSettingsFromKeyVault,omitempty"`
}

type VirtualMachineExtensionsClient

VirtualMachineExtensionsClient is the compute Client

type VirtualMachineExtensionsClient struct {
    BaseClient
}

func NewVirtualMachineExtensionsClient

func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient

NewVirtualMachineExtensionsClient creates an instance of the VirtualMachineExtensionsClient client.

func NewVirtualMachineExtensionsClientWithBaseURI

func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient

NewVirtualMachineExtensionsClientWithBaseURI creates an instance of the VirtualMachineExtensionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineExtensionsClient) CreateOrUpdate

func (client VirtualMachineExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (result VirtualMachineExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the extension should be created or updated. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Create Virtual Machine Extension operation.

func (VirtualMachineExtensionsClient) CreateOrUpdatePreparer

func (client VirtualMachineExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtension) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineExtensionsClient) CreateOrUpdateResponder

func (client VirtualMachineExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) CreateOrUpdateSender

func (client VirtualMachineExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionsClient) Delete

func (client VirtualMachineExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (result VirtualMachineExtensionsDeleteFuture, err error)

Delete the operation to delete the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the extension should be deleted. VMExtensionName - the name of the virtual machine extension.

func (VirtualMachineExtensionsClient) DeletePreparer

func (client VirtualMachineExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineExtensionsClient) DeleteResponder

func (client VirtualMachineExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) DeleteSender

func (client VirtualMachineExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineExtensionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionsClient) Get

func (client VirtualMachineExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (result VirtualMachineExtension, err error)

Get the operation to get the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine containing the extension. VMExtensionName - the name of the virtual machine extension. expand - the expand expression to apply on the operation.

func (VirtualMachineExtensionsClient) GetPreparer

func (client VirtualMachineExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineExtensionsClient) GetResponder

func (client VirtualMachineExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineExtension, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) GetSender

func (client VirtualMachineExtensionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionsClient) List

func (client VirtualMachineExtensionsClient) List(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineExtensionsListResult, err error)

List the operation to get all extensions of a Virtual Machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine containing the extension. expand - the expand expression to apply on the operation.

func (VirtualMachineExtensionsClient) ListPreparer

func (client VirtualMachineExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineExtensionsClient) ListResponder

func (client VirtualMachineExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineExtensionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) ListSender

func (client VirtualMachineExtensionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineExtensionsClient) Update

func (client VirtualMachineExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (result VirtualMachineExtensionsUpdateFuture, err error)

Update the operation to update the extension. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the extension should be updated. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Update Virtual Machine Extension operation.

func (VirtualMachineExtensionsClient) UpdatePreparer

func (client VirtualMachineExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, VMExtensionName string, extensionParameters VirtualMachineExtensionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineExtensionsClient) UpdateResponder

func (client VirtualMachineExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineExtension, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineExtensionsClient) UpdateSender

func (client VirtualMachineExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineExtensionsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineExtensionsCreateOrUpdateFuture

VirtualMachineExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineExtensionsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineExtensionsClient) (VirtualMachineExtension, error)
}

func (*VirtualMachineExtensionsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachineExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineExtensionsDeleteFuture

VirtualMachineExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineExtensionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineExtensionsClient) (autorest.Response, error)
}

func (*VirtualMachineExtensionsDeleteFuture) UnmarshalJSON

func (future *VirtualMachineExtensionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineExtensionsListResult

VirtualMachineExtensionsListResult the List Extension operation response

type VirtualMachineExtensionsListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of extensions
    Value *[]VirtualMachineExtension `json:"value,omitempty"`
}

type VirtualMachineExtensionsUpdateFuture

VirtualMachineExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineExtensionsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineExtensionsClient) (VirtualMachineExtension, error)
}

func (*VirtualMachineExtensionsUpdateFuture) UnmarshalJSON

func (future *VirtualMachineExtensionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineHealthStatus

VirtualMachineHealthStatus the health status of the VM.

type VirtualMachineHealthStatus struct {
    // Status - READ-ONLY; The health status information for the VM.
    Status *InstanceViewStatus `json:"status,omitempty"`
}

func (VirtualMachineHealthStatus) MarshalJSON

func (vmhs VirtualMachineHealthStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineHealthStatus.

type VirtualMachineIPTag

VirtualMachineIPTag contains the IP tag associated with the public IP address.

type VirtualMachineIPTag struct {
    // IPTagType - IP tag type. Example: FirstPartyUsage.
    IPTagType *string `json:"ipTagType,omitempty"`
    // Tag - IP tag associated with the public IP. Example: SQL, Storage etc.
    Tag *string `json:"tag,omitempty"`
}

type VirtualMachineIdentity

VirtualMachineIdentity identity for the virtual machine.

type VirtualMachineIdentity struct {
    // PrincipalID - READ-ONLY; The principal id of virtual machine identity. This property will only be provided for a system assigned identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone'
    Type ResourceIdentityType `json:"type,omitempty"`
    // UserAssignedIdentities - The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    UserAssignedIdentities map[string]*VirtualMachineIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
}

func (VirtualMachineIdentity) MarshalJSON

func (vmi VirtualMachineIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineIdentity.

type VirtualMachineIdentityUserAssignedIdentitiesValue

VirtualMachineIdentityUserAssignedIdentitiesValue ...

type VirtualMachineIdentityUserAssignedIdentitiesValue struct {
    // PrincipalID - READ-ONLY; The principal id of user assigned identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // ClientID - READ-ONLY; The client id of user assigned identity.
    ClientID *string `json:"clientId,omitempty"`
}

func (VirtualMachineIdentityUserAssignedIdentitiesValue) MarshalJSON

func (vmiAiv VirtualMachineIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineIdentityUserAssignedIdentitiesValue.

type VirtualMachineImage

VirtualMachineImage describes a Virtual Machine Image.

type VirtualMachineImage struct {
    autorest.Response              `json:"-"`
    *VirtualMachineImageProperties `json:"properties,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - The supported Azure location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).
    Tags map[string]*string `json:"tags"`
    // ExtendedLocation - The extended location of the Virtual Machine.
    ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineImage) MarshalJSON

func (vmi VirtualMachineImage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineImage.

func (*VirtualMachineImage) UnmarshalJSON

func (vmi *VirtualMachineImage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineImage struct.

type VirtualMachineImageFeature

VirtualMachineImageFeature specifies additional capabilities supported by the image

type VirtualMachineImageFeature struct {
    // Name - The name of the feature.
    Name *string `json:"name,omitempty"`
    // Value - The corresponding value for the feature.
    Value *string `json:"value,omitempty"`
}

type VirtualMachineImageProperties

VirtualMachineImageProperties describes the properties of a Virtual Machine Image.

type VirtualMachineImageProperties struct {
    Plan                         *PurchasePlan                 `json:"plan,omitempty"`
    OsDiskImage                  *OSDiskImage                  `json:"osDiskImage,omitempty"`
    DataDiskImages               *[]DataDiskImage              `json:"dataDiskImages,omitempty"`
    AutomaticOSUpgradeProperties *AutomaticOSUpgradeProperties `json:"automaticOSUpgradeProperties,omitempty"`
    // HyperVGeneration - Possible values include: 'HyperVGenerationTypesV1', 'HyperVGenerationTypesV2'
    HyperVGeneration HyperVGenerationTypes `json:"hyperVGeneration,omitempty"`
    // Disallowed - Specifies disallowed configuration for the VirtualMachine created from the image
    Disallowed *DisallowedConfiguration      `json:"disallowed,omitempty"`
    Features   *[]VirtualMachineImageFeature `json:"features,omitempty"`
    // Architecture - Possible values include: 'ArchitectureTypesX64', 'ArchitectureTypesArm64'
    Architecture ArchitectureTypes `json:"architecture,omitempty"`
}

type VirtualMachineImageResource

VirtualMachineImageResource virtual machine image resource information.

type VirtualMachineImageResource struct {
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - The supported Azure location of the resource.
    Location *string `json:"location,omitempty"`
    // Tags - Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md).
    Tags map[string]*string `json:"tags"`
    // ExtendedLocation - The extended location of the Virtual Machine.
    ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineImageResource) MarshalJSON

func (vmir VirtualMachineImageResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineImageResource.

type VirtualMachineImagesClient

VirtualMachineImagesClient is the compute Client

type VirtualMachineImagesClient struct {
    BaseClient
}

func NewVirtualMachineImagesClient

func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient

NewVirtualMachineImagesClient creates an instance of the VirtualMachineImagesClient client.

func NewVirtualMachineImagesClientWithBaseURI

func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient

NewVirtualMachineImagesClientWithBaseURI creates an instance of the VirtualMachineImagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineImagesClient) Get

func (client VirtualMachineImagesClient) Get(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)

Get gets a virtual machine image. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher. offer - a valid image publisher offer. skus - a valid image SKU. version - a valid image SKU version.

func (VirtualMachineImagesClient) GetPreparer

func (client VirtualMachineImagesClient) GetPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, version string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineImagesClient) GetResponder

func (client VirtualMachineImagesClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) GetSender

func (client VirtualMachineImagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) List

func (client VirtualMachineImagesClient) List(ctx context.Context, location string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error)

List gets a list of all virtual machine image versions for the specified location, publisher, offer, and SKU. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher. offer - a valid image publisher offer. skus - a valid image SKU. expand - the expand expression to apply on the operation.

func (VirtualMachineImagesClient) ListOffers

func (client VirtualMachineImagesClient) ListOffers(ctx context.Context, location string, publisherName string) (result ListVirtualMachineImageResource, err error)

ListOffers gets a list of virtual machine image offers for the specified location and publisher. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher.

func (VirtualMachineImagesClient) ListOffersPreparer

func (client VirtualMachineImagesClient) ListOffersPreparer(ctx context.Context, location string, publisherName string) (*http.Request, error)

ListOffersPreparer prepares the ListOffers request.

func (VirtualMachineImagesClient) ListOffersResponder

func (client VirtualMachineImagesClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListOffersResponder handles the response to the ListOffers request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListOffersSender

func (client VirtualMachineImagesClient) ListOffersSender(req *http.Request) (*http.Response, error)

ListOffersSender sends the ListOffers request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) ListPreparer

func (client VirtualMachineImagesClient) ListPreparer(ctx context.Context, location string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineImagesClient) ListPublishers

func (client VirtualMachineImagesClient) ListPublishers(ctx context.Context, location string) (result ListVirtualMachineImageResource, err error)

ListPublishers gets a list of virtual machine image publishers for the specified Azure location. Parameters: location - the name of a supported Azure region.

func (VirtualMachineImagesClient) ListPublishersPreparer

func (client VirtualMachineImagesClient) ListPublishersPreparer(ctx context.Context, location string) (*http.Request, error)

ListPublishersPreparer prepares the ListPublishers request.

func (VirtualMachineImagesClient) ListPublishersResponder

func (client VirtualMachineImagesClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListPublishersResponder handles the response to the ListPublishers request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListPublishersSender

func (client VirtualMachineImagesClient) ListPublishersSender(req *http.Request) (*http.Response, error)

ListPublishersSender sends the ListPublishers request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) ListResponder

func (client VirtualMachineImagesClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListSender

func (client VirtualMachineImagesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesClient) ListSkus

func (client VirtualMachineImagesClient) ListSkus(ctx context.Context, location string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)

ListSkus gets a list of virtual machine image SKUs for the specified location, publisher, and offer. Parameters: location - the name of a supported Azure region. publisherName - a valid image publisher. offer - a valid image publisher offer.

func (VirtualMachineImagesClient) ListSkusPreparer

func (client VirtualMachineImagesClient) ListSkusPreparer(ctx context.Context, location string, publisherName string, offer string) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (VirtualMachineImagesClient) ListSkusResponder

func (client VirtualMachineImagesClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.

func (VirtualMachineImagesClient) ListSkusSender

func (client VirtualMachineImagesClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

type VirtualMachineImagesEdgeZoneClient

VirtualMachineImagesEdgeZoneClient is the compute Client

type VirtualMachineImagesEdgeZoneClient struct {
    BaseClient
}

func NewVirtualMachineImagesEdgeZoneClient

func NewVirtualMachineImagesEdgeZoneClient(subscriptionID string) VirtualMachineImagesEdgeZoneClient

NewVirtualMachineImagesEdgeZoneClient creates an instance of the VirtualMachineImagesEdgeZoneClient client.

func NewVirtualMachineImagesEdgeZoneClientWithBaseURI

func NewVirtualMachineImagesEdgeZoneClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesEdgeZoneClient

NewVirtualMachineImagesEdgeZoneClientWithBaseURI creates an instance of the VirtualMachineImagesEdgeZoneClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineImagesEdgeZoneClient) Get

func (client VirtualMachineImagesEdgeZoneClient) Get(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, version string) (result VirtualMachineImage, err error)

Get gets a virtual machine image in an edge zone. Parameters: location - the name of a supported Azure region. edgeZone - the name of the edge zone. publisherName - a valid image publisher. offer - a valid image publisher offer. skus - a valid image SKU. version - a valid image SKU version.

func (VirtualMachineImagesEdgeZoneClient) GetPreparer

func (client VirtualMachineImagesEdgeZoneClient) GetPreparer(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, version string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineImagesEdgeZoneClient) GetResponder

func (client VirtualMachineImagesEdgeZoneClient) GetResponder(resp *http.Response) (result VirtualMachineImage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineImagesEdgeZoneClient) GetSender

func (client VirtualMachineImagesEdgeZoneClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesEdgeZoneClient) List

func (client VirtualMachineImagesEdgeZoneClient) List(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (result ListVirtualMachineImageResource, err error)

List gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. Parameters: location - the name of a supported Azure region. edgeZone - the name of the edge zone. publisherName - a valid image publisher. offer - a valid image publisher offer. skus - a valid image SKU. expand - the expand expression to apply on the operation. top - an integer value specifying the number of images to return that matches supplied values. orderby - specifies the order of the results returned. Formatted as an OData query.

func (VirtualMachineImagesEdgeZoneClient) ListOffers

func (client VirtualMachineImagesEdgeZoneClient) ListOffers(ctx context.Context, location string, edgeZone string, publisherName string) (result ListVirtualMachineImageResource, err error)

ListOffers gets a list of virtual machine image offers for the specified location, edge zone and publisher. Parameters: location - the name of a supported Azure region. edgeZone - the name of the edge zone. publisherName - a valid image publisher.

func (VirtualMachineImagesEdgeZoneClient) ListOffersPreparer

func (client VirtualMachineImagesEdgeZoneClient) ListOffersPreparer(ctx context.Context, location string, edgeZone string, publisherName string) (*http.Request, error)

ListOffersPreparer prepares the ListOffers request.

func (VirtualMachineImagesEdgeZoneClient) ListOffersResponder

func (client VirtualMachineImagesEdgeZoneClient) ListOffersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListOffersResponder handles the response to the ListOffers request. The method always closes the http.Response Body.

func (VirtualMachineImagesEdgeZoneClient) ListOffersSender

func (client VirtualMachineImagesEdgeZoneClient) ListOffersSender(req *http.Request) (*http.Response, error)

ListOffersSender sends the ListOffers request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesEdgeZoneClient) ListPreparer

func (client VirtualMachineImagesEdgeZoneClient) ListPreparer(ctx context.Context, location string, edgeZone string, publisherName string, offer string, skus string, expand string, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineImagesEdgeZoneClient) ListPublishers

func (client VirtualMachineImagesEdgeZoneClient) ListPublishers(ctx context.Context, location string, edgeZone string) (result ListVirtualMachineImageResource, err error)

ListPublishers gets a list of virtual machine image publishers for the specified Azure location and edge zone. Parameters: location - the name of a supported Azure region. edgeZone - the name of the edge zone.

func (VirtualMachineImagesEdgeZoneClient) ListPublishersPreparer

func (client VirtualMachineImagesEdgeZoneClient) ListPublishersPreparer(ctx context.Context, location string, edgeZone string) (*http.Request, error)

ListPublishersPreparer prepares the ListPublishers request.

func (VirtualMachineImagesEdgeZoneClient) ListPublishersResponder

func (client VirtualMachineImagesEdgeZoneClient) ListPublishersResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListPublishersResponder handles the response to the ListPublishers request. The method always closes the http.Response Body.

func (VirtualMachineImagesEdgeZoneClient) ListPublishersSender

func (client VirtualMachineImagesEdgeZoneClient) ListPublishersSender(req *http.Request) (*http.Response, error)

ListPublishersSender sends the ListPublishers request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesEdgeZoneClient) ListResponder

func (client VirtualMachineImagesEdgeZoneClient) ListResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineImagesEdgeZoneClient) ListSender

func (client VirtualMachineImagesEdgeZoneClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineImagesEdgeZoneClient) ListSkus

func (client VirtualMachineImagesEdgeZoneClient) ListSkus(ctx context.Context, location string, edgeZone string, publisherName string, offer string) (result ListVirtualMachineImageResource, err error)

ListSkus gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. Parameters: location - the name of a supported Azure region. edgeZone - the name of the edge zone. publisherName - a valid image publisher. offer - a valid image publisher offer.

func (VirtualMachineImagesEdgeZoneClient) ListSkusPreparer

func (client VirtualMachineImagesEdgeZoneClient) ListSkusPreparer(ctx context.Context, location string, edgeZone string, publisherName string, offer string) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (VirtualMachineImagesEdgeZoneClient) ListSkusResponder

func (client VirtualMachineImagesEdgeZoneClient) ListSkusResponder(resp *http.Response) (result ListVirtualMachineImageResource, err error)

ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.

func (VirtualMachineImagesEdgeZoneClient) ListSkusSender

func (client VirtualMachineImagesEdgeZoneClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

type VirtualMachineInstallPatchesParameters

VirtualMachineInstallPatchesParameters input for InstallPatches as directly received by the API

type VirtualMachineInstallPatchesParameters struct {
    // MaximumDuration - Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours)
    MaximumDuration *string `json:"maximumDuration,omitempty"`
    // RebootSetting - Defines when it is acceptable to reboot a VM during a software update operation. Possible values include: 'VMGuestPatchRebootSettingIfRequired', 'VMGuestPatchRebootSettingNever', 'VMGuestPatchRebootSettingAlways'
    RebootSetting VMGuestPatchRebootSetting `json:"rebootSetting,omitempty"`
    // WindowsParameters - Input for InstallPatches on a Windows VM, as directly received by the API
    WindowsParameters *WindowsParameters `json:"windowsParameters,omitempty"`
    // LinuxParameters - Input for InstallPatches on a Linux VM, as directly received by the API
    LinuxParameters *LinuxParameters `json:"linuxParameters,omitempty"`
}

type VirtualMachineInstallPatchesResult

VirtualMachineInstallPatchesResult the result summary of an installation operation.

type VirtualMachineInstallPatchesResult struct {
    autorest.Response `json:"-"`
    // Status - READ-ONLY; The overall success or failure status of the operation. It remains "InProgress" until the operation completes. At that point it will become "Failed", "Succeeded", "Unknown" or "CompletedWithWarnings.". Possible values include: 'PatchOperationStatusUnknown', 'PatchOperationStatusInProgress', 'PatchOperationStatusFailed', 'PatchOperationStatusSucceeded', 'PatchOperationStatusCompletedWithWarnings'
    Status PatchOperationStatus `json:"status,omitempty"`
    // InstallationActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
    InstallationActivityID *string `json:"installationActivityId,omitempty"`
    // RebootStatus - READ-ONLY; The reboot state of the VM following completion of the operation. Possible values include: 'VMGuestPatchRebootStatusUnknown', 'VMGuestPatchRebootStatusNotNeeded', 'VMGuestPatchRebootStatusRequired', 'VMGuestPatchRebootStatusStarted', 'VMGuestPatchRebootStatusFailed', 'VMGuestPatchRebootStatusCompleted'
    RebootStatus VMGuestPatchRebootStatus `json:"rebootStatus,omitempty"`
    // MaintenanceWindowExceeded - READ-ONLY; Whether the operation ran out of time before it completed all its intended actions.
    MaintenanceWindowExceeded *bool `json:"maintenanceWindowExceeded,omitempty"`
    // ExcludedPatchCount - READ-ONLY; The number of patches that were not installed due to the user blocking their installation.
    ExcludedPatchCount *int32 `json:"excludedPatchCount,omitempty"`
    // NotSelectedPatchCount - READ-ONLY; The number of patches that were detected as available for install, but did not meet the operation's criteria.
    NotSelectedPatchCount *int32 `json:"notSelectedPatchCount,omitempty"`
    // PendingPatchCount - READ-ONLY; The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true.
    PendingPatchCount *int32 `json:"pendingPatchCount,omitempty"`
    // InstalledPatchCount - READ-ONLY; The number of patches successfully installed.
    InstalledPatchCount *int32 `json:"installedPatchCount,omitempty"`
    // FailedPatchCount - READ-ONLY; The number of patches that could not be installed due to some issue. See errors for details.
    FailedPatchCount *int32 `json:"failedPatchCount,omitempty"`
    // Patches - READ-ONLY; The patches that were installed during the operation.
    Patches *[]PatchInstallationDetail `json:"patches,omitempty"`
    // StartDateTime - READ-ONLY; The UTC timestamp when the operation began.
    StartDateTime *date.Time `json:"startDateTime,omitempty"`
    // Error - READ-ONLY; The errors that were encountered during execution of the operation. The details array contains the list of them.
    Error *APIError `json:"error,omitempty"`
}

func (VirtualMachineInstallPatchesResult) MarshalJSON

func (vmipr VirtualMachineInstallPatchesResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineInstallPatchesResult.

type VirtualMachineInstanceView

VirtualMachineInstanceView the instance view of a virtual machine.

type VirtualMachineInstanceView struct {
    autorest.Response `json:"-"`
    // PlatformUpdateDomain - Specifies the update domain of the virtual machine.
    PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"`
    // PlatformFaultDomain - Specifies the fault domain of the virtual machine.
    PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
    // ComputerName - The computer name assigned to the virtual machine.
    ComputerName *string `json:"computerName,omitempty"`
    // OsName - The Operating System running on the virtual machine.
    OsName *string `json:"osName,omitempty"`
    // OsVersion - The version of Operating System running on the virtual machine.
    OsVersion *string `json:"osVersion,omitempty"`
    // HyperVGeneration - Specifies the HyperVGeneration Type associated with a resource. Possible values include: 'HyperVGenerationTypeV1', 'HyperVGenerationTypeV2'
    HyperVGeneration HyperVGenerationType `json:"hyperVGeneration,omitempty"`
    // RdpThumbPrint - The Remote desktop certificate thumbprint.
    RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"`
    // VMAgent - The VM Agent running on the virtual machine.
    VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"`
    // MaintenanceRedeployStatus - The Maintenance Operation status on the virtual machine.
    MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"`
    // Disks - The virtual machine disk information.
    Disks *[]DiskInstanceView `json:"disks,omitempty"`
    // Extensions - The extensions information.
    Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
    // VMHealth - READ-ONLY; The health status for the VM.
    VMHealth *VirtualMachineHealthStatus `json:"vmHealth,omitempty"`
    // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
    BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"`
    // AssignedHost - READ-ONLY; Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. <br><br>Minimum api-version: 2020-06-01.
    AssignedHost *string `json:"assignedHost,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
    // PatchStatus - [Preview Feature] The status of virtual machine patch operations.
    PatchStatus *VirtualMachinePatchStatus `json:"patchStatus,omitempty"`
}

func (VirtualMachineInstanceView) MarshalJSON

func (vmiv VirtualMachineInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineInstanceView.

type VirtualMachineListResult

VirtualMachineListResult the List Virtual Machine operation response.

type VirtualMachineListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of virtual machines.
    Value *[]VirtualMachine `json:"value,omitempty"`
    // NextLink - The URI to fetch the next page of VMs. Call ListNext() with this URI to fetch the next page of Virtual Machines.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineListResult) IsEmpty

func (vmlr VirtualMachineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineListResultIterator

VirtualMachineListResultIterator provides access to a complete listing of VirtualMachine values.

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

func NewVirtualMachineListResultIterator

func NewVirtualMachineListResultIterator(page VirtualMachineListResultPage) VirtualMachineListResultIterator

Creates a new instance of the VirtualMachineListResultIterator type.

func (*VirtualMachineListResultIterator) Next

func (iter *VirtualMachineListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineListResultIterator) NextWithContext

func (iter *VirtualMachineListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineListResultIterator) NotDone

func (iter VirtualMachineListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineListResultIterator) Response

func (iter VirtualMachineListResultIterator) Response() VirtualMachineListResult

Response returns the raw server response from the last page request.

func (VirtualMachineListResultIterator) Value

func (iter VirtualMachineListResultIterator) Value() VirtualMachine

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineListResultPage

VirtualMachineListResultPage contains a page of VirtualMachine values.

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

func NewVirtualMachineListResultPage

func NewVirtualMachineListResultPage(cur VirtualMachineListResult, getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage

Creates a new instance of the VirtualMachineListResultPage type.

func (*VirtualMachineListResultPage) Next

func (page *VirtualMachineListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineListResultPage) NextWithContext

func (page *VirtualMachineListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineListResultPage) NotDone

func (page VirtualMachineListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineListResultPage) Response

func (page VirtualMachineListResultPage) Response() VirtualMachineListResult

Response returns the raw server response from the last page request.

func (VirtualMachineListResultPage) Values

func (page VirtualMachineListResultPage) Values() []VirtualMachine

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineNetworkInterfaceConfiguration

VirtualMachineNetworkInterfaceConfiguration describes a virtual machine network interface configurations.

type VirtualMachineNetworkInterfaceConfiguration struct {
    // Name - The network interface configuration name.
    Name                                                   *string `json:"name,omitempty"`
    *VirtualMachineNetworkInterfaceConfigurationProperties `json:"properties,omitempty"`
}

func (VirtualMachineNetworkInterfaceConfiguration) MarshalJSON

func (vmnic VirtualMachineNetworkInterfaceConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineNetworkInterfaceConfiguration.

func (*VirtualMachineNetworkInterfaceConfiguration) UnmarshalJSON

func (vmnic *VirtualMachineNetworkInterfaceConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineNetworkInterfaceConfiguration struct.

type VirtualMachineNetworkInterfaceConfigurationProperties

VirtualMachineNetworkInterfaceConfigurationProperties describes a virtual machine network profile's IP configuration.

type VirtualMachineNetworkInterfaceConfigurationProperties struct {
    // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
    Primary *bool `json:"primary,omitempty"`
    // DeleteOption - Specify what happens to the network interface when the VM is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach'
    DeleteOption DeleteOptions `json:"deleteOption,omitempty"`
    // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled.
    EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`
    // EnableFpga - Specifies whether the network interface is FPGA networking-enabled.
    EnableFpga *bool `json:"enableFpga,omitempty"`
    // EnableIPForwarding - Whether IP forwarding enabled on this NIC.
    EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
    // NetworkSecurityGroup - The network security group.
    NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
    // DNSSettings - The dns settings to be applied on the network interfaces.
    DNSSettings *VirtualMachineNetworkInterfaceDNSSettingsConfiguration `json:"dnsSettings,omitempty"`
    // IPConfigurations - Specifies the IP configurations of the network interface.
    IPConfigurations  *[]VirtualMachineNetworkInterfaceIPConfiguration `json:"ipConfigurations,omitempty"`
    DscpConfiguration *SubResource                                     `json:"dscpConfiguration,omitempty"`
}

type VirtualMachineNetworkInterfaceDNSSettingsConfiguration

VirtualMachineNetworkInterfaceDNSSettingsConfiguration describes a virtual machines network configuration's DNS settings.

type VirtualMachineNetworkInterfaceDNSSettingsConfiguration struct {
    // DNSServers - List of DNS servers IP addresses
    DNSServers *[]string `json:"dnsServers,omitempty"`
}

type VirtualMachineNetworkInterfaceIPConfiguration

VirtualMachineNetworkInterfaceIPConfiguration describes a virtual machine network profile's IP configuration.

type VirtualMachineNetworkInterfaceIPConfiguration struct {
    // Name - The IP configuration name.
    Name                                                     *string `json:"name,omitempty"`
    *VirtualMachineNetworkInterfaceIPConfigurationProperties `json:"properties,omitempty"`
}

func (VirtualMachineNetworkInterfaceIPConfiguration) MarshalJSON

func (vmniic VirtualMachineNetworkInterfaceIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineNetworkInterfaceIPConfiguration.

func (*VirtualMachineNetworkInterfaceIPConfiguration) UnmarshalJSON

func (vmniic *VirtualMachineNetworkInterfaceIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineNetworkInterfaceIPConfiguration struct.

type VirtualMachineNetworkInterfaceIPConfigurationProperties

VirtualMachineNetworkInterfaceIPConfigurationProperties describes a virtual machine network interface IP configuration properties.

type VirtualMachineNetworkInterfaceIPConfigurationProperties struct {
    // Subnet - Specifies the identifier of the subnet.
    Subnet *SubResource `json:"subnet,omitempty"`
    // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
    Primary *bool `json:"primary,omitempty"`
    // PublicIPAddressConfiguration - The publicIPAddressConfiguration.
    PublicIPAddressConfiguration *VirtualMachinePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
    // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.  Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPVersionsIPv4', 'IPVersionsIPv6'
    PrivateIPAddressVersion IPVersions `json:"privateIPAddressVersion,omitempty"`
    // ApplicationSecurityGroups - Specifies an array of references to application security group.
    ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"`
    // ApplicationGatewayBackendAddressPools - Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.
    ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"`
    // LoadBalancerBackendAddressPools - Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].
    LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"`
}

type VirtualMachinePatchStatus

VirtualMachinePatchStatus the status of virtual machine patch operations.

type VirtualMachinePatchStatus struct {
    // AvailablePatchSummary - The available patch summary of the latest assessment operation for the virtual machine.
    AvailablePatchSummary *AvailablePatchSummary `json:"availablePatchSummary,omitempty"`
    // LastPatchInstallationSummary - The installation summary of the latest installation operation for the virtual machine.
    LastPatchInstallationSummary *LastPatchInstallationSummary `json:"lastPatchInstallationSummary,omitempty"`
    // ConfigurationStatuses - READ-ONLY; The enablement status of the specified patchMode
    ConfigurationStatuses *[]InstanceViewStatus `json:"configurationStatuses,omitempty"`
}

func (VirtualMachinePatchStatus) MarshalJSON

func (vmps VirtualMachinePatchStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachinePatchStatus.

type VirtualMachinePriorityTypes

VirtualMachinePriorityTypes enumerates the values for virtual machine priority types.

type VirtualMachinePriorityTypes string
const (
    // VirtualMachinePriorityTypesLow ...
    VirtualMachinePriorityTypesLow VirtualMachinePriorityTypes = "Low"
    // VirtualMachinePriorityTypesRegular ...
    VirtualMachinePriorityTypesRegular VirtualMachinePriorityTypes = "Regular"
    // VirtualMachinePriorityTypesSpot ...
    VirtualMachinePriorityTypesSpot VirtualMachinePriorityTypes = "Spot"
)

func PossibleVirtualMachinePriorityTypesValues

func PossibleVirtualMachinePriorityTypesValues() []VirtualMachinePriorityTypes

PossibleVirtualMachinePriorityTypesValues returns an array of possible values for the VirtualMachinePriorityTypes const type.

type VirtualMachineProperties

VirtualMachineProperties describes the properties of a Virtual Machine.

type VirtualMachineProperties struct {
    // HardwareProfile - Specifies the hardware settings for the virtual machine.
    HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`
    // StorageProfile - Specifies the storage settings for the virtual machine disks.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the virtual machine.
    AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
    // OsProfile - Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.
    OsProfile *OSProfile `json:"osProfile,omitempty"`
    // NetworkProfile - Specifies the network interfaces of the virtual machine.
    NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
    // SecurityProfile - Specifies the Security related profile settings for the virtual machine.
    SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"`
    // DiagnosticsProfile - Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
    DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
    // AvailabilitySet - Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. <br><br>This property cannot exist along with a non-null properties.virtualMachineScaleSet reference.
    AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`
    // VirtualMachineScaleSet - Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum api‐version: 2019‐03‐01
    VirtualMachineScaleSet *SubResource `json:"virtualMachineScaleSet,omitempty"`
    // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01.
    ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
    // Priority - Specifies the priority for the virtual machine. <br><br>Minimum api-version: 2019-03-01. Possible values include: 'VirtualMachinePriorityTypesRegular', 'VirtualMachinePriorityTypesLow', 'VirtualMachinePriorityTypesSpot'
    Priority VirtualMachinePriorityTypes `json:"priority,omitempty"`
    // EvictionPolicy - Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'VirtualMachineEvictionPolicyTypesDeallocate', 'VirtualMachineEvictionPolicyTypesDelete'
    EvictionPolicy VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"`
    // BillingProfile - Specifies the billing related details of a Azure Spot virtual machine. <br><br>Minimum api-version: 2019-03-01.
    BillingProfile *BillingProfile `json:"billingProfile,omitempty"`
    // Host - Specifies information about the dedicated host that the virtual machine resides in. <br><br>Minimum api-version: 2018-10-01.
    Host *SubResource `json:"host,omitempty"`
    // HostGroup - Specifies information about the dedicated host group that the virtual machine resides in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host and hostGroup properties.
    HostGroup *SubResource `json:"hostGroup,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // InstanceView - READ-ONLY; The virtual machine instance view.
    InstanceView *VirtualMachineInstanceView `json:"instanceView,omitempty"`
    // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15
    LicenseType *string `json:"licenseType,omitempty"`
    // VMID - READ-ONLY; Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands.
    VMID *string `json:"vmId,omitempty"`
    // ExtensionsTimeBudget - Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01
    ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty"`
    // PlatformFaultDomain - Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.<br><li>This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' &gt; 1.<li>This property cannot be updated once the Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance View.<br><br>Minimum api‐version: 2020‐12‐01
    PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
    // ScheduledEventsProfile - Specifies Scheduled Event related configurations.
    ScheduledEventsProfile *ScheduledEventsProfile `json:"scheduledEventsProfile,omitempty"`
    // UserData - UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01
    UserData *string `json:"userData,omitempty"`
    // CapacityReservation - Specifies information about the capacity reservation that is used to allocate virtual machine. <br><br>Minimum api-version: 2021-04-01.
    CapacityReservation *CapacityReservationProfile `json:"capacityReservation,omitempty"`
    // ApplicationProfile - Specifies the gallery applications that should be made available to the VM/VMSS
    ApplicationProfile *ApplicationProfile `json:"applicationProfile,omitempty"`
    // TimeCreated - READ-ONLY; Specifies the time at which the Virtual Machine resource was created.<br><br>Minimum api-version: 2021-11-01.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
}

func (VirtualMachineProperties) MarshalJSON

func (vmp VirtualMachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineProperties.

type VirtualMachinePublicIPAddressConfiguration

VirtualMachinePublicIPAddressConfiguration describes a virtual machines IP Configuration's PublicIPAddress configuration

type VirtualMachinePublicIPAddressConfiguration struct {
    // Name - The publicIP address configuration name.
    Name                                                  *string `json:"name,omitempty"`
    *VirtualMachinePublicIPAddressConfigurationProperties `json:"properties,omitempty"`
    Sku                                                   *PublicIPAddressSku `json:"sku,omitempty"`
}

func (VirtualMachinePublicIPAddressConfiguration) MarshalJSON

func (vmpiac VirtualMachinePublicIPAddressConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachinePublicIPAddressConfiguration.

func (*VirtualMachinePublicIPAddressConfiguration) UnmarshalJSON

func (vmpiac *VirtualMachinePublicIPAddressConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachinePublicIPAddressConfiguration struct.

type VirtualMachinePublicIPAddressConfigurationProperties

VirtualMachinePublicIPAddressConfigurationProperties describes a virtual machines IP Configuration's PublicIPAddress configuration

type VirtualMachinePublicIPAddressConfigurationProperties struct {
    // IdleTimeoutInMinutes - The idle timeout of the public IP address.
    IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
    // DeleteOption - Specify what happens to the public IP address when the VM is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach'
    DeleteOption DeleteOptions `json:"deleteOption,omitempty"`
    // DNSSettings - The dns settings to be applied on the publicIP addresses .
    DNSSettings *VirtualMachinePublicIPAddressDNSSettingsConfiguration `json:"dnsSettings,omitempty"`
    // IPTags - The list of IP tags associated with the public IP address.
    IPTags *[]VirtualMachineIPTag `json:"ipTags,omitempty"`
    // PublicIPPrefix - The PublicIPPrefix from which to allocate publicIP addresses.
    PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`
    // PublicIPAddressVersion - Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPVersionsIPv4', 'IPVersionsIPv6'
    PublicIPAddressVersion IPVersions `json:"publicIPAddressVersion,omitempty"`
    // PublicIPAllocationMethod - Specify the public IP allocation type. Possible values include: 'PublicIPAllocationMethodDynamic', 'PublicIPAllocationMethodStatic'
    PublicIPAllocationMethod PublicIPAllocationMethod `json:"publicIPAllocationMethod,omitempty"`
}

type VirtualMachinePublicIPAddressDNSSettingsConfiguration

VirtualMachinePublicIPAddressDNSSettingsConfiguration describes a virtual machines network configuration's DNS settings.

type VirtualMachinePublicIPAddressDNSSettingsConfiguration struct {
    // DomainNameLabel - The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.
    DomainNameLabel *string `json:"domainNameLabel,omitempty"`
}

type VirtualMachineReimageParameters

VirtualMachineReimageParameters parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk will always be reimaged

type VirtualMachineReimageParameters struct {
    // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.
    TempDisk *bool `json:"tempDisk,omitempty"`
}

type VirtualMachineRunCommand

VirtualMachineRunCommand describes a Virtual Machine run command.

type VirtualMachineRunCommand struct {
    autorest.Response                   `json:"-"`
    *VirtualMachineRunCommandProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineRunCommand) MarshalJSON

func (vmrc VirtualMachineRunCommand) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineRunCommand.

func (*VirtualMachineRunCommand) UnmarshalJSON

func (vmrc *VirtualMachineRunCommand) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineRunCommand struct.

type VirtualMachineRunCommandInstanceView

VirtualMachineRunCommandInstanceView the instance view of a virtual machine run command.

type VirtualMachineRunCommandInstanceView struct {
    // ExecutionState - Script execution status. Possible values include: 'ExecutionStateUnknown', 'ExecutionStatePending', 'ExecutionStateRunning', 'ExecutionStateFailed', 'ExecutionStateSucceeded', 'ExecutionStateTimedOut', 'ExecutionStateCanceled'
    ExecutionState ExecutionState `json:"executionState,omitempty"`
    // ExecutionMessage - Communicate script configuration errors or execution messages.
    ExecutionMessage *string `json:"executionMessage,omitempty"`
    // ExitCode - Exit code returned from script execution.
    ExitCode *int32 `json:"exitCode,omitempty"`
    // Output - Script output stream.
    Output *string `json:"output,omitempty"`
    // Error - Script error stream.
    Error *string `json:"error,omitempty"`
    // StartTime - Script start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - Script end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
}

type VirtualMachineRunCommandProperties

VirtualMachineRunCommandProperties describes the properties of a Virtual Machine run command.

type VirtualMachineRunCommandProperties struct {
    // Source - The source of the run command script.
    Source *VirtualMachineRunCommandScriptSource `json:"source,omitempty"`
    // Parameters - The parameters used by the script.
    Parameters *[]RunCommandInputParameter `json:"parameters,omitempty"`
    // ProtectedParameters - The parameters used by the script.
    ProtectedParameters *[]RunCommandInputParameter `json:"protectedParameters,omitempty"`
    // AsyncExecution - Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete.
    AsyncExecution *bool `json:"asyncExecution,omitempty"`
    // RunAsUser - Specifies the user account on the VM when executing the run command.
    RunAsUser *string `json:"runAsUser,omitempty"`
    // RunAsPassword - Specifies the user account password on the VM when executing the run command.
    RunAsPassword *string `json:"runAsPassword,omitempty"`
    // TimeoutInSeconds - The timeout in seconds to execute the run command.
    TimeoutInSeconds *int32 `json:"timeoutInSeconds,omitempty"`
    // OutputBlobURI - Specifies the Azure storage blob where script output stream will be uploaded.
    OutputBlobURI *string `json:"outputBlobUri,omitempty"`
    // ErrorBlobURI - Specifies the Azure storage blob where script error stream will be uploaded.
    ErrorBlobURI *string `json:"errorBlobUri,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // InstanceView - READ-ONLY; The virtual machine run command instance view.
    InstanceView *VirtualMachineRunCommandInstanceView `json:"instanceView,omitempty"`
}

func (VirtualMachineRunCommandProperties) MarshalJSON

func (vmrcp VirtualMachineRunCommandProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineRunCommandProperties.

type VirtualMachineRunCommandScriptSource

VirtualMachineRunCommandScriptSource describes the script sources for run command.

type VirtualMachineRunCommandScriptSource struct {
    // Script - Specifies the script content to be executed on the VM.
    Script *string `json:"script,omitempty"`
    // ScriptURI - Specifies the script download location.
    ScriptURI *string `json:"scriptUri,omitempty"`
    // CommandID - Specifies a commandId of predefined built-in script.
    CommandID *string `json:"commandId,omitempty"`
}

type VirtualMachineRunCommandUpdate

VirtualMachineRunCommandUpdate describes a Virtual Machine run command.

type VirtualMachineRunCommandUpdate struct {
    *VirtualMachineRunCommandProperties `json:"properties,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineRunCommandUpdate) MarshalJSON

func (vmrcu VirtualMachineRunCommandUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineRunCommandUpdate.

func (*VirtualMachineRunCommandUpdate) UnmarshalJSON

func (vmrcu *VirtualMachineRunCommandUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineRunCommandUpdate struct.

type VirtualMachineRunCommandsClient

VirtualMachineRunCommandsClient is the compute Client

type VirtualMachineRunCommandsClient struct {
    BaseClient
}

func NewVirtualMachineRunCommandsClient

func NewVirtualMachineRunCommandsClient(subscriptionID string) VirtualMachineRunCommandsClient

NewVirtualMachineRunCommandsClient creates an instance of the VirtualMachineRunCommandsClient client.

func NewVirtualMachineRunCommandsClientWithBaseURI

func NewVirtualMachineRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineRunCommandsClient

NewVirtualMachineRunCommandsClientWithBaseURI creates an instance of the VirtualMachineRunCommandsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineRunCommandsClient) CreateOrUpdate

func (client VirtualMachineRunCommandsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommand) (result VirtualMachineRunCommandsCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update the run command. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the run command should be created or updated. runCommandName - the name of the virtual machine run command. runCommand - parameters supplied to the Create Virtual Machine RunCommand operation.

func (VirtualMachineRunCommandsClient) CreateOrUpdatePreparer

func (client VirtualMachineRunCommandsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommand) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineRunCommandsClient) CreateOrUpdateResponder

func (client VirtualMachineRunCommandsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) CreateOrUpdateSender

func (client VirtualMachineRunCommandsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineRunCommandsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineRunCommandsClient) Delete

func (client VirtualMachineRunCommandsClient) Delete(ctx context.Context, resourceGroupName string, VMName string, runCommandName string) (result VirtualMachineRunCommandsDeleteFuture, err error)

Delete the operation to delete the run command. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the run command should be deleted. runCommandName - the name of the virtual machine run command.

func (VirtualMachineRunCommandsClient) DeletePreparer

func (client VirtualMachineRunCommandsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineRunCommandsClient) DeleteResponder

func (client VirtualMachineRunCommandsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) DeleteSender

func (client VirtualMachineRunCommandsClient) DeleteSender(req *http.Request) (future VirtualMachineRunCommandsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineRunCommandsClient) Get

func (client VirtualMachineRunCommandsClient) Get(ctx context.Context, location string, commandID string) (result RunCommandDocument, err error)

Get gets specific run command for a subscription in a location. Parameters: location - the location upon which run commands is queried. commandID - the command id.

func (VirtualMachineRunCommandsClient) GetByVirtualMachine

func (client VirtualMachineRunCommandsClient) GetByVirtualMachine(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, expand string) (result VirtualMachineRunCommand, err error)

GetByVirtualMachine the operation to get the run command. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine containing the run command. runCommandName - the name of the virtual machine run command. expand - the expand expression to apply on the operation.

func (VirtualMachineRunCommandsClient) GetByVirtualMachinePreparer

func (client VirtualMachineRunCommandsClient) GetByVirtualMachinePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, expand string) (*http.Request, error)

GetByVirtualMachinePreparer prepares the GetByVirtualMachine request.

func (VirtualMachineRunCommandsClient) GetByVirtualMachineResponder

func (client VirtualMachineRunCommandsClient) GetByVirtualMachineResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)

GetByVirtualMachineResponder handles the response to the GetByVirtualMachine request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) GetByVirtualMachineSender

func (client VirtualMachineRunCommandsClient) GetByVirtualMachineSender(req *http.Request) (*http.Response, error)

GetByVirtualMachineSender sends the GetByVirtualMachine request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineRunCommandsClient) GetPreparer

func (client VirtualMachineRunCommandsClient) GetPreparer(ctx context.Context, location string, commandID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineRunCommandsClient) GetResponder

func (client VirtualMachineRunCommandsClient) GetResponder(resp *http.Response) (result RunCommandDocument, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) GetSender

func (client VirtualMachineRunCommandsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineRunCommandsClient) List

func (client VirtualMachineRunCommandsClient) List(ctx context.Context, location string) (result RunCommandListResultPage, err error)

List lists all available run commands for a subscription in a location. Parameters: location - the location upon which run commands is queried.

func (VirtualMachineRunCommandsClient) ListByVirtualMachine

func (client VirtualMachineRunCommandsClient) ListByVirtualMachine(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineRunCommandsListResultPage, err error)

ListByVirtualMachine the operation to get all run commands of a Virtual Machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine containing the run command. expand - the expand expression to apply on the operation.

func (VirtualMachineRunCommandsClient) ListByVirtualMachineComplete

func (client VirtualMachineRunCommandsClient) ListByVirtualMachineComplete(ctx context.Context, resourceGroupName string, VMName string, expand string) (result VirtualMachineRunCommandsListResultIterator, err error)

ListByVirtualMachineComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineRunCommandsClient) ListByVirtualMachinePreparer

func (client VirtualMachineRunCommandsClient) ListByVirtualMachinePreparer(ctx context.Context, resourceGroupName string, VMName string, expand string) (*http.Request, error)

ListByVirtualMachinePreparer prepares the ListByVirtualMachine request.

func (VirtualMachineRunCommandsClient) ListByVirtualMachineResponder

func (client VirtualMachineRunCommandsClient) ListByVirtualMachineResponder(resp *http.Response) (result VirtualMachineRunCommandsListResult, err error)

ListByVirtualMachineResponder handles the response to the ListByVirtualMachine request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) ListByVirtualMachineSender

func (client VirtualMachineRunCommandsClient) ListByVirtualMachineSender(req *http.Request) (*http.Response, error)

ListByVirtualMachineSender sends the ListByVirtualMachine request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineRunCommandsClient) ListComplete

func (client VirtualMachineRunCommandsClient) ListComplete(ctx context.Context, location string) (result RunCommandListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineRunCommandsClient) ListPreparer

func (client VirtualMachineRunCommandsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineRunCommandsClient) ListResponder

func (client VirtualMachineRunCommandsClient) ListResponder(resp *http.Response) (result RunCommandListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) ListSender

func (client VirtualMachineRunCommandsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineRunCommandsClient) Update

func (client VirtualMachineRunCommandsClient) Update(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (result VirtualMachineRunCommandsUpdateFuture, err error)

Update the operation to update the run command. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine where the run command should be updated. runCommandName - the name of the virtual machine run command. runCommand - parameters supplied to the Update Virtual Machine RunCommand operation.

func (VirtualMachineRunCommandsClient) UpdatePreparer

func (client VirtualMachineRunCommandsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineRunCommandsClient) UpdateResponder

func (client VirtualMachineRunCommandsClient) UpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineRunCommandsClient) UpdateSender

func (client VirtualMachineRunCommandsClient) UpdateSender(req *http.Request) (future VirtualMachineRunCommandsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineRunCommandsCreateOrUpdateFuture

VirtualMachineRunCommandsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineRunCommandsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineRunCommandsClient) (VirtualMachineRunCommand, error)
}

func (*VirtualMachineRunCommandsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachineRunCommandsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineRunCommandsDeleteFuture

VirtualMachineRunCommandsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineRunCommandsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineRunCommandsClient) (autorest.Response, error)
}

func (*VirtualMachineRunCommandsDeleteFuture) UnmarshalJSON

func (future *VirtualMachineRunCommandsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineRunCommandsListResult

VirtualMachineRunCommandsListResult the List run command operation response

type VirtualMachineRunCommandsListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of run commands
    Value *[]VirtualMachineRunCommand `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of run commands.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineRunCommandsListResult) IsEmpty

func (vmrclr VirtualMachineRunCommandsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineRunCommandsListResultIterator

VirtualMachineRunCommandsListResultIterator provides access to a complete listing of VirtualMachineRunCommand values.

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

func NewVirtualMachineRunCommandsListResultIterator

func NewVirtualMachineRunCommandsListResultIterator(page VirtualMachineRunCommandsListResultPage) VirtualMachineRunCommandsListResultIterator

Creates a new instance of the VirtualMachineRunCommandsListResultIterator type.

func (*VirtualMachineRunCommandsListResultIterator) Next

func (iter *VirtualMachineRunCommandsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineRunCommandsListResultIterator) NextWithContext

func (iter *VirtualMachineRunCommandsListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineRunCommandsListResultIterator) NotDone

func (iter VirtualMachineRunCommandsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineRunCommandsListResultIterator) Response

func (iter VirtualMachineRunCommandsListResultIterator) Response() VirtualMachineRunCommandsListResult

Response returns the raw server response from the last page request.

func (VirtualMachineRunCommandsListResultIterator) Value

func (iter VirtualMachineRunCommandsListResultIterator) Value() VirtualMachineRunCommand

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineRunCommandsListResultPage

VirtualMachineRunCommandsListResultPage contains a page of VirtualMachineRunCommand values.

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

func NewVirtualMachineRunCommandsListResultPage

func NewVirtualMachineRunCommandsListResultPage(cur VirtualMachineRunCommandsListResult, getNextPage func(context.Context, VirtualMachineRunCommandsListResult) (VirtualMachineRunCommandsListResult, error)) VirtualMachineRunCommandsListResultPage

Creates a new instance of the VirtualMachineRunCommandsListResultPage type.

func (*VirtualMachineRunCommandsListResultPage) Next

func (page *VirtualMachineRunCommandsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineRunCommandsListResultPage) NextWithContext

func (page *VirtualMachineRunCommandsListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineRunCommandsListResultPage) NotDone

func (page VirtualMachineRunCommandsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineRunCommandsListResultPage) Response

func (page VirtualMachineRunCommandsListResultPage) Response() VirtualMachineRunCommandsListResult

Response returns the raw server response from the last page request.

func (VirtualMachineRunCommandsListResultPage) Values

func (page VirtualMachineRunCommandsListResultPage) Values() []VirtualMachineRunCommand

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineRunCommandsUpdateFuture

VirtualMachineRunCommandsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineRunCommandsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineRunCommandsClient) (VirtualMachineRunCommand, error)
}

func (*VirtualMachineRunCommandsUpdateFuture) UnmarshalJSON

func (future *VirtualMachineRunCommandsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSet

VirtualMachineScaleSet describes a Virtual Machine Scale Set.

type VirtualMachineScaleSet struct {
    autorest.Response `json:"-"`
    // Sku - The virtual machine scale set sku.
    Sku *Sku `json:"sku,omitempty"`
    // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
    Plan                              *Plan `json:"plan,omitempty"`
    *VirtualMachineScaleSetProperties `json:"properties,omitempty"`
    // Identity - The identity of the virtual machine scale set, if configured.
    Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"`
    // Zones - The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set
    Zones *[]string `json:"zones,omitempty"`
    // ExtendedLocation - The extended location of the Virtual Machine Scale Set.
    ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineScaleSet) MarshalJSON

func (vmss VirtualMachineScaleSet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSet.

func (*VirtualMachineScaleSet) UnmarshalJSON

func (vmss *VirtualMachineScaleSet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSet struct.

type VirtualMachineScaleSetDataDisk

VirtualMachineScaleSetDataDisk describes a virtual machine scale set data disk.

type VirtualMachineScaleSetDataDisk struct {
    // Name - The disk name.
    Name *string `json:"name,omitempty"`
    // Lun - Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
    Lun *int32 `json:"lun,omitempty"`
    // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
    WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
    // CreateOption - The create option. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
    CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
    // DiskSizeGB - Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // ManagedDisk - The managed disk parameters.
    ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
    // DiskIOPSReadWrite - Specifies the Read-Write IOPS for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
    DiskIOPSReadWrite *int64 `json:"diskIOPSReadWrite,omitempty"`
    // DiskMBpsReadWrite - Specifies the bandwidth in MB per second for the managed disk. Should be used only when StorageAccountType is UltraSSD_LRS. If not specified, a default value would be assigned based on diskSizeGB.
    DiskMBpsReadWrite *int64 `json:"diskMBpsReadWrite,omitempty"`
}

type VirtualMachineScaleSetExtension

VirtualMachineScaleSetExtension describes a Virtual Machine Scale Set Extension.

type VirtualMachineScaleSetExtension struct {
    autorest.Response `json:"-"`
    // Name - The name of the extension.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                                       *string `json:"type,omitempty"`
    *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetExtension) MarshalJSON

func (vmsse VirtualMachineScaleSetExtension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtension.

func (*VirtualMachineScaleSetExtension) UnmarshalJSON

func (vmsse *VirtualMachineScaleSetExtension) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetExtension struct.

type VirtualMachineScaleSetExtensionListResult

VirtualMachineScaleSetExtensionListResult the List VM scale set extension operation response.

type VirtualMachineScaleSetExtensionListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of VM scale set extensions.
    Value *[]VirtualMachineScaleSetExtension `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of VM scale set extensions. Call ListNext() with this to fetch the next page of VM scale set extensions.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineScaleSetExtensionListResult) IsEmpty

func (vmsselr VirtualMachineScaleSetExtensionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineScaleSetExtensionListResultIterator

VirtualMachineScaleSetExtensionListResultIterator provides access to a complete listing of VirtualMachineScaleSetExtension values.

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

func NewVirtualMachineScaleSetExtensionListResultIterator

func NewVirtualMachineScaleSetExtensionListResultIterator(page VirtualMachineScaleSetExtensionListResultPage) VirtualMachineScaleSetExtensionListResultIterator

Creates a new instance of the VirtualMachineScaleSetExtensionListResultIterator type.

func (*VirtualMachineScaleSetExtensionListResultIterator) Next

func (iter *VirtualMachineScaleSetExtensionListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetExtensionListResultIterator) NextWithContext

func (iter *VirtualMachineScaleSetExtensionListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineScaleSetExtensionListResultIterator) NotDone

func (iter VirtualMachineScaleSetExtensionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetExtensionListResultIterator) Response

func (iter VirtualMachineScaleSetExtensionListResultIterator) Response() VirtualMachineScaleSetExtensionListResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetExtensionListResultIterator) Value

func (iter VirtualMachineScaleSetExtensionListResultIterator) Value() VirtualMachineScaleSetExtension

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineScaleSetExtensionListResultPage

VirtualMachineScaleSetExtensionListResultPage contains a page of VirtualMachineScaleSetExtension values.

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

func NewVirtualMachineScaleSetExtensionListResultPage

func NewVirtualMachineScaleSetExtensionListResultPage(cur VirtualMachineScaleSetExtensionListResult, getNextPage func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)) VirtualMachineScaleSetExtensionListResultPage

Creates a new instance of the VirtualMachineScaleSetExtensionListResultPage type.

func (*VirtualMachineScaleSetExtensionListResultPage) Next

func (page *VirtualMachineScaleSetExtensionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetExtensionListResultPage) NextWithContext

func (page *VirtualMachineScaleSetExtensionListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineScaleSetExtensionListResultPage) NotDone

func (page VirtualMachineScaleSetExtensionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetExtensionListResultPage) Response

func (page VirtualMachineScaleSetExtensionListResultPage) Response() VirtualMachineScaleSetExtensionListResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetExtensionListResultPage) Values

func (page VirtualMachineScaleSetExtensionListResultPage) Values() []VirtualMachineScaleSetExtension

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineScaleSetExtensionProfile

VirtualMachineScaleSetExtensionProfile describes a virtual machine scale set extension profile.

type VirtualMachineScaleSetExtensionProfile struct {
    // Extensions - The virtual machine scale set child extension resources.
    Extensions *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"`
    // ExtensionsTimeBudget - Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01
    ExtensionsTimeBudget *string `json:"extensionsTimeBudget,omitempty"`
}

type VirtualMachineScaleSetExtensionProperties

VirtualMachineScaleSetExtensionProperties describes the properties of a Virtual Machine Scale Set Extension.

type VirtualMachineScaleSetExtensionProperties struct {
    // ForceUpdateTag - If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed.
    ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
    // Publisher - The name of the extension handler publisher.
    Publisher *string `json:"publisher,omitempty"`
    // Type - Specifies the type of the extension; an example is "CustomScriptExtension".
    Type *string `json:"type,omitempty"`
    // TypeHandlerVersion - Specifies the version of the script handler.
    TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"`
    // AutoUpgradeMinorVersion - Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.
    AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"`
    // EnableAutomaticUpgrade - Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.
    EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"`
    // Settings - Json formatted public settings for the extension.
    Settings interface{} `json:"settings,omitempty"`
    // ProtectedSettings - The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
    ProtectedSettings interface{} `json:"protectedSettings,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // ProvisionAfterExtensions - Collection of extension names after which this extension needs to be provisioned.
    ProvisionAfterExtensions *[]string `json:"provisionAfterExtensions,omitempty"`
    // SuppressFailures - Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.
    SuppressFailures *bool `json:"suppressFailures,omitempty"`
    // ProtectedSettingsFromKeyVault - The extensions protected settings that are passed by reference, and consumed from key vault
    ProtectedSettingsFromKeyVault interface{} `json:"protectedSettingsFromKeyVault,omitempty"`
}

func (VirtualMachineScaleSetExtensionProperties) MarshalJSON

func (vmssep VirtualMachineScaleSetExtensionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtensionProperties.

type VirtualMachineScaleSetExtensionUpdate

VirtualMachineScaleSetExtensionUpdate describes a Virtual Machine Scale Set Extension.

type VirtualMachineScaleSetExtensionUpdate struct {
    // Name - READ-ONLY; The name of the extension.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                                       *string `json:"type,omitempty"`
    *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetExtensionUpdate) MarshalJSON

func (vmsseu VirtualMachineScaleSetExtensionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetExtensionUpdate.

func (*VirtualMachineScaleSetExtensionUpdate) UnmarshalJSON

func (vmsseu *VirtualMachineScaleSetExtensionUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetExtensionUpdate struct.

type VirtualMachineScaleSetExtensionsClient

VirtualMachineScaleSetExtensionsClient is the compute Client

type VirtualMachineScaleSetExtensionsClient struct {
    BaseClient
}

func NewVirtualMachineScaleSetExtensionsClient

func NewVirtualMachineScaleSetExtensionsClient(subscriptionID string) VirtualMachineScaleSetExtensionsClient

NewVirtualMachineScaleSetExtensionsClient creates an instance of the VirtualMachineScaleSetExtensionsClient client.

func NewVirtualMachineScaleSetExtensionsClientWithBaseURI

func NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetExtensionsClient

NewVirtualMachineScaleSetExtensionsClientWithBaseURI creates an instance of the VirtualMachineScaleSetExtensionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdate

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (result VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update an extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be create or updated. vmssExtensionName - the name of the VM scale set extension. extensionParameters - parameters supplied to the Create VM scale set Extension operation.

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtension) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender

func (client VirtualMachineScaleSetExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetExtensionsClient) Delete

func (client VirtualMachineScaleSetExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (result VirtualMachineScaleSetExtensionsDeleteFuture, err error)

Delete the operation to delete the extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be deleted. vmssExtensionName - the name of the VM scale set extension.

func (VirtualMachineScaleSetExtensionsClient) DeletePreparer

func (client VirtualMachineScaleSetExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetExtensionsClient) DeleteResponder

func (client VirtualMachineScaleSetExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) DeleteSender

func (client VirtualMachineScaleSetExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetExtensionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetExtensionsClient) Get

func (client VirtualMachineScaleSetExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (result VirtualMachineScaleSetExtension, err error)

Get the operation to get the extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set containing the extension. vmssExtensionName - the name of the VM scale set extension. expand - the expand expression to apply on the operation.

func (VirtualMachineScaleSetExtensionsClient) GetPreparer

func (client VirtualMachineScaleSetExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetExtensionsClient) GetResponder

func (client VirtualMachineScaleSetExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) GetSender

func (client VirtualMachineScaleSetExtensionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetExtensionsClient) List

func (client VirtualMachineScaleSetExtensionsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultPage, err error)

List gets a list of all extensions in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set containing the extension.

func (VirtualMachineScaleSetExtensionsClient) ListComplete

func (client VirtualMachineScaleSetExtensionsClient) ListComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetExtensionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetExtensionsClient) ListPreparer

func (client VirtualMachineScaleSetExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetExtensionsClient) ListResponder

func (client VirtualMachineScaleSetExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetExtensionListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) ListSender

func (client VirtualMachineScaleSetExtensionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetExtensionsClient) Update

func (client VirtualMachineScaleSetExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtensionUpdate) (result VirtualMachineScaleSetExtensionsUpdateFuture, err error)

Update the operation to update an extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be updated. vmssExtensionName - the name of the VM scale set extension. extensionParameters - parameters supplied to the Update VM scale set Extension operation.

func (VirtualMachineScaleSetExtensionsClient) UpdatePreparer

func (client VirtualMachineScaleSetExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, vmssExtensionName string, extensionParameters VirtualMachineScaleSetExtensionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineScaleSetExtensionsClient) UpdateResponder

func (client VirtualMachineScaleSetExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetExtension, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetExtensionsClient) UpdateSender

func (client VirtualMachineScaleSetExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetExtensionsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture

VirtualMachineScaleSetExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetExtensionsClient) (VirtualMachineScaleSetExtension, error)
}

func (*VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetExtensionsDeleteFuture

VirtualMachineScaleSetExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetExtensionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetExtensionsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetExtensionsDeleteFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetExtensionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetExtensionsUpdateFuture

VirtualMachineScaleSetExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetExtensionsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetExtensionsClient) (VirtualMachineScaleSetExtension, error)
}

func (*VirtualMachineScaleSetExtensionsUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetExtensionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetHardwareProfile

VirtualMachineScaleSetHardwareProfile specifies the hardware settings for the virtual machine scale set.

type VirtualMachineScaleSetHardwareProfile struct {
    // VMSizeProperties - Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. <br><br> Please follow the instructions in [VM Customization](https://aka.ms/vmcustomization) for more details.
    VMSizeProperties *VMSizeProperties `json:"vmSizeProperties,omitempty"`
}

type VirtualMachineScaleSetIPConfiguration

VirtualMachineScaleSetIPConfiguration describes a virtual machine scale set network profile's IP configuration.

type VirtualMachineScaleSetIPConfiguration struct {
    // Name - The IP configuration name.
    Name                                             *string `json:"name,omitempty"`
    *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetIPConfiguration) MarshalJSON

func (vmssic VirtualMachineScaleSetIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetIPConfiguration.

func (*VirtualMachineScaleSetIPConfiguration) UnmarshalJSON

func (vmssic *VirtualMachineScaleSetIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetIPConfiguration struct.

type VirtualMachineScaleSetIPConfigurationProperties

VirtualMachineScaleSetIPConfigurationProperties describes a virtual machine scale set network profile's IP configuration properties.

type VirtualMachineScaleSetIPConfigurationProperties struct {
    // Subnet - Specifies the identifier of the subnet.
    Subnet *APIEntityReference `json:"subnet,omitempty"`
    // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
    Primary *bool `json:"primary,omitempty"`
    // PublicIPAddressConfiguration - The publicIPAddressConfiguration.
    PublicIPAddressConfiguration *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
    // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.  Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6'
    PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
    // ApplicationGatewayBackendAddressPools - Specifies an array of references to backend address pools of application gateways. A scale set can reference backend address pools of multiple application gateways. Multiple scale sets cannot use the same application gateway.
    ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"`
    // ApplicationSecurityGroups - Specifies an array of references to application security group.
    ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"`
    // LoadBalancerBackendAddressPools - Specifies an array of references to backend address pools of load balancers. A scale set can reference backend address pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
    LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"`
    // LoadBalancerInboundNatPools - Specifies an array of references to inbound Nat pools of the load balancers. A scale set can reference inbound nat pools of one public and one internal load balancer. Multiple scale sets cannot use the same basic sku load balancer.
    LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"`
}

type VirtualMachineScaleSetIPTag

VirtualMachineScaleSetIPTag contains the IP tag associated with the public IP address.

type VirtualMachineScaleSetIPTag struct {
    // IPTagType - IP tag type. Example: FirstPartyUsage.
    IPTagType *string `json:"ipTagType,omitempty"`
    // Tag - IP tag associated with the public IP. Example: SQL, Storage etc.
    Tag *string `json:"tag,omitempty"`
}

type VirtualMachineScaleSetIdentity

VirtualMachineScaleSetIdentity identity for the virtual machine scale set.

type VirtualMachineScaleSetIdentity struct {
    // PrincipalID - READ-ONLY; The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone'
    Type ResourceIdentityType `json:"type,omitempty"`
    // UserAssignedIdentities - The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    UserAssignedIdentities map[string]*VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue `json:"userAssignedIdentities"`
}

func (VirtualMachineScaleSetIdentity) MarshalJSON

func (vmssi VirtualMachineScaleSetIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetIdentity.

type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue

VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue ...

type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue struct {
    // PrincipalID - READ-ONLY; The principal id of user assigned identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // ClientID - READ-ONLY; The client id of user assigned identity.
    ClientID *string `json:"clientId,omitempty"`
}

func (VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue) MarshalJSON

func (vmssiAiv VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.

type VirtualMachineScaleSetInstanceView

VirtualMachineScaleSetInstanceView the instance view of a virtual machine scale set.

type VirtualMachineScaleSetInstanceView struct {
    autorest.Response `json:"-"`
    // VirtualMachine - READ-ONLY; The instance view status summary for the virtual machine scale set.
    VirtualMachine *VirtualMachineScaleSetInstanceViewStatusesSummary `json:"virtualMachine,omitempty"`
    // Extensions - READ-ONLY; The extensions information.
    Extensions *[]VirtualMachineScaleSetVMExtensionsSummary `json:"extensions,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
    // OrchestrationServices - READ-ONLY; The orchestration services information.
    OrchestrationServices *[]OrchestrationServiceSummary `json:"orchestrationServices,omitempty"`
}

func (VirtualMachineScaleSetInstanceView) MarshalJSON

func (vmssiv VirtualMachineScaleSetInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetInstanceView.

type VirtualMachineScaleSetInstanceViewStatusesSummary

VirtualMachineScaleSetInstanceViewStatusesSummary instance view statuses summary for virtual machines of a virtual machine scale set.

type VirtualMachineScaleSetInstanceViewStatusesSummary struct {
    // StatusesSummary - READ-ONLY; The extensions information.
    StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}

func (VirtualMachineScaleSetInstanceViewStatusesSummary) MarshalJSON

func (vmssivss VirtualMachineScaleSetInstanceViewStatusesSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetInstanceViewStatusesSummary.

type VirtualMachineScaleSetListOSUpgradeHistory

VirtualMachineScaleSetListOSUpgradeHistory list of Virtual Machine Scale Set OS Upgrade History operation response.

type VirtualMachineScaleSetListOSUpgradeHistory struct {
    autorest.Response `json:"-"`
    // Value - The list of OS upgrades performed on the virtual machine scale set.
    Value *[]UpgradeOperationHistoricalStatusInfo `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of OS Upgrade History. Call ListNext() with this to fetch the next page of history of upgrades.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineScaleSetListOSUpgradeHistory) IsEmpty

func (vmsslouh VirtualMachineScaleSetListOSUpgradeHistory) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineScaleSetListOSUpgradeHistoryIterator

VirtualMachineScaleSetListOSUpgradeHistoryIterator provides access to a complete listing of UpgradeOperationHistoricalStatusInfo values.

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

func NewVirtualMachineScaleSetListOSUpgradeHistoryIterator

func NewVirtualMachineScaleSetListOSUpgradeHistoryIterator(page VirtualMachineScaleSetListOSUpgradeHistoryPage) VirtualMachineScaleSetListOSUpgradeHistoryIterator

Creates a new instance of the VirtualMachineScaleSetListOSUpgradeHistoryIterator type.

func (*VirtualMachineScaleSetListOSUpgradeHistoryIterator) Next

func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListOSUpgradeHistoryIterator) NextWithContext

func (iter *VirtualMachineScaleSetListOSUpgradeHistoryIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineScaleSetListOSUpgradeHistoryIterator) NotDone

func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListOSUpgradeHistoryIterator) Response

func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Response() VirtualMachineScaleSetListOSUpgradeHistory

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListOSUpgradeHistoryIterator) Value

func (iter VirtualMachineScaleSetListOSUpgradeHistoryIterator) Value() UpgradeOperationHistoricalStatusInfo

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineScaleSetListOSUpgradeHistoryPage

VirtualMachineScaleSetListOSUpgradeHistoryPage contains a page of UpgradeOperationHistoricalStatusInfo values.

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

func NewVirtualMachineScaleSetListOSUpgradeHistoryPage

func NewVirtualMachineScaleSetListOSUpgradeHistoryPage(cur VirtualMachineScaleSetListOSUpgradeHistory, getNextPage func(context.Context, VirtualMachineScaleSetListOSUpgradeHistory) (VirtualMachineScaleSetListOSUpgradeHistory, error)) VirtualMachineScaleSetListOSUpgradeHistoryPage

Creates a new instance of the VirtualMachineScaleSetListOSUpgradeHistoryPage type.

func (*VirtualMachineScaleSetListOSUpgradeHistoryPage) Next

func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListOSUpgradeHistoryPage) NextWithContext

func (page *VirtualMachineScaleSetListOSUpgradeHistoryPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineScaleSetListOSUpgradeHistoryPage) NotDone

func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListOSUpgradeHistoryPage) Response

func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Response() VirtualMachineScaleSetListOSUpgradeHistory

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListOSUpgradeHistoryPage) Values

func (page VirtualMachineScaleSetListOSUpgradeHistoryPage) Values() []UpgradeOperationHistoricalStatusInfo

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineScaleSetListResult

VirtualMachineScaleSetListResult the List Virtual Machine operation response.

type VirtualMachineScaleSetListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of virtual machine scale sets.
    Value *[]VirtualMachineScaleSet `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of VMSS.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineScaleSetListResult) IsEmpty

func (vmsslr VirtualMachineScaleSetListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineScaleSetListResultIterator

VirtualMachineScaleSetListResultIterator provides access to a complete listing of VirtualMachineScaleSet values.

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

func NewVirtualMachineScaleSetListResultIterator

func NewVirtualMachineScaleSetListResultIterator(page VirtualMachineScaleSetListResultPage) VirtualMachineScaleSetListResultIterator

Creates a new instance of the VirtualMachineScaleSetListResultIterator type.

func (*VirtualMachineScaleSetListResultIterator) Next

func (iter *VirtualMachineScaleSetListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListResultIterator) NextWithContext

func (iter *VirtualMachineScaleSetListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineScaleSetListResultIterator) NotDone

func (iter VirtualMachineScaleSetListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListResultIterator) Response

func (iter VirtualMachineScaleSetListResultIterator) Response() VirtualMachineScaleSetListResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListResultIterator) Value

func (iter VirtualMachineScaleSetListResultIterator) Value() VirtualMachineScaleSet

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineScaleSetListResultPage

VirtualMachineScaleSetListResultPage contains a page of VirtualMachineScaleSet values.

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

func NewVirtualMachineScaleSetListResultPage

func NewVirtualMachineScaleSetListResultPage(cur VirtualMachineScaleSetListResult, getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage

Creates a new instance of the VirtualMachineScaleSetListResultPage type.

func (*VirtualMachineScaleSetListResultPage) Next

func (page *VirtualMachineScaleSetListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListResultPage) NextWithContext

func (page *VirtualMachineScaleSetListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineScaleSetListResultPage) NotDone

func (page VirtualMachineScaleSetListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListResultPage) Response

func (page VirtualMachineScaleSetListResultPage) Response() VirtualMachineScaleSetListResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListResultPage) Values

func (page VirtualMachineScaleSetListResultPage) Values() []VirtualMachineScaleSet

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineScaleSetListSkusResult

VirtualMachineScaleSetListSkusResult the Virtual Machine Scale Set List Skus operation response.

type VirtualMachineScaleSetListSkusResult struct {
    autorest.Response `json:"-"`
    // Value - The list of skus available for the virtual machine scale set.
    Value *[]VirtualMachineScaleSetSku `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of Virtual Machine Scale Set Skus. Call ListNext() with this to fetch the next page of VMSS Skus.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineScaleSetListSkusResult) IsEmpty

func (vmsslsr VirtualMachineScaleSetListSkusResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineScaleSetListSkusResultIterator

VirtualMachineScaleSetListSkusResultIterator provides access to a complete listing of VirtualMachineScaleSetSku values.

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

func NewVirtualMachineScaleSetListSkusResultIterator

func NewVirtualMachineScaleSetListSkusResultIterator(page VirtualMachineScaleSetListSkusResultPage) VirtualMachineScaleSetListSkusResultIterator

Creates a new instance of the VirtualMachineScaleSetListSkusResultIterator type.

func (*VirtualMachineScaleSetListSkusResultIterator) Next

func (iter *VirtualMachineScaleSetListSkusResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListSkusResultIterator) NextWithContext

func (iter *VirtualMachineScaleSetListSkusResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineScaleSetListSkusResultIterator) NotDone

func (iter VirtualMachineScaleSetListSkusResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListSkusResultIterator) Response

func (iter VirtualMachineScaleSetListSkusResultIterator) Response() VirtualMachineScaleSetListSkusResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListSkusResultIterator) Value

func (iter VirtualMachineScaleSetListSkusResultIterator) Value() VirtualMachineScaleSetSku

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineScaleSetListSkusResultPage

VirtualMachineScaleSetListSkusResultPage contains a page of VirtualMachineScaleSetSku values.

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

func NewVirtualMachineScaleSetListSkusResultPage

func NewVirtualMachineScaleSetListSkusResultPage(cur VirtualMachineScaleSetListSkusResult, getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage

Creates a new instance of the VirtualMachineScaleSetListSkusResultPage type.

func (*VirtualMachineScaleSetListSkusResultPage) Next

func (page *VirtualMachineScaleSetListSkusResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListSkusResultPage) NextWithContext

func (page *VirtualMachineScaleSetListSkusResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineScaleSetListSkusResultPage) NotDone

func (page VirtualMachineScaleSetListSkusResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListSkusResultPage) Response

func (page VirtualMachineScaleSetListSkusResultPage) Response() VirtualMachineScaleSetListSkusResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListSkusResultPage) Values

func (page VirtualMachineScaleSetListSkusResultPage) Values() []VirtualMachineScaleSetSku

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineScaleSetListWithLinkResult

VirtualMachineScaleSetListWithLinkResult the List Virtual Machine operation response.

type VirtualMachineScaleSetListWithLinkResult struct {
    autorest.Response `json:"-"`
    // Value - The list of virtual machine scale sets.
    Value *[]VirtualMachineScaleSet `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets.
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineScaleSetListWithLinkResult) IsEmpty

func (vmsslwlr VirtualMachineScaleSetListWithLinkResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineScaleSetListWithLinkResultIterator

VirtualMachineScaleSetListWithLinkResultIterator provides access to a complete listing of VirtualMachineScaleSet values.

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

func NewVirtualMachineScaleSetListWithLinkResultIterator

func NewVirtualMachineScaleSetListWithLinkResultIterator(page VirtualMachineScaleSetListWithLinkResultPage) VirtualMachineScaleSetListWithLinkResultIterator

Creates a new instance of the VirtualMachineScaleSetListWithLinkResultIterator type.

func (*VirtualMachineScaleSetListWithLinkResultIterator) Next

func (iter *VirtualMachineScaleSetListWithLinkResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListWithLinkResultIterator) NextWithContext

func (iter *VirtualMachineScaleSetListWithLinkResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineScaleSetListWithLinkResultIterator) NotDone

func (iter VirtualMachineScaleSetListWithLinkResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListWithLinkResultIterator) Response

func (iter VirtualMachineScaleSetListWithLinkResultIterator) Response() VirtualMachineScaleSetListWithLinkResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListWithLinkResultIterator) Value

func (iter VirtualMachineScaleSetListWithLinkResultIterator) Value() VirtualMachineScaleSet

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineScaleSetListWithLinkResultPage

VirtualMachineScaleSetListWithLinkResultPage contains a page of VirtualMachineScaleSet values.

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

func NewVirtualMachineScaleSetListWithLinkResultPage

func NewVirtualMachineScaleSetListWithLinkResultPage(cur VirtualMachineScaleSetListWithLinkResult, getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage

Creates a new instance of the VirtualMachineScaleSetListWithLinkResultPage type.

func (*VirtualMachineScaleSetListWithLinkResultPage) Next

func (page *VirtualMachineScaleSetListWithLinkResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetListWithLinkResultPage) NextWithContext

func (page *VirtualMachineScaleSetListWithLinkResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineScaleSetListWithLinkResultPage) NotDone

func (page VirtualMachineScaleSetListWithLinkResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetListWithLinkResultPage) Response

func (page VirtualMachineScaleSetListWithLinkResultPage) Response() VirtualMachineScaleSetListWithLinkResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetListWithLinkResultPage) Values

func (page VirtualMachineScaleSetListWithLinkResultPage) Values() []VirtualMachineScaleSet

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineScaleSetManagedDiskParameters

VirtualMachineScaleSetManagedDiskParameters describes the parameters of a ScaleSet managed disk.

type VirtualMachineScaleSetManagedDiskParameters struct {
    // StorageAccountType - Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Possible values include: 'StorageAccountTypesStandardLRS', 'StorageAccountTypesPremiumLRS', 'StorageAccountTypesStandardSSDLRS', 'StorageAccountTypesUltraSSDLRS', 'StorageAccountTypesPremiumZRS', 'StorageAccountTypesStandardSSDZRS'
    StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
    // DiskEncryptionSet - Specifies the customer managed disk encryption set resource id for the managed disk.
    DiskEncryptionSet *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
    // SecurityProfile - Specifies the security profile for the managed disk.
    SecurityProfile *VMDiskSecurityProfile `json:"securityProfile,omitempty"`
}

type VirtualMachineScaleSetNetworkConfiguration

VirtualMachineScaleSetNetworkConfiguration describes a virtual machine scale set network profile's network configurations.

type VirtualMachineScaleSetNetworkConfiguration struct {
    // Name - The network configuration name.
    Name                                                  *string `json:"name,omitempty"`
    *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetNetworkConfiguration) MarshalJSON

func (vmssnc VirtualMachineScaleSetNetworkConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetNetworkConfiguration.

func (*VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON

func (vmssnc *VirtualMachineScaleSetNetworkConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetNetworkConfiguration struct.

type VirtualMachineScaleSetNetworkConfigurationDNSSettings

VirtualMachineScaleSetNetworkConfigurationDNSSettings describes a virtual machines scale sets network configuration's DNS settings.

type VirtualMachineScaleSetNetworkConfigurationDNSSettings struct {
    // DNSServers - List of DNS servers IP addresses
    DNSServers *[]string `json:"dnsServers,omitempty"`
}

type VirtualMachineScaleSetNetworkConfigurationProperties

VirtualMachineScaleSetNetworkConfigurationProperties describes a virtual machine scale set network profile's IP configuration.

type VirtualMachineScaleSetNetworkConfigurationProperties struct {
    // Primary - Specifies the primary network interface in case the virtual machine has more than 1 network interface.
    Primary *bool `json:"primary,omitempty"`
    // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled.
    EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`
    // EnableFpga - Specifies whether the network interface is FPGA networking-enabled.
    EnableFpga *bool `json:"enableFpga,omitempty"`
    // NetworkSecurityGroup - The network security group.
    NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
    // DNSSettings - The dns settings to be applied on the network interfaces.
    DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"`
    // IPConfigurations - Specifies the IP configurations of the network interface.
    IPConfigurations *[]VirtualMachineScaleSetIPConfiguration `json:"ipConfigurations,omitempty"`
    // EnableIPForwarding - Whether IP forwarding enabled on this NIC.
    EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
    // DeleteOption - Specify what happens to the network interface when the VM is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach'
    DeleteOption DeleteOptions `json:"deleteOption,omitempty"`
}

type VirtualMachineScaleSetNetworkProfile

VirtualMachineScaleSetNetworkProfile describes a virtual machine scale set network profile.

type VirtualMachineScaleSetNetworkProfile struct {
    // HealthProbe - A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
    HealthProbe *APIEntityReference `json:"healthProbe,omitempty"`
    // NetworkInterfaceConfigurations - The list of network configurations.
    NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
    // NetworkAPIVersion - specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'. Possible values include: 'NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne'
    NetworkAPIVersion NetworkAPIVersion `json:"networkApiVersion,omitempty"`
}

type VirtualMachineScaleSetOSDisk

VirtualMachineScaleSetOSDisk describes a virtual machine scale set operating system disk.

type VirtualMachineScaleSetOSDisk struct {
    // Name - The disk name.
    Name *string `json:"name,omitempty"`
    // Caching - Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
    WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
    // CreateOption - Specifies how the virtual machines in the scale set should be created.<br><br> The only allowed value is: **FromImage** \u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you  also use the plan element previously described. Possible values include: 'DiskCreateOptionTypesFromImage', 'DiskCreateOptionTypesEmpty', 'DiskCreateOptionTypesAttach'
    CreateOption DiskCreateOptionTypes `json:"createOption,omitempty"`
    // DiffDiskSettings - Specifies the ephemeral disk Settings for the operating system disk used by the virtual machine scale set.
    DiffDiskSettings *DiffDiskSettings `json:"diffDiskSettings,omitempty"`
    // DiskSizeGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // OsType - This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'OperatingSystemTypesWindows', 'OperatingSystemTypesLinux'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // Image - Specifies information about the unmanaged user image to base the scale set on.
    Image *VirtualHardDisk `json:"image,omitempty"`
    // VhdContainers - Specifies the container urls that are used to store operating system disks for the scale set.
    VhdContainers *[]string `json:"vhdContainers,omitempty"`
    // ManagedDisk - The managed disk parameters.
    ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
}

type VirtualMachineScaleSetOSProfile

VirtualMachineScaleSetOSProfile describes a virtual machine scale set OS profile.

type VirtualMachineScaleSetOSProfile struct {
    // ComputerNamePrefix - Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long.
    ComputerNamePrefix *string `json:"computerNamePrefix,omitempty"`
    // AdminUsername - Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in "." <br><br> **Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". <br><br> **Minimum-length (Linux):** 1  character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters
    AdminUsername *string `json:"adminUsername,omitempty"`
    // AdminPassword - Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\W_]) <br><br> **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)
    AdminPassword *string `json:"adminPassword,omitempty"`
    // CustomData - Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)
    CustomData *string `json:"customData,omitempty"`
    // WindowsConfiguration - Specifies Windows operating system settings on the virtual machine.
    WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
    // LinuxConfiguration - Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).
    LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`
    // Secrets - Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
    Secrets *[]VaultSecretGroup `json:"secrets,omitempty"`
    // AllowExtensionOperations - Specifies whether extension operations should be allowed on the virtual machine scale set. <br><br>This may only be set to False when no extensions are present on the virtual machine scale set.
    AllowExtensionOperations *bool `json:"allowExtensionOperations,omitempty"`
}

type VirtualMachineScaleSetProperties

VirtualMachineScaleSetProperties describes the properties of a Virtual Machine Scale Set.

type VirtualMachineScaleSetProperties struct {
    // UpgradePolicy - The upgrade policy.
    UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"`
    // AutomaticRepairsPolicy - Policy for automatic repairs.
    AutomaticRepairsPolicy *AutomaticRepairsPolicy `json:"automaticRepairsPolicy,omitempty"`
    // VirtualMachineProfile - The virtual machine profile.
    VirtualMachineProfile *VirtualMachineScaleSetVMProfile `json:"virtualMachineProfile,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Overprovision - Specifies whether the Virtual Machine Scale Set should be overprovisioned.
    Overprovision *bool `json:"overprovision,omitempty"`
    // DoNotRunExtensionsOnOverprovisionedVMs - When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
    DoNotRunExtensionsOnOverprovisionedVMs *bool `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"`
    // UniqueID - READ-ONLY; Specifies the ID which uniquely identifies a Virtual Machine Scale Set.
    UniqueID *string `json:"uniqueId,omitempty"`
    // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
    SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"`
    // ZoneBalance - Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set.
    ZoneBalance *bool `json:"zoneBalance,omitempty"`
    // PlatformFaultDomainCount - Fault Domain count for each placement group.
    PlatformFaultDomainCount *int32 `json:"platformFaultDomainCount,omitempty"`
    // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
    ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
    // HostGroup - Specifies information about the dedicated host group that the virtual machine scale set resides in. <br><br>Minimum api-version: 2020-06-01.
    HostGroup *SubResource `json:"hostGroup,omitempty"`
    // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
    AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
    // ScaleInPolicy - Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
    ScaleInPolicy *ScaleInPolicy `json:"scaleInPolicy,omitempty"`
    // OrchestrationMode - Specifies the orchestration mode for the virtual machine scale set. Possible values include: 'OrchestrationModeUniform', 'OrchestrationModeFlexible'
    OrchestrationMode OrchestrationMode `json:"orchestrationMode,omitempty"`
    // SpotRestorePolicy - Specifies the Spot Restore properties for the virtual machine scale set.
    SpotRestorePolicy *SpotRestorePolicy `json:"spotRestorePolicy,omitempty"`
    // TimeCreated - READ-ONLY; Specifies the time at which the Virtual Machine Scale Set resource was created.<br><br>Minimum api-version: 2021-11-01.
    TimeCreated *date.Time `json:"timeCreated,omitempty"`
}

func (VirtualMachineScaleSetProperties) MarshalJSON

func (vmssp VirtualMachineScaleSetProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetProperties.

type VirtualMachineScaleSetPublicIPAddressConfiguration

VirtualMachineScaleSetPublicIPAddressConfiguration describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetPublicIPAddressConfiguration struct {
    // Name - The publicIP address configuration name.
    Name                                                          *string `json:"name,omitempty"`
    *VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"`
    Sku                                                           *PublicIPAddressSku `json:"sku,omitempty"`
}

func (VirtualMachineScaleSetPublicIPAddressConfiguration) MarshalJSON

func (vmsspiac VirtualMachineScaleSetPublicIPAddressConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetPublicIPAddressConfiguration.

func (*VirtualMachineScaleSetPublicIPAddressConfiguration) UnmarshalJSON

func (vmsspiac *VirtualMachineScaleSetPublicIPAddressConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetPublicIPAddressConfiguration struct.

type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings

VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings describes a virtual machines scale sets network configuration's DNS settings.

type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings struct {
    // DomainNameLabel - The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created
    DomainNameLabel *string `json:"domainNameLabel,omitempty"`
}

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties

VirtualMachineScaleSetPublicIPAddressConfigurationProperties describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct {
    // IdleTimeoutInMinutes - The idle timeout of the public IP address.
    IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
    // DNSSettings - The dns settings to be applied on the publicIP addresses .
    DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"`
    // IPTags - The list of IP tags associated with the public IP address.
    IPTags *[]VirtualMachineScaleSetIPTag `json:"ipTags,omitempty"`
    // PublicIPPrefix - The PublicIPPrefix from which to allocate publicIP addresses.
    PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`
    // PublicIPAddressVersion - Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6'
    PublicIPAddressVersion IPVersion `json:"publicIPAddressVersion,omitempty"`
    // DeleteOption - Specify what happens to the public IP when the VM is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach'
    DeleteOption DeleteOptions `json:"deleteOption,omitempty"`
}

type VirtualMachineScaleSetReimageParameters

VirtualMachineScaleSetReimageParameters describes a Virtual Machine Scale Set VM Reimage Parameters.

type VirtualMachineScaleSetReimageParameters struct {
    // InstanceIds - The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set.
    InstanceIds *[]string `json:"instanceIds,omitempty"`
    // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.
    TempDisk *bool `json:"tempDisk,omitempty"`
}

type VirtualMachineScaleSetRollingUpgradesCancelFuture

VirtualMachineScaleSetRollingUpgradesCancelFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetRollingUpgradesCancelFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetRollingUpgradesClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetRollingUpgradesCancelFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetRollingUpgradesCancelFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetRollingUpgradesClient

VirtualMachineScaleSetRollingUpgradesClient is the compute Client

type VirtualMachineScaleSetRollingUpgradesClient struct {
    BaseClient
}

func NewVirtualMachineScaleSetRollingUpgradesClient

func NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient

NewVirtualMachineScaleSetRollingUpgradesClient creates an instance of the VirtualMachineScaleSetRollingUpgradesClient client.

func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI

func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient

NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI creates an instance of the VirtualMachineScaleSetRollingUpgradesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineScaleSetRollingUpgradesClient) Cancel

func (client VirtualMachineScaleSetRollingUpgradesClient) Cancel(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)

Cancel cancels the current virtual machine scale set rolling upgrade. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.

func (VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer

func (client VirtualMachineScaleSetRollingUpgradesClient) CancelPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (VirtualMachineScaleSetRollingUpgradesClient) CancelResponder

func (client VirtualMachineScaleSetRollingUpgradesClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetRollingUpgradesClient) CancelSender

func (client VirtualMachineScaleSetRollingUpgradesClient) CancelSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesCancelFuture, err error)

CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatest

func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatest(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result RollingUpgradeStatusInfo, err error)

GetLatest gets the status of the latest virtual machine scale set rolling upgrade. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer

func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

GetLatestPreparer prepares the GetLatest request.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder

func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestResponder(resp *http.Response) (result RollingUpgradeStatusInfo, err error)

GetLatestResponder handles the response to the GetLatest request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender

func (client VirtualMachineScaleSetRollingUpgradesClient) GetLatestSender(req *http.Request) (*http.Response, error)

GetLatestSender sends the GetLatest request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgrade

func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error)

StartExtensionUpgrade starts a rolling upgrade to move all extensions for all virtual machine scale set instances to the latest available extension version. Instances which are already running the latest extension versions are not affected. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.

func (VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradePreparer

func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

StartExtensionUpgradePreparer prepares the StartExtensionUpgrade request.

func (VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeResponder

func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeResponder(resp *http.Response) (result autorest.Response, err error)

StartExtensionUpgradeResponder handles the response to the StartExtensionUpgrade request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender

func (client VirtualMachineScaleSetRollingUpgradesClient) StartExtensionUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture, err error)

StartExtensionUpgradeSender sends the StartExtensionUpgrade request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgrade(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)

StartOSUpgrade starts a rolling upgrade to move all virtual machine scale set instances to the latest available Platform Image OS version. Instances which are already running the latest available OS version are not affected. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

StartOSUpgradePreparer prepares the StartOSUpgrade request.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeResponder(resp *http.Response) (result autorest.Response, err error)

StartOSUpgradeResponder handles the response to the StartOSUpgrade request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender

func (client VirtualMachineScaleSetRollingUpgradesClient) StartOSUpgradeSender(req *http.Request) (future VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture, err error)

StartOSUpgradeSender sends the StartOSUpgrade request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture

VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetRollingUpgradesClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetRollingUpgradesStartExtensionUpgradeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture

VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetRollingUpgradesClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetScaleInRules

VirtualMachineScaleSetScaleInRules enumerates the values for virtual machine scale set scale in rules.

type VirtualMachineScaleSetScaleInRules string
const (
    // VirtualMachineScaleSetScaleInRulesDefault ...
    VirtualMachineScaleSetScaleInRulesDefault VirtualMachineScaleSetScaleInRules = "Default"
    // VirtualMachineScaleSetScaleInRulesNewestVM ...
    VirtualMachineScaleSetScaleInRulesNewestVM VirtualMachineScaleSetScaleInRules = "NewestVM"
    // VirtualMachineScaleSetScaleInRulesOldestVM ...
    VirtualMachineScaleSetScaleInRulesOldestVM VirtualMachineScaleSetScaleInRules = "OldestVM"
)

func PossibleVirtualMachineScaleSetScaleInRulesValues

func PossibleVirtualMachineScaleSetScaleInRulesValues() []VirtualMachineScaleSetScaleInRules

PossibleVirtualMachineScaleSetScaleInRulesValues returns an array of possible values for the VirtualMachineScaleSetScaleInRules const type.

type VirtualMachineScaleSetSku

VirtualMachineScaleSetSku describes an available virtual machine scale set sku.

type VirtualMachineScaleSetSku struct {
    // ResourceType - READ-ONLY; The type of resource the sku applies to.
    ResourceType *string `json:"resourceType,omitempty"`
    // Sku - READ-ONLY; The Sku.
    Sku *Sku `json:"sku,omitempty"`
    // Capacity - READ-ONLY; Specifies the number of virtual machines in the scale set.
    Capacity *VirtualMachineScaleSetSkuCapacity `json:"capacity,omitempty"`
}

func (VirtualMachineScaleSetSku) MarshalJSON

func (vmsss VirtualMachineScaleSetSku) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetSku.

type VirtualMachineScaleSetSkuCapacity

VirtualMachineScaleSetSkuCapacity describes scaling information of a sku.

type VirtualMachineScaleSetSkuCapacity struct {
    // Minimum - READ-ONLY; The minimum capacity.
    Minimum *int64 `json:"minimum,omitempty"`
    // Maximum - READ-ONLY; The maximum capacity that can be set.
    Maximum *int64 `json:"maximum,omitempty"`
    // DefaultCapacity - READ-ONLY; The default capacity.
    DefaultCapacity *int64 `json:"defaultCapacity,omitempty"`
    // ScaleType - READ-ONLY; The scale type applicable to the sku. Possible values include: 'VirtualMachineScaleSetSkuScaleTypeAutomatic', 'VirtualMachineScaleSetSkuScaleTypeNone'
    ScaleType VirtualMachineScaleSetSkuScaleType `json:"scaleType,omitempty"`
}

func (VirtualMachineScaleSetSkuCapacity) MarshalJSON

func (vmsssc VirtualMachineScaleSetSkuCapacity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetSkuCapacity.

type VirtualMachineScaleSetSkuScaleType

VirtualMachineScaleSetSkuScaleType enumerates the values for virtual machine scale set sku scale type.

type VirtualMachineScaleSetSkuScaleType string
const (
    // VirtualMachineScaleSetSkuScaleTypeAutomatic ...
    VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = "Automatic"
    // VirtualMachineScaleSetSkuScaleTypeNone ...
    VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = "None"
)

func PossibleVirtualMachineScaleSetSkuScaleTypeValues

func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType

PossibleVirtualMachineScaleSetSkuScaleTypeValues returns an array of possible values for the VirtualMachineScaleSetSkuScaleType const type.

type VirtualMachineScaleSetStorageProfile

VirtualMachineScaleSetStorageProfile describes a virtual machine scale set storage profile.

type VirtualMachineScaleSetStorageProfile struct {
    // ImageReference - Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.
    ImageReference *ImageReference `json:"imageReference,omitempty"`
    // OsDisk - Specifies information about the operating system disk used by the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
    OsDisk *VirtualMachineScaleSetOSDisk `json:"osDisk,omitempty"`
    // DataDisks - Specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).
    DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
}

type VirtualMachineScaleSetUpdate

VirtualMachineScaleSetUpdate describes a Virtual Machine Scale Set.

type VirtualMachineScaleSetUpdate struct {
    // Sku - The virtual machine scale set sku.
    Sku *Sku `json:"sku,omitempty"`
    // Plan - The purchase plan when deploying a virtual machine scale set from VM Marketplace images.
    Plan                                    *Plan `json:"plan,omitempty"`
    *VirtualMachineScaleSetUpdateProperties `json:"properties,omitempty"`
    // Identity - The identity of the virtual machine scale set, if configured.
    Identity *VirtualMachineScaleSetIdentity `json:"identity,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineScaleSetUpdate) MarshalJSON

func (vmssu VirtualMachineScaleSetUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdate.

func (*VirtualMachineScaleSetUpdate) UnmarshalJSON

func (vmssu *VirtualMachineScaleSetUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdate struct.

type VirtualMachineScaleSetUpdateIPConfiguration

VirtualMachineScaleSetUpdateIPConfiguration describes a virtual machine scale set network profile's IP configuration. NOTE: The subnet of a scale set may be modified as long as the original subnet and the new subnet are in the same virtual network

type VirtualMachineScaleSetUpdateIPConfiguration struct {
    // Name - The IP configuration name.
    Name                                                   *string `json:"name,omitempty"`
    *VirtualMachineScaleSetUpdateIPConfigurationProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetUpdateIPConfiguration) MarshalJSON

func (vmssuic VirtualMachineScaleSetUpdateIPConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdateIPConfiguration.

func (*VirtualMachineScaleSetUpdateIPConfiguration) UnmarshalJSON

func (vmssuic *VirtualMachineScaleSetUpdateIPConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdateIPConfiguration struct.

type VirtualMachineScaleSetUpdateIPConfigurationProperties

VirtualMachineScaleSetUpdateIPConfigurationProperties describes a virtual machine scale set network profile's IP configuration properties.

type VirtualMachineScaleSetUpdateIPConfigurationProperties struct {
    // Subnet - The subnet.
    Subnet *APIEntityReference `json:"subnet,omitempty"`
    // Primary - Specifies the primary IP Configuration in case the network interface has more than one IP Configuration.
    Primary *bool `json:"primary,omitempty"`
    // PublicIPAddressConfiguration - The publicIPAddressConfiguration.
    PublicIPAddressConfiguration *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
    // PrivateIPAddressVersion - Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4.  Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPVersionIPv4', 'IPVersionIPv6'
    PrivateIPAddressVersion IPVersion `json:"privateIPAddressVersion,omitempty"`
    // ApplicationGatewayBackendAddressPools - The application gateway backend address pools.
    ApplicationGatewayBackendAddressPools *[]SubResource `json:"applicationGatewayBackendAddressPools,omitempty"`
    // ApplicationSecurityGroups - Specifies an array of references to application security group.
    ApplicationSecurityGroups *[]SubResource `json:"applicationSecurityGroups,omitempty"`
    // LoadBalancerBackendAddressPools - The load balancer backend address pools.
    LoadBalancerBackendAddressPools *[]SubResource `json:"loadBalancerBackendAddressPools,omitempty"`
    // LoadBalancerInboundNatPools - The load balancer inbound nat pools.
    LoadBalancerInboundNatPools *[]SubResource `json:"loadBalancerInboundNatPools,omitempty"`
}

type VirtualMachineScaleSetUpdateNetworkConfiguration

VirtualMachineScaleSetUpdateNetworkConfiguration describes a virtual machine scale set network profile's network configurations.

type VirtualMachineScaleSetUpdateNetworkConfiguration struct {
    // Name - The network configuration name.
    Name                                                        *string `json:"name,omitempty"`
    *VirtualMachineScaleSetUpdateNetworkConfigurationProperties `json:"properties,omitempty"`
    // ID - Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetUpdateNetworkConfiguration) MarshalJSON

func (vmssunc VirtualMachineScaleSetUpdateNetworkConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdateNetworkConfiguration.

func (*VirtualMachineScaleSetUpdateNetworkConfiguration) UnmarshalJSON

func (vmssunc *VirtualMachineScaleSetUpdateNetworkConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdateNetworkConfiguration struct.

type VirtualMachineScaleSetUpdateNetworkConfigurationProperties

VirtualMachineScaleSetUpdateNetworkConfigurationProperties describes a virtual machine scale set updatable network profile's IP configuration.Use this object for updating network profile's IP Configuration.

type VirtualMachineScaleSetUpdateNetworkConfigurationProperties struct {
    // Primary - Whether this is a primary NIC on a virtual machine.
    Primary *bool `json:"primary,omitempty"`
    // EnableAcceleratedNetworking - Specifies whether the network interface is accelerated networking-enabled.
    EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"`
    // EnableFpga - Specifies whether the network interface is FPGA networking-enabled.
    EnableFpga *bool `json:"enableFpga,omitempty"`
    // NetworkSecurityGroup - The network security group.
    NetworkSecurityGroup *SubResource `json:"networkSecurityGroup,omitempty"`
    // DNSSettings - The dns settings to be applied on the network interfaces.
    DNSSettings *VirtualMachineScaleSetNetworkConfigurationDNSSettings `json:"dnsSettings,omitempty"`
    // IPConfigurations - The virtual machine scale set IP Configuration.
    IPConfigurations *[]VirtualMachineScaleSetUpdateIPConfiguration `json:"ipConfigurations,omitempty"`
    // EnableIPForwarding - Whether IP forwarding enabled on this NIC.
    EnableIPForwarding *bool `json:"enableIPForwarding,omitempty"`
    // DeleteOption - Specify what happens to the network interface when the VM is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach'
    DeleteOption DeleteOptions `json:"deleteOption,omitempty"`
}

type VirtualMachineScaleSetUpdateNetworkProfile

VirtualMachineScaleSetUpdateNetworkProfile describes a virtual machine scale set network profile.

type VirtualMachineScaleSetUpdateNetworkProfile struct {
    // HealthProbe - A reference to a load balancer probe used to determine the health of an instance in the virtual machine scale set. The reference will be in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.
    HealthProbe *APIEntityReference `json:"healthProbe,omitempty"`
    // NetworkInterfaceConfigurations - The list of network configurations.
    NetworkInterfaceConfigurations *[]VirtualMachineScaleSetUpdateNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
    // NetworkAPIVersion - specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible'. Possible values include: 'NetworkAPIVersionTwoZeroTwoZeroHyphenMinusOneOneHyphenMinusZeroOne'
    NetworkAPIVersion NetworkAPIVersion `json:"networkApiVersion,omitempty"`
}

type VirtualMachineScaleSetUpdateOSDisk

VirtualMachineScaleSetUpdateOSDisk describes virtual machine scale set operating system disk Update Object. This should be used for Updating VMSS OS Disk.

type VirtualMachineScaleSetUpdateOSDisk struct {
    // Caching - The caching type. Possible values include: 'CachingTypesNone', 'CachingTypesReadOnly', 'CachingTypesReadWrite'
    Caching CachingTypes `json:"caching,omitempty"`
    // WriteAcceleratorEnabled - Specifies whether writeAccelerator should be enabled or disabled on the disk.
    WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"`
    // DiskSizeGB - Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB
    DiskSizeGB *int32 `json:"diskSizeGB,omitempty"`
    // Image - The Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine. If SourceImage is provided, the destination VirtualHardDisk should not exist.
    Image *VirtualHardDisk `json:"image,omitempty"`
    // VhdContainers - The list of virtual hard disk container uris.
    VhdContainers *[]string `json:"vhdContainers,omitempty"`
    // ManagedDisk - The managed disk parameters.
    ManagedDisk *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
}

type VirtualMachineScaleSetUpdateOSProfile

VirtualMachineScaleSetUpdateOSProfile describes a virtual machine scale set OS profile.

type VirtualMachineScaleSetUpdateOSProfile struct {
    // CustomData - A base-64 encoded string of custom data.
    CustomData *string `json:"customData,omitempty"`
    // WindowsConfiguration - The Windows Configuration of the OS profile.
    WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
    // LinuxConfiguration - The Linux Configuration of the OS profile.
    LinuxConfiguration *LinuxConfiguration `json:"linuxConfiguration,omitempty"`
    // Secrets - The List of certificates for addition to the VM.
    Secrets *[]VaultSecretGroup `json:"secrets,omitempty"`
}

type VirtualMachineScaleSetUpdateProperties

VirtualMachineScaleSetUpdateProperties describes the properties of a Virtual Machine Scale Set.

type VirtualMachineScaleSetUpdateProperties struct {
    // UpgradePolicy - The upgrade policy.
    UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"`
    // AutomaticRepairsPolicy - Policy for automatic repairs.
    AutomaticRepairsPolicy *AutomaticRepairsPolicy `json:"automaticRepairsPolicy,omitempty"`
    // VirtualMachineProfile - The virtual machine profile.
    VirtualMachineProfile *VirtualMachineScaleSetUpdateVMProfile `json:"virtualMachineProfile,omitempty"`
    // Overprovision - Specifies whether the Virtual Machine Scale Set should be overprovisioned.
    Overprovision *bool `json:"overprovision,omitempty"`
    // DoNotRunExtensionsOnOverprovisionedVMs - When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs.
    DoNotRunExtensionsOnOverprovisionedVMs *bool `json:"doNotRunExtensionsOnOverprovisionedVMs,omitempty"`
    // SinglePlacementGroup - When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true.
    SinglePlacementGroup *bool `json:"singlePlacementGroup,omitempty"`
    // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the Virtual Machines in the Virtual Machine Scale Set. For instance: whether the Virtual Machines have the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
    AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
    // ScaleInPolicy - Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set.
    ScaleInPolicy *ScaleInPolicy `json:"scaleInPolicy,omitempty"`
    // ProximityPlacementGroup - Specifies information about the proximity placement group that the virtual machine scale set should be assigned to. <br><br>Minimum api-version: 2018-04-01.
    ProximityPlacementGroup *SubResource `json:"proximityPlacementGroup,omitempty"`
}

type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration

VirtualMachineScaleSetUpdatePublicIPAddressConfiguration describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct {
    // Name - The publicIP address configuration name.
    Name                                                                *string `json:"name,omitempty"`
    *VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties `json:"properties,omitempty"`
}

func (VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) MarshalJSON

func (vmssupiac VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.

func (*VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) UnmarshalJSON

func (vmssupiac *VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetUpdatePublicIPAddressConfiguration struct.

type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties

VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties struct {
    // IdleTimeoutInMinutes - The idle timeout of the public IP address.
    IdleTimeoutInMinutes *int32 `json:"idleTimeoutInMinutes,omitempty"`
    // DNSSettings - The dns settings to be applied on the publicIP addresses .
    DNSSettings *VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings `json:"dnsSettings,omitempty"`
    // PublicIPPrefix - The PublicIPPrefix from which to allocate publicIP addresses.
    PublicIPPrefix *SubResource `json:"publicIPPrefix,omitempty"`
    // DeleteOption - Specify what happens to the public IP when the VM is deleted. Possible values include: 'DeleteOptionsDelete', 'DeleteOptionsDetach'
    DeleteOption DeleteOptions `json:"deleteOption,omitempty"`
}

type VirtualMachineScaleSetUpdateStorageProfile

VirtualMachineScaleSetUpdateStorageProfile describes a virtual machine scale set storage profile.

type VirtualMachineScaleSetUpdateStorageProfile struct {
    // ImageReference - The image reference.
    ImageReference *ImageReference `json:"imageReference,omitempty"`
    // OsDisk - The OS disk.
    OsDisk *VirtualMachineScaleSetUpdateOSDisk `json:"osDisk,omitempty"`
    // DataDisks - The data disks.
    DataDisks *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
}

type VirtualMachineScaleSetUpdateVMProfile

VirtualMachineScaleSetUpdateVMProfile describes a virtual machine scale set virtual machine profile.

type VirtualMachineScaleSetUpdateVMProfile struct {
    // OsProfile - The virtual machine scale set OS profile.
    OsProfile *VirtualMachineScaleSetUpdateOSProfile `json:"osProfile,omitempty"`
    // StorageProfile - The virtual machine scale set storage profile.
    StorageProfile *VirtualMachineScaleSetUpdateStorageProfile `json:"storageProfile,omitempty"`
    // NetworkProfile - The virtual machine scale set network profile.
    NetworkProfile *VirtualMachineScaleSetUpdateNetworkProfile `json:"networkProfile,omitempty"`
    // SecurityProfile - The virtual machine scale set Security profile
    SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"`
    // DiagnosticsProfile - The virtual machine scale set diagnostics profile.
    DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
    // ExtensionProfile - The virtual machine scale set extension profile.
    ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`
    // LicenseType - The license type, which is for bring your own license scenario.
    LicenseType *string `json:"licenseType,omitempty"`
    // BillingProfile - Specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.
    BillingProfile *BillingProfile `json:"billingProfile,omitempty"`
    // ScheduledEventsProfile - Specifies Scheduled Event related configurations.
    ScheduledEventsProfile *ScheduledEventsProfile `json:"scheduledEventsProfile,omitempty"`
    // UserData - UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01
    UserData *string `json:"userData,omitempty"`
}

type VirtualMachineScaleSetVM

VirtualMachineScaleSetVM describes a virtual machine scale set virtual machine.

type VirtualMachineScaleSetVM struct {
    autorest.Response `json:"-"`
    // InstanceID - READ-ONLY; The virtual machine instance ID.
    InstanceID *string `json:"instanceId,omitempty"`
    // Sku - READ-ONLY; The virtual machine SKU.
    Sku                                 *Sku `json:"sku,omitempty"`
    *VirtualMachineScaleSetVMProperties `json:"properties,omitempty"`
    // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
    Plan *Plan `json:"plan,omitempty"`
    // Resources - READ-ONLY; The virtual machine child extension resources.
    Resources *[]VirtualMachineExtension `json:"resources,omitempty"`
    // Zones - READ-ONLY; The virtual machine zones.
    Zones *[]string `json:"zones,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type *string `json:"type,omitempty"`
    // Location - Resource location
    Location *string `json:"location,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineScaleSetVM) MarshalJSON

func (vmssv VirtualMachineScaleSetVM) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetVM.

func (*VirtualMachineScaleSetVM) UnmarshalJSON

func (vmssv *VirtualMachineScaleSetVM) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVM struct.

type VirtualMachineScaleSetVMExtension

VirtualMachineScaleSetVMExtension describes a VMSS VM Extension.

type VirtualMachineScaleSetVMExtension struct {
    autorest.Response `json:"-"`
    // Name - READ-ONLY; The name of the extension.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                               *string `json:"type,omitempty"`
    *VirtualMachineExtensionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetVMExtension) MarshalJSON

func (vmssve VirtualMachineScaleSetVMExtension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMExtension.

func (*VirtualMachineScaleSetVMExtension) UnmarshalJSON

func (vmssve *VirtualMachineScaleSetVMExtension) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVMExtension struct.

type VirtualMachineScaleSetVMExtensionUpdate

VirtualMachineScaleSetVMExtensionUpdate describes a VMSS VM Extension.

type VirtualMachineScaleSetVMExtensionUpdate struct {
    // Name - READ-ONLY; The name of the extension.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource type
    Type                                     *string `json:"type,omitempty"`
    *VirtualMachineExtensionUpdateProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID *string `json:"id,omitempty"`
}

func (VirtualMachineScaleSetVMExtensionUpdate) MarshalJSON

func (vmssveu VirtualMachineScaleSetVMExtensionUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMExtensionUpdate.

func (*VirtualMachineScaleSetVMExtensionUpdate) UnmarshalJSON

func (vmssveu *VirtualMachineScaleSetVMExtensionUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineScaleSetVMExtensionUpdate struct.

type VirtualMachineScaleSetVMExtensionsClient

VirtualMachineScaleSetVMExtensionsClient is the compute Client

type VirtualMachineScaleSetVMExtensionsClient struct {
    BaseClient
}

func NewVirtualMachineScaleSetVMExtensionsClient

func NewVirtualMachineScaleSetVMExtensionsClient(subscriptionID string) VirtualMachineScaleSetVMExtensionsClient

NewVirtualMachineScaleSetVMExtensionsClient creates an instance of the VirtualMachineScaleSetVMExtensionsClient client.

func NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI

func NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMExtensionsClient

NewVirtualMachineScaleSetVMExtensionsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMExtensionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdate

func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtension) (result VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Create Virtual Machine Extension operation.

func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdatePreparer

func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtension) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateResponder

func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateSender

func (client VirtualMachineScaleSetVMExtensionsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMExtensionsClient) Delete

func (client VirtualMachineScaleSetVMExtensionsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string) (result VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)

Delete the operation to delete the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension.

func (VirtualMachineScaleSetVMExtensionsClient) DeletePreparer

func (client VirtualMachineScaleSetVMExtensionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetVMExtensionsClient) DeleteResponder

func (client VirtualMachineScaleSetVMExtensionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMExtensionsClient) DeleteSender

func (client VirtualMachineScaleSetVMExtensionsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMExtensionsClient) Get

func (client VirtualMachineScaleSetVMExtensionsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, expand string) (result VirtualMachineScaleSetVMExtension, err error)

Get the operation to get the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension. expand - the expand expression to apply on the operation.

func (VirtualMachineScaleSetVMExtensionsClient) GetPreparer

func (client VirtualMachineScaleSetVMExtensionsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetVMExtensionsClient) GetResponder

func (client VirtualMachineScaleSetVMExtensionsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMExtensionsClient) GetSender

func (client VirtualMachineScaleSetVMExtensionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMExtensionsClient) List

func (client VirtualMachineScaleSetVMExtensionsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (result VirtualMachineScaleSetVMExtensionsListResult, err error)

List the operation to get all extensions of an instance in Virtual Machine Scaleset. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. expand - the expand expression to apply on the operation.

func (VirtualMachineScaleSetVMExtensionsClient) ListPreparer

func (client VirtualMachineScaleSetVMExtensionsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetVMExtensionsClient) ListResponder

func (client VirtualMachineScaleSetVMExtensionsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtensionsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMExtensionsClient) ListSender

func (client VirtualMachineScaleSetVMExtensionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMExtensionsClient) Update

func (client VirtualMachineScaleSetVMExtensionsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtensionUpdate) (result VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)

Update the operation to update the VMSS VM extension. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMExtensionName - the name of the virtual machine extension. extensionParameters - parameters supplied to the Update Virtual Machine Extension operation.

func (VirtualMachineScaleSetVMExtensionsClient) UpdatePreparer

func (client VirtualMachineScaleSetVMExtensionsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMExtensionName string, extensionParameters VirtualMachineScaleSetVMExtensionUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineScaleSetVMExtensionsClient) UpdateResponder

func (client VirtualMachineScaleSetVMExtensionsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVMExtension, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMExtensionsClient) UpdateSender

func (client VirtualMachineScaleSetVMExtensionsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMExtensionsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture

VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMExtensionsClient) (VirtualMachineScaleSetVMExtension, error)
}

func (*VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMExtensionsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMExtensionsDeleteFuture

VirtualMachineScaleSetVMExtensionsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMExtensionsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMExtensionsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMExtensionsDeleteFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMExtensionsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMExtensionsListResult

VirtualMachineScaleSetVMExtensionsListResult the List VMSS VM Extension operation response

type VirtualMachineScaleSetVMExtensionsListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of VMSS VM extensions
    Value *[]VirtualMachineScaleSetVMExtension `json:"value,omitempty"`
}

type VirtualMachineScaleSetVMExtensionsSummary

VirtualMachineScaleSetVMExtensionsSummary extensions summary for virtual machines of a virtual machine scale set.

type VirtualMachineScaleSetVMExtensionsSummary struct {
    // Name - READ-ONLY; The extension name.
    Name *string `json:"name,omitempty"`
    // StatusesSummary - READ-ONLY; The extensions information.
    StatusesSummary *[]VirtualMachineStatusCodeCount `json:"statusesSummary,omitempty"`
}

func (VirtualMachineScaleSetVMExtensionsSummary) MarshalJSON

func (vmssves VirtualMachineScaleSetVMExtensionsSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMExtensionsSummary.

type VirtualMachineScaleSetVMExtensionsUpdateFuture

VirtualMachineScaleSetVMExtensionsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMExtensionsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMExtensionsClient) (VirtualMachineScaleSetVMExtension, error)
}

func (*VirtualMachineScaleSetVMExtensionsUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMExtensionsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMInstanceIDs

VirtualMachineScaleSetVMInstanceIDs specifies a list of virtual machine instance IDs from the VM scale set.

type VirtualMachineScaleSetVMInstanceIDs struct {
    // InstanceIds - The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation being performed on all virtual machines in the virtual machine scale set.
    InstanceIds *[]string `json:"instanceIds,omitempty"`
}

type VirtualMachineScaleSetVMInstanceRequiredIDs

VirtualMachineScaleSetVMInstanceRequiredIDs specifies a list of virtual machine instance IDs from the VM scale set.

type VirtualMachineScaleSetVMInstanceRequiredIDs struct {
    // InstanceIds - The virtual machine scale set instance ids.
    InstanceIds *[]string `json:"instanceIds,omitempty"`
}

type VirtualMachineScaleSetVMInstanceView

VirtualMachineScaleSetVMInstanceView the instance view of a virtual machine scale set VM.

type VirtualMachineScaleSetVMInstanceView struct {
    autorest.Response `json:"-"`
    // PlatformUpdateDomain - The Update Domain count.
    PlatformUpdateDomain *int32 `json:"platformUpdateDomain,omitempty"`
    // PlatformFaultDomain - The Fault Domain count.
    PlatformFaultDomain *int32 `json:"platformFaultDomain,omitempty"`
    // RdpThumbPrint - The Remote desktop certificate thumbprint.
    RdpThumbPrint *string `json:"rdpThumbPrint,omitempty"`
    // VMAgent - The VM Agent running on the virtual machine.
    VMAgent *VirtualMachineAgentInstanceView `json:"vmAgent,omitempty"`
    // MaintenanceRedeployStatus - The Maintenance Operation status on the virtual machine.
    MaintenanceRedeployStatus *MaintenanceRedeployStatus `json:"maintenanceRedeployStatus,omitempty"`
    // Disks - The disks information.
    Disks *[]DiskInstanceView `json:"disks,omitempty"`
    // Extensions - The extensions information.
    Extensions *[]VirtualMachineExtensionInstanceView `json:"extensions,omitempty"`
    // VMHealth - READ-ONLY; The health status for the VM.
    VMHealth *VirtualMachineHealthStatus `json:"vmHealth,omitempty"`
    // BootDiagnostics - Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.
    BootDiagnostics *BootDiagnosticsInstanceView `json:"bootDiagnostics,omitempty"`
    // Statuses - The resource status information.
    Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
    // AssignedHost - READ-ONLY; Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. <br><br>Minimum api-version: 2020-06-01.
    AssignedHost *string `json:"assignedHost,omitempty"`
    // PlacementGroupID - The placement group in which the VM is running. If the VM is deallocated it will not have a placementGroupId.
    PlacementGroupID *string `json:"placementGroupId,omitempty"`
}

func (VirtualMachineScaleSetVMInstanceView) MarshalJSON

func (vmssviv VirtualMachineScaleSetVMInstanceView) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMInstanceView.

type VirtualMachineScaleSetVMListResult

VirtualMachineScaleSetVMListResult the List Virtual Machine Scale Set VMs operation response.

type VirtualMachineScaleSetVMListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of virtual machine scale sets VMs.
    Value *[]VirtualMachineScaleSetVM `json:"value,omitempty"`
    // NextLink - The uri to fetch the next page of Virtual Machine Scale Set VMs. Call ListNext() with this to fetch the next page of VMSS VMs
    NextLink *string `json:"nextLink,omitempty"`
}

func (VirtualMachineScaleSetVMListResult) IsEmpty

func (vmssvlr VirtualMachineScaleSetVMListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineScaleSetVMListResultIterator

VirtualMachineScaleSetVMListResultIterator provides access to a complete listing of VirtualMachineScaleSetVM values.

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

func NewVirtualMachineScaleSetVMListResultIterator

func NewVirtualMachineScaleSetVMListResultIterator(page VirtualMachineScaleSetVMListResultPage) VirtualMachineScaleSetVMListResultIterator

Creates a new instance of the VirtualMachineScaleSetVMListResultIterator type.

func (*VirtualMachineScaleSetVMListResultIterator) Next

func (iter *VirtualMachineScaleSetVMListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetVMListResultIterator) NextWithContext

func (iter *VirtualMachineScaleSetVMListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VirtualMachineScaleSetVMListResultIterator) NotDone

func (iter VirtualMachineScaleSetVMListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetVMListResultIterator) Response

func (iter VirtualMachineScaleSetVMListResultIterator) Response() VirtualMachineScaleSetVMListResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetVMListResultIterator) Value

func (iter VirtualMachineScaleSetVMListResultIterator) Value() VirtualMachineScaleSetVM

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VirtualMachineScaleSetVMListResultPage

VirtualMachineScaleSetVMListResultPage contains a page of VirtualMachineScaleSetVM values.

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

func NewVirtualMachineScaleSetVMListResultPage

func NewVirtualMachineScaleSetVMListResultPage(cur VirtualMachineScaleSetVMListResult, getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage

Creates a new instance of the VirtualMachineScaleSetVMListResultPage type.

func (*VirtualMachineScaleSetVMListResultPage) Next

func (page *VirtualMachineScaleSetVMListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VirtualMachineScaleSetVMListResultPage) NextWithContext

func (page *VirtualMachineScaleSetVMListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VirtualMachineScaleSetVMListResultPage) NotDone

func (page VirtualMachineScaleSetVMListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VirtualMachineScaleSetVMListResultPage) Response

func (page VirtualMachineScaleSetVMListResultPage) Response() VirtualMachineScaleSetVMListResult

Response returns the raw server response from the last page request.

func (VirtualMachineScaleSetVMListResultPage) Values

func (page VirtualMachineScaleSetVMListResultPage) Values() []VirtualMachineScaleSetVM

Values returns the slice of values for the current page or nil if there are no values.

type VirtualMachineScaleSetVMNetworkProfileConfiguration

VirtualMachineScaleSetVMNetworkProfileConfiguration describes a virtual machine scale set VM network profile.

type VirtualMachineScaleSetVMNetworkProfileConfiguration struct {
    // NetworkInterfaceConfigurations - The list of network configurations.
    NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

type VirtualMachineScaleSetVMProfile

VirtualMachineScaleSetVMProfile describes a virtual machine scale set virtual machine profile.

type VirtualMachineScaleSetVMProfile struct {
    // OsProfile - Specifies the operating system settings for the virtual machines in the scale set.
    OsProfile *VirtualMachineScaleSetOSProfile `json:"osProfile,omitempty"`
    // StorageProfile - Specifies the storage settings for the virtual machine disks.
    StorageProfile *VirtualMachineScaleSetStorageProfile `json:"storageProfile,omitempty"`
    // NetworkProfile - Specifies properties of the network interfaces of the virtual machines in the scale set.
    NetworkProfile *VirtualMachineScaleSetNetworkProfile `json:"networkProfile,omitempty"`
    // SecurityProfile - Specifies the Security related profile settings for the virtual machines in the scale set.
    SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"`
    // DiagnosticsProfile - Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
    DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
    // ExtensionProfile - Specifies a collection of settings for extensions installed on virtual machines in the scale set.
    ExtensionProfile *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`
    // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15
    LicenseType *string `json:"licenseType,omitempty"`
    // Priority - Specifies the priority for the virtual machines in the scale set. <br><br>Minimum api-version: 2017-10-30-preview. Possible values include: 'VirtualMachinePriorityTypesRegular', 'VirtualMachinePriorityTypesLow', 'VirtualMachinePriorityTypesSpot'
    Priority VirtualMachinePriorityTypes `json:"priority,omitempty"`
    // EvictionPolicy - Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'VirtualMachineEvictionPolicyTypesDeallocate', 'VirtualMachineEvictionPolicyTypesDelete'
    EvictionPolicy VirtualMachineEvictionPolicyTypes `json:"evictionPolicy,omitempty"`
    // BillingProfile - Specifies the billing related details of a Azure Spot VMSS. <br><br>Minimum api-version: 2019-03-01.
    BillingProfile *BillingProfile `json:"billingProfile,omitempty"`
    // ScheduledEventsProfile - Specifies Scheduled Event related configurations.
    ScheduledEventsProfile *ScheduledEventsProfile `json:"scheduledEventsProfile,omitempty"`
    // UserData - UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01
    UserData *string `json:"userData,omitempty"`
    // CapacityReservation - Specifies the capacity reservation related details of a scale set. <br><br>Minimum api-version: 2021-04-01.
    CapacityReservation *CapacityReservationProfile `json:"capacityReservation,omitempty"`
    // ApplicationProfile - Specifies the gallery applications that should be made available to the VM/VMSS
    ApplicationProfile *ApplicationProfile `json:"applicationProfile,omitempty"`
    // HardwareProfile - Specifies the hardware profile related details of a scale set. <br><br>Minimum api-version: 2021-11-01.
    HardwareProfile *VirtualMachineScaleSetHardwareProfile `json:"hardwareProfile,omitempty"`
}

type VirtualMachineScaleSetVMProperties

VirtualMachineScaleSetVMProperties describes the properties of a virtual machine scale set virtual machine.

type VirtualMachineScaleSetVMProperties struct {
    // LatestModelApplied - READ-ONLY; Specifies whether the latest model has been applied to the virtual machine.
    LatestModelApplied *bool `json:"latestModelApplied,omitempty"`
    // VMID - READ-ONLY; Azure VM unique ID.
    VMID *string `json:"vmId,omitempty"`
    // InstanceView - READ-ONLY; The virtual machine instance view.
    InstanceView *VirtualMachineScaleSetVMInstanceView `json:"instanceView,omitempty"`
    // HardwareProfile - Specifies the hardware settings for the virtual machine.
    HardwareProfile *HardwareProfile `json:"hardwareProfile,omitempty"`
    // StorageProfile - Specifies the storage settings for the virtual machine disks.
    StorageProfile *StorageProfile `json:"storageProfile,omitempty"`
    // AdditionalCapabilities - Specifies additional capabilities enabled or disabled on the virtual machine in the scale set. For instance: whether the virtual machine has the capability to support attaching managed data disks with UltraSSD_LRS storage account type.
    AdditionalCapabilities *AdditionalCapabilities `json:"additionalCapabilities,omitempty"`
    // OsProfile - Specifies the operating system settings for the virtual machine.
    OsProfile *OSProfile `json:"osProfile,omitempty"`
    // SecurityProfile - Specifies the Security related profile settings for the virtual machine.
    SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"`
    // NetworkProfile - Specifies the network interfaces of the virtual machine.
    NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
    // NetworkProfileConfiguration - Specifies the network profile configuration of the virtual machine.
    NetworkProfileConfiguration *VirtualMachineScaleSetVMNetworkProfileConfiguration `json:"networkProfileConfiguration,omitempty"`
    // DiagnosticsProfile - Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.
    DiagnosticsProfile *DiagnosticsProfile `json:"diagnosticsProfile,omitempty"`
    // AvailabilitySet - Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
    AvailabilitySet *SubResource `json:"availabilitySet,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state, which only appears in the response.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // LicenseType - Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15
    LicenseType *string `json:"licenseType,omitempty"`
    // ModelDefinitionApplied - READ-ONLY; Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine.
    ModelDefinitionApplied *string `json:"modelDefinitionApplied,omitempty"`
    // ProtectionPolicy - Specifies the protection policy of the virtual machine.
    ProtectionPolicy *VirtualMachineScaleSetVMProtectionPolicy `json:"protectionPolicy,omitempty"`
    // UserData - UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01
    UserData *string `json:"userData,omitempty"`
}

func (VirtualMachineScaleSetVMProperties) MarshalJSON

func (vmssvp VirtualMachineScaleSetVMProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineScaleSetVMProperties.

type VirtualMachineScaleSetVMProtectionPolicy

VirtualMachineScaleSetVMProtectionPolicy the protection policy of a virtual machine scale set VM.

type VirtualMachineScaleSetVMProtectionPolicy struct {
    // ProtectFromScaleIn - Indicates that the virtual machine scale set VM shouldn't be considered for deletion during a scale-in operation.
    ProtectFromScaleIn *bool `json:"protectFromScaleIn,omitempty"`
    // ProtectFromScaleSetActions - Indicates that model updates or actions (including scale-in) initiated on the virtual machine scale set should not be applied to the virtual machine scale set VM.
    ProtectFromScaleSetActions *bool `json:"protectFromScaleSetActions,omitempty"`
}

type VirtualMachineScaleSetVMReimageParameters

VirtualMachineScaleSetVMReimageParameters describes a Virtual Machine Scale Set VM Reimage Parameters.

type VirtualMachineScaleSetVMReimageParameters struct {
    // TempDisk - Specifies whether to reimage temp disk. Default value: false. Note: This temp disk reimage parameter is only supported for VM/VMSS with Ephemeral OS disk.
    TempDisk *bool `json:"tempDisk,omitempty"`
}

type VirtualMachineScaleSetVMRunCommandsClient

VirtualMachineScaleSetVMRunCommandsClient is the compute Client

type VirtualMachineScaleSetVMRunCommandsClient struct {
    BaseClient
}

func NewVirtualMachineScaleSetVMRunCommandsClient

func NewVirtualMachineScaleSetVMRunCommandsClient(subscriptionID string) VirtualMachineScaleSetVMRunCommandsClient

NewVirtualMachineScaleSetVMRunCommandsClient creates an instance of the VirtualMachineScaleSetVMRunCommandsClient client.

func NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI

func NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMRunCommandsClient

NewVirtualMachineScaleSetVMRunCommandsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMRunCommandsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdate

func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommand) (result VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update the VMSS VM run command. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. runCommandName - the name of the virtual machine run command. runCommand - parameters supplied to the Create Virtual Machine RunCommand operation.

func (VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdatePreparer

func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommand) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateResponder

func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateSender

func (client VirtualMachineScaleSetVMRunCommandsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMRunCommandsClient) Delete

func (client VirtualMachineScaleSetVMRunCommandsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string) (result VirtualMachineScaleSetVMRunCommandsDeleteFuture, err error)

Delete the operation to delete the VMSS VM run command. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. runCommandName - the name of the virtual machine run command.

func (VirtualMachineScaleSetVMRunCommandsClient) DeletePreparer

func (client VirtualMachineScaleSetVMRunCommandsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetVMRunCommandsClient) DeleteResponder

func (client VirtualMachineScaleSetVMRunCommandsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMRunCommandsClient) DeleteSender

func (client VirtualMachineScaleSetVMRunCommandsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMRunCommandsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMRunCommandsClient) Get

func (client VirtualMachineScaleSetVMRunCommandsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, expand string) (result VirtualMachineRunCommand, err error)

Get the operation to get the VMSS VM run command. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. runCommandName - the name of the virtual machine run command. expand - the expand expression to apply on the operation.

func (VirtualMachineScaleSetVMRunCommandsClient) GetPreparer

func (client VirtualMachineScaleSetVMRunCommandsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, expand string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetVMRunCommandsClient) GetResponder

func (client VirtualMachineScaleSetVMRunCommandsClient) GetResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMRunCommandsClient) GetSender

func (client VirtualMachineScaleSetVMRunCommandsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMRunCommandsClient) List

func (client VirtualMachineScaleSetVMRunCommandsClient) List(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (result VirtualMachineRunCommandsListResultPage, err error)

List the operation to get all run commands of an instance in Virtual Machine Scaleset. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. expand - the expand expression to apply on the operation.

func (VirtualMachineScaleSetVMRunCommandsClient) ListComplete

func (client VirtualMachineScaleSetVMRunCommandsClient) ListComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (result VirtualMachineRunCommandsListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetVMRunCommandsClient) ListPreparer

func (client VirtualMachineScaleSetVMRunCommandsClient) ListPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetVMRunCommandsClient) ListResponder

func (client VirtualMachineScaleSetVMRunCommandsClient) ListResponder(resp *http.Response) (result VirtualMachineRunCommandsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMRunCommandsClient) ListSender

func (client VirtualMachineScaleSetVMRunCommandsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMRunCommandsClient) Update

func (client VirtualMachineScaleSetVMRunCommandsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (result VirtualMachineScaleSetVMRunCommandsUpdateFuture, err error)

Update the operation to update the VMSS VM run command. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. runCommandName - the name of the virtual machine run command. runCommand - parameters supplied to the Update Virtual Machine RunCommand operation.

func (VirtualMachineScaleSetVMRunCommandsClient) UpdatePreparer

func (client VirtualMachineScaleSetVMRunCommandsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, runCommandName string, runCommand VirtualMachineRunCommandUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineScaleSetVMRunCommandsClient) UpdateResponder

func (client VirtualMachineScaleSetVMRunCommandsClient) UpdateResponder(resp *http.Response) (result VirtualMachineRunCommand, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMRunCommandsClient) UpdateSender

func (client VirtualMachineScaleSetVMRunCommandsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMRunCommandsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture

VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMRunCommandsClient) (VirtualMachineRunCommand, error)
}

func (*VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMRunCommandsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMRunCommandsDeleteFuture

VirtualMachineScaleSetVMRunCommandsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMRunCommandsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMRunCommandsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMRunCommandsDeleteFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMRunCommandsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMRunCommandsUpdateFuture

VirtualMachineScaleSetVMRunCommandsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMRunCommandsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMRunCommandsClient) (VirtualMachineRunCommand, error)
}

func (*VirtualMachineScaleSetVMRunCommandsUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMRunCommandsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsClient

VirtualMachineScaleSetVMsClient is the compute Client

type VirtualMachineScaleSetVMsClient struct {
    BaseClient
}

func NewVirtualMachineScaleSetVMsClient

func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient

NewVirtualMachineScaleSetVMsClient creates an instance of the VirtualMachineScaleSetVMsClient client.

func NewVirtualMachineScaleSetVMsClientWithBaseURI

func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient

NewVirtualMachineScaleSetVMsClientWithBaseURI creates an instance of the VirtualMachineScaleSetVMsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineScaleSetVMsClient) Deallocate

func (client VirtualMachineScaleSetVMsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsDeallocateFuture, err error)

Deallocate deallocates a specific virtual machine in a VM scale set. Shuts down the virtual machine and releases the compute resources it uses. You are not billed for the compute resources of this virtual machine once it is deallocated. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) DeallocatePreparer

func (client VirtualMachineScaleSetVMsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachineScaleSetVMsClient) DeallocateResponder

func (client VirtualMachineScaleSetVMsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)

DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) DeallocateSender

func (client VirtualMachineScaleSetVMsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetVMsDeallocateFuture, err error)

DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Delete

func (client VirtualMachineScaleSetVMsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, forceDeletion *bool) (result VirtualMachineScaleSetVMsDeleteFuture, err error)

Delete deletes a virtual machine from a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. forceDeletion - optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview)

func (VirtualMachineScaleSetVMsClient) DeletePreparer

func (client VirtualMachineScaleSetVMsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, forceDeletion *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetVMsClient) DeleteResponder

func (client VirtualMachineScaleSetVMsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) DeleteSender

func (client VirtualMachineScaleSetVMsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetVMsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Get

func (client VirtualMachineScaleSetVMsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand InstanceViewTypes) (result VirtualMachineScaleSetVM, err error)

Get gets a virtual machine from a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. expand - the expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine.

func (VirtualMachineScaleSetVMsClient) GetInstanceView

func (client VirtualMachineScaleSetVMsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMInstanceView, err error)

GetInstanceView gets the status of a virtual machine from a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer

func (client VirtualMachineScaleSetVMsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (VirtualMachineScaleSetVMsClient) GetInstanceViewResponder

func (client VirtualMachineScaleSetVMsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetVMInstanceView, err error)

GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) GetInstanceViewSender

func (client VirtualMachineScaleSetVMsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)

GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) GetPreparer

func (client VirtualMachineScaleSetVMsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, expand InstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetVMsClient) GetResponder

func (client VirtualMachineScaleSetVMsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) GetSender

func (client VirtualMachineScaleSetVMsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) List

func (client VirtualMachineScaleSetVMsClient) List(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultPage, err error)

List gets a list of all virtual machines in a VM scale sets. Parameters: resourceGroupName - the name of the resource group. virtualMachineScaleSetName - the name of the VM scale set. filter - the filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. selectParameter - the list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. expand - the expand expression to apply to the operation. Allowed values are 'instanceView'.

func (VirtualMachineScaleSetVMsClient) ListComplete

func (client VirtualMachineScaleSetVMsClient) ListComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (result VirtualMachineScaleSetVMListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetVMsClient) ListPreparer

func (client VirtualMachineScaleSetVMsClient) ListPreparer(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, filter string, selectParameter string, expand string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetVMsClient) ListResponder

func (client VirtualMachineScaleSetVMsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetVMListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) ListSender

func (client VirtualMachineScaleSetVMsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) PerformMaintenance

func (client VirtualMachineScaleSetVMsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)

PerformMaintenance performs maintenance on a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer

func (client VirtualMachineScaleSetVMsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

PerformMaintenancePreparer prepares the PerformMaintenance request.

func (VirtualMachineScaleSetVMsClient) PerformMaintenanceResponder

func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)

PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) PerformMaintenanceSender

func (client VirtualMachineScaleSetVMsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetVMsPerformMaintenanceFuture, err error)

PerformMaintenanceSender sends the PerformMaintenance request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) PowerOff

func (client VirtualMachineScaleSetVMsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (result VirtualMachineScaleSetVMsPowerOffFuture, err error)

PowerOff power off (stop) a virtual machine in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified

func (VirtualMachineScaleSetVMsClient) PowerOffPreparer

func (client VirtualMachineScaleSetVMsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, skipShutdown *bool) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachineScaleSetVMsClient) PowerOffResponder

func (client VirtualMachineScaleSetVMsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) PowerOffSender

func (client VirtualMachineScaleSetVMsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetVMsPowerOffFuture, err error)

PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Redeploy

func (client VirtualMachineScaleSetVMsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRedeployFuture, err error)

Redeploy shuts down the virtual machine in the virtual machine scale set, moves it to a new node, and powers it back on. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) RedeployPreparer

func (client VirtualMachineScaleSetVMsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

RedeployPreparer prepares the Redeploy request.

func (VirtualMachineScaleSetVMsClient) RedeployResponder

func (client VirtualMachineScaleSetVMsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)

RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) RedeploySender

func (client VirtualMachineScaleSetVMsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetVMsRedeployFuture, err error)

RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Reimage

func (client VirtualMachineScaleSetVMsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (result VirtualMachineScaleSetVMsReimageFuture, err error)

Reimage reimages (upgrade the operating system) a specific virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. VMScaleSetVMReimageInput - parameters for the Reimaging Virtual machine in ScaleSet.

func (VirtualMachineScaleSetVMsClient) ReimageAll

func (client VirtualMachineScaleSetVMsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsReimageAllFuture, err error)

ReimageAll allows you to re-image all the disks ( including data disks ) in the a VM scale set instance. This operation is only supported for managed disks. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) ReimageAllPreparer

func (client VirtualMachineScaleSetVMsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

ReimageAllPreparer prepares the ReimageAll request.

func (VirtualMachineScaleSetVMsClient) ReimageAllResponder

func (client VirtualMachineScaleSetVMsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error)

ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) ReimageAllSender

func (client VirtualMachineScaleSetVMsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageAllFuture, err error)

ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) ReimagePreparer

func (client VirtualMachineScaleSetVMsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, VMScaleSetVMReimageInput *VirtualMachineScaleSetVMReimageParameters) (*http.Request, error)

ReimagePreparer prepares the Reimage request.

func (VirtualMachineScaleSetVMsClient) ReimageResponder

func (client VirtualMachineScaleSetVMsClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)

ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) ReimageSender

func (client VirtualMachineScaleSetVMsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetVMsReimageFuture, err error)

ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Restart

func (client VirtualMachineScaleSetVMsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsRestartFuture, err error)

Restart restarts a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) RestartPreparer

func (client VirtualMachineScaleSetVMsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachineScaleSetVMsClient) RestartResponder

func (client VirtualMachineScaleSetVMsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) RestartSender

func (client VirtualMachineScaleSetVMsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetVMsRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsData

func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, sasURIExpirationTimeInMinutes *int32) (result RetrieveBootDiagnosticsDataResult, err error)

RetrieveBootDiagnosticsData the operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. sasURIExpirationTimeInMinutes - expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes.

func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataPreparer

func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, sasURIExpirationTimeInMinutes *int32) (*http.Request, error)

RetrieveBootDiagnosticsDataPreparer prepares the RetrieveBootDiagnosticsData request.

func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataResponder

func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)

RetrieveBootDiagnosticsDataResponder handles the response to the RetrieveBootDiagnosticsData request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataSender

func (client VirtualMachineScaleSetVMsClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)

RetrieveBootDiagnosticsDataSender sends the RetrieveBootDiagnosticsData request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) RunCommand

func (client VirtualMachineScaleSetVMsClient) RunCommand(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters RunCommandInput) (result VirtualMachineScaleSetVMsRunCommandFuture, err error)

RunCommand run command on a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine. parameters - parameters supplied to the Run command operation.

func (VirtualMachineScaleSetVMsClient) RunCommandPreparer

func (client VirtualMachineScaleSetVMsClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters RunCommandInput) (*http.Request, error)

RunCommandPreparer prepares the RunCommand request.

func (VirtualMachineScaleSetVMsClient) RunCommandResponder

func (client VirtualMachineScaleSetVMsClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)

RunCommandResponder handles the response to the RunCommand request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) RunCommandSender

func (client VirtualMachineScaleSetVMsClient) RunCommandSender(req *http.Request) (future VirtualMachineScaleSetVMsRunCommandFuture, err error)

RunCommandSender sends the RunCommand request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) SimulateEviction

func (client VirtualMachineScaleSetVMsClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result autorest.Response, err error)

SimulateEviction the operation to simulate the eviction of spot virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) SimulateEvictionPreparer

func (client VirtualMachineScaleSetVMsClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

SimulateEvictionPreparer prepares the SimulateEviction request.

func (VirtualMachineScaleSetVMsClient) SimulateEvictionResponder

func (client VirtualMachineScaleSetVMsClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)

SimulateEvictionResponder handles the response to the SimulateEviction request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) SimulateEvictionSender

func (client VirtualMachineScaleSetVMsClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)

SimulateEvictionSender sends the SimulateEviction request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Start

func (client VirtualMachineScaleSetVMsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (result VirtualMachineScaleSetVMsStartFuture, err error)

Start starts a virtual machine in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. instanceID - the instance ID of the virtual machine.

func (VirtualMachineScaleSetVMsClient) StartPreparer

func (client VirtualMachineScaleSetVMsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineScaleSetVMsClient) StartResponder

func (client VirtualMachineScaleSetVMsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) StartSender

func (client VirtualMachineScaleSetVMsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetVMsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetVMsClient) Update

func (client VirtualMachineScaleSetVMsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (result VirtualMachineScaleSetVMsUpdateFuture, err error)

Update updates a virtual machine of a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set where the extension should be create or updated. instanceID - the instance ID of the virtual machine. parameters - parameters supplied to the Update Virtual Machine Scale Sets VM operation.

func (VirtualMachineScaleSetVMsClient) UpdatePreparer

func (client VirtualMachineScaleSetVMsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, instanceID string, parameters VirtualMachineScaleSetVM) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineScaleSetVMsClient) UpdateResponder

func (client VirtualMachineScaleSetVMsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSetVM, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetVMsClient) UpdateSender

func (client VirtualMachineScaleSetVMsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetVMsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetVMsDeallocateFuture

VirtualMachineScaleSetVMsDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsDeallocateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsDeallocateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsDeallocateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsDeleteFuture

VirtualMachineScaleSetVMsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsDeleteFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsPerformMaintenanceFuture

VirtualMachineScaleSetVMsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsPerformMaintenanceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsPerformMaintenanceFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsPerformMaintenanceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsPowerOffFuture

VirtualMachineScaleSetVMsPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsPowerOffFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsPowerOffFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsPowerOffFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsRedeployFuture

VirtualMachineScaleSetVMsRedeployFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsRedeployFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsRedeployFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsRedeployFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsReimageAllFuture

VirtualMachineScaleSetVMsReimageAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsReimageAllFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsReimageAllFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsReimageAllFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsReimageFuture

VirtualMachineScaleSetVMsReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsReimageFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsReimageFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsReimageFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsRestartFuture

VirtualMachineScaleSetVMsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsRestartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsRestartFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsRunCommandFuture

VirtualMachineScaleSetVMsRunCommandFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsRunCommandFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (RunCommandResult, error)
}

func (*VirtualMachineScaleSetVMsRunCommandFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsRunCommandFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsStartFuture

VirtualMachineScaleSetVMsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsStartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetVMsStartFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetVMsUpdateFuture

VirtualMachineScaleSetVMsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetVMsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetVMsClient) (VirtualMachineScaleSetVM, error)
}

func (*VirtualMachineScaleSetVMsUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetVMsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsClient

VirtualMachineScaleSetsClient is the compute Client

type VirtualMachineScaleSetsClient struct {
    BaseClient
}

func NewVirtualMachineScaleSetsClient

func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient

NewVirtualMachineScaleSetsClient creates an instance of the VirtualMachineScaleSetsClient client.

func NewVirtualMachineScaleSetsClientWithBaseURI

func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient

NewVirtualMachineScaleSetsClientWithBaseURI creates an instance of the VirtualMachineScaleSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup

func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroup(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (result autorest.Response, err error)

ConvertToSinglePlacementGroup converts SinglePlacementGroup property to false for a existing virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the virtual machine scale set to create or update. parameters - the input object for ConvertToSinglePlacementGroup API.

func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPreparer

func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VMScaleSetConvertToSinglePlacementGroupInput) (*http.Request, error)

ConvertToSinglePlacementGroupPreparer prepares the ConvertToSinglePlacementGroup request.

func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupResponder

func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupResponder(resp *http.Response) (result autorest.Response, err error)

ConvertToSinglePlacementGroupResponder handles the response to the ConvertToSinglePlacementGroup request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender

func (client VirtualMachineScaleSetsClient) ConvertToSinglePlacementGroupSender(req *http.Request) (*http.Response, error)

ConvertToSinglePlacementGroupSender sends the ConvertToSinglePlacementGroup request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) CreateOrUpdate

func (client VirtualMachineScaleSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (result VirtualMachineScaleSetsCreateOrUpdateFuture, err error)

CreateOrUpdate create or update a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set to create or update. parameters - the scale set object.

func (VirtualMachineScaleSetsClient) CreateOrUpdatePreparer

func (client VirtualMachineScaleSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSet) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineScaleSetsClient) CreateOrUpdateResponder

func (client VirtualMachineScaleSetsClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) CreateOrUpdateSender

func (client VirtualMachineScaleSetsClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineScaleSetsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Deallocate

func (client VirtualMachineScaleSetsClient) Deallocate(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsDeallocateFuture, err error)

Deallocate deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and releases the compute resources. You are not billed for the compute resources that this virtual machine scale set deallocates. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) DeallocatePreparer

func (client VirtualMachineScaleSetsClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachineScaleSetsClient) DeallocateResponder

func (client VirtualMachineScaleSetsClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)

DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) DeallocateSender

func (client VirtualMachineScaleSetsClient) DeallocateSender(req *http.Request) (future VirtualMachineScaleSetsDeallocateFuture, err error)

DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Delete

func (client VirtualMachineScaleSetsClient) Delete(ctx context.Context, resourceGroupName string, VMScaleSetName string, forceDeletion *bool) (result VirtualMachineScaleSetsDeleteFuture, err error)

Delete deletes a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. forceDeletion - optional parameter to force delete a VM scale set. (Feature in Preview)

func (VirtualMachineScaleSetsClient) DeleteInstances

func (client VirtualMachineScaleSetsClient) DeleteInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, forceDeletion *bool) (result VirtualMachineScaleSetsDeleteInstancesFuture, err error)

DeleteInstances deletes virtual machines in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set. forceDeletion - optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview)

func (VirtualMachineScaleSetsClient) DeleteInstancesPreparer

func (client VirtualMachineScaleSetsClient) DeleteInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs, forceDeletion *bool) (*http.Request, error)

DeleteInstancesPreparer prepares the DeleteInstances request.

func (VirtualMachineScaleSetsClient) DeleteInstancesResponder

func (client VirtualMachineScaleSetsClient) DeleteInstancesResponder(resp *http.Response) (result autorest.Response, err error)

DeleteInstancesResponder handles the response to the DeleteInstances request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) DeleteInstancesSender

func (client VirtualMachineScaleSetsClient) DeleteInstancesSender(req *http.Request) (future VirtualMachineScaleSetsDeleteInstancesFuture, err error)

DeleteInstancesSender sends the DeleteInstances request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) DeletePreparer

func (client VirtualMachineScaleSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, forceDeletion *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachineScaleSetsClient) DeleteResponder

func (client VirtualMachineScaleSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) DeleteSender

func (client VirtualMachineScaleSetsClient) DeleteSender(req *http.Request) (future VirtualMachineScaleSetsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk

func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalk(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32, zone string, placementGroupID string) (result RecoveryWalkResponse, err error)

ForceRecoveryServiceFabricPlatformUpdateDomainWalk manual platform update domain walk to update virtual machines in a service fabric virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. platformUpdateDomain - the platform update domain for which a manual recovery walk is requested zone - the zone in which the manual recovery walk is requested for cross zone virtual machine scale set placementGroupID - the placement group id for which the manual recovery walk is requested.

func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer

func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, platformUpdateDomain int32, zone string, placementGroupID string) (*http.Request, error)

ForceRecoveryServiceFabricPlatformUpdateDomainWalkPreparer prepares the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request.

func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder

func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder(resp *http.Response) (result RecoveryWalkResponse, err error)

ForceRecoveryServiceFabricPlatformUpdateDomainWalkResponder handles the response to the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender

func (client VirtualMachineScaleSetsClient) ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender(req *http.Request) (*http.Response, error)

ForceRecoveryServiceFabricPlatformUpdateDomainWalkSender sends the ForceRecoveryServiceFabricPlatformUpdateDomainWalk request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Get

func (client VirtualMachineScaleSetsClient) Get(ctx context.Context, resourceGroupName string, VMScaleSetName string, expand ExpandTypesForGetVMScaleSets) (result VirtualMachineScaleSet, err error)

Get display information about a virtual machine scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. expand - the expand expression to apply on the operation. 'UserData' retrieves the UserData property of the VM scale set that was provided by the user during the VM scale set Create/Update operation

func (VirtualMachineScaleSetsClient) GetInstanceView

func (client VirtualMachineScaleSetsClient) GetInstanceView(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetInstanceView, err error)

GetInstanceView gets the status of a VM scale set instance. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.

func (VirtualMachineScaleSetsClient) GetInstanceViewPreparer

func (client VirtualMachineScaleSetsClient) GetInstanceViewPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

GetInstanceViewPreparer prepares the GetInstanceView request.

func (VirtualMachineScaleSetsClient) GetInstanceViewResponder

func (client VirtualMachineScaleSetsClient) GetInstanceViewResponder(resp *http.Response) (result VirtualMachineScaleSetInstanceView, err error)

GetInstanceViewResponder handles the response to the GetInstanceView request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) GetInstanceViewSender

func (client VirtualMachineScaleSetsClient) GetInstanceViewSender(req *http.Request) (*http.Response, error)

GetInstanceViewSender sends the GetInstanceView request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistory

func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistory(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryPage, err error)

GetOSUpgradeHistory gets list of OS upgrades on a VM scale set instance. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete

func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListOSUpgradeHistoryIterator, err error)

GetOSUpgradeHistoryComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer

func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

GetOSUpgradeHistoryPreparer prepares the GetOSUpgradeHistory request.

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistoryResponder

func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistoryResponder(resp *http.Response) (result VirtualMachineScaleSetListOSUpgradeHistory, err error)

GetOSUpgradeHistoryResponder handles the response to the GetOSUpgradeHistory request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender

func (client VirtualMachineScaleSetsClient) GetOSUpgradeHistorySender(req *http.Request) (*http.Response, error)

GetOSUpgradeHistorySender sends the GetOSUpgradeHistory request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) GetPreparer

func (client VirtualMachineScaleSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, expand ExpandTypesForGetVMScaleSets) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineScaleSetsClient) GetResponder

func (client VirtualMachineScaleSetsClient) GetResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) GetSender

func (client VirtualMachineScaleSetsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) List

func (client VirtualMachineScaleSetsClient) List(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultPage, err error)

List gets a list of all VM scale sets under a resource group. Parameters: resourceGroupName - the name of the resource group.

func (VirtualMachineScaleSetsClient) ListAll

func (client VirtualMachineScaleSetsClient) ListAll(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultPage, err error)

ListAll gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM Scale Sets.

func (VirtualMachineScaleSetsClient) ListAllComplete

func (client VirtualMachineScaleSetsClient) ListAllComplete(ctx context.Context) (result VirtualMachineScaleSetListWithLinkResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetsClient) ListAllPreparer

func (client VirtualMachineScaleSetsClient) ListAllPreparer(ctx context.Context) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualMachineScaleSetsClient) ListAllResponder

func (client VirtualMachineScaleSetsClient) ListAllResponder(resp *http.Response) (result VirtualMachineScaleSetListWithLinkResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ListAllSender

func (client VirtualMachineScaleSetsClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ListByLocation

func (client VirtualMachineScaleSetsClient) ListByLocation(ctx context.Context, location string) (result VirtualMachineScaleSetListResultPage, err error)

ListByLocation gets all the VM scale sets under the specified subscription for the specified location. Parameters: location - the location for which VM scale sets under the subscription are queried.

func (VirtualMachineScaleSetsClient) ListByLocationComplete

func (client VirtualMachineScaleSetsClient) ListByLocationComplete(ctx context.Context, location string) (result VirtualMachineScaleSetListResultIterator, err error)

ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetsClient) ListByLocationPreparer

func (client VirtualMachineScaleSetsClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)

ListByLocationPreparer prepares the ListByLocation request.

func (VirtualMachineScaleSetsClient) ListByLocationResponder

func (client VirtualMachineScaleSetsClient) ListByLocationResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)

ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ListByLocationSender

func (client VirtualMachineScaleSetsClient) ListByLocationSender(req *http.Request) (*http.Response, error)

ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ListComplete

func (client VirtualMachineScaleSetsClient) ListComplete(ctx context.Context, resourceGroupName string) (result VirtualMachineScaleSetListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetsClient) ListPreparer

func (client VirtualMachineScaleSetsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineScaleSetsClient) ListResponder

func (client VirtualMachineScaleSetsClient) ListResponder(resp *http.Response) (result VirtualMachineScaleSetListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ListSender

func (client VirtualMachineScaleSetsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ListSkus

func (client VirtualMachineScaleSetsClient) ListSkus(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultPage, err error)

ListSkus gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances allowed for each SKU. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set.

func (VirtualMachineScaleSetsClient) ListSkusComplete

func (client VirtualMachineScaleSetsClient) ListSkusComplete(ctx context.Context, resourceGroupName string, VMScaleSetName string) (result VirtualMachineScaleSetListSkusResultIterator, err error)

ListSkusComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachineScaleSetsClient) ListSkusPreparer

func (client VirtualMachineScaleSetsClient) ListSkusPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string) (*http.Request, error)

ListSkusPreparer prepares the ListSkus request.

func (VirtualMachineScaleSetsClient) ListSkusResponder

func (client VirtualMachineScaleSetsClient) ListSkusResponder(resp *http.Response) (result VirtualMachineScaleSetListSkusResult, err error)

ListSkusResponder handles the response to the ListSkus request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ListSkusSender

func (client VirtualMachineScaleSetsClient) ListSkusSender(req *http.Request) (*http.Response, error)

ListSkusSender sends the ListSkus request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) PerformMaintenance

func (client VirtualMachineScaleSetsClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsPerformMaintenanceFuture, err error)

PerformMaintenance perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) PerformMaintenancePreparer

func (client VirtualMachineScaleSetsClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

PerformMaintenancePreparer prepares the PerformMaintenance request.

func (VirtualMachineScaleSetsClient) PerformMaintenanceResponder

func (client VirtualMachineScaleSetsClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)

PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) PerformMaintenanceSender

func (client VirtualMachineScaleSetsClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachineScaleSetsPerformMaintenanceFuture, err error)

PerformMaintenanceSender sends the PerformMaintenance request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) PowerOff

func (client VirtualMachineScaleSetsClient) PowerOff(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (result VirtualMachineScaleSetsPowerOffFuture, err error)

PowerOff power off (stop) one or more virtual machines in a VM scale set. Note that resources are still attached and you are getting charged for the resources. Instead, use deallocate to release resources and avoid charges. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set. skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified

func (VirtualMachineScaleSetsClient) PowerOffPreparer

func (client VirtualMachineScaleSetsClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs, skipShutdown *bool) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachineScaleSetsClient) PowerOffResponder

func (client VirtualMachineScaleSetsClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) PowerOffSender

func (client VirtualMachineScaleSetsClient) PowerOffSender(req *http.Request) (future VirtualMachineScaleSetsPowerOffFuture, err error)

PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Redeploy

func (client VirtualMachineScaleSetsClient) Redeploy(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRedeployFuture, err error)

Redeploy shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and powers them back on. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) RedeployPreparer

func (client VirtualMachineScaleSetsClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

RedeployPreparer prepares the Redeploy request.

func (VirtualMachineScaleSetsClient) RedeployResponder

func (client VirtualMachineScaleSetsClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)

RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) RedeploySender

func (client VirtualMachineScaleSetsClient) RedeploySender(req *http.Request) (future VirtualMachineScaleSetsRedeployFuture, err error)

RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Reimage

func (client VirtualMachineScaleSetsClient) Reimage(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (result VirtualMachineScaleSetsReimageFuture, err error)

Reimage reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is reset to initial state. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMScaleSetReimageInput - parameters for Reimaging VM ScaleSet.

func (VirtualMachineScaleSetsClient) ReimageAll

func (client VirtualMachineScaleSetsClient) ReimageAll(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsReimageAllFuture, err error)

ReimageAll reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This operation is only supported for managed disks. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) ReimageAllPreparer

func (client VirtualMachineScaleSetsClient) ReimageAllPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

ReimageAllPreparer prepares the ReimageAll request.

func (VirtualMachineScaleSetsClient) ReimageAllResponder

func (client VirtualMachineScaleSetsClient) ReimageAllResponder(resp *http.Response) (result autorest.Response, err error)

ReimageAllResponder handles the response to the ReimageAll request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ReimageAllSender

func (client VirtualMachineScaleSetsClient) ReimageAllSender(req *http.Request) (future VirtualMachineScaleSetsReimageAllFuture, err error)

ReimageAllSender sends the ReimageAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) ReimagePreparer

func (client VirtualMachineScaleSetsClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMScaleSetReimageInput *VirtualMachineScaleSetReimageParameters) (*http.Request, error)

ReimagePreparer prepares the Reimage request.

func (VirtualMachineScaleSetsClient) ReimageResponder

func (client VirtualMachineScaleSetsClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)

ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) ReimageSender

func (client VirtualMachineScaleSetsClient) ReimageSender(req *http.Request) (future VirtualMachineScaleSetsReimageFuture, err error)

ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Restart

func (client VirtualMachineScaleSetsClient) Restart(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsRestartFuture, err error)

Restart restarts one or more virtual machines in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) RestartPreparer

func (client VirtualMachineScaleSetsClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachineScaleSetsClient) RestartResponder

func (client VirtualMachineScaleSetsClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) RestartSender

func (client VirtualMachineScaleSetsClient) RestartSender(req *http.Request) (future VirtualMachineScaleSetsRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) SetOrchestrationServiceState

func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceState(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters OrchestrationServiceStateInput) (result VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)

SetOrchestrationServiceState changes ServiceState property for a given service Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the virtual machine scale set to create or update. parameters - the input object for SetOrchestrationServiceState API.

func (VirtualMachineScaleSetsClient) SetOrchestrationServiceStatePreparer

func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters OrchestrationServiceStateInput) (*http.Request, error)

SetOrchestrationServiceStatePreparer prepares the SetOrchestrationServiceState request.

func (VirtualMachineScaleSetsClient) SetOrchestrationServiceStateResponder

func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateResponder(resp *http.Response) (result autorest.Response, err error)

SetOrchestrationServiceStateResponder handles the response to the SetOrchestrationServiceState request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) SetOrchestrationServiceStateSender

func (client VirtualMachineScaleSetsClient) SetOrchestrationServiceStateSender(req *http.Request) (future VirtualMachineScaleSetsSetOrchestrationServiceStateFuture, err error)

SetOrchestrationServiceStateSender sends the SetOrchestrationServiceState request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Start

func (client VirtualMachineScaleSetsClient) Start(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (result VirtualMachineScaleSetsStartFuture, err error)

Start starts one or more virtual machines in a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) StartPreparer

func (client VirtualMachineScaleSetsClient) StartPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs *VirtualMachineScaleSetVMInstanceIDs) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineScaleSetsClient) StartResponder

func (client VirtualMachineScaleSetsClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) StartSender

func (client VirtualMachineScaleSetsClient) StartSender(req *http.Request) (future VirtualMachineScaleSetsStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) Update

func (client VirtualMachineScaleSetsClient) Update(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (result VirtualMachineScaleSetsUpdateFuture, err error)

Update update a VM scale set. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set to create or update. parameters - the scale set object.

func (VirtualMachineScaleSetsClient) UpdateInstances

func (client VirtualMachineScaleSetsClient) UpdateInstances(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (result VirtualMachineScaleSetsUpdateInstancesFuture, err error)

UpdateInstances upgrades one or more virtual machines to the latest SKU set in the VM scale set model. Parameters: resourceGroupName - the name of the resource group. VMScaleSetName - the name of the VM scale set. VMInstanceIDs - a list of virtual machine instance IDs from the VM scale set.

func (VirtualMachineScaleSetsClient) UpdateInstancesPreparer

func (client VirtualMachineScaleSetsClient) UpdateInstancesPreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, VMInstanceIDs VirtualMachineScaleSetVMInstanceRequiredIDs) (*http.Request, error)

UpdateInstancesPreparer prepares the UpdateInstances request.

func (VirtualMachineScaleSetsClient) UpdateInstancesResponder

func (client VirtualMachineScaleSetsClient) UpdateInstancesResponder(resp *http.Response) (result autorest.Response, err error)

UpdateInstancesResponder handles the response to the UpdateInstances request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) UpdateInstancesSender

func (client VirtualMachineScaleSetsClient) UpdateInstancesSender(req *http.Request) (future VirtualMachineScaleSetsUpdateInstancesFuture, err error)

UpdateInstancesSender sends the UpdateInstances request. The method will close the http.Response Body if it receives an error.

func (VirtualMachineScaleSetsClient) UpdatePreparer

func (client VirtualMachineScaleSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMScaleSetName string, parameters VirtualMachineScaleSetUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineScaleSetsClient) UpdateResponder

func (client VirtualMachineScaleSetsClient) UpdateResponder(resp *http.Response) (result VirtualMachineScaleSet, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachineScaleSetsClient) UpdateSender

func (client VirtualMachineScaleSetsClient) UpdateSender(req *http.Request) (future VirtualMachineScaleSetsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachineScaleSetsCreateOrUpdateFuture

VirtualMachineScaleSetsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (VirtualMachineScaleSet, error)
}

func (*VirtualMachineScaleSetsCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsDeallocateFuture

VirtualMachineScaleSetsDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsDeallocateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsDeallocateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsDeallocateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsDeleteFuture

VirtualMachineScaleSetsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsDeleteFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsDeleteInstancesFuture

VirtualMachineScaleSetsDeleteInstancesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsDeleteInstancesFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsDeleteInstancesFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsDeleteInstancesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsPerformMaintenanceFuture

VirtualMachineScaleSetsPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsPerformMaintenanceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsPerformMaintenanceFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsPerformMaintenanceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsPowerOffFuture

VirtualMachineScaleSetsPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsPowerOffFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsPowerOffFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsPowerOffFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsRedeployFuture

VirtualMachineScaleSetsRedeployFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsRedeployFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsRedeployFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsRedeployFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsReimageAllFuture

VirtualMachineScaleSetsReimageAllFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsReimageAllFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsReimageAllFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsReimageAllFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsReimageFuture

VirtualMachineScaleSetsReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsReimageFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsReimageFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsReimageFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsRestartFuture

VirtualMachineScaleSetsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsRestartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsRestartFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsSetOrchestrationServiceStateFuture

VirtualMachineScaleSetsSetOrchestrationServiceStateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsSetOrchestrationServiceStateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsSetOrchestrationServiceStateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsSetOrchestrationServiceStateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsStartFuture

VirtualMachineScaleSetsStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsStartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsStartFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsUpdateFuture

VirtualMachineScaleSetsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (VirtualMachineScaleSet, error)
}

func (*VirtualMachineScaleSetsUpdateFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineScaleSetsUpdateInstancesFuture

VirtualMachineScaleSetsUpdateInstancesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachineScaleSetsUpdateInstancesFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachineScaleSetsClient) (autorest.Response, error)
}

func (*VirtualMachineScaleSetsUpdateInstancesFuture) UnmarshalJSON

func (future *VirtualMachineScaleSetsUpdateInstancesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachineSize

VirtualMachineSize describes the properties of a VM size.

type VirtualMachineSize struct {
    // Name - The name of the virtual machine size.
    Name *string `json:"name,omitempty"`
    // NumberOfCores - The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list
    NumberOfCores *int32 `json:"numberOfCores,omitempty"`
    // OsDiskSizeInMB - The OS disk size, in MB, allowed by the virtual machine size.
    OsDiskSizeInMB *int32 `json:"osDiskSizeInMB,omitempty"`
    // ResourceDiskSizeInMB - The resource disk size, in MB, allowed by the virtual machine size.
    ResourceDiskSizeInMB *int32 `json:"resourceDiskSizeInMB,omitempty"`
    // MemoryInMB - The amount of memory, in MB, supported by the virtual machine size.
    MemoryInMB *int32 `json:"memoryInMB,omitempty"`
    // MaxDataDiskCount - The maximum number of data disks that can be attached to the virtual machine size.
    MaxDataDiskCount *int32 `json:"maxDataDiskCount,omitempty"`
}

type VirtualMachineSizeListResult

VirtualMachineSizeListResult the List Virtual Machine operation response.

type VirtualMachineSizeListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of virtual machine sizes.
    Value *[]VirtualMachineSize `json:"value,omitempty"`
}

type VirtualMachineSizeTypes

VirtualMachineSizeTypes enumerates the values for virtual machine size types.

type VirtualMachineSizeTypes string
const (
    // VirtualMachineSizeTypesBasicA0 ...
    VirtualMachineSizeTypesBasicA0 VirtualMachineSizeTypes = "Basic_A0"
    // VirtualMachineSizeTypesBasicA1 ...
    VirtualMachineSizeTypesBasicA1 VirtualMachineSizeTypes = "Basic_A1"
    // VirtualMachineSizeTypesBasicA2 ...
    VirtualMachineSizeTypesBasicA2 VirtualMachineSizeTypes = "Basic_A2"
    // VirtualMachineSizeTypesBasicA3 ...
    VirtualMachineSizeTypesBasicA3 VirtualMachineSizeTypes = "Basic_A3"
    // VirtualMachineSizeTypesBasicA4 ...
    VirtualMachineSizeTypesBasicA4 VirtualMachineSizeTypes = "Basic_A4"
    // VirtualMachineSizeTypesStandardA0 ...
    VirtualMachineSizeTypesStandardA0 VirtualMachineSizeTypes = "Standard_A0"
    // VirtualMachineSizeTypesStandardA1 ...
    VirtualMachineSizeTypesStandardA1 VirtualMachineSizeTypes = "Standard_A1"
    // VirtualMachineSizeTypesStandardA10 ...
    VirtualMachineSizeTypesStandardA10 VirtualMachineSizeTypes = "Standard_A10"
    // VirtualMachineSizeTypesStandardA11 ...
    VirtualMachineSizeTypesStandardA11 VirtualMachineSizeTypes = "Standard_A11"
    // VirtualMachineSizeTypesStandardA1V2 ...
    VirtualMachineSizeTypesStandardA1V2 VirtualMachineSizeTypes = "Standard_A1_v2"
    // VirtualMachineSizeTypesStandardA2 ...
    VirtualMachineSizeTypesStandardA2 VirtualMachineSizeTypes = "Standard_A2"
    // VirtualMachineSizeTypesStandardA2mV2 ...
    VirtualMachineSizeTypesStandardA2mV2 VirtualMachineSizeTypes = "Standard_A2m_v2"
    // VirtualMachineSizeTypesStandardA2V2 ...
    VirtualMachineSizeTypesStandardA2V2 VirtualMachineSizeTypes = "Standard_A2_v2"
    // VirtualMachineSizeTypesStandardA3 ...
    VirtualMachineSizeTypesStandardA3 VirtualMachineSizeTypes = "Standard_A3"
    // VirtualMachineSizeTypesStandardA4 ...
    VirtualMachineSizeTypesStandardA4 VirtualMachineSizeTypes = "Standard_A4"
    // VirtualMachineSizeTypesStandardA4mV2 ...
    VirtualMachineSizeTypesStandardA4mV2 VirtualMachineSizeTypes = "Standard_A4m_v2"
    // VirtualMachineSizeTypesStandardA4V2 ...
    VirtualMachineSizeTypesStandardA4V2 VirtualMachineSizeTypes = "Standard_A4_v2"
    // VirtualMachineSizeTypesStandardA5 ...
    VirtualMachineSizeTypesStandardA5 VirtualMachineSizeTypes = "Standard_A5"
    // VirtualMachineSizeTypesStandardA6 ...
    VirtualMachineSizeTypesStandardA6 VirtualMachineSizeTypes = "Standard_A6"
    // VirtualMachineSizeTypesStandardA7 ...
    VirtualMachineSizeTypesStandardA7 VirtualMachineSizeTypes = "Standard_A7"
    // VirtualMachineSizeTypesStandardA8 ...
    VirtualMachineSizeTypesStandardA8 VirtualMachineSizeTypes = "Standard_A8"
    // VirtualMachineSizeTypesStandardA8mV2 ...
    VirtualMachineSizeTypesStandardA8mV2 VirtualMachineSizeTypes = "Standard_A8m_v2"
    // VirtualMachineSizeTypesStandardA8V2 ...
    VirtualMachineSizeTypesStandardA8V2 VirtualMachineSizeTypes = "Standard_A8_v2"
    // VirtualMachineSizeTypesStandardA9 ...
    VirtualMachineSizeTypesStandardA9 VirtualMachineSizeTypes = "Standard_A9"
    // VirtualMachineSizeTypesStandardB1ms ...
    VirtualMachineSizeTypesStandardB1ms VirtualMachineSizeTypes = "Standard_B1ms"
    // VirtualMachineSizeTypesStandardB1s ...
    VirtualMachineSizeTypesStandardB1s VirtualMachineSizeTypes = "Standard_B1s"
    // VirtualMachineSizeTypesStandardB2ms ...
    VirtualMachineSizeTypesStandardB2ms VirtualMachineSizeTypes = "Standard_B2ms"
    // VirtualMachineSizeTypesStandardB2s ...
    VirtualMachineSizeTypesStandardB2s VirtualMachineSizeTypes = "Standard_B2s"
    // VirtualMachineSizeTypesStandardB4ms ...
    VirtualMachineSizeTypesStandardB4ms VirtualMachineSizeTypes = "Standard_B4ms"
    // VirtualMachineSizeTypesStandardB8ms ...
    VirtualMachineSizeTypesStandardB8ms VirtualMachineSizeTypes = "Standard_B8ms"
    // VirtualMachineSizeTypesStandardD1 ...
    VirtualMachineSizeTypesStandardD1 VirtualMachineSizeTypes = "Standard_D1"
    // VirtualMachineSizeTypesStandardD11 ...
    VirtualMachineSizeTypesStandardD11 VirtualMachineSizeTypes = "Standard_D11"
    // VirtualMachineSizeTypesStandardD11V2 ...
    VirtualMachineSizeTypesStandardD11V2 VirtualMachineSizeTypes = "Standard_D11_v2"
    // VirtualMachineSizeTypesStandardD12 ...
    VirtualMachineSizeTypesStandardD12 VirtualMachineSizeTypes = "Standard_D12"
    // VirtualMachineSizeTypesStandardD12V2 ...
    VirtualMachineSizeTypesStandardD12V2 VirtualMachineSizeTypes = "Standard_D12_v2"
    // VirtualMachineSizeTypesStandardD13 ...
    VirtualMachineSizeTypesStandardD13 VirtualMachineSizeTypes = "Standard_D13"
    // VirtualMachineSizeTypesStandardD13V2 ...
    VirtualMachineSizeTypesStandardD13V2 VirtualMachineSizeTypes = "Standard_D13_v2"
    // VirtualMachineSizeTypesStandardD14 ...
    VirtualMachineSizeTypesStandardD14 VirtualMachineSizeTypes = "Standard_D14"
    // VirtualMachineSizeTypesStandardD14V2 ...
    VirtualMachineSizeTypesStandardD14V2 VirtualMachineSizeTypes = "Standard_D14_v2"
    // VirtualMachineSizeTypesStandardD15V2 ...
    VirtualMachineSizeTypesStandardD15V2 VirtualMachineSizeTypes = "Standard_D15_v2"
    // VirtualMachineSizeTypesStandardD16sV3 ...
    VirtualMachineSizeTypesStandardD16sV3 VirtualMachineSizeTypes = "Standard_D16s_v3"
    // VirtualMachineSizeTypesStandardD16V3 ...
    VirtualMachineSizeTypesStandardD16V3 VirtualMachineSizeTypes = "Standard_D16_v3"
    // VirtualMachineSizeTypesStandardD1V2 ...
    VirtualMachineSizeTypesStandardD1V2 VirtualMachineSizeTypes = "Standard_D1_v2"
    // VirtualMachineSizeTypesStandardD2 ...
    VirtualMachineSizeTypesStandardD2 VirtualMachineSizeTypes = "Standard_D2"
    // VirtualMachineSizeTypesStandardD2sV3 ...
    VirtualMachineSizeTypesStandardD2sV3 VirtualMachineSizeTypes = "Standard_D2s_v3"
    // VirtualMachineSizeTypesStandardD2V2 ...
    VirtualMachineSizeTypesStandardD2V2 VirtualMachineSizeTypes = "Standard_D2_v2"
    // VirtualMachineSizeTypesStandardD2V3 ...
    VirtualMachineSizeTypesStandardD2V3 VirtualMachineSizeTypes = "Standard_D2_v3"
    // VirtualMachineSizeTypesStandardD3 ...
    VirtualMachineSizeTypesStandardD3 VirtualMachineSizeTypes = "Standard_D3"
    // VirtualMachineSizeTypesStandardD32sV3 ...
    VirtualMachineSizeTypesStandardD32sV3 VirtualMachineSizeTypes = "Standard_D32s_v3"
    // VirtualMachineSizeTypesStandardD32V3 ...
    VirtualMachineSizeTypesStandardD32V3 VirtualMachineSizeTypes = "Standard_D32_v3"
    // VirtualMachineSizeTypesStandardD3V2 ...
    VirtualMachineSizeTypesStandardD3V2 VirtualMachineSizeTypes = "Standard_D3_v2"
    // VirtualMachineSizeTypesStandardD4 ...
    VirtualMachineSizeTypesStandardD4 VirtualMachineSizeTypes = "Standard_D4"
    // VirtualMachineSizeTypesStandardD4sV3 ...
    VirtualMachineSizeTypesStandardD4sV3 VirtualMachineSizeTypes = "Standard_D4s_v3"
    // VirtualMachineSizeTypesStandardD4V2 ...
    VirtualMachineSizeTypesStandardD4V2 VirtualMachineSizeTypes = "Standard_D4_v2"
    // VirtualMachineSizeTypesStandardD4V3 ...
    VirtualMachineSizeTypesStandardD4V3 VirtualMachineSizeTypes = "Standard_D4_v3"
    // VirtualMachineSizeTypesStandardD5V2 ...
    VirtualMachineSizeTypesStandardD5V2 VirtualMachineSizeTypes = "Standard_D5_v2"
    // VirtualMachineSizeTypesStandardD64sV3 ...
    VirtualMachineSizeTypesStandardD64sV3 VirtualMachineSizeTypes = "Standard_D64s_v3"
    // VirtualMachineSizeTypesStandardD64V3 ...
    VirtualMachineSizeTypesStandardD64V3 VirtualMachineSizeTypes = "Standard_D64_v3"
    // VirtualMachineSizeTypesStandardD8sV3 ...
    VirtualMachineSizeTypesStandardD8sV3 VirtualMachineSizeTypes = "Standard_D8s_v3"
    // VirtualMachineSizeTypesStandardD8V3 ...
    VirtualMachineSizeTypesStandardD8V3 VirtualMachineSizeTypes = "Standard_D8_v3"
    // VirtualMachineSizeTypesStandardDS1 ...
    VirtualMachineSizeTypesStandardDS1 VirtualMachineSizeTypes = "Standard_DS1"
    // VirtualMachineSizeTypesStandardDS11 ...
    VirtualMachineSizeTypesStandardDS11 VirtualMachineSizeTypes = "Standard_DS11"
    // VirtualMachineSizeTypesStandardDS11V2 ...
    VirtualMachineSizeTypesStandardDS11V2 VirtualMachineSizeTypes = "Standard_DS11_v2"
    // VirtualMachineSizeTypesStandardDS12 ...
    VirtualMachineSizeTypesStandardDS12 VirtualMachineSizeTypes = "Standard_DS12"
    // VirtualMachineSizeTypesStandardDS12V2 ...
    VirtualMachineSizeTypesStandardDS12V2 VirtualMachineSizeTypes = "Standard_DS12_v2"
    // VirtualMachineSizeTypesStandardDS13 ...
    VirtualMachineSizeTypesStandardDS13 VirtualMachineSizeTypes = "Standard_DS13"
    // VirtualMachineSizeTypesStandardDS132V2 ...
    VirtualMachineSizeTypesStandardDS132V2 VirtualMachineSizeTypes = "Standard_DS13-2_v2"
    // VirtualMachineSizeTypesStandardDS134V2 ...
    VirtualMachineSizeTypesStandardDS134V2 VirtualMachineSizeTypes = "Standard_DS13-4_v2"
    // VirtualMachineSizeTypesStandardDS13V2 ...
    VirtualMachineSizeTypesStandardDS13V2 VirtualMachineSizeTypes = "Standard_DS13_v2"
    // VirtualMachineSizeTypesStandardDS14 ...
    VirtualMachineSizeTypesStandardDS14 VirtualMachineSizeTypes = "Standard_DS14"
    // VirtualMachineSizeTypesStandardDS144V2 ...
    VirtualMachineSizeTypesStandardDS144V2 VirtualMachineSizeTypes = "Standard_DS14-4_v2"
    // VirtualMachineSizeTypesStandardDS148V2 ...
    VirtualMachineSizeTypesStandardDS148V2 VirtualMachineSizeTypes = "Standard_DS14-8_v2"
    // VirtualMachineSizeTypesStandardDS14V2 ...
    VirtualMachineSizeTypesStandardDS14V2 VirtualMachineSizeTypes = "Standard_DS14_v2"
    // VirtualMachineSizeTypesStandardDS15V2 ...
    VirtualMachineSizeTypesStandardDS15V2 VirtualMachineSizeTypes = "Standard_DS15_v2"
    // VirtualMachineSizeTypesStandardDS1V2 ...
    VirtualMachineSizeTypesStandardDS1V2 VirtualMachineSizeTypes = "Standard_DS1_v2"
    // VirtualMachineSizeTypesStandardDS2 ...
    VirtualMachineSizeTypesStandardDS2 VirtualMachineSizeTypes = "Standard_DS2"
    // VirtualMachineSizeTypesStandardDS2V2 ...
    VirtualMachineSizeTypesStandardDS2V2 VirtualMachineSizeTypes = "Standard_DS2_v2"
    // VirtualMachineSizeTypesStandardDS3 ...
    VirtualMachineSizeTypesStandardDS3 VirtualMachineSizeTypes = "Standard_DS3"
    // VirtualMachineSizeTypesStandardDS3V2 ...
    VirtualMachineSizeTypesStandardDS3V2 VirtualMachineSizeTypes = "Standard_DS3_v2"
    // VirtualMachineSizeTypesStandardDS4 ...
    VirtualMachineSizeTypesStandardDS4 VirtualMachineSizeTypes = "Standard_DS4"
    // VirtualMachineSizeTypesStandardDS4V2 ...
    VirtualMachineSizeTypesStandardDS4V2 VirtualMachineSizeTypes = "Standard_DS4_v2"
    // VirtualMachineSizeTypesStandardDS5V2 ...
    VirtualMachineSizeTypesStandardDS5V2 VirtualMachineSizeTypes = "Standard_DS5_v2"
    // VirtualMachineSizeTypesStandardE16sV3 ...
    VirtualMachineSizeTypesStandardE16sV3 VirtualMachineSizeTypes = "Standard_E16s_v3"
    // VirtualMachineSizeTypesStandardE16V3 ...
    VirtualMachineSizeTypesStandardE16V3 VirtualMachineSizeTypes = "Standard_E16_v3"
    // VirtualMachineSizeTypesStandardE2sV3 ...
    VirtualMachineSizeTypesStandardE2sV3 VirtualMachineSizeTypes = "Standard_E2s_v3"
    // VirtualMachineSizeTypesStandardE2V3 ...
    VirtualMachineSizeTypesStandardE2V3 VirtualMachineSizeTypes = "Standard_E2_v3"
    // VirtualMachineSizeTypesStandardE3216V3 ...
    VirtualMachineSizeTypesStandardE3216V3 VirtualMachineSizeTypes = "Standard_E32-16_v3"
    // VirtualMachineSizeTypesStandardE328sV3 ...
    VirtualMachineSizeTypesStandardE328sV3 VirtualMachineSizeTypes = "Standard_E32-8s_v3"
    // VirtualMachineSizeTypesStandardE32sV3 ...
    VirtualMachineSizeTypesStandardE32sV3 VirtualMachineSizeTypes = "Standard_E32s_v3"
    // VirtualMachineSizeTypesStandardE32V3 ...
    VirtualMachineSizeTypesStandardE32V3 VirtualMachineSizeTypes = "Standard_E32_v3"
    // VirtualMachineSizeTypesStandardE4sV3 ...
    VirtualMachineSizeTypesStandardE4sV3 VirtualMachineSizeTypes = "Standard_E4s_v3"
    // VirtualMachineSizeTypesStandardE4V3 ...
    VirtualMachineSizeTypesStandardE4V3 VirtualMachineSizeTypes = "Standard_E4_v3"
    // VirtualMachineSizeTypesStandardE6416sV3 ...
    VirtualMachineSizeTypesStandardE6416sV3 VirtualMachineSizeTypes = "Standard_E64-16s_v3"
    // VirtualMachineSizeTypesStandardE6432sV3 ...
    VirtualMachineSizeTypesStandardE6432sV3 VirtualMachineSizeTypes = "Standard_E64-32s_v3"
    // VirtualMachineSizeTypesStandardE64sV3 ...
    VirtualMachineSizeTypesStandardE64sV3 VirtualMachineSizeTypes = "Standard_E64s_v3"
    // VirtualMachineSizeTypesStandardE64V3 ...
    VirtualMachineSizeTypesStandardE64V3 VirtualMachineSizeTypes = "Standard_E64_v3"
    // VirtualMachineSizeTypesStandardE8sV3 ...
    VirtualMachineSizeTypesStandardE8sV3 VirtualMachineSizeTypes = "Standard_E8s_v3"
    // VirtualMachineSizeTypesStandardE8V3 ...
    VirtualMachineSizeTypesStandardE8V3 VirtualMachineSizeTypes = "Standard_E8_v3"
    // VirtualMachineSizeTypesStandardF1 ...
    VirtualMachineSizeTypesStandardF1 VirtualMachineSizeTypes = "Standard_F1"
    // VirtualMachineSizeTypesStandardF16 ...
    VirtualMachineSizeTypesStandardF16 VirtualMachineSizeTypes = "Standard_F16"
    // VirtualMachineSizeTypesStandardF16s ...
    VirtualMachineSizeTypesStandardF16s VirtualMachineSizeTypes = "Standard_F16s"
    // VirtualMachineSizeTypesStandardF16sV2 ...
    VirtualMachineSizeTypesStandardF16sV2 VirtualMachineSizeTypes = "Standard_F16s_v2"
    // VirtualMachineSizeTypesStandardF1s ...
    VirtualMachineSizeTypesStandardF1s VirtualMachineSizeTypes = "Standard_F1s"
    // VirtualMachineSizeTypesStandardF2 ...
    VirtualMachineSizeTypesStandardF2 VirtualMachineSizeTypes = "Standard_F2"
    // VirtualMachineSizeTypesStandardF2s ...
    VirtualMachineSizeTypesStandardF2s VirtualMachineSizeTypes = "Standard_F2s"
    // VirtualMachineSizeTypesStandardF2sV2 ...
    VirtualMachineSizeTypesStandardF2sV2 VirtualMachineSizeTypes = "Standard_F2s_v2"
    // VirtualMachineSizeTypesStandardF32sV2 ...
    VirtualMachineSizeTypesStandardF32sV2 VirtualMachineSizeTypes = "Standard_F32s_v2"
    // VirtualMachineSizeTypesStandardF4 ...
    VirtualMachineSizeTypesStandardF4 VirtualMachineSizeTypes = "Standard_F4"
    // VirtualMachineSizeTypesStandardF4s ...
    VirtualMachineSizeTypesStandardF4s VirtualMachineSizeTypes = "Standard_F4s"
    // VirtualMachineSizeTypesStandardF4sV2 ...
    VirtualMachineSizeTypesStandardF4sV2 VirtualMachineSizeTypes = "Standard_F4s_v2"
    // VirtualMachineSizeTypesStandardF64sV2 ...
    VirtualMachineSizeTypesStandardF64sV2 VirtualMachineSizeTypes = "Standard_F64s_v2"
    // VirtualMachineSizeTypesStandardF72sV2 ...
    VirtualMachineSizeTypesStandardF72sV2 VirtualMachineSizeTypes = "Standard_F72s_v2"
    // VirtualMachineSizeTypesStandardF8 ...
    VirtualMachineSizeTypesStandardF8 VirtualMachineSizeTypes = "Standard_F8"
    // VirtualMachineSizeTypesStandardF8s ...
    VirtualMachineSizeTypesStandardF8s VirtualMachineSizeTypes = "Standard_F8s"
    // VirtualMachineSizeTypesStandardF8sV2 ...
    VirtualMachineSizeTypesStandardF8sV2 VirtualMachineSizeTypes = "Standard_F8s_v2"
    // VirtualMachineSizeTypesStandardG1 ...
    VirtualMachineSizeTypesStandardG1 VirtualMachineSizeTypes = "Standard_G1"
    // VirtualMachineSizeTypesStandardG2 ...
    VirtualMachineSizeTypesStandardG2 VirtualMachineSizeTypes = "Standard_G2"
    // VirtualMachineSizeTypesStandardG3 ...
    VirtualMachineSizeTypesStandardG3 VirtualMachineSizeTypes = "Standard_G3"
    // VirtualMachineSizeTypesStandardG4 ...
    VirtualMachineSizeTypesStandardG4 VirtualMachineSizeTypes = "Standard_G4"
    // VirtualMachineSizeTypesStandardG5 ...
    VirtualMachineSizeTypesStandardG5 VirtualMachineSizeTypes = "Standard_G5"
    // VirtualMachineSizeTypesStandardGS1 ...
    VirtualMachineSizeTypesStandardGS1 VirtualMachineSizeTypes = "Standard_GS1"
    // VirtualMachineSizeTypesStandardGS2 ...
    VirtualMachineSizeTypesStandardGS2 VirtualMachineSizeTypes = "Standard_GS2"
    // VirtualMachineSizeTypesStandardGS3 ...
    VirtualMachineSizeTypesStandardGS3 VirtualMachineSizeTypes = "Standard_GS3"
    // VirtualMachineSizeTypesStandardGS4 ...
    VirtualMachineSizeTypesStandardGS4 VirtualMachineSizeTypes = "Standard_GS4"
    // VirtualMachineSizeTypesStandardGS44 ...
    VirtualMachineSizeTypesStandardGS44 VirtualMachineSizeTypes = "Standard_GS4-4"
    // VirtualMachineSizeTypesStandardGS48 ...
    VirtualMachineSizeTypesStandardGS48 VirtualMachineSizeTypes = "Standard_GS4-8"
    // VirtualMachineSizeTypesStandardGS5 ...
    VirtualMachineSizeTypesStandardGS5 VirtualMachineSizeTypes = "Standard_GS5"
    // VirtualMachineSizeTypesStandardGS516 ...
    VirtualMachineSizeTypesStandardGS516 VirtualMachineSizeTypes = "Standard_GS5-16"
    // VirtualMachineSizeTypesStandardGS58 ...
    VirtualMachineSizeTypesStandardGS58 VirtualMachineSizeTypes = "Standard_GS5-8"
    // VirtualMachineSizeTypesStandardH16 ...
    VirtualMachineSizeTypesStandardH16 VirtualMachineSizeTypes = "Standard_H16"
    // VirtualMachineSizeTypesStandardH16m ...
    VirtualMachineSizeTypesStandardH16m VirtualMachineSizeTypes = "Standard_H16m"
    // VirtualMachineSizeTypesStandardH16mr ...
    VirtualMachineSizeTypesStandardH16mr VirtualMachineSizeTypes = "Standard_H16mr"
    // VirtualMachineSizeTypesStandardH16r ...
    VirtualMachineSizeTypesStandardH16r VirtualMachineSizeTypes = "Standard_H16r"
    // VirtualMachineSizeTypesStandardH8 ...
    VirtualMachineSizeTypesStandardH8 VirtualMachineSizeTypes = "Standard_H8"
    // VirtualMachineSizeTypesStandardH8m ...
    VirtualMachineSizeTypesStandardH8m VirtualMachineSizeTypes = "Standard_H8m"
    // VirtualMachineSizeTypesStandardL16s ...
    VirtualMachineSizeTypesStandardL16s VirtualMachineSizeTypes = "Standard_L16s"
    // VirtualMachineSizeTypesStandardL32s ...
    VirtualMachineSizeTypesStandardL32s VirtualMachineSizeTypes = "Standard_L32s"
    // VirtualMachineSizeTypesStandardL4s ...
    VirtualMachineSizeTypesStandardL4s VirtualMachineSizeTypes = "Standard_L4s"
    // VirtualMachineSizeTypesStandardL8s ...
    VirtualMachineSizeTypesStandardL8s VirtualMachineSizeTypes = "Standard_L8s"
    // VirtualMachineSizeTypesStandardM12832ms ...
    VirtualMachineSizeTypesStandardM12832ms VirtualMachineSizeTypes = "Standard_M128-32ms"
    // VirtualMachineSizeTypesStandardM12864ms ...
    VirtualMachineSizeTypesStandardM12864ms VirtualMachineSizeTypes = "Standard_M128-64ms"
    // VirtualMachineSizeTypesStandardM128ms ...
    VirtualMachineSizeTypesStandardM128ms VirtualMachineSizeTypes = "Standard_M128ms"
    // VirtualMachineSizeTypesStandardM128s ...
    VirtualMachineSizeTypesStandardM128s VirtualMachineSizeTypes = "Standard_M128s"
    // VirtualMachineSizeTypesStandardM6416ms ...
    VirtualMachineSizeTypesStandardM6416ms VirtualMachineSizeTypes = "Standard_M64-16ms"
    // VirtualMachineSizeTypesStandardM6432ms ...
    VirtualMachineSizeTypesStandardM6432ms VirtualMachineSizeTypes = "Standard_M64-32ms"
    // VirtualMachineSizeTypesStandardM64ms ...
    VirtualMachineSizeTypesStandardM64ms VirtualMachineSizeTypes = "Standard_M64ms"
    // VirtualMachineSizeTypesStandardM64s ...
    VirtualMachineSizeTypesStandardM64s VirtualMachineSizeTypes = "Standard_M64s"
    // VirtualMachineSizeTypesStandardNC12 ...
    VirtualMachineSizeTypesStandardNC12 VirtualMachineSizeTypes = "Standard_NC12"
    // VirtualMachineSizeTypesStandardNC12sV2 ...
    VirtualMachineSizeTypesStandardNC12sV2 VirtualMachineSizeTypes = "Standard_NC12s_v2"
    // VirtualMachineSizeTypesStandardNC12sV3 ...
    VirtualMachineSizeTypesStandardNC12sV3 VirtualMachineSizeTypes = "Standard_NC12s_v3"
    // VirtualMachineSizeTypesStandardNC24 ...
    VirtualMachineSizeTypesStandardNC24 VirtualMachineSizeTypes = "Standard_NC24"
    // VirtualMachineSizeTypesStandardNC24r ...
    VirtualMachineSizeTypesStandardNC24r VirtualMachineSizeTypes = "Standard_NC24r"
    // VirtualMachineSizeTypesStandardNC24rsV2 ...
    VirtualMachineSizeTypesStandardNC24rsV2 VirtualMachineSizeTypes = "Standard_NC24rs_v2"
    // VirtualMachineSizeTypesStandardNC24rsV3 ...
    VirtualMachineSizeTypesStandardNC24rsV3 VirtualMachineSizeTypes = "Standard_NC24rs_v3"
    // VirtualMachineSizeTypesStandardNC24sV2 ...
    VirtualMachineSizeTypesStandardNC24sV2 VirtualMachineSizeTypes = "Standard_NC24s_v2"
    // VirtualMachineSizeTypesStandardNC24sV3 ...
    VirtualMachineSizeTypesStandardNC24sV3 VirtualMachineSizeTypes = "Standard_NC24s_v3"
    // VirtualMachineSizeTypesStandardNC6 ...
    VirtualMachineSizeTypesStandardNC6 VirtualMachineSizeTypes = "Standard_NC6"
    // VirtualMachineSizeTypesStandardNC6sV2 ...
    VirtualMachineSizeTypesStandardNC6sV2 VirtualMachineSizeTypes = "Standard_NC6s_v2"
    // VirtualMachineSizeTypesStandardNC6sV3 ...
    VirtualMachineSizeTypesStandardNC6sV3 VirtualMachineSizeTypes = "Standard_NC6s_v3"
    // VirtualMachineSizeTypesStandardND12s ...
    VirtualMachineSizeTypesStandardND12s VirtualMachineSizeTypes = "Standard_ND12s"
    // VirtualMachineSizeTypesStandardND24rs ...
    VirtualMachineSizeTypesStandardND24rs VirtualMachineSizeTypes = "Standard_ND24rs"
    // VirtualMachineSizeTypesStandardND24s ...
    VirtualMachineSizeTypesStandardND24s VirtualMachineSizeTypes = "Standard_ND24s"
    // VirtualMachineSizeTypesStandardND6s ...
    VirtualMachineSizeTypesStandardND6s VirtualMachineSizeTypes = "Standard_ND6s"
    // VirtualMachineSizeTypesStandardNV12 ...
    VirtualMachineSizeTypesStandardNV12 VirtualMachineSizeTypes = "Standard_NV12"
    // VirtualMachineSizeTypesStandardNV24 ...
    VirtualMachineSizeTypesStandardNV24 VirtualMachineSizeTypes = "Standard_NV24"
    // VirtualMachineSizeTypesStandardNV6 ...
    VirtualMachineSizeTypesStandardNV6 VirtualMachineSizeTypes = "Standard_NV6"
)

func PossibleVirtualMachineSizeTypesValues

func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes

PossibleVirtualMachineSizeTypesValues returns an array of possible values for the VirtualMachineSizeTypes const type.

type VirtualMachineSizesClient

VirtualMachineSizesClient is the compute Client

type VirtualMachineSizesClient struct {
    BaseClient
}

func NewVirtualMachineSizesClient

func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient

NewVirtualMachineSizesClient creates an instance of the VirtualMachineSizesClient client.

func NewVirtualMachineSizesClientWithBaseURI

func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient

NewVirtualMachineSizesClientWithBaseURI creates an instance of the VirtualMachineSizesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachineSizesClient) List

func (client VirtualMachineSizesClient) List(ctx context.Context, location string) (result VirtualMachineSizeListResult, err error)

List this API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) Parameters: location - the location upon which virtual-machine-sizes is queried.

func (VirtualMachineSizesClient) ListPreparer

func (client VirtualMachineSizesClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineSizesClient) ListResponder

func (client VirtualMachineSizesClient) ListResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachineSizesClient) ListSender

func (client VirtualMachineSizesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type VirtualMachineSoftwarePatchProperties

VirtualMachineSoftwarePatchProperties describes the properties of a Virtual Machine software patch.

type VirtualMachineSoftwarePatchProperties struct {
    // PatchID - READ-ONLY; A unique identifier for the patch.
    PatchID *string `json:"patchId,omitempty"`
    // Name - READ-ONLY; The friendly name of the patch.
    Name *string `json:"name,omitempty"`
    // Version - READ-ONLY; The version number of the patch. This property applies only to Linux patches.
    Version *string `json:"version,omitempty"`
    // KbID - READ-ONLY; The KBID of the patch. Only applies to Windows patches.
    KbID *string `json:"kbId,omitempty"`
    // Classifications - READ-ONLY; The classification(s) of the patch as provided by the patch publisher.
    Classifications *[]string `json:"classifications,omitempty"`
    // RebootBehavior - READ-ONLY; Describes the reboot requirements of the patch. Possible values include: 'VMGuestPatchRebootBehaviorUnknown', 'VMGuestPatchRebootBehaviorNeverReboots', 'VMGuestPatchRebootBehaviorAlwaysRequiresReboot', 'VMGuestPatchRebootBehaviorCanRequestReboot'
    RebootBehavior VMGuestPatchRebootBehavior `json:"rebootBehavior,omitempty"`
    // ActivityID - READ-ONLY; The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs.
    ActivityID *string `json:"activityId,omitempty"`
    // PublishedDate - READ-ONLY; The UTC timestamp when the repository published this patch.
    PublishedDate *date.Time `json:"publishedDate,omitempty"`
    // LastModifiedDateTime - READ-ONLY; The UTC timestamp of the last update to this patch record.
    LastModifiedDateTime *date.Time `json:"lastModifiedDateTime,omitempty"`
    // AssessmentState - READ-ONLY; Describes the availability of a given patch. Possible values include: 'PatchAssessmentStateUnknown', 'PatchAssessmentStateAvailable'
    AssessmentState PatchAssessmentState `json:"assessmentState,omitempty"`
}

func (VirtualMachineSoftwarePatchProperties) MarshalJSON

func (vmspp VirtualMachineSoftwarePatchProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineSoftwarePatchProperties.

type VirtualMachineStatusCodeCount

VirtualMachineStatusCodeCount the status code and count of the virtual machine scale set instance view status summary.

type VirtualMachineStatusCodeCount struct {
    // Code - READ-ONLY; The instance view status code.
    Code *string `json:"code,omitempty"`
    // Count - READ-ONLY; The number of instances having a particular status code.
    Count *int32 `json:"count,omitempty"`
}

func (VirtualMachineStatusCodeCount) MarshalJSON

func (vmscc VirtualMachineStatusCodeCount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineStatusCodeCount.

type VirtualMachineUpdate

VirtualMachineUpdate describes a Virtual Machine Update.

type VirtualMachineUpdate struct {
    // Plan - Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use.  In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.
    Plan                      *Plan `json:"plan,omitempty"`
    *VirtualMachineProperties `json:"properties,omitempty"`
    // Identity - The identity of the virtual machine, if configured.
    Identity *VirtualMachineIdentity `json:"identity,omitempty"`
    // Zones - The virtual machine zones.
    Zones *[]string `json:"zones,omitempty"`
    // Tags - Resource tags
    Tags map[string]*string `json:"tags"`
}

func (VirtualMachineUpdate) MarshalJSON

func (vmu VirtualMachineUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineUpdate.

func (*VirtualMachineUpdate) UnmarshalJSON

func (vmu *VirtualMachineUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineUpdate struct.

type VirtualMachinesAssessPatchesFuture

VirtualMachinesAssessPatchesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesAssessPatchesFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (VirtualMachineAssessPatchesResult, error)
}

func (*VirtualMachinesAssessPatchesFuture) UnmarshalJSON

func (future *VirtualMachinesAssessPatchesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesCaptureFuture

VirtualMachinesCaptureFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesCaptureFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (VirtualMachineCaptureResult, error)
}

func (*VirtualMachinesCaptureFuture) UnmarshalJSON

func (future *VirtualMachinesCaptureFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesClient

VirtualMachinesClient is the compute Client

type VirtualMachinesClient struct {
    BaseClient
}

func NewVirtualMachinesClient

func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient

NewVirtualMachinesClient creates an instance of the VirtualMachinesClient client.

func NewVirtualMachinesClientWithBaseURI

func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient

NewVirtualMachinesClientWithBaseURI creates an instance of the VirtualMachinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VirtualMachinesClient) AssessPatches

func (client VirtualMachinesClient) AssessPatches(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesAssessPatchesFuture, err error)

AssessPatches assess patches on the VM. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) AssessPatchesPreparer

func (client VirtualMachinesClient) AssessPatchesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

AssessPatchesPreparer prepares the AssessPatches request.

func (VirtualMachinesClient) AssessPatchesResponder

func (client VirtualMachinesClient) AssessPatchesResponder(resp *http.Response) (result VirtualMachineAssessPatchesResult, err error)

AssessPatchesResponder handles the response to the AssessPatches request. The method always closes the http.Response Body.

func (VirtualMachinesClient) AssessPatchesSender

func (client VirtualMachinesClient) AssessPatchesSender(req *http.Request) (future VirtualMachinesAssessPatchesFuture, err error)

AssessPatchesSender sends the AssessPatches request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Capture

func (client VirtualMachinesClient) Capture(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (result VirtualMachinesCaptureFuture, err error)

Capture captures the VM by copying virtual hard disks of the VM and outputs a template that can be used to create similar VMs. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Capture Virtual Machine operation.

func (VirtualMachinesClient) CapturePreparer

func (client VirtualMachinesClient) CapturePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineCaptureParameters) (*http.Request, error)

CapturePreparer prepares the Capture request.

func (VirtualMachinesClient) CaptureResponder

func (client VirtualMachinesClient) CaptureResponder(resp *http.Response) (result VirtualMachineCaptureResult, err error)

CaptureResponder handles the response to the Capture request. The method always closes the http.Response Body.

func (VirtualMachinesClient) CaptureSender

func (client VirtualMachinesClient) CaptureSender(req *http.Request) (future VirtualMachinesCaptureFuture, err error)

CaptureSender sends the Capture request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) ConvertToManagedDisks

func (client VirtualMachinesClient) ConvertToManagedDisks(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesConvertToManagedDisksFuture, err error)

ConvertToManagedDisks converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) ConvertToManagedDisksPreparer

func (client VirtualMachinesClient) ConvertToManagedDisksPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

ConvertToManagedDisksPreparer prepares the ConvertToManagedDisks request.

func (VirtualMachinesClient) ConvertToManagedDisksResponder

func (client VirtualMachinesClient) ConvertToManagedDisksResponder(resp *http.Response) (result autorest.Response, err error)

ConvertToManagedDisksResponder handles the response to the ConvertToManagedDisks request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ConvertToManagedDisksSender

func (client VirtualMachinesClient) ConvertToManagedDisksSender(req *http.Request) (future VirtualMachinesConvertToManagedDisksFuture, err error)

ConvertToManagedDisksSender sends the ConvertToManagedDisks request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) CreateOrUpdate

func (client VirtualMachinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (result VirtualMachinesCreateOrUpdateFuture, err error)

CreateOrUpdate the operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Create Virtual Machine operation.

func (VirtualMachinesClient) CreateOrUpdatePreparer

func (client VirtualMachinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachine) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachinesClient) CreateOrUpdateResponder

func (client VirtualMachinesClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VirtualMachinesClient) CreateOrUpdateSender

func (client VirtualMachinesClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachinesCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Deallocate

func (client VirtualMachinesClient) Deallocate(ctx context.Context, resourceGroupName string, VMName string, hibernate *bool) (result VirtualMachinesDeallocateFuture, err error)

Deallocate shuts down the virtual machine and releases the compute resources. You are not billed for the compute resources that this virtual machine uses. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. hibernate - optional parameter to hibernate a virtual machine. (Feature in Preview)

func (VirtualMachinesClient) DeallocatePreparer

func (client VirtualMachinesClient) DeallocatePreparer(ctx context.Context, resourceGroupName string, VMName string, hibernate *bool) (*http.Request, error)

DeallocatePreparer prepares the Deallocate request.

func (VirtualMachinesClient) DeallocateResponder

func (client VirtualMachinesClient) DeallocateResponder(resp *http.Response) (result autorest.Response, err error)

DeallocateResponder handles the response to the Deallocate request. The method always closes the http.Response Body.

func (VirtualMachinesClient) DeallocateSender

func (client VirtualMachinesClient) DeallocateSender(req *http.Request) (future VirtualMachinesDeallocateFuture, err error)

DeallocateSender sends the Deallocate request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Delete

func (client VirtualMachinesClient) Delete(ctx context.Context, resourceGroupName string, VMName string, forceDeletion *bool) (result VirtualMachinesDeleteFuture, err error)

Delete the operation to delete a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. forceDeletion - optional parameter to force delete virtual machines.

func (VirtualMachinesClient) DeletePreparer

func (client VirtualMachinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, VMName string, forceDeletion *bool) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VirtualMachinesClient) DeleteResponder

func (client VirtualMachinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VirtualMachinesClient) DeleteSender

func (client VirtualMachinesClient) DeleteSender(req *http.Request) (future VirtualMachinesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Generalize

func (client VirtualMachinesClient) Generalize(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)

Generalize sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation. <br>For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).<br>For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) GeneralizePreparer

func (client VirtualMachinesClient) GeneralizePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

GeneralizePreparer prepares the Generalize request.

func (VirtualMachinesClient) GeneralizeResponder

func (client VirtualMachinesClient) GeneralizeResponder(resp *http.Response) (result autorest.Response, err error)

GeneralizeResponder handles the response to the Generalize request. The method always closes the http.Response Body.

func (VirtualMachinesClient) GeneralizeSender

func (client VirtualMachinesClient) GeneralizeSender(req *http.Request) (*http.Response, error)

GeneralizeSender sends the Generalize request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Get

func (client VirtualMachinesClient) Get(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (result VirtualMachine, err error)

Get retrieves information about the model view or the instance view of a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. expand - the expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the virtual machine that is managed by the platform and can change outside of control plane operations. 'UserData' retrieves the UserData property as part of the VM model view that was provided by the user during the VM Create/Update operation.

func (VirtualMachinesClient) GetPreparer

func (client VirtualMachinesClient) GetPreparer(ctx context.Context, resourceGroupName string, VMName string, expand InstanceViewTypes) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachinesClient) GetResponder

func (client VirtualMachinesClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VirtualMachinesClient) GetSender

func (client VirtualMachinesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) InstallPatches

func (client VirtualMachinesClient) InstallPatches(ctx context.Context, resourceGroupName string, VMName string, installPatchesInput VirtualMachineInstallPatchesParameters) (result VirtualMachinesInstallPatchesFuture, err error)

InstallPatches installs patches on the VM. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. installPatchesInput - input for InstallPatches as directly received by the API

func (VirtualMachinesClient) InstallPatchesPreparer

func (client VirtualMachinesClient) InstallPatchesPreparer(ctx context.Context, resourceGroupName string, VMName string, installPatchesInput VirtualMachineInstallPatchesParameters) (*http.Request, error)

InstallPatchesPreparer prepares the InstallPatches request.

func (VirtualMachinesClient) InstallPatchesResponder

func (client VirtualMachinesClient) InstallPatchesResponder(resp *http.Response) (result VirtualMachineInstallPatchesResult, err error)

InstallPatchesResponder handles the response to the InstallPatches request. The method always closes the http.Response Body.

func (VirtualMachinesClient) InstallPatchesSender

func (client VirtualMachinesClient) InstallPatchesSender(req *http.Request) (future VirtualMachinesInstallPatchesFuture, err error)

InstallPatchesSender sends the InstallPatches request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) InstanceView

func (client VirtualMachinesClient) InstanceView(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineInstanceView, err error)

InstanceView retrieves information about the run-time state of a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) InstanceViewPreparer

func (client VirtualMachinesClient) InstanceViewPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

InstanceViewPreparer prepares the InstanceView request.

func (VirtualMachinesClient) InstanceViewResponder

func (client VirtualMachinesClient) InstanceViewResponder(resp *http.Response) (result VirtualMachineInstanceView, err error)

InstanceViewResponder handles the response to the InstanceView request. The method always closes the http.Response Body.

func (VirtualMachinesClient) InstanceViewSender

func (client VirtualMachinesClient) InstanceViewSender(req *http.Request) (*http.Response, error)

InstanceViewSender sends the InstanceView request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) List

func (client VirtualMachinesClient) List(ctx context.Context, resourceGroupName string, filter string) (result VirtualMachineListResultPage, err error)

List lists all of the virtual machines in the specified resource group. Use the nextLink property in the response to get the next page of virtual machines. Parameters: resourceGroupName - the name of the resource group. filter - the system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'

func (VirtualMachinesClient) ListAll

func (client VirtualMachinesClient) ListAll(ctx context.Context, statusOnly string, filter string) (result VirtualMachineListResultPage, err error)

ListAll lists all of the virtual machines in the specified subscription. Use the nextLink property in the response to get the next page of virtual machines. Parameters: statusOnly - statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. filter - the system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}'

func (VirtualMachinesClient) ListAllComplete

func (client VirtualMachinesClient) ListAllComplete(ctx context.Context, statusOnly string, filter string) (result VirtualMachineListResultIterator, err error)

ListAllComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachinesClient) ListAllPreparer

func (client VirtualMachinesClient) ListAllPreparer(ctx context.Context, statusOnly string, filter string) (*http.Request, error)

ListAllPreparer prepares the ListAll request.

func (VirtualMachinesClient) ListAllResponder

func (client VirtualMachinesClient) ListAllResponder(resp *http.Response) (result VirtualMachineListResult, err error)

ListAllResponder handles the response to the ListAll request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ListAllSender

func (client VirtualMachinesClient) ListAllSender(req *http.Request) (*http.Response, error)

ListAllSender sends the ListAll request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) ListAvailableSizes

func (client VirtualMachinesClient) ListAvailableSizes(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachineSizeListResult, err error)

ListAvailableSizes lists all available virtual machine sizes to which the specified virtual machine can be resized. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) ListAvailableSizesPreparer

func (client VirtualMachinesClient) ListAvailableSizesPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

ListAvailableSizesPreparer prepares the ListAvailableSizes request.

func (VirtualMachinesClient) ListAvailableSizesResponder

func (client VirtualMachinesClient) ListAvailableSizesResponder(resp *http.Response) (result VirtualMachineSizeListResult, err error)

ListAvailableSizesResponder handles the response to the ListAvailableSizes request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ListAvailableSizesSender

func (client VirtualMachinesClient) ListAvailableSizesSender(req *http.Request) (*http.Response, error)

ListAvailableSizesSender sends the ListAvailableSizes request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) ListByLocation

func (client VirtualMachinesClient) ListByLocation(ctx context.Context, location string) (result VirtualMachineListResultPage, err error)

ListByLocation gets all the virtual machines under the specified subscription for the specified location. Parameters: location - the location for which virtual machines under the subscription are queried.

func (VirtualMachinesClient) ListByLocationComplete

func (client VirtualMachinesClient) ListByLocationComplete(ctx context.Context, location string) (result VirtualMachineListResultIterator, err error)

ListByLocationComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachinesClient) ListByLocationPreparer

func (client VirtualMachinesClient) ListByLocationPreparer(ctx context.Context, location string) (*http.Request, error)

ListByLocationPreparer prepares the ListByLocation request.

func (VirtualMachinesClient) ListByLocationResponder

func (client VirtualMachinesClient) ListByLocationResponder(resp *http.Response) (result VirtualMachineListResult, err error)

ListByLocationResponder handles the response to the ListByLocation request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ListByLocationSender

func (client VirtualMachinesClient) ListByLocationSender(req *http.Request) (*http.Response, error)

ListByLocationSender sends the ListByLocation request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) ListComplete

func (client VirtualMachinesClient) ListComplete(ctx context.Context, resourceGroupName string, filter string) (result VirtualMachineListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VirtualMachinesClient) ListPreparer

func (client VirtualMachinesClient) ListPreparer(ctx context.Context, resourceGroupName string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachinesClient) ListResponder

func (client VirtualMachinesClient) ListResponder(resp *http.Response) (result VirtualMachineListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ListSender

func (client VirtualMachinesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) PerformMaintenance

func (client VirtualMachinesClient) PerformMaintenance(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesPerformMaintenanceFuture, err error)

PerformMaintenance the operation to perform maintenance on a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) PerformMaintenancePreparer

func (client VirtualMachinesClient) PerformMaintenancePreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

PerformMaintenancePreparer prepares the PerformMaintenance request.

func (VirtualMachinesClient) PerformMaintenanceResponder

func (client VirtualMachinesClient) PerformMaintenanceResponder(resp *http.Response) (result autorest.Response, err error)

PerformMaintenanceResponder handles the response to the PerformMaintenance request. The method always closes the http.Response Body.

func (VirtualMachinesClient) PerformMaintenanceSender

func (client VirtualMachinesClient) PerformMaintenanceSender(req *http.Request) (future VirtualMachinesPerformMaintenanceFuture, err error)

PerformMaintenanceSender sends the PerformMaintenance request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) PowerOff

func (client VirtualMachinesClient) PowerOff(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (result VirtualMachinesPowerOffFuture, err error)

PowerOff the operation to power off (stop) a virtual machine. The virtual machine can be restarted with the same provisioned resources. You are still charged for this virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. skipShutdown - the parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified

func (VirtualMachinesClient) PowerOffPreparer

func (client VirtualMachinesClient) PowerOffPreparer(ctx context.Context, resourceGroupName string, VMName string, skipShutdown *bool) (*http.Request, error)

PowerOffPreparer prepares the PowerOff request.

func (VirtualMachinesClient) PowerOffResponder

func (client VirtualMachinesClient) PowerOffResponder(resp *http.Response) (result autorest.Response, err error)

PowerOffResponder handles the response to the PowerOff request. The method always closes the http.Response Body.

func (VirtualMachinesClient) PowerOffSender

func (client VirtualMachinesClient) PowerOffSender(req *http.Request) (future VirtualMachinesPowerOffFuture, err error)

PowerOffSender sends the PowerOff request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Reapply

func (client VirtualMachinesClient) Reapply(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesReapplyFuture, err error)

Reapply the operation to reapply a virtual machine's state. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) ReapplyPreparer

func (client VirtualMachinesClient) ReapplyPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

ReapplyPreparer prepares the Reapply request.

func (VirtualMachinesClient) ReapplyResponder

func (client VirtualMachinesClient) ReapplyResponder(resp *http.Response) (result autorest.Response, err error)

ReapplyResponder handles the response to the Reapply request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ReapplySender

func (client VirtualMachinesClient) ReapplySender(req *http.Request) (future VirtualMachinesReapplyFuture, err error)

ReapplySender sends the Reapply request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Redeploy

func (client VirtualMachinesClient) Redeploy(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRedeployFuture, err error)

Redeploy shuts down the virtual machine, moves it to a new node, and powers it back on. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) RedeployPreparer

func (client VirtualMachinesClient) RedeployPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

RedeployPreparer prepares the Redeploy request.

func (VirtualMachinesClient) RedeployResponder

func (client VirtualMachinesClient) RedeployResponder(resp *http.Response) (result autorest.Response, err error)

RedeployResponder handles the response to the Redeploy request. The method always closes the http.Response Body.

func (VirtualMachinesClient) RedeploySender

func (client VirtualMachinesClient) RedeploySender(req *http.Request) (future VirtualMachinesRedeployFuture, err error)

RedeploySender sends the Redeploy request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Reimage

func (client VirtualMachinesClient) Reimage(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (result VirtualMachinesReimageFuture, err error)

Reimage reimages the virtual machine which has an ephemeral OS disk back to its initial state. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Reimage Virtual Machine operation.

func (VirtualMachinesClient) ReimagePreparer

func (client VirtualMachinesClient) ReimagePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters *VirtualMachineReimageParameters) (*http.Request, error)

ReimagePreparer prepares the Reimage request.

func (VirtualMachinesClient) ReimageResponder

func (client VirtualMachinesClient) ReimageResponder(resp *http.Response) (result autorest.Response, err error)

ReimageResponder handles the response to the Reimage request. The method always closes the http.Response Body.

func (VirtualMachinesClient) ReimageSender

func (client VirtualMachinesClient) ReimageSender(req *http.Request) (future VirtualMachinesReimageFuture, err error)

ReimageSender sends the Reimage request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Restart

func (client VirtualMachinesClient) Restart(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesRestartFuture, err error)

Restart the operation to restart a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) RestartPreparer

func (client VirtualMachinesClient) RestartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (VirtualMachinesClient) RestartResponder

func (client VirtualMachinesClient) RestartResponder(resp *http.Response) (result autorest.Response, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (VirtualMachinesClient) RestartSender

func (client VirtualMachinesClient) RestartSender(req *http.Request) (future VirtualMachinesRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) RetrieveBootDiagnosticsData

func (client VirtualMachinesClient) RetrieveBootDiagnosticsData(ctx context.Context, resourceGroupName string, VMName string, sasURIExpirationTimeInMinutes *int32) (result RetrieveBootDiagnosticsDataResult, err error)

RetrieveBootDiagnosticsData the operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. sasURIExpirationTimeInMinutes - expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes.

func (VirtualMachinesClient) RetrieveBootDiagnosticsDataPreparer

func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataPreparer(ctx context.Context, resourceGroupName string, VMName string, sasURIExpirationTimeInMinutes *int32) (*http.Request, error)

RetrieveBootDiagnosticsDataPreparer prepares the RetrieveBootDiagnosticsData request.

func (VirtualMachinesClient) RetrieveBootDiagnosticsDataResponder

func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataResponder(resp *http.Response) (result RetrieveBootDiagnosticsDataResult, err error)

RetrieveBootDiagnosticsDataResponder handles the response to the RetrieveBootDiagnosticsData request. The method always closes the http.Response Body.

func (VirtualMachinesClient) RetrieveBootDiagnosticsDataSender

func (client VirtualMachinesClient) RetrieveBootDiagnosticsDataSender(req *http.Request) (*http.Response, error)

RetrieveBootDiagnosticsDataSender sends the RetrieveBootDiagnosticsData request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) RunCommand

func (client VirtualMachinesClient) RunCommand(ctx context.Context, resourceGroupName string, VMName string, parameters RunCommandInput) (result VirtualMachinesRunCommandFuture, err error)

RunCommand run command on the VM. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Run command operation.

func (VirtualMachinesClient) RunCommandPreparer

func (client VirtualMachinesClient) RunCommandPreparer(ctx context.Context, resourceGroupName string, VMName string, parameters RunCommandInput) (*http.Request, error)

RunCommandPreparer prepares the RunCommand request.

func (VirtualMachinesClient) RunCommandResponder

func (client VirtualMachinesClient) RunCommandResponder(resp *http.Response) (result RunCommandResult, err error)

RunCommandResponder handles the response to the RunCommand request. The method always closes the http.Response Body.

func (VirtualMachinesClient) RunCommandSender

func (client VirtualMachinesClient) RunCommandSender(req *http.Request) (future VirtualMachinesRunCommandFuture, err error)

RunCommandSender sends the RunCommand request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) SimulateEviction

func (client VirtualMachinesClient) SimulateEviction(ctx context.Context, resourceGroupName string, VMName string) (result autorest.Response, err error)

SimulateEviction the operation to simulate the eviction of spot virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) SimulateEvictionPreparer

func (client VirtualMachinesClient) SimulateEvictionPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

SimulateEvictionPreparer prepares the SimulateEviction request.

func (VirtualMachinesClient) SimulateEvictionResponder

func (client VirtualMachinesClient) SimulateEvictionResponder(resp *http.Response) (result autorest.Response, err error)

SimulateEvictionResponder handles the response to the SimulateEviction request. The method always closes the http.Response Body.

func (VirtualMachinesClient) SimulateEvictionSender

func (client VirtualMachinesClient) SimulateEvictionSender(req *http.Request) (*http.Response, error)

SimulateEvictionSender sends the SimulateEviction request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Start

func (client VirtualMachinesClient) Start(ctx context.Context, resourceGroupName string, VMName string) (result VirtualMachinesStartFuture, err error)

Start the operation to start a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine.

func (VirtualMachinesClient) StartPreparer

func (client VirtualMachinesClient) StartPreparer(ctx context.Context, resourceGroupName string, VMName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachinesClient) StartResponder

func (client VirtualMachinesClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (VirtualMachinesClient) StartSender

func (client VirtualMachinesClient) StartSender(req *http.Request) (future VirtualMachinesStartFuture, err error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (VirtualMachinesClient) Update

func (client VirtualMachinesClient) Update(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (result VirtualMachinesUpdateFuture, err error)

Update the operation to update a virtual machine. Parameters: resourceGroupName - the name of the resource group. VMName - the name of the virtual machine. parameters - parameters supplied to the Update Virtual Machine operation.

func (VirtualMachinesClient) UpdatePreparer

func (client VirtualMachinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, VMName string, parameters VirtualMachineUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachinesClient) UpdateResponder

func (client VirtualMachinesClient) UpdateResponder(resp *http.Response) (result VirtualMachine, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VirtualMachinesClient) UpdateSender

func (client VirtualMachinesClient) UpdateSender(req *http.Request) (future VirtualMachinesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VirtualMachinesConvertToManagedDisksFuture

VirtualMachinesConvertToManagedDisksFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesConvertToManagedDisksFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesConvertToManagedDisksFuture) UnmarshalJSON

func (future *VirtualMachinesConvertToManagedDisksFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesCreateOrUpdateFuture

VirtualMachinesCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesCreateOrUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (VirtualMachine, error)
}

func (*VirtualMachinesCreateOrUpdateFuture) UnmarshalJSON

func (future *VirtualMachinesCreateOrUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesDeallocateFuture

VirtualMachinesDeallocateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesDeallocateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesDeallocateFuture) UnmarshalJSON

func (future *VirtualMachinesDeallocateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesDeleteFuture

VirtualMachinesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesDeleteFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesDeleteFuture) UnmarshalJSON

func (future *VirtualMachinesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesInstallPatchesFuture

VirtualMachinesInstallPatchesFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesInstallPatchesFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (VirtualMachineInstallPatchesResult, error)
}

func (*VirtualMachinesInstallPatchesFuture) UnmarshalJSON

func (future *VirtualMachinesInstallPatchesFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesPerformMaintenanceFuture

VirtualMachinesPerformMaintenanceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesPerformMaintenanceFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesPerformMaintenanceFuture) UnmarshalJSON

func (future *VirtualMachinesPerformMaintenanceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesPowerOffFuture

VirtualMachinesPowerOffFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesPowerOffFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesPowerOffFuture) UnmarshalJSON

func (future *VirtualMachinesPowerOffFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesReapplyFuture

VirtualMachinesReapplyFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesReapplyFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesReapplyFuture) UnmarshalJSON

func (future *VirtualMachinesReapplyFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesRedeployFuture

VirtualMachinesRedeployFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesRedeployFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesRedeployFuture) UnmarshalJSON

func (future *VirtualMachinesRedeployFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesReimageFuture

VirtualMachinesReimageFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesReimageFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesReimageFuture) UnmarshalJSON

func (future *VirtualMachinesReimageFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesRestartFuture

VirtualMachinesRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesRestartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesRestartFuture) UnmarshalJSON

func (future *VirtualMachinesRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesRunCommandFuture

VirtualMachinesRunCommandFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesRunCommandFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (RunCommandResult, error)
}

func (*VirtualMachinesRunCommandFuture) UnmarshalJSON

func (future *VirtualMachinesRunCommandFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesStartFuture

VirtualMachinesStartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesStartFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (autorest.Response, error)
}

func (*VirtualMachinesStartFuture) UnmarshalJSON

func (future *VirtualMachinesStartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VirtualMachinesUpdateFuture

VirtualMachinesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type VirtualMachinesUpdateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(VirtualMachinesClient) (VirtualMachine, error)
}

func (*VirtualMachinesUpdateFuture) UnmarshalJSON

func (future *VirtualMachinesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WinRMConfiguration

WinRMConfiguration describes Windows Remote Management configuration of the VM

type WinRMConfiguration struct {
    // Listeners - The list of Windows Remote Management listeners
    Listeners *[]WinRMListener `json:"listeners,omitempty"`
}

type WinRMListener

WinRMListener describes Protocol and thumbprint of Windows Remote Management listener

type WinRMListener struct {
    // Protocol - Specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https**. Possible values include: 'ProtocolTypesHTTP', 'ProtocolTypesHTTPS'
    Protocol ProtocolTypes `json:"protocol,omitempty"`
    // CertificateURL - This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br>  "data":"<Base64-encoded-certificate>",<br>  "dataType":"pfx",<br>  "password":"<pfx-file-password>"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).
    CertificateURL *string `json:"certificateUrl,omitempty"`
}

type WindowsConfiguration

WindowsConfiguration specifies Windows operating system settings on the virtual machine.

type WindowsConfiguration struct {
    // ProvisionVMAgent - Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true.  This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.
    ProvisionVMAgent *bool `json:"provisionVMAgent,omitempty"`
    // EnableAutomaticUpdates - Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br><br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning.
    EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"`
    // TimeZone - Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).
    TimeZone *string `json:"timeZone,omitempty"`
    // AdditionalUnattendContent - Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.
    AdditionalUnattendContent *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"`
    // PatchSettings - [Preview Feature] Specifies settings related to VM Guest Patching on Windows.
    PatchSettings *PatchSettings `json:"patchSettings,omitempty"`
    // WinRM - Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell.
    WinRM *WinRMConfiguration `json:"winRM,omitempty"`
}

type WindowsParameters

WindowsParameters input for InstallPatches on a Windows VM, as directly received by the API

type WindowsParameters struct {
    // ClassificationsToInclude - The update classifications to select when installing patches for Windows.
    ClassificationsToInclude *[]VMGuestPatchClassificationWindows `json:"classificationsToInclude,omitempty"`
    // KbNumbersToInclude - Kbs to include in the patch operation
    KbNumbersToInclude *[]string `json:"kbNumbersToInclude,omitempty"`
    // KbNumbersToExclude - Kbs to exclude in the patch operation
    KbNumbersToExclude *[]string `json:"kbNumbersToExclude,omitempty"`
    // ExcludeKbsRequiringReboot - Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true.
    ExcludeKbsRequiringReboot *bool `json:"excludeKbsRequiringReboot,omitempty"`
    // MaxPatchPublishDate - This is used to install patches that were published on or before this given max published date.
    MaxPatchPublishDate *date.Time `json:"maxPatchPublishDate,omitempty"`
}

type WindowsPatchAssessmentMode

WindowsPatchAssessmentMode enumerates the values for windows patch assessment mode.

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

func PossibleWindowsPatchAssessmentModeValues

func PossibleWindowsPatchAssessmentModeValues() []WindowsPatchAssessmentMode

PossibleWindowsPatchAssessmentModeValues returns an array of possible values for the WindowsPatchAssessmentMode const type.

type WindowsVMGuestPatchMode

WindowsVMGuestPatchMode enumerates the values for windows vm guest patch mode.

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

func PossibleWindowsVMGuestPatchModeValues

func PossibleWindowsVMGuestPatchModeValues() []WindowsVMGuestPatchMode

PossibleWindowsVMGuestPatchModeValues returns an array of possible values for the WindowsVMGuestPatchMode const type.

Subdirectories

Name Synopsis
..
computeapi Deprecated: Please note, this package has been deprecated.