Documentation

Overview

    Package compute implements the Azure ARM Compute service API version .

    Compute Client

    Index

    Constants

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

    Variables

    This section is empty.

    Functions

    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.

        Types

        type APIEntityReference

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

          APIEntityReference the API entity reference.

          type APIError

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

            APIError api error.

            type APIErrorBase

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

              APIErrorBase api error base.

              type AccessLevel

              type AccessLevel string

                AccessLevel enumerates the values for access level.

                const (
                	// None ...
                	None AccessLevel = "None"
                	// Read ...
                	Read AccessLevel = "Read"
                )

                func PossibleAccessLevelValues

                func PossibleAccessLevelValues() []AccessLevel

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

                  type AccessURI

                  type AccessURI struct {
                  	autorest.Response `json:"-"`
                  	// AccessURIOutput - Operation output data (raw JSON)
                  	*AccessURIOutput `json:"properties,omitempty"`
                  }

                    AccessURI a disk access SAS uri.

                    func (AccessURI) MarshalJSON

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

                      MarshalJSON is the custom marshaler for AccessURI.

                      func (*AccessURI) UnmarshalJSON

                      func (au *AccessURI) UnmarshalJSON(body []byte) error

                        UnmarshalJSON is the custom unmarshaler for AccessURI struct.

                        type AccessURIOutput

                        type AccessURIOutput struct {
                        	// AccessURIRaw - Operation output data (raw JSON)
                        	*AccessURIRaw `json:"output,omitempty"`
                        }

                          AccessURIOutput azure properties, including output.

                          func (AccessURIOutput) MarshalJSON

                          func (auo AccessURIOutput) MarshalJSON() ([]byte, error)

                            MarshalJSON is the custom marshaler for AccessURIOutput.

                            func (*AccessURIOutput) UnmarshalJSON

                            func (auo *AccessURIOutput) UnmarshalJSON(body []byte) error

                              UnmarshalJSON is the custom unmarshaler for AccessURIOutput struct.

                              type AccessURIRaw

                              type AccessURIRaw struct {
                              	// AccessSAS - READ-ONLY; A SAS uri for accessing a disk.
                              	AccessSAS *string `json:"accessSAS,omitempty"`
                              }

                                AccessURIRaw this object gets 'bubbled up' through flattening.

                                type AdditionalUnattendContent

                                type AdditionalUnattendContent struct {
                                	// PassName - The pass name. Currently, the only allowable value is OobeSystem. Possible values include: 'OobeSystem'
                                	PassName PassNames `json:"passName,omitempty"`
                                	// ComponentName - The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. Possible values include: 'MicrosoftWindowsShellSetup'
                                	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: 'AutoLogon', 'FirstLogonCommands'
                                	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"`
                                }

                                  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 AutoOSUpgradePolicy

                                  type AutoOSUpgradePolicy struct {
                                  	// DisableAutoRollback - Whether OS image rollback feature should be disabled. Default value is false.
                                  	DisableAutoRollback *bool `json:"disableAutoRollback,omitempty"`
                                  }

                                    AutoOSUpgradePolicy the configuration parameters used for performing automatic OS upgrade.

                                    type AvailabilitySet

                                    type AvailabilitySet struct {
                                    	autorest.Response          `json:"-"`
                                    	*AvailabilitySetProperties `json:"properties,omitempty"`
                                    	// Sku - Sku of the availability set
                                    	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"`
                                    }

                                      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 [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <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.

                                      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

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

                                            AvailabilitySetListResult the List Availability Set operation response.

                                            func (AvailabilitySetListResult) IsEmpty

                                            func (aslr AvailabilitySetListResult) IsEmpty() bool

                                              IsEmpty returns true if the ListResult contains no values.

                                              type AvailabilitySetListResultIterator

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

                                                AvailabilitySetListResultIterator provides access to a complete listing of AvailabilitySet values.

                                                func NewAvailabilitySetListResultIterator

                                                func NewAvailabilitySetListResultIterator(page AvailabilitySetListResultPage) AvailabilitySetListResultIterator

                                                  Creates a new instance of the AvailabilitySetListResultIterator type.

                                                  func (*AvailabilitySetListResultIterator) Next

                                                    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

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

                                                          func (AvailabilitySetListResultIterator) Value

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

                                                            type AvailabilitySetListResultPage

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

                                                              AvailabilitySetListResultPage contains a page of AvailabilitySet values.

                                                              func NewAvailabilitySetListResultPage

                                                                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

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

                                                                        func (AvailabilitySetListResultPage) Values

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

                                                                          type AvailabilitySetProperties

                                                                          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"`
                                                                          	// Statuses - READ-ONLY; The resource status information.
                                                                          	Statuses *[]InstanceViewStatus `json:"statuses,omitempty"`
                                                                          }

                                                                            AvailabilitySetProperties the instance view of a resource.

                                                                            func (AvailabilitySetProperties) MarshalJSON

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

                                                                              MarshalJSON is the custom marshaler for AvailabilitySetProperties.

                                                                              type AvailabilitySetUpdate

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

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

                                                                                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

                                                                                    type AvailabilitySetsClient struct {
                                                                                    	BaseClient
                                                                                    }

                                                                                      AvailabilitySetsClient is the compute Client

                                                                                      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 OperationStatusResponse, 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 OperationStatusResponse, 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 BaseClient

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

                                                                                                                                                        BaseClient is the base client for Compute.

                                                                                                                                                        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 BootDiagnostics

                                                                                                                                                            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.
                                                                                                                                                            	StorageURI *string `json:"storageUri,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.

                                                                                                                                                              type BootDiagnosticsInstanceView

                                                                                                                                                              type BootDiagnosticsInstanceView struct {
                                                                                                                                                              	// ConsoleScreenshotBlobURI - READ-ONLY; The console screenshot blob URI.
                                                                                                                                                              	ConsoleScreenshotBlobURI *string `json:"consoleScreenshotBlobUri,omitempty"`
                                                                                                                                                              	// SerialConsoleLogBlobURI - READ-ONLY; The Linux serial console log blob Uri.
                                                                                                                                                              	SerialConsoleLogBlobURI *string `json:"serialConsoleLogBlobUri,omitempty"`
                                                                                                                                                              }

                                                                                                                                                                BootDiagnosticsInstanceView the instance view of a virtual machine boot diagnostics.

                                                                                                                                                                type CachingTypes

                                                                                                                                                                type CachingTypes string

                                                                                                                                                                  CachingTypes enumerates the values for caching types.

                                                                                                                                                                  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 ComponentNames

                                                                                                                                                                    type ComponentNames string

                                                                                                                                                                      ComponentNames enumerates the values for component names.

                                                                                                                                                                      const (
                                                                                                                                                                      	// MicrosoftWindowsShellSetup ...
                                                                                                                                                                      	MicrosoftWindowsShellSetup ComponentNames = "Microsoft-Windows-Shell-Setup"
                                                                                                                                                                      )

                                                                                                                                                                      func PossibleComponentNamesValues

                                                                                                                                                                      func PossibleComponentNamesValues() []ComponentNames

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

                                                                                                                                                                        type CreationData

                                                                                                                                                                        type CreationData struct {
                                                                                                                                                                        	// CreateOption - This enumerates the possible sources of a disk's creation. Possible values include: 'Empty', 'Attach', 'FromImage', 'Import', 'Copy'
                                                                                                                                                                        	CreateOption DiskCreateOption `json:"createOption,omitempty"`
                                                                                                                                                                        	// StorageAccountID - If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription
                                                                                                                                                                        	StorageAccountID *string `json:"storageAccountId,omitempty"`
                                                                                                                                                                        	// ImageReference - Disk source information.
                                                                                                                                                                        	ImageReference *ImageDiskReference `json:"imageReference,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"`
                                                                                                                                                                        }

                                                                                                                                                                          CreationData data used when creating a disk.

                                                                                                                                                                          type DataDisk

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

                                                                                                                                                                            DataDisk describes a data disk.

                                                                                                                                                                            type DataDiskImage

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

                                                                                                                                                                              DataDiskImage contains the data disk images information.

                                                                                                                                                                              type DiagnosticsProfile

                                                                                                                                                                              type DiagnosticsProfile struct {
                                                                                                                                                                              	// 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 *BootDiagnostics `json:"bootDiagnostics,omitempty"`
                                                                                                                                                                              }

                                                                                                                                                                                DiagnosticsProfile specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.

                                                                                                                                                                                type Disk

                                                                                                                                                                                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"`
                                                                                                                                                                                	Sku       *DiskSku `json:"sku,omitempty"`
                                                                                                                                                                                	// Zones - The Logical zone list for Disk.
                                                                                                                                                                                	Zones           *[]string `json:"zones,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"`
                                                                                                                                                                                }

                                                                                                                                                                                  Disk disk resource.

                                                                                                                                                                                  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 DiskCreateOption

                                                                                                                                                                                      type DiskCreateOption string

                                                                                                                                                                                        DiskCreateOption enumerates the values for disk create option.

                                                                                                                                                                                        const (
                                                                                                                                                                                        	// Attach ...
                                                                                                                                                                                        	Attach DiskCreateOption = "Attach"
                                                                                                                                                                                        	// Copy ...
                                                                                                                                                                                        	Copy DiskCreateOption = "Copy"
                                                                                                                                                                                        	// Empty ...
                                                                                                                                                                                        	Empty DiskCreateOption = "Empty"
                                                                                                                                                                                        	// FromImage ...
                                                                                                                                                                                        	FromImage DiskCreateOption = "FromImage"
                                                                                                                                                                                        	// Import ...
                                                                                                                                                                                        	Import DiskCreateOption = "Import"
                                                                                                                                                                                        )

                                                                                                                                                                                        func PossibleDiskCreateOptionValues

                                                                                                                                                                                        func PossibleDiskCreateOptionValues() []DiskCreateOption

                                                                                                                                                                                          PossibleDiskCreateOptionValues returns an array of possible values for the DiskCreateOption const type.

                                                                                                                                                                                          type DiskCreateOptionTypes

                                                                                                                                                                                          type DiskCreateOptionTypes string

                                                                                                                                                                                            DiskCreateOptionTypes enumerates the values for disk create option types.

                                                                                                                                                                                            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 DiskEncryptionSettings

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

                                                                                                                                                                                                DiskEncryptionSettings describes a Encryption Settings for a Disk

                                                                                                                                                                                                type DiskInstanceView

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

                                                                                                                                                                                                  DiskInstanceView the instance view of the disk.

                                                                                                                                                                                                  type DiskList

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

                                                                                                                                                                                                    DiskList the List Disks operation response.

                                                                                                                                                                                                    func (DiskList) IsEmpty

                                                                                                                                                                                                    func (dl DiskList) IsEmpty() bool

                                                                                                                                                                                                      IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                      type DiskListIterator

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

                                                                                                                                                                                                        DiskListIterator provides access to a complete listing of Disk values.

                                                                                                                                                                                                        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

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

                                                                                                                                                                                                                      DiskListPage contains a page of Disk values.

                                                                                                                                                                                                                      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

                                                                                                                                                                                                                                  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: 'Windows', 'Linux'
                                                                                                                                                                                                                                  	OsType OperatingSystemTypes `json:"osType,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 VHD 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"`
                                                                                                                                                                                                                                  	// EncryptionSettings - Encryption settings for disk or snapshot
                                                                                                                                                                                                                                  	EncryptionSettings *EncryptionSettings `json:"encryptionSettings,omitempty"`
                                                                                                                                                                                                                                  	// ProvisioningState - READ-ONLY; The disk provisioning state.
                                                                                                                                                                                                                                  	ProvisioningState *string `json:"provisioningState,omitempty"`
                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                    DiskProperties disk resource properties.

                                                                                                                                                                                                                                    func (DiskProperties) MarshalJSON

                                                                                                                                                                                                                                    func (dp DiskProperties) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                      MarshalJSON is the custom marshaler for DiskProperties.

                                                                                                                                                                                                                                      type DiskSku

                                                                                                                                                                                                                                      type DiskSku struct {
                                                                                                                                                                                                                                      	// Name - The sku name. Possible values include: 'StandardLRS', 'PremiumLRS'
                                                                                                                                                                                                                                      	Name StorageAccountTypes `json:"name,omitempty"`
                                                                                                                                                                                                                                      	// Tier - READ-ONLY; The sku tier.
                                                                                                                                                                                                                                      	Tier *string `json:"tier,omitempty"`
                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                        DiskSku the disks and snapshots sku name. Can be Standard_LRS or Premium_LRS.

                                                                                                                                                                                                                                        func (DiskSku) MarshalJSON

                                                                                                                                                                                                                                        func (ds DiskSku) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                          MarshalJSON is the custom marshaler for DiskSku.

                                                                                                                                                                                                                                          type DiskUpdate

                                                                                                                                                                                                                                          type DiskUpdate struct {
                                                                                                                                                                                                                                          	*DiskUpdateProperties `json:"properties,omitempty"`
                                                                                                                                                                                                                                          	// Tags - Resource tags
                                                                                                                                                                                                                                          	Tags map[string]*string `json:"tags"`
                                                                                                                                                                                                                                          	Sku  *DiskSku           `json:"sku,omitempty"`
                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                            DiskUpdate disk update resource.

                                                                                                                                                                                                                                            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

                                                                                                                                                                                                                                                type DiskUpdateProperties struct {
                                                                                                                                                                                                                                                	// OsType - the Operating System type. Possible values include: 'Windows', 'Linux'
                                                                                                                                                                                                                                                	OsType OperatingSystemTypes `json:"osType,omitempty"`
                                                                                                                                                                                                                                                	// DiskSizeGB - If creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD 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"`
                                                                                                                                                                                                                                                	// EncryptionSettings - Encryption settings for disk or snapshot
                                                                                                                                                                                                                                                	EncryptionSettings *EncryptionSettings `json:"encryptionSettings,omitempty"`
                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                  DiskUpdateProperties disk resource update properties.

                                                                                                                                                                                                                                                  type DisksClient

                                                                                                                                                                                                                                                  type DisksClient struct {
                                                                                                                                                                                                                                                  	BaseClient
                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                    DisksClient is the compute Client

                                                                                                                                                                                                                                                    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 OperationStatusResponse, 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 OperationStatusResponse, 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

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

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

                                                                                                                                                                                                                                                                                                                              type DisksDeleteFuture

                                                                                                                                                                                                                                                                                                                              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) (OperationStatusResponse, error)
                                                                                                                                                                                                                                                                                                                              }

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

                                                                                                                                                                                                                                                                                                                                type DisksGrantAccessFuture

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

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

                                                                                                                                                                                                                                                                                                                                  type DisksRevokeAccessFuture

                                                                                                                                                                                                                                                                                                                                  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) (OperationStatusResponse, error)
                                                                                                                                                                                                                                                                                                                                  }

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

                                                                                                                                                                                                                                                                                                                                    type DisksUpdateFuture

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

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

                                                                                                                                                                                                                                                                                                                                      type EncryptionSettings

                                                                                                                                                                                                                                                                                                                                      type EncryptionSettings 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"`
                                                                                                                                                                                                                                                                                                                                      	// 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 *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"`
                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                        EncryptionSettings encryption settings for disk or snapshot

                                                                                                                                                                                                                                                                                                                                        type GrantAccessData

                                                                                                                                                                                                                                                                                                                                        type GrantAccessData struct {
                                                                                                                                                                                                                                                                                                                                        	// Access - Possible values include: 'None', 'Read'
                                                                                                                                                                                                                                                                                                                                        	Access AccessLevel `json:"access,omitempty"`
                                                                                                                                                                                                                                                                                                                                        	// DurationInSeconds - Time duration in seconds until the SAS access expires.
                                                                                                                                                                                                                                                                                                                                        	DurationInSeconds *int32 `json:"durationInSeconds,omitempty"`
                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                          GrantAccessData data used for requesting a SAS.

                                                                                                                                                                                                                                                                                                                                          type HardwareProfile

                                                                                                                                                                                                                                                                                                                                          type HardwareProfile struct {
                                                                                                                                                                                                                                                                                                                                          	// VMSize - Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> The available VM sizes depend on region and availability set. For a list of available sizes use 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/virtualmachinesizes/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). Possible values include: 'BasicA0', 'BasicA1', 'BasicA2', 'BasicA3', 'BasicA4', 'StandardA0', 'StandardA1', 'StandardA2', 'StandardA3', 'StandardA4', 'StandardA5', 'StandardA6', 'StandardA7', 'StandardA8', 'StandardA9', 'StandardA10', 'StandardA11', 'StandardA1V2', 'StandardA2V2', 'StandardA4V2', 'StandardA8V2', 'StandardA2mV2', 'StandardA4mV2', 'StandardA8mV2', 'StandardB1s', 'StandardB1ms', 'StandardB2s', 'StandardB2ms', 'StandardB4ms', 'StandardB8ms', 'StandardD1', 'StandardD2', 'StandardD3', 'StandardD4', 'StandardD11', 'StandardD12', 'StandardD13', 'StandardD14', 'StandardD1V2', 'StandardD2V2', 'StandardD3V2', 'StandardD4V2', 'StandardD5V2', 'StandardD2V3', 'StandardD4V3', 'StandardD8V3', 'StandardD16V3', 'StandardD32V3', 'StandardD64V3', 'StandardD2sV3', 'StandardD4sV3', 'StandardD8sV3', 'StandardD16sV3', 'StandardD32sV3', 'StandardD64sV3', 'StandardD11V2', 'StandardD12V2', 'StandardD13V2', 'StandardD14V2', 'StandardD15V2', 'StandardDS1', 'StandardDS2', 'StandardDS3', 'StandardDS4', 'StandardDS11', 'StandardDS12', 'StandardDS13', 'StandardDS14', 'StandardDS1V2', 'StandardDS2V2', 'StandardDS3V2', 'StandardDS4V2', 'StandardDS5V2', 'StandardDS11V2', 'StandardDS12V2', 'StandardDS13V2', 'StandardDS14V2', 'StandardDS15V2', 'StandardDS134V2', 'StandardDS132V2', 'StandardDS148V2', 'StandardDS144V2', 'StandardE2V3', 'StandardE4V3', 'StandardE8V3', 'StandardE16V3', 'StandardE32V3', 'StandardE64V3', 'StandardE2sV3', 'StandardE4sV3', 'StandardE8sV3', 'StandardE16sV3', 'StandardE32sV3', 'StandardE64sV3', 'StandardE3216V3', 'StandardE328sV3', 'StandardE6432sV3', 'StandardE6416sV3', 'StandardF1', 'StandardF2', 'StandardF4', 'StandardF8', 'StandardF16', 'StandardF1s', 'StandardF2s', 'StandardF4s', 'StandardF8s', 'StandardF16s', 'StandardF2sV2', 'StandardF4sV2', 'StandardF8sV2', 'StandardF16sV2', 'StandardF32sV2', 'StandardF64sV2', 'StandardF72sV2', 'StandardG1', 'StandardG2', 'StandardG3', 'StandardG4', 'StandardG5', 'StandardGS1', 'StandardGS2', 'StandardGS3', 'StandardGS4', 'StandardGS5', 'StandardGS48', 'StandardGS44', 'StandardGS516', 'StandardGS58', 'StandardH8', 'StandardH16', 'StandardH8m', 'StandardH16m', 'StandardH16r', 'StandardH16mr', 'StandardL4s', 'StandardL8s', 'StandardL16s', 'StandardL32s', 'StandardM64s', 'StandardM64ms', 'StandardM128s', 'StandardM128ms', 'StandardM6432ms', 'StandardM6416ms', 'StandardM12864ms', 'StandardM12832ms', 'StandardNC6', 'StandardNC12', 'StandardNC24', 'StandardNC24r', 'StandardNC6sV2', 'StandardNC12sV2', 'StandardNC24sV2', 'StandardNC24rsV2', 'StandardNC6sV3', 'StandardNC12sV3', 'StandardNC24sV3', 'StandardNC24rsV3', 'StandardND6s', 'StandardND12s', 'StandardND24s', 'StandardND24rs', 'StandardNV6', 'StandardNV12', 'StandardNV24'
                                                                                                                                                                                                                                                                                                                                          	VMSize VirtualMachineSizeTypes `json:"vmSize,omitempty"`
                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                            HardwareProfile specifies the hardware settings for the virtual machine.

                                                                                                                                                                                                                                                                                                                                            type IPVersion

                                                                                                                                                                                                                                                                                                                                            type IPVersion string

                                                                                                                                                                                                                                                                                                                                              IPVersion enumerates the values for ip version.

                                                                                                                                                                                                                                                                                                                                              const (
                                                                                                                                                                                                                                                                                                                                              	// IPv4 ...
                                                                                                                                                                                                                                                                                                                                              	IPv4 IPVersion = "IPv4"
                                                                                                                                                                                                                                                                                                                                              	// IPv6 ...
                                                                                                                                                                                                                                                                                                                                              	IPv6 IPVersion = "IPv6"
                                                                                                                                                                                                                                                                                                                                              )

                                                                                                                                                                                                                                                                                                                                              func PossibleIPVersionValues

                                                                                                                                                                                                                                                                                                                                              func PossibleIPVersionValues() []IPVersion

                                                                                                                                                                                                                                                                                                                                                PossibleIPVersionValues returns an array of possible values for the IPVersion const type.

                                                                                                                                                                                                                                                                                                                                                type Image

                                                                                                                                                                                                                                                                                                                                                type Image struct {
                                                                                                                                                                                                                                                                                                                                                	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                	*ImageProperties  `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"`
                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                  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.

                                                                                                                                                                                                                                                                                                                                                  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

                                                                                                                                                                                                                                                                                                                                                      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. Possible values are: Standard_LRS or Premium_LRS. Possible values include: 'StandardLRS', 'PremiumLRS'
                                                                                                                                                                                                                                                                                                                                                      	StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                                                                                                        ImageDataDisk describes a data disk.

                                                                                                                                                                                                                                                                                                                                                        type ImageDiskReference

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

                                                                                                                                                                                                                                                                                                                                                          ImageDiskReference the source image used for creating the disk.

                                                                                                                                                                                                                                                                                                                                                          type ImageListResult

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

                                                                                                                                                                                                                                                                                                                                                            ImageListResult the List Image operation response.

                                                                                                                                                                                                                                                                                                                                                            func (ImageListResult) IsEmpty

                                                                                                                                                                                                                                                                                                                                                            func (ilr ImageListResult) IsEmpty() bool

                                                                                                                                                                                                                                                                                                                                                              IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                                                                                                              type ImageListResultIterator

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

                                                                                                                                                                                                                                                                                                                                                                ImageListResultIterator provides access to a complete listing of Image values.

                                                                                                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                                                                                              ImageListResultPage contains a page of Image values.

                                                                                                                                                                                                                                                                                                                                                                              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

                                                                                                                                                                                                                                                                                                                                                                                          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: 'Windows', 'Linux'
                                                                                                                                                                                                                                                                                                                                                                                          	OsType OperatingSystemTypes `json:"osType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                          	// OsState - The OS State. Possible values include: 'Generalized', 'Specialized'
                                                                                                                                                                                                                                                                                                                                                                                          	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. Possible values are: Standard_LRS or Premium_LRS. Possible values include: 'StandardLRS', 'PremiumLRS'
                                                                                                                                                                                                                                                                                                                                                                                          	StorageAccountType StorageAccountTypes `json:"storageAccountType,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                            ImageOSDisk describes an Operating System disk.

                                                                                                                                                                                                                                                                                                                                                                                            type ImageProperties

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

                                                                                                                                                                                                                                                                                                                                                                                              ImageProperties describes the properties of an Image.

                                                                                                                                                                                                                                                                                                                                                                                              func (ImageProperties) MarshalJSON

                                                                                                                                                                                                                                                                                                                                                                                              func (IP ImageProperties) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                                                                                MarshalJSON is the custom marshaler for ImageProperties.

                                                                                                                                                                                                                                                                                                                                                                                                type ImageReference

                                                                                                                                                                                                                                                                                                                                                                                                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.
                                                                                                                                                                                                                                                                                                                                                                                                	Version *string `json:"version,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                	// ID - Resource Id
                                                                                                                                                                                                                                                                                                                                                                                                	ID *string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                  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 ImageStorageProfile

                                                                                                                                                                                                                                                                                                                                                                                                  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/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
                                                                                                                                                                                                                                                                                                                                                                                                  	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/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
                                                                                                                                                                                                                                                                                                                                                                                                  	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"`
                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                    ImageStorageProfile describes a storage profile.

                                                                                                                                                                                                                                                                                                                                                                                                    type ImageUpdate

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

                                                                                                                                                                                                                                                                                                                                                                                                      ImageUpdate the source user image virtual hard disk. Only tags may be updated.

                                                                                                                                                                                                                                                                                                                                                                                                      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

                                                                                                                                                                                                                                                                                                                                                                                                          type ImagesClient struct {
                                                                                                                                                                                                                                                                                                                                                                                                          	BaseClient
                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                            ImagesClient is the compute Client

                                                                                                                                                                                                                                                                                                                                                                                                            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 OperationStatusResponse, 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

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type ImagesDeleteFuture

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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) (OperationStatusResponse, error)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      }

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type ImagesUpdateFuture

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type InnerError

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            InnerError inner error details.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type InstanceViewStatus

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type InstanceViewStatus struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Code - The status code.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	Code *string `json:"code,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	// Level - The level code. Possible values include: 'Info', 'Warning', 'Error'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	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"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              InstanceViewStatus instance view status.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type InstanceViewTypes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type InstanceViewTypes string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                InstanceViewTypes enumerates the values for instance view types.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	// InstanceView ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	InstanceView InstanceViewTypes = "instanceView"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func PossibleInstanceViewTypesValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                func PossibleInstanceViewTypesValues() []InstanceViewTypes

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  PossibleInstanceViewTypesValues returns an array of possible values for the InstanceViewTypes const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type IntervalInMins

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type IntervalInMins string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    IntervalInMins enumerates the values for interval in mins.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    const (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// FiveMins ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	FiveMins IntervalInMins = "FiveMins"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// SixtyMins ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	SixtyMins IntervalInMins = "SixtyMins"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ThirtyMins ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ThirtyMins IntervalInMins = "ThirtyMins"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	// ThreeMins ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	ThreeMins IntervalInMins = "ThreeMins"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    )

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func PossibleIntervalInMinsValues

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    func PossibleIntervalInMinsValues() []IntervalInMins

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      PossibleIntervalInMinsValues returns an array of possible values for the IntervalInMins const type.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      type KeyVaultAndKeyReference

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        KeyVaultAndKeyReference key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        type KeyVaultAndSecretReference

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          KeyVaultAndSecretReference key Vault Secret Url and vault id of the encryption key

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type KeyVaultKeyReference

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            KeyVaultKeyReference describes a reference to Key Vault Key

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            type KeyVaultSecretReference

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              KeyVaultSecretReference describes a reference to Key Vault Secret

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type LinuxConfiguration

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ListUsagesResult

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ListUsagesResult the List Usages operation response.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (ListUsagesResult) IsEmpty

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  func (lur ListUsagesResult) IsEmpty() bool

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    IsEmpty returns true if the ListResult contains no values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type ListUsagesResultIterator

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ListUsagesResultIterator provides access to a complete listing of Usage values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ListUsagesResultPage contains a page of Usage values.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type ListVirtualMachineExtensionImage struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	Value             *[]VirtualMachineExtensionImage `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  ListVirtualMachineExtensionImage ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ListVirtualMachineImageResource

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  type ListVirtualMachineImageResource struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	autorest.Response `json:"-"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	Value             *[]VirtualMachineImageResource `json:"value,omitempty"`
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ListVirtualMachineImageResource ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type LogAnalyticsClient

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type LogAnalyticsClient struct {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    	BaseClient
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      LogAnalyticsClient is the compute Client

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