avs

package
v58.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package avs implements the Azure ARM Avs service API version 2021-06-01.

Azure VMware Solution API

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Avs
	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 Addon

type Addon struct {
	autorest.Response `json:"-"`
	// Properties - The properties of an addon resource
	Properties BasicAddonProperties `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"`
}

Addon an addon resource

func (Addon) MarshalJSON

func (a Addon) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Addon.

func (*Addon) UnmarshalJSON

func (a *Addon) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Addon struct.

type AddonHcxProperties

type AddonHcxProperties struct {
	// Offer - The HCX offer, example VMware MaaS Cloud Provider (Enterprise)
	Offer *string `json:"offer,omitempty"`
	// ProvisioningState - READ-ONLY; The state of the addon provisioning. Possible values include: 'AddonProvisioningStateSucceeded', 'AddonProvisioningStateFailed', 'AddonProvisioningStateCancelled', 'AddonProvisioningStateBuilding', 'AddonProvisioningStateDeleting', 'AddonProvisioningStateUpdating'
	ProvisioningState AddonProvisioningState `json:"provisioningState,omitempty"`
	// AddonType - Possible values include: 'AddonTypeAddonProperties', 'AddonTypeSRM', 'AddonTypeVR', 'AddonTypeHCX'
	AddonType AddonType `json:"addonType,omitempty"`
}

AddonHcxProperties the properties of an HCX addon

func (AddonHcxProperties) AsAddonHcxProperties

func (ahp AddonHcxProperties) AsAddonHcxProperties() (*AddonHcxProperties, bool)

AsAddonHcxProperties is the BasicAddonProperties implementation for AddonHcxProperties.

func (AddonHcxProperties) AsAddonProperties

func (ahp AddonHcxProperties) AsAddonProperties() (*AddonProperties, bool)

AsAddonProperties is the BasicAddonProperties implementation for AddonHcxProperties.

func (AddonHcxProperties) AsAddonSrmProperties

func (ahp AddonHcxProperties) AsAddonSrmProperties() (*AddonSrmProperties, bool)

AsAddonSrmProperties is the BasicAddonProperties implementation for AddonHcxProperties.

func (AddonHcxProperties) AsAddonVrProperties

func (ahp AddonHcxProperties) AsAddonVrProperties() (*AddonVrProperties, bool)

AsAddonVrProperties is the BasicAddonProperties implementation for AddonHcxProperties.

func (AddonHcxProperties) AsBasicAddonProperties

func (ahp AddonHcxProperties) AsBasicAddonProperties() (BasicAddonProperties, bool)

AsBasicAddonProperties is the BasicAddonProperties implementation for AddonHcxProperties.

func (AddonHcxProperties) MarshalJSON

func (ahp AddonHcxProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddonHcxProperties.

type AddonList

type AddonList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on a page
	Value *[]Addon `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

AddonList a paged list of addons

func (AddonList) IsEmpty

func (al AddonList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (AddonList) MarshalJSON

func (al AddonList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddonList.

type AddonListIterator

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

AddonListIterator provides access to a complete listing of Addon values.

func NewAddonListIterator

func NewAddonListIterator(page AddonListPage) AddonListIterator

Creates a new instance of the AddonListIterator type.

func (*AddonListIterator) Next

func (iter *AddonListIterator) 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 (*AddonListIterator) NextWithContext

func (iter *AddonListIterator) 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 (AddonListIterator) NotDone

func (iter AddonListIterator) NotDone() bool

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

func (AddonListIterator) Response

func (iter AddonListIterator) Response() AddonList

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

func (AddonListIterator) Value

func (iter AddonListIterator) Value() Addon

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

type AddonListPage

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

AddonListPage contains a page of Addon values.

func NewAddonListPage

func NewAddonListPage(cur AddonList, getNextPage func(context.Context, AddonList) (AddonList, error)) AddonListPage

Creates a new instance of the AddonListPage type.

func (*AddonListPage) Next

func (page *AddonListPage) 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 (*AddonListPage) NextWithContext

func (page *AddonListPage) 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 (AddonListPage) NotDone

func (page AddonListPage) NotDone() bool

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

func (AddonListPage) Response

func (page AddonListPage) Response() AddonList

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

func (AddonListPage) Values

func (page AddonListPage) Values() []Addon

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

type AddonProperties

type AddonProperties struct {
	// ProvisioningState - READ-ONLY; The state of the addon provisioning. Possible values include: 'AddonProvisioningStateSucceeded', 'AddonProvisioningStateFailed', 'AddonProvisioningStateCancelled', 'AddonProvisioningStateBuilding', 'AddonProvisioningStateDeleting', 'AddonProvisioningStateUpdating'
	ProvisioningState AddonProvisioningState `json:"provisioningState,omitempty"`
	// AddonType - Possible values include: 'AddonTypeAddonProperties', 'AddonTypeSRM', 'AddonTypeVR', 'AddonTypeHCX'
	AddonType AddonType `json:"addonType,omitempty"`
}

AddonProperties the properties of an addon

func (AddonProperties) AsAddonHcxProperties

func (ap AddonProperties) AsAddonHcxProperties() (*AddonHcxProperties, bool)

AsAddonHcxProperties is the BasicAddonProperties implementation for AddonProperties.

func (AddonProperties) AsAddonProperties

func (ap AddonProperties) AsAddonProperties() (*AddonProperties, bool)

AsAddonProperties is the BasicAddonProperties implementation for AddonProperties.

func (AddonProperties) AsAddonSrmProperties

func (ap AddonProperties) AsAddonSrmProperties() (*AddonSrmProperties, bool)

AsAddonSrmProperties is the BasicAddonProperties implementation for AddonProperties.

func (AddonProperties) AsAddonVrProperties

func (ap AddonProperties) AsAddonVrProperties() (*AddonVrProperties, bool)

AsAddonVrProperties is the BasicAddonProperties implementation for AddonProperties.

func (AddonProperties) AsBasicAddonProperties

func (ap AddonProperties) AsBasicAddonProperties() (BasicAddonProperties, bool)

AsBasicAddonProperties is the BasicAddonProperties implementation for AddonProperties.

func (AddonProperties) MarshalJSON

func (ap AddonProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddonProperties.

type AddonProvisioningState

type AddonProvisioningState string

AddonProvisioningState enumerates the values for addon provisioning state.

const (
	// AddonProvisioningStateBuilding ...
	AddonProvisioningStateBuilding AddonProvisioningState = "Building"
	// AddonProvisioningStateCancelled ...
	AddonProvisioningStateCancelled AddonProvisioningState = "Cancelled"
	// AddonProvisioningStateDeleting ...
	AddonProvisioningStateDeleting AddonProvisioningState = "Deleting"
	// AddonProvisioningStateFailed ...
	AddonProvisioningStateFailed AddonProvisioningState = "Failed"
	// AddonProvisioningStateSucceeded ...
	AddonProvisioningStateSucceeded AddonProvisioningState = "Succeeded"
	// AddonProvisioningStateUpdating ...
	AddonProvisioningStateUpdating AddonProvisioningState = "Updating"
)

func PossibleAddonProvisioningStateValues

func PossibleAddonProvisioningStateValues() []AddonProvisioningState

PossibleAddonProvisioningStateValues returns an array of possible values for the AddonProvisioningState const type.

type AddonSrmProperties

type AddonSrmProperties struct {
	// LicenseKey - The Site Recovery Manager (SRM) license
	LicenseKey *string `json:"licenseKey,omitempty"`
	// ProvisioningState - READ-ONLY; The state of the addon provisioning. Possible values include: 'AddonProvisioningStateSucceeded', 'AddonProvisioningStateFailed', 'AddonProvisioningStateCancelled', 'AddonProvisioningStateBuilding', 'AddonProvisioningStateDeleting', 'AddonProvisioningStateUpdating'
	ProvisioningState AddonProvisioningState `json:"provisioningState,omitempty"`
	// AddonType - Possible values include: 'AddonTypeAddonProperties', 'AddonTypeSRM', 'AddonTypeVR', 'AddonTypeHCX'
	AddonType AddonType `json:"addonType,omitempty"`
}

AddonSrmProperties the properties of a Site Recovery Manager (SRM) addon

func (AddonSrmProperties) AsAddonHcxProperties

func (asp AddonSrmProperties) AsAddonHcxProperties() (*AddonHcxProperties, bool)

AsAddonHcxProperties is the BasicAddonProperties implementation for AddonSrmProperties.

func (AddonSrmProperties) AsAddonProperties

func (asp AddonSrmProperties) AsAddonProperties() (*AddonProperties, bool)

AsAddonProperties is the BasicAddonProperties implementation for AddonSrmProperties.

func (AddonSrmProperties) AsAddonSrmProperties

func (asp AddonSrmProperties) AsAddonSrmProperties() (*AddonSrmProperties, bool)

AsAddonSrmProperties is the BasicAddonProperties implementation for AddonSrmProperties.

func (AddonSrmProperties) AsAddonVrProperties

func (asp AddonSrmProperties) AsAddonVrProperties() (*AddonVrProperties, bool)

AsAddonVrProperties is the BasicAddonProperties implementation for AddonSrmProperties.

func (AddonSrmProperties) AsBasicAddonProperties

func (asp AddonSrmProperties) AsBasicAddonProperties() (BasicAddonProperties, bool)

AsBasicAddonProperties is the BasicAddonProperties implementation for AddonSrmProperties.

func (AddonSrmProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for AddonSrmProperties.

type AddonType

type AddonType string

AddonType enumerates the values for addon type.

const (
	// AddonTypeAddonProperties ...
	AddonTypeAddonProperties AddonType = "AddonProperties"
	// AddonTypeHCX ...
	AddonTypeHCX AddonType = "HCX"
	// AddonTypeSRM ...
	AddonTypeSRM AddonType = "SRM"
	// AddonTypeVR ...
	AddonTypeVR AddonType = "VR"
)

func PossibleAddonTypeValues

func PossibleAddonTypeValues() []AddonType

PossibleAddonTypeValues returns an array of possible values for the AddonType const type.

type AddonVrProperties

type AddonVrProperties struct {
	// VrsCount - The vSphere Replication Server (VRS) count
	VrsCount *int32 `json:"vrsCount,omitempty"`
	// ProvisioningState - READ-ONLY; The state of the addon provisioning. Possible values include: 'AddonProvisioningStateSucceeded', 'AddonProvisioningStateFailed', 'AddonProvisioningStateCancelled', 'AddonProvisioningStateBuilding', 'AddonProvisioningStateDeleting', 'AddonProvisioningStateUpdating'
	ProvisioningState AddonProvisioningState `json:"provisioningState,omitempty"`
	// AddonType - Possible values include: 'AddonTypeAddonProperties', 'AddonTypeSRM', 'AddonTypeVR', 'AddonTypeHCX'
	AddonType AddonType `json:"addonType,omitempty"`
}

AddonVrProperties the properties of a vSphere Replication (VR) addon

func (AddonVrProperties) AsAddonHcxProperties

func (avp AddonVrProperties) AsAddonHcxProperties() (*AddonHcxProperties, bool)

AsAddonHcxProperties is the BasicAddonProperties implementation for AddonVrProperties.

func (AddonVrProperties) AsAddonProperties

func (avp AddonVrProperties) AsAddonProperties() (*AddonProperties, bool)

AsAddonProperties is the BasicAddonProperties implementation for AddonVrProperties.

func (AddonVrProperties) AsAddonSrmProperties

func (avp AddonVrProperties) AsAddonSrmProperties() (*AddonSrmProperties, bool)

AsAddonSrmProperties is the BasicAddonProperties implementation for AddonVrProperties.

func (AddonVrProperties) AsAddonVrProperties

func (avp AddonVrProperties) AsAddonVrProperties() (*AddonVrProperties, bool)

AsAddonVrProperties is the BasicAddonProperties implementation for AddonVrProperties.

func (AddonVrProperties) AsBasicAddonProperties

func (avp AddonVrProperties) AsBasicAddonProperties() (BasicAddonProperties, bool)

AsBasicAddonProperties is the BasicAddonProperties implementation for AddonVrProperties.

func (AddonVrProperties) MarshalJSON

func (avp AddonVrProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddonVrProperties.

type AddonsClient

type AddonsClient struct {
	BaseClient
}

AddonsClient is the azure VMware Solution API

func NewAddonsClient

func NewAddonsClient(subscriptionID string) AddonsClient

NewAddonsClient creates an instance of the AddonsClient client.

func NewAddonsClientWithBaseURI

func NewAddonsClientWithBaseURI(baseURI string, subscriptionID string) AddonsClient

NewAddonsClientWithBaseURI creates an instance of the AddonsClient 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 (AddonsClient) CreateOrUpdate

func (client AddonsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, addonName string, addon Addon) (result AddonsCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - the name of the private cloud. addonName - name of the addon for the private cloud addon - a addon in the private cloud

func (AddonsClient) CreateOrUpdatePreparer

func (client AddonsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, addonName string, addon Addon) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AddonsClient) CreateOrUpdateResponder

func (client AddonsClient) CreateOrUpdateResponder(resp *http.Response) (result Addon, err error)

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

func (AddonsClient) CreateOrUpdateSender

func (client AddonsClient) CreateOrUpdateSender(req *http.Request) (future AddonsCreateOrUpdateFuture, err error)

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

func (AddonsClient) Delete

func (client AddonsClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, addonName string) (result AddonsDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud addonName - name of the addon for the private cloud

func (AddonsClient) DeletePreparer

func (client AddonsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, addonName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AddonsClient) DeleteResponder

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

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

func (AddonsClient) DeleteSender

func (client AddonsClient) DeleteSender(req *http.Request) (future AddonsDeleteFuture, err error)

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

func (AddonsClient) Get

func (client AddonsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, addonName string) (result Addon, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud addonName - name of the addon for the private cloud

func (AddonsClient) GetPreparer

func (client AddonsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, addonName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AddonsClient) GetResponder

func (client AddonsClient) GetResponder(resp *http.Response) (result Addon, err error)

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

func (AddonsClient) GetSender

func (client AddonsClient) 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 (AddonsClient) List

func (client AddonsClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result AddonListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (AddonsClient) ListComplete

func (client AddonsClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result AddonListIterator, err error)

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

func (AddonsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AddonsClient) ListResponder

func (client AddonsClient) ListResponder(resp *http.Response) (result AddonList, err error)

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

func (AddonsClient) ListSender

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

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

type AddonsCreateOrUpdateFuture

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

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

func (*AddonsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AddonsDeleteFuture

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

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

func (*AddonsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AdminCredentials

type AdminCredentials struct {
	autorest.Response `json:"-"`
	// NsxtUsername - READ-ONLY; NSX-T Manager username
	NsxtUsername *string `json:"nsxtUsername,omitempty"`
	// NsxtPassword - READ-ONLY; NSX-T Manager password
	NsxtPassword *string `json:"nsxtPassword,omitempty"`
	// VcenterUsername - READ-ONLY; vCenter admin username
	VcenterUsername *string `json:"vcenterUsername,omitempty"`
	// VcenterPassword - READ-ONLY; vCenter admin password
	VcenterPassword *string `json:"vcenterPassword,omitempty"`
}

AdminCredentials administrative credentials for accessing vCenter and NSX-T

func (AdminCredentials) MarshalJSON

func (ac AdminCredentials) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AdminCredentials.

type AuthorizationsClient

type AuthorizationsClient struct {
	BaseClient
}

AuthorizationsClient is the azure VMware Solution API

func NewAuthorizationsClient

func NewAuthorizationsClient(subscriptionID string) AuthorizationsClient

NewAuthorizationsClient creates an instance of the AuthorizationsClient client.

func NewAuthorizationsClientWithBaseURI

func NewAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationsClient

NewAuthorizationsClientWithBaseURI creates an instance of the AuthorizationsClient 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 (AuthorizationsClient) CreateOrUpdate

func (client AuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string, authorization ExpressRouteAuthorization) (result AuthorizationsCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - the name of the private cloud. authorizationName - name of the ExpressRoute Circuit Authorization in the private cloud authorization - an ExpressRoute Circuit Authorization

func (AuthorizationsClient) CreateOrUpdatePreparer

func (client AuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string, authorization ExpressRouteAuthorization) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AuthorizationsClient) CreateOrUpdateResponder

func (client AuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteAuthorization, err error)

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

func (AuthorizationsClient) CreateOrUpdateSender

func (client AuthorizationsClient) CreateOrUpdateSender(req *http.Request) (future AuthorizationsCreateOrUpdateFuture, err error)

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

func (AuthorizationsClient) Delete

func (client AuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string) (result AuthorizationsDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud authorizationName - name of the ExpressRoute Circuit Authorization in the private cloud

func (AuthorizationsClient) DeletePreparer

func (client AuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AuthorizationsClient) DeleteResponder

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

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

func (AuthorizationsClient) DeleteSender

func (client AuthorizationsClient) DeleteSender(req *http.Request) (future AuthorizationsDeleteFuture, err error)

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

func (AuthorizationsClient) Get

func (client AuthorizationsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string) (result ExpressRouteAuthorization, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud authorizationName - name of the ExpressRoute Circuit Authorization in the private cloud

func (AuthorizationsClient) GetPreparer

func (client AuthorizationsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, authorizationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AuthorizationsClient) GetResponder

func (client AuthorizationsClient) GetResponder(resp *http.Response) (result ExpressRouteAuthorization, err error)

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

func (AuthorizationsClient) GetSender

func (client AuthorizationsClient) 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 (AuthorizationsClient) List

func (client AuthorizationsClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result ExpressRouteAuthorizationListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (AuthorizationsClient) ListComplete

func (client AuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result ExpressRouteAuthorizationListIterator, err error)

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

func (AuthorizationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (AuthorizationsClient) ListResponder

func (client AuthorizationsClient) ListResponder(resp *http.Response) (result ExpressRouteAuthorizationList, err error)

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

func (AuthorizationsClient) ListSender

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

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

type AuthorizationsCreateOrUpdateFuture

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

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

func (*AuthorizationsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AuthorizationsDeleteFuture

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

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

func (*AuthorizationsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type BaseClient

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

BaseClient is the base client for Avs.

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 BasicAddonProperties

type BasicAddonProperties interface {
	AsAddonSrmProperties() (*AddonSrmProperties, bool)
	AsAddonVrProperties() (*AddonVrProperties, bool)
	AsAddonHcxProperties() (*AddonHcxProperties, bool)
	AsAddonProperties() (*AddonProperties, bool)
}

BasicAddonProperties the properties of an addon

type BasicScriptExecutionParameter

type BasicScriptExecutionParameter interface {
	AsScriptSecureStringExecutionParameter() (*ScriptSecureStringExecutionParameter, bool)
	AsScriptStringExecutionParameter() (*ScriptStringExecutionParameter, bool)
	AsPSCredentialExecutionParameter() (*PSCredentialExecutionParameter, bool)
	AsScriptExecutionParameter() (*ScriptExecutionParameter, bool)
}

BasicScriptExecutionParameter the arguments passed in to the execution

type BasicWorkloadNetworkDhcpEntity

type BasicWorkloadNetworkDhcpEntity interface {
	AsWorkloadNetworkDhcpServer() (*WorkloadNetworkDhcpServer, bool)
	AsWorkloadNetworkDhcpRelay() (*WorkloadNetworkDhcpRelay, bool)
	AsWorkloadNetworkDhcpEntity() (*WorkloadNetworkDhcpEntity, bool)
}

BasicWorkloadNetworkDhcpEntity base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from

type Circuit

type Circuit struct {
	// PrimarySubnet - READ-ONLY; CIDR of primary subnet
	PrimarySubnet *string `json:"primarySubnet,omitempty"`
	// SecondarySubnet - READ-ONLY; CIDR of secondary subnet
	SecondarySubnet *string `json:"secondarySubnet,omitempty"`
	// ExpressRouteID - READ-ONLY; Identifier of the ExpressRoute Circuit (Microsoft Colo only)
	ExpressRouteID *string `json:"expressRouteID,omitempty"`
	// ExpressRoutePrivatePeeringID - READ-ONLY; ExpressRoute Circuit private peering identifier
	ExpressRoutePrivatePeeringID *string `json:"expressRoutePrivatePeeringID,omitempty"`
}

Circuit an ExpressRoute Circuit

func (Circuit) MarshalJSON

func (c Circuit) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Circuit.

type CloudError

type CloudError struct {
	// Error - An error returned by the API
	Error *ErrorResponse `json:"error,omitempty"`
}

CloudError API error response

type CloudLink struct {
	autorest.Response `json:"-"`
	// CloudLinkProperties - The properties of a cloud link.
	*CloudLinkProperties `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"`
}

CloudLink a cloud link resource

func (CloudLink) MarshalJSON

func (cl CloudLink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudLink.

func (*CloudLink) UnmarshalJSON

func (cl *CloudLink) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CloudLink struct.

type CloudLinkList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on a page
	Value *[]CloudLink `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

CloudLinkList a paged list of cloud links

func (CloudLinkList) IsEmpty

func (cll CloudLinkList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (CloudLinkList) MarshalJSON

func (cll CloudLinkList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudLinkList.

type CloudLinkListIterator

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

CloudLinkListIterator provides access to a complete listing of CloudLink values.

func NewCloudLinkListIterator

func NewCloudLinkListIterator(page CloudLinkListPage) CloudLinkListIterator

Creates a new instance of the CloudLinkListIterator type.

func (*CloudLinkListIterator) Next

func (iter *CloudLinkListIterator) 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 (*CloudLinkListIterator) NextWithContext

func (iter *CloudLinkListIterator) 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 (CloudLinkListIterator) NotDone

func (iter CloudLinkListIterator) NotDone() bool

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

func (CloudLinkListIterator) Response

func (iter CloudLinkListIterator) Response() CloudLinkList

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

func (CloudLinkListIterator) Value

func (iter CloudLinkListIterator) Value() CloudLink

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

type CloudLinkListPage

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

CloudLinkListPage contains a page of CloudLink values.

func NewCloudLinkListPage

func NewCloudLinkListPage(cur CloudLinkList, getNextPage func(context.Context, CloudLinkList) (CloudLinkList, error)) CloudLinkListPage

Creates a new instance of the CloudLinkListPage type.

func (*CloudLinkListPage) Next

func (page *CloudLinkListPage) 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 (*CloudLinkListPage) NextWithContext

func (page *CloudLinkListPage) 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 (CloudLinkListPage) NotDone

func (page CloudLinkListPage) NotDone() bool

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

func (CloudLinkListPage) Response

func (page CloudLinkListPage) Response() CloudLinkList

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

func (CloudLinkListPage) Values

func (page CloudLinkListPage) Values() []CloudLink

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

type CloudLinkProperties

type CloudLinkProperties struct {
	// Status - READ-ONLY; The state of the cloud link. Possible values include: 'CloudLinkStatusActive', 'CloudLinkStatusBuilding', 'CloudLinkStatusDeleting', 'CloudLinkStatusFailed', 'CloudLinkStatusDisconnected'
	Status CloudLinkStatus `json:"status,omitempty"`
	// LinkedCloud - Identifier of the other private cloud participating in the link.
	LinkedCloud *string `json:"linkedCloud,omitempty"`
}

CloudLinkProperties the properties of a cloud link.

func (CloudLinkProperties) MarshalJSON

func (clp CloudLinkProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CloudLinkProperties.

type CloudLinkStatus

type CloudLinkStatus string

CloudLinkStatus enumerates the values for cloud link status.

const (
	// CloudLinkStatusActive ...
	CloudLinkStatusActive CloudLinkStatus = "Active"
	// CloudLinkStatusBuilding ...
	CloudLinkStatusBuilding CloudLinkStatus = "Building"
	// CloudLinkStatusDeleting ...
	CloudLinkStatusDeleting CloudLinkStatus = "Deleting"
	// CloudLinkStatusDisconnected ...
	CloudLinkStatusDisconnected CloudLinkStatus = "Disconnected"
	// CloudLinkStatusFailed ...
	CloudLinkStatusFailed CloudLinkStatus = "Failed"
)

func PossibleCloudLinkStatusValues

func PossibleCloudLinkStatusValues() []CloudLinkStatus

PossibleCloudLinkStatusValues returns an array of possible values for the CloudLinkStatus const type.

type CloudLinksClient

type CloudLinksClient struct {
	BaseClient
}

CloudLinksClient is the azure VMware Solution API

func NewCloudLinksClient

func NewCloudLinksClient(subscriptionID string) CloudLinksClient

NewCloudLinksClient creates an instance of the CloudLinksClient client.

func NewCloudLinksClientWithBaseURI

func NewCloudLinksClientWithBaseURI(baseURI string, subscriptionID string) CloudLinksClient

NewCloudLinksClientWithBaseURI creates an instance of the CloudLinksClient 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 (CloudLinksClient) CreateOrUpdate

func (client CloudLinksClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, cloudLinkName string, cloudLink CloudLink) (result CloudLinksCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - the name of the private cloud. cloudLinkName - name of the cloud link resource cloudLink - a cloud link in the private cloud

func (CloudLinksClient) CreateOrUpdatePreparer

func (client CloudLinksClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, cloudLinkName string, cloudLink CloudLink) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (CloudLinksClient) CreateOrUpdateResponder

func (client CloudLinksClient) CreateOrUpdateResponder(resp *http.Response) (result CloudLink, err error)

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

func (CloudLinksClient) CreateOrUpdateSender

func (client CloudLinksClient) CreateOrUpdateSender(req *http.Request) (future CloudLinksCreateOrUpdateFuture, err error)

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

func (CloudLinksClient) Delete

func (client CloudLinksClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, cloudLinkName string) (result CloudLinksDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud cloudLinkName - name of the cloud link resource

func (CloudLinksClient) DeletePreparer

func (client CloudLinksClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, cloudLinkName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CloudLinksClient) DeleteResponder

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

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

func (CloudLinksClient) DeleteSender

func (client CloudLinksClient) DeleteSender(req *http.Request) (future CloudLinksDeleteFuture, err error)

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

func (CloudLinksClient) Get

func (client CloudLinksClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, cloudLinkName string) (result CloudLink, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud cloudLinkName - name of the cloud link resource

func (CloudLinksClient) GetPreparer

func (client CloudLinksClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, cloudLinkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CloudLinksClient) GetResponder

func (client CloudLinksClient) GetResponder(resp *http.Response) (result CloudLink, err error)

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

func (CloudLinksClient) GetSender

func (client CloudLinksClient) 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 (CloudLinksClient) List

func (client CloudLinksClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result CloudLinkListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (CloudLinksClient) ListComplete

func (client CloudLinksClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result CloudLinkListIterator, err error)

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

func (CloudLinksClient) ListPreparer

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

ListPreparer prepares the List request.

func (CloudLinksClient) ListResponder

func (client CloudLinksClient) ListResponder(resp *http.Response) (result CloudLinkList, err error)

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

func (CloudLinksClient) ListSender

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

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

type CloudLinksCreateOrUpdateFuture

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

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

func (*CloudLinksCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CloudLinksDeleteFuture

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

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

func (*CloudLinksDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Cluster

type Cluster struct {
	autorest.Response `json:"-"`
	// Sku - The cluster SKU
	Sku *Sku `json:"sku,omitempty"`
	// ClusterProperties - The properties of a cluster resource
	*ClusterProperties `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"`
}

Cluster a cluster resource

func (Cluster) MarshalJSON

func (c Cluster) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Cluster.

func (*Cluster) UnmarshalJSON

func (c *Cluster) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Cluster struct.

type ClusterList

type ClusterList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on a page
	Value *[]Cluster `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

ClusterList a paged list of clusters

func (ClusterList) IsEmpty

func (cl ClusterList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ClusterList) MarshalJSON

func (cl ClusterList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterList.

type ClusterListIterator

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

ClusterListIterator provides access to a complete listing of Cluster values.

func NewClusterListIterator

func NewClusterListIterator(page ClusterListPage) ClusterListIterator

Creates a new instance of the ClusterListIterator type.

func (*ClusterListIterator) Next

func (iter *ClusterListIterator) 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 (*ClusterListIterator) NextWithContext

func (iter *ClusterListIterator) 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 (ClusterListIterator) NotDone

func (iter ClusterListIterator) NotDone() bool

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

func (ClusterListIterator) Response

func (iter ClusterListIterator) Response() ClusterList

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

func (ClusterListIterator) Value

func (iter ClusterListIterator) Value() Cluster

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

type ClusterListPage

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

ClusterListPage contains a page of Cluster values.

func NewClusterListPage

func NewClusterListPage(cur ClusterList, getNextPage func(context.Context, ClusterList) (ClusterList, error)) ClusterListPage

Creates a new instance of the ClusterListPage type.

func (*ClusterListPage) Next

func (page *ClusterListPage) 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 (*ClusterListPage) NextWithContext

func (page *ClusterListPage) 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 (ClusterListPage) NotDone

func (page ClusterListPage) NotDone() bool

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

func (ClusterListPage) Response

func (page ClusterListPage) Response() ClusterList

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

func (ClusterListPage) Values

func (page ClusterListPage) Values() []Cluster

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

type ClusterProperties

type ClusterProperties struct {
	// ClusterSize - The cluster size
	ClusterSize *int32 `json:"clusterSize,omitempty"`
	// ProvisioningState - The state of the cluster provisioning. Possible values include: 'ClusterProvisioningStateSucceeded', 'ClusterProvisioningStateFailed', 'ClusterProvisioningStateCancelled', 'ClusterProvisioningStateDeleting', 'ClusterProvisioningStateUpdating'
	ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"`
	// ClusterID - READ-ONLY; The identity
	ClusterID *int32 `json:"clusterId,omitempty"`
	// Hosts - READ-ONLY; The hosts
	Hosts *[]string `json:"hosts,omitempty"`
}

ClusterProperties the properties of a cluster

func (ClusterProperties) MarshalJSON

func (cp ClusterProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterProperties.

type ClusterProvisioningState

type ClusterProvisioningState string

ClusterProvisioningState enumerates the values for cluster provisioning state.

const (
	// ClusterProvisioningStateCancelled ...
	ClusterProvisioningStateCancelled ClusterProvisioningState = "Cancelled"
	// ClusterProvisioningStateDeleting ...
	ClusterProvisioningStateDeleting ClusterProvisioningState = "Deleting"
	// ClusterProvisioningStateFailed ...
	ClusterProvisioningStateFailed ClusterProvisioningState = "Failed"
	// ClusterProvisioningStateSucceeded ...
	ClusterProvisioningStateSucceeded ClusterProvisioningState = "Succeeded"
	// ClusterProvisioningStateUpdating ...
	ClusterProvisioningStateUpdating ClusterProvisioningState = "Updating"
)

func PossibleClusterProvisioningStateValues

func PossibleClusterProvisioningStateValues() []ClusterProvisioningState

PossibleClusterProvisioningStateValues returns an array of possible values for the ClusterProvisioningState const type.

type ClusterUpdate

type ClusterUpdate struct {
	// ClusterUpdateProperties - The properties of a cluster resource that may be updated
	*ClusterUpdateProperties `json:"properties,omitempty"`
}

ClusterUpdate an update of a cluster resource

func (ClusterUpdate) MarshalJSON

func (cu ClusterUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ClusterUpdate.

func (*ClusterUpdate) UnmarshalJSON

func (cu *ClusterUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ClusterUpdate struct.

type ClusterUpdateProperties

type ClusterUpdateProperties struct {
	// ClusterSize - The cluster size
	ClusterSize *int32 `json:"clusterSize,omitempty"`
}

ClusterUpdateProperties the properties of a cluster that may be updated

type ClustersClient

type ClustersClient struct {
	BaseClient
}

ClustersClient is the azure VMware Solution API

func NewClustersClient

func NewClustersClient(subscriptionID string) ClustersClient

NewClustersClient creates an instance of the ClustersClient client.

func NewClustersClientWithBaseURI

func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient

NewClustersClientWithBaseURI creates an instance of the ClustersClient 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 (ClustersClient) CreateOrUpdate

func (client ClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, cluster Cluster) (result ClustersCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - the name of the private cloud. clusterName - name of the cluster in the private cloud cluster - a cluster in the private cloud

func (ClustersClient) CreateOrUpdatePreparer

func (client ClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, cluster Cluster) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ClustersClient) CreateOrUpdateResponder

func (client ClustersClient) CreateOrUpdateResponder(resp *http.Response) (result Cluster, err error)

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

func (ClustersClient) CreateOrUpdateSender

func (client ClustersClient) CreateOrUpdateSender(req *http.Request) (future ClustersCreateOrUpdateFuture, err error)

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

func (ClustersClient) Delete

func (client ClustersClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (result ClustersDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud

func (ClustersClient) DeletePreparer

func (client ClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ClustersClient) DeleteResponder

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

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

func (ClustersClient) DeleteSender

func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDeleteFuture, err error)

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

func (ClustersClient) Get

func (client ClustersClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (result Cluster, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud

func (ClustersClient) GetPreparer

func (client ClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ClustersClient) GetResponder

func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error)

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

func (ClustersClient) GetSender

func (client ClustersClient) 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 (ClustersClient) List

func (client ClustersClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result ClusterListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (ClustersClient) ListComplete

func (client ClustersClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result ClusterListIterator, err error)

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

func (ClustersClient) ListPreparer

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

ListPreparer prepares the List request.

func (ClustersClient) ListResponder

func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterList, err error)

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

func (ClustersClient) ListSender

func (client ClustersClient) 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 (ClustersClient) Update

func (client ClustersClient) Update(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, clusterUpdate ClusterUpdate) (result ClustersUpdateFuture, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud clusterUpdate - the cluster properties to be updated

func (ClustersClient) UpdatePreparer

func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, clusterUpdate ClusterUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ClustersClient) UpdateResponder

func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error)

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

func (ClustersClient) UpdateSender

func (client ClustersClient) UpdateSender(req *http.Request) (future ClustersUpdateFuture, err error)

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

type ClustersCreateOrUpdateFuture

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

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

func (*ClustersCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ClustersDeleteFuture

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

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

func (*ClustersDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ClustersUpdateFuture

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

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

func (*ClustersUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type CommonClusterProperties

type CommonClusterProperties struct {
	// ClusterSize - The cluster size
	ClusterSize *int32 `json:"clusterSize,omitempty"`
	// ProvisioningState - The state of the cluster provisioning. Possible values include: 'ClusterProvisioningStateSucceeded', 'ClusterProvisioningStateFailed', 'ClusterProvisioningStateCancelled', 'ClusterProvisioningStateDeleting', 'ClusterProvisioningStateUpdating'
	ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"`
	// ClusterID - READ-ONLY; The identity
	ClusterID *int32 `json:"clusterId,omitempty"`
	// Hosts - READ-ONLY; The hosts
	Hosts *[]string `json:"hosts,omitempty"`
}

CommonClusterProperties the common properties of a cluster

func (CommonClusterProperties) MarshalJSON

func (ccp CommonClusterProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CommonClusterProperties.

type DNSServiceLogLevelEnum

type DNSServiceLogLevelEnum string

DNSServiceLogLevelEnum enumerates the values for dns service log level enum.

const (
	// DNSServiceLogLevelEnumDEBUG ...
	DNSServiceLogLevelEnumDEBUG DNSServiceLogLevelEnum = "DEBUG"
	// DNSServiceLogLevelEnumERROR ...
	DNSServiceLogLevelEnumERROR DNSServiceLogLevelEnum = "ERROR"
	// DNSServiceLogLevelEnumFATAL ...
	DNSServiceLogLevelEnumFATAL DNSServiceLogLevelEnum = "FATAL"
	// DNSServiceLogLevelEnumINFO ...
	DNSServiceLogLevelEnumINFO DNSServiceLogLevelEnum = "INFO"
	// DNSServiceLogLevelEnumWARNING ...
	DNSServiceLogLevelEnumWARNING DNSServiceLogLevelEnum = "WARNING"
)

func PossibleDNSServiceLogLevelEnumValues

func PossibleDNSServiceLogLevelEnumValues() []DNSServiceLogLevelEnum

PossibleDNSServiceLogLevelEnumValues returns an array of possible values for the DNSServiceLogLevelEnum const type.

type DNSServiceStatusEnum

type DNSServiceStatusEnum string

DNSServiceStatusEnum enumerates the values for dns service status enum.

const (
	// DNSServiceStatusEnumFAILURE ...
	DNSServiceStatusEnumFAILURE DNSServiceStatusEnum = "FAILURE"
	// DNSServiceStatusEnumSUCCESS ...
	DNSServiceStatusEnumSUCCESS DNSServiceStatusEnum = "SUCCESS"
)

func PossibleDNSServiceStatusEnumValues

func PossibleDNSServiceStatusEnumValues() []DNSServiceStatusEnum

PossibleDNSServiceStatusEnumValues returns an array of possible values for the DNSServiceStatusEnum const type.

type Datastore

type Datastore struct {
	autorest.Response `json:"-"`
	// DatastoreProperties - The properties of a datastore resource
	*DatastoreProperties `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"`
}

Datastore a datastore resource

func (Datastore) MarshalJSON

func (d Datastore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Datastore.

func (*Datastore) UnmarshalJSON

func (d *Datastore) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Datastore struct.

type DatastoreList

type DatastoreList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on a page
	Value *[]Datastore `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

DatastoreList a paged list of datastores

func (DatastoreList) IsEmpty

func (dl DatastoreList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (DatastoreList) MarshalJSON

func (dl DatastoreList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatastoreList.

type DatastoreListIterator

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

DatastoreListIterator provides access to a complete listing of Datastore values.

func NewDatastoreListIterator

func NewDatastoreListIterator(page DatastoreListPage) DatastoreListIterator

Creates a new instance of the DatastoreListIterator type.

func (*DatastoreListIterator) Next

func (iter *DatastoreListIterator) 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 (*DatastoreListIterator) NextWithContext

func (iter *DatastoreListIterator) 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 (DatastoreListIterator) NotDone

func (iter DatastoreListIterator) NotDone() bool

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

func (DatastoreListIterator) Response

func (iter DatastoreListIterator) Response() DatastoreList

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

func (DatastoreListIterator) Value

func (iter DatastoreListIterator) Value() Datastore

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

type DatastoreListPage

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

DatastoreListPage contains a page of Datastore values.

func NewDatastoreListPage

func NewDatastoreListPage(cur DatastoreList, getNextPage func(context.Context, DatastoreList) (DatastoreList, error)) DatastoreListPage

Creates a new instance of the DatastoreListPage type.

func (*DatastoreListPage) Next

func (page *DatastoreListPage) 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 (*DatastoreListPage) NextWithContext

func (page *DatastoreListPage) 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 (DatastoreListPage) NotDone

func (page DatastoreListPage) NotDone() bool

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

func (DatastoreListPage) Response

func (page DatastoreListPage) Response() DatastoreList

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

func (DatastoreListPage) Values

func (page DatastoreListPage) Values() []Datastore

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

type DatastoreProperties

type DatastoreProperties struct {
	// ProvisioningState - READ-ONLY; The state of the datastore provisioning. Possible values include: 'DatastoreProvisioningStateSucceeded', 'DatastoreProvisioningStateFailed', 'DatastoreProvisioningStateCancelled', 'DatastoreProvisioningStatePending', 'DatastoreProvisioningStateCreating', 'DatastoreProvisioningStateUpdating', 'DatastoreProvisioningStateDeleting'
	ProvisioningState DatastoreProvisioningState `json:"provisioningState,omitempty"`
	// NetAppVolume - An Azure NetApp Files volume
	NetAppVolume *NetAppVolume `json:"netAppVolume,omitempty"`
	// DiskPoolVolume - An iSCSI volume
	DiskPoolVolume *DiskPoolVolume `json:"diskPoolVolume,omitempty"`
}

DatastoreProperties the properties of a datastore

func (DatastoreProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for DatastoreProperties.

type DatastoreProvisioningState

type DatastoreProvisioningState string

DatastoreProvisioningState enumerates the values for datastore provisioning state.

const (
	// DatastoreProvisioningStateCancelled ...
	DatastoreProvisioningStateCancelled DatastoreProvisioningState = "Cancelled"
	// DatastoreProvisioningStateCreating ...
	DatastoreProvisioningStateCreating DatastoreProvisioningState = "Creating"
	// DatastoreProvisioningStateDeleting ...
	DatastoreProvisioningStateDeleting DatastoreProvisioningState = "Deleting"
	// DatastoreProvisioningStateFailed ...
	DatastoreProvisioningStateFailed DatastoreProvisioningState = "Failed"
	// DatastoreProvisioningStatePending ...
	DatastoreProvisioningStatePending DatastoreProvisioningState = "Pending"
	// DatastoreProvisioningStateSucceeded ...
	DatastoreProvisioningStateSucceeded DatastoreProvisioningState = "Succeeded"
	// DatastoreProvisioningStateUpdating ...
	DatastoreProvisioningStateUpdating DatastoreProvisioningState = "Updating"
)

func PossibleDatastoreProvisioningStateValues

func PossibleDatastoreProvisioningStateValues() []DatastoreProvisioningState

PossibleDatastoreProvisioningStateValues returns an array of possible values for the DatastoreProvisioningState const type.

type DatastoresClient

type DatastoresClient struct {
	BaseClient
}

DatastoresClient is the azure VMware Solution API

func NewDatastoresClient

func NewDatastoresClient(subscriptionID string) DatastoresClient

NewDatastoresClient creates an instance of the DatastoresClient client.

func NewDatastoresClientWithBaseURI

func NewDatastoresClientWithBaseURI(baseURI string, subscriptionID string) DatastoresClient

NewDatastoresClientWithBaseURI creates an instance of the DatastoresClient 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 (DatastoresClient) CreateOrUpdate

func (client DatastoresClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, datastoreName string, datastore Datastore) (result DatastoresCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud datastoreName - name of the datastore in the private cloud cluster datastore - a datastore in a private cloud cluster

func (DatastoresClient) CreateOrUpdatePreparer

func (client DatastoresClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, datastoreName string, datastore Datastore) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DatastoresClient) CreateOrUpdateResponder

func (client DatastoresClient) CreateOrUpdateResponder(resp *http.Response) (result Datastore, err error)

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

func (DatastoresClient) CreateOrUpdateSender

func (client DatastoresClient) CreateOrUpdateSender(req *http.Request) (future DatastoresCreateOrUpdateFuture, err error)

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

func (DatastoresClient) Delete

func (client DatastoresClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, datastoreName string) (result DatastoresDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud datastoreName - name of the datastore in the private cloud cluster

func (DatastoresClient) DeletePreparer

func (client DatastoresClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, datastoreName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DatastoresClient) DeleteResponder

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

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

func (DatastoresClient) DeleteSender

func (client DatastoresClient) DeleteSender(req *http.Request) (future DatastoresDeleteFuture, err error)

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

func (DatastoresClient) Get

func (client DatastoresClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, datastoreName string) (result Datastore, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud datastoreName - name of the datastore in the private cloud cluster

func (DatastoresClient) GetPreparer

func (client DatastoresClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string, datastoreName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DatastoresClient) GetResponder

func (client DatastoresClient) GetResponder(resp *http.Response) (result Datastore, err error)

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

func (DatastoresClient) GetSender

func (client DatastoresClient) 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 (DatastoresClient) List

func (client DatastoresClient) List(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (result DatastoreListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud

func (DatastoresClient) ListComplete

func (client DatastoresClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string, clusterName string) (result DatastoreListIterator, err error)

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

func (DatastoresClient) ListPreparer

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

ListPreparer prepares the List request.

func (DatastoresClient) ListResponder

func (client DatastoresClient) ListResponder(resp *http.Response) (result DatastoreList, err error)

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

func (DatastoresClient) ListSender

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

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

type DatastoresCreateOrUpdateFuture

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

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

func (*DatastoresCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DatastoresDeleteFuture

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

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

func (*DatastoresDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DhcpType

type DhcpType string

DhcpType enumerates the values for dhcp type.

const (
	// DhcpTypeRELAY ...
	DhcpTypeRELAY DhcpType = "RELAY"
	// DhcpTypeSERVER ...
	DhcpTypeSERVER DhcpType = "SERVER"
	// DhcpTypeWorkloadNetworkDhcpEntity ...
	DhcpTypeWorkloadNetworkDhcpEntity DhcpType = "WorkloadNetworkDhcpEntity"
)

func PossibleDhcpTypeValues

func PossibleDhcpTypeValues() []DhcpType

PossibleDhcpTypeValues returns an array of possible values for the DhcpType const type.

type DiskPoolVolume

type DiskPoolVolume struct {
	// TargetID - Azure resource ID of the iSCSI target
	TargetID *string `json:"targetId,omitempty"`
	// LunName - Name of the LUN to be used for datastore
	LunName *string `json:"lunName,omitempty"`
	// MountOption - Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN. Possible values include: 'MountOptionEnumMOUNT', 'MountOptionEnumATTACH'
	MountOption MountOptionEnum `json:"mountOption,omitempty"`
	// Path - READ-ONLY; Device path
	Path *string `json:"path,omitempty"`
}

DiskPoolVolume an iSCSI volume from Microsoft.StoragePool provider

func (DiskPoolVolume) MarshalJSON

func (dpv DiskPoolVolume) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DiskPoolVolume.

type Endpoints

type Endpoints struct {
	// NsxtManager - READ-ONLY; Endpoint for the NSX-T Data Center manager
	NsxtManager *string `json:"nsxtManager,omitempty"`
	// Vcsa - READ-ONLY; Endpoint for Virtual Center Server Appliance
	Vcsa *string `json:"vcsa,omitempty"`
	// HcxCloudManager - READ-ONLY; Endpoint for the HCX Cloud Manager
	HcxCloudManager *string `json:"hcxCloudManager,omitempty"`
}

Endpoints endpoint addresses

func (Endpoints) MarshalJSON

func (e Endpoints) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Endpoints.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorResponse

type ErrorResponse struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]ErrorResponse `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

func (ErrorResponse) MarshalJSON

func (er ErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponse.

type ExpressRouteAuthorization

type ExpressRouteAuthorization struct {
	autorest.Response `json:"-"`
	// ExpressRouteAuthorizationProperties - READ-ONLY; The properties of an ExpressRoute Circuit Authorization resource
	*ExpressRouteAuthorizationProperties `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"`
}

ExpressRouteAuthorization expressRoute Circuit Authorization

func (ExpressRouteAuthorization) MarshalJSON

func (era ExpressRouteAuthorization) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteAuthorization.

func (*ExpressRouteAuthorization) UnmarshalJSON

func (era *ExpressRouteAuthorization) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExpressRouteAuthorization struct.

type ExpressRouteAuthorizationList

type ExpressRouteAuthorizationList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on a page
	Value *[]ExpressRouteAuthorization `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

ExpressRouteAuthorizationList a paged list of ExpressRoute Circuit Authorizations

func (ExpressRouteAuthorizationList) IsEmpty

func (eral ExpressRouteAuthorizationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ExpressRouteAuthorizationList) MarshalJSON

func (eral ExpressRouteAuthorizationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteAuthorizationList.

type ExpressRouteAuthorizationListIterator

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

ExpressRouteAuthorizationListIterator provides access to a complete listing of ExpressRouteAuthorization values.

func NewExpressRouteAuthorizationListIterator

func NewExpressRouteAuthorizationListIterator(page ExpressRouteAuthorizationListPage) ExpressRouteAuthorizationListIterator

Creates a new instance of the ExpressRouteAuthorizationListIterator type.

func (*ExpressRouteAuthorizationListIterator) 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 (*ExpressRouteAuthorizationListIterator) NextWithContext

func (iter *ExpressRouteAuthorizationListIterator) 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 (ExpressRouteAuthorizationListIterator) NotDone

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

func (ExpressRouteAuthorizationListIterator) Response

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

func (ExpressRouteAuthorizationListIterator) Value

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

type ExpressRouteAuthorizationListPage

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

ExpressRouteAuthorizationListPage contains a page of ExpressRouteAuthorization values.

func NewExpressRouteAuthorizationListPage

Creates a new instance of the ExpressRouteAuthorizationListPage type.

func (*ExpressRouteAuthorizationListPage) Next

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 (*ExpressRouteAuthorizationListPage) NextWithContext

func (page *ExpressRouteAuthorizationListPage) 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 (ExpressRouteAuthorizationListPage) NotDone

func (page ExpressRouteAuthorizationListPage) NotDone() bool

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

func (ExpressRouteAuthorizationListPage) Response

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

func (ExpressRouteAuthorizationListPage) Values

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

type ExpressRouteAuthorizationProperties

type ExpressRouteAuthorizationProperties struct {
	// ProvisioningState - READ-ONLY; The state of the  ExpressRoute Circuit Authorization provisioning. Possible values include: 'ExpressRouteAuthorizationProvisioningStateSucceeded', 'ExpressRouteAuthorizationProvisioningStateFailed', 'ExpressRouteAuthorizationProvisioningStateUpdating'
	ProvisioningState ExpressRouteAuthorizationProvisioningState `json:"provisioningState,omitempty"`
	// ExpressRouteAuthorizationID - READ-ONLY; The ID of the ExpressRoute Circuit Authorization
	ExpressRouteAuthorizationID *string `json:"expressRouteAuthorizationId,omitempty"`
	// ExpressRouteAuthorizationKey - READ-ONLY; The key of the ExpressRoute Circuit Authorization
	ExpressRouteAuthorizationKey *string `json:"expressRouteAuthorizationKey,omitempty"`
}

ExpressRouteAuthorizationProperties the properties of an ExpressRoute Circuit Authorization resource

func (ExpressRouteAuthorizationProperties) MarshalJSON

func (erap ExpressRouteAuthorizationProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExpressRouteAuthorizationProperties.

type ExpressRouteAuthorizationProvisioningState

type ExpressRouteAuthorizationProvisioningState string

ExpressRouteAuthorizationProvisioningState enumerates the values for express route authorization provisioning state.

const (
	// ExpressRouteAuthorizationProvisioningStateFailed ...
	ExpressRouteAuthorizationProvisioningStateFailed ExpressRouteAuthorizationProvisioningState = "Failed"
	// ExpressRouteAuthorizationProvisioningStateSucceeded ...
	ExpressRouteAuthorizationProvisioningStateSucceeded ExpressRouteAuthorizationProvisioningState = "Succeeded"
	// ExpressRouteAuthorizationProvisioningStateUpdating ...
	ExpressRouteAuthorizationProvisioningStateUpdating ExpressRouteAuthorizationProvisioningState = "Updating"
)

func PossibleExpressRouteAuthorizationProvisioningStateValues

func PossibleExpressRouteAuthorizationProvisioningStateValues() []ExpressRouteAuthorizationProvisioningState

PossibleExpressRouteAuthorizationProvisioningStateValues returns an array of possible values for the ExpressRouteAuthorizationProvisioningState const type.

type GlobalReachConnection

type GlobalReachConnection struct {
	autorest.Response `json:"-"`
	// GlobalReachConnectionProperties - The properties of a global reach connection resource
	*GlobalReachConnectionProperties `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"`
}

GlobalReachConnection a global reach connection resource

func (GlobalReachConnection) MarshalJSON

func (grc GlobalReachConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GlobalReachConnection.

func (*GlobalReachConnection) UnmarshalJSON

func (grc *GlobalReachConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GlobalReachConnection struct.

type GlobalReachConnectionList

type GlobalReachConnectionList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on a page
	Value *[]GlobalReachConnection `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

GlobalReachConnectionList a paged list of global reach connections

func (GlobalReachConnectionList) IsEmpty

func (grcl GlobalReachConnectionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (GlobalReachConnectionList) MarshalJSON

func (grcl GlobalReachConnectionList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GlobalReachConnectionList.

type GlobalReachConnectionListIterator

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

GlobalReachConnectionListIterator provides access to a complete listing of GlobalReachConnection values.

func NewGlobalReachConnectionListIterator

func NewGlobalReachConnectionListIterator(page GlobalReachConnectionListPage) GlobalReachConnectionListIterator

Creates a new instance of the GlobalReachConnectionListIterator type.

func (*GlobalReachConnectionListIterator) 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 (*GlobalReachConnectionListIterator) NextWithContext

func (iter *GlobalReachConnectionListIterator) 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 (GlobalReachConnectionListIterator) NotDone

func (iter GlobalReachConnectionListIterator) NotDone() bool

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

func (GlobalReachConnectionListIterator) Response

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

func (GlobalReachConnectionListIterator) Value

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

type GlobalReachConnectionListPage

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

GlobalReachConnectionListPage contains a page of GlobalReachConnection values.

func NewGlobalReachConnectionListPage

Creates a new instance of the GlobalReachConnectionListPage type.

func (*GlobalReachConnectionListPage) Next

func (page *GlobalReachConnectionListPage) 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 (*GlobalReachConnectionListPage) NextWithContext

func (page *GlobalReachConnectionListPage) 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 (GlobalReachConnectionListPage) NotDone

func (page GlobalReachConnectionListPage) NotDone() bool

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

func (GlobalReachConnectionListPage) Response

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

func (GlobalReachConnectionListPage) Values

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

type GlobalReachConnectionProperties

type GlobalReachConnectionProperties struct {
	// ProvisioningState - READ-ONLY; The state of the  ExpressRoute Circuit Authorization provisioning. Possible values include: 'GlobalReachConnectionProvisioningStateSucceeded', 'GlobalReachConnectionProvisioningStateFailed', 'GlobalReachConnectionProvisioningStateUpdating'
	ProvisioningState GlobalReachConnectionProvisioningState `json:"provisioningState,omitempty"`
	// AddressPrefix - READ-ONLY; The network used for global reach carved out from the original network block provided for the private cloud
	AddressPrefix *string `json:"addressPrefix,omitempty"`
	// AuthorizationKey - Authorization key from the peer express route used for the global reach connection
	AuthorizationKey *string `json:"authorizationKey,omitempty"`
	// CircuitConnectionStatus - READ-ONLY; The connection status of the global reach connection. Possible values include: 'GlobalReachConnectionStatusConnected', 'GlobalReachConnectionStatusConnecting', 'GlobalReachConnectionStatusDisconnected'
	CircuitConnectionStatus GlobalReachConnectionStatus `json:"circuitConnectionStatus,omitempty"`
	// PeerExpressRouteCircuit - Identifier of the ExpressRoute Circuit to peer with in the global reach connection
	PeerExpressRouteCircuit *string `json:"peerExpressRouteCircuit,omitempty"`
}

GlobalReachConnectionProperties the properties of a global reach connection

func (GlobalReachConnectionProperties) MarshalJSON

func (grcp GlobalReachConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GlobalReachConnectionProperties.

type GlobalReachConnectionProvisioningState

type GlobalReachConnectionProvisioningState string

GlobalReachConnectionProvisioningState enumerates the values for global reach connection provisioning state.

const (
	// GlobalReachConnectionProvisioningStateFailed ...
	GlobalReachConnectionProvisioningStateFailed GlobalReachConnectionProvisioningState = "Failed"
	// GlobalReachConnectionProvisioningStateSucceeded ...
	GlobalReachConnectionProvisioningStateSucceeded GlobalReachConnectionProvisioningState = "Succeeded"
	// GlobalReachConnectionProvisioningStateUpdating ...
	GlobalReachConnectionProvisioningStateUpdating GlobalReachConnectionProvisioningState = "Updating"
)

func PossibleGlobalReachConnectionProvisioningStateValues

func PossibleGlobalReachConnectionProvisioningStateValues() []GlobalReachConnectionProvisioningState

PossibleGlobalReachConnectionProvisioningStateValues returns an array of possible values for the GlobalReachConnectionProvisioningState const type.

type GlobalReachConnectionStatus

type GlobalReachConnectionStatus string

GlobalReachConnectionStatus enumerates the values for global reach connection status.

const (
	// GlobalReachConnectionStatusConnected ...
	GlobalReachConnectionStatusConnected GlobalReachConnectionStatus = "Connected"
	// GlobalReachConnectionStatusConnecting ...
	GlobalReachConnectionStatusConnecting GlobalReachConnectionStatus = "Connecting"
	// GlobalReachConnectionStatusDisconnected ...
	GlobalReachConnectionStatusDisconnected GlobalReachConnectionStatus = "Disconnected"
)

func PossibleGlobalReachConnectionStatusValues

func PossibleGlobalReachConnectionStatusValues() []GlobalReachConnectionStatus

PossibleGlobalReachConnectionStatusValues returns an array of possible values for the GlobalReachConnectionStatus const type.

type GlobalReachConnectionsClient

type GlobalReachConnectionsClient struct {
	BaseClient
}

GlobalReachConnectionsClient is the azure VMware Solution API

func NewGlobalReachConnectionsClient

func NewGlobalReachConnectionsClient(subscriptionID string) GlobalReachConnectionsClient

NewGlobalReachConnectionsClient creates an instance of the GlobalReachConnectionsClient client.

func NewGlobalReachConnectionsClientWithBaseURI

func NewGlobalReachConnectionsClientWithBaseURI(baseURI string, subscriptionID string) GlobalReachConnectionsClient

NewGlobalReachConnectionsClientWithBaseURI creates an instance of the GlobalReachConnectionsClient 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 (GlobalReachConnectionsClient) CreateOrUpdate

func (client GlobalReachConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, globalReachConnectionName string, globalReachConnection GlobalReachConnection) (result GlobalReachConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - the name of the private cloud. globalReachConnectionName - name of the global reach connection in the private cloud globalReachConnection - a global reach connection in the private cloud

func (GlobalReachConnectionsClient) CreateOrUpdatePreparer

func (client GlobalReachConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, globalReachConnectionName string, globalReachConnection GlobalReachConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (GlobalReachConnectionsClient) CreateOrUpdateResponder

func (client GlobalReachConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result GlobalReachConnection, err error)

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

func (GlobalReachConnectionsClient) CreateOrUpdateSender

func (client GlobalReachConnectionsClient) CreateOrUpdateSender(req *http.Request) (future GlobalReachConnectionsCreateOrUpdateFuture, err error)

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

func (GlobalReachConnectionsClient) Delete

func (client GlobalReachConnectionsClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, globalReachConnectionName string) (result GlobalReachConnectionsDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud globalReachConnectionName - name of the global reach connection in the private cloud

func (GlobalReachConnectionsClient) DeletePreparer

func (client GlobalReachConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, globalReachConnectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (GlobalReachConnectionsClient) DeleteResponder

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

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

func (GlobalReachConnectionsClient) DeleteSender

func (client GlobalReachConnectionsClient) DeleteSender(req *http.Request) (future GlobalReachConnectionsDeleteFuture, err error)

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

func (GlobalReachConnectionsClient) Get

func (client GlobalReachConnectionsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, globalReachConnectionName string) (result GlobalReachConnection, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud globalReachConnectionName - name of the global reach connection in the private cloud

func (GlobalReachConnectionsClient) GetPreparer

func (client GlobalReachConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, globalReachConnectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (GlobalReachConnectionsClient) GetResponder

func (client GlobalReachConnectionsClient) GetResponder(resp *http.Response) (result GlobalReachConnection, err error)

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

func (GlobalReachConnectionsClient) GetSender

func (client GlobalReachConnectionsClient) 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 (GlobalReachConnectionsClient) List

func (client GlobalReachConnectionsClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result GlobalReachConnectionListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (GlobalReachConnectionsClient) ListComplete

func (client GlobalReachConnectionsClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result GlobalReachConnectionListIterator, err error)

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

func (GlobalReachConnectionsClient) ListPreparer

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

ListPreparer prepares the List request.

func (GlobalReachConnectionsClient) ListResponder

func (client GlobalReachConnectionsClient) ListResponder(resp *http.Response) (result GlobalReachConnectionList, err error)

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

func (GlobalReachConnectionsClient) ListSender

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

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

type GlobalReachConnectionsCreateOrUpdateFuture

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

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

func (*GlobalReachConnectionsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type GlobalReachConnectionsDeleteFuture

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

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

func (*GlobalReachConnectionsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type HcxEnterpriseSite

type HcxEnterpriseSite struct {
	autorest.Response `json:"-"`
	// HcxEnterpriseSiteProperties - READ-ONLY; The properties of an HCX Enterprise Site resource
	*HcxEnterpriseSiteProperties `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"`
}

HcxEnterpriseSite an HCX Enterprise Site resource

func (HcxEnterpriseSite) MarshalJSON

func (hes HcxEnterpriseSite) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HcxEnterpriseSite.

func (*HcxEnterpriseSite) UnmarshalJSON

func (hes *HcxEnterpriseSite) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for HcxEnterpriseSite struct.

type HcxEnterpriseSiteList

type HcxEnterpriseSiteList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on a page
	Value *[]HcxEnterpriseSite `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

HcxEnterpriseSiteList a paged list of HCX Enterprise Sites

func (HcxEnterpriseSiteList) IsEmpty

func (hesl HcxEnterpriseSiteList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (HcxEnterpriseSiteList) MarshalJSON

func (hesl HcxEnterpriseSiteList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HcxEnterpriseSiteList.

type HcxEnterpriseSiteListIterator

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

HcxEnterpriseSiteListIterator provides access to a complete listing of HcxEnterpriseSite values.

func NewHcxEnterpriseSiteListIterator

func NewHcxEnterpriseSiteListIterator(page HcxEnterpriseSiteListPage) HcxEnterpriseSiteListIterator

Creates a new instance of the HcxEnterpriseSiteListIterator type.

func (*HcxEnterpriseSiteListIterator) Next

func (iter *HcxEnterpriseSiteListIterator) 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 (*HcxEnterpriseSiteListIterator) NextWithContext

func (iter *HcxEnterpriseSiteListIterator) 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 (HcxEnterpriseSiteListIterator) NotDone

func (iter HcxEnterpriseSiteListIterator) NotDone() bool

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

func (HcxEnterpriseSiteListIterator) Response

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

func (HcxEnterpriseSiteListIterator) Value

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

type HcxEnterpriseSiteListPage

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

HcxEnterpriseSiteListPage contains a page of HcxEnterpriseSite values.

func NewHcxEnterpriseSiteListPage

Creates a new instance of the HcxEnterpriseSiteListPage type.

func (*HcxEnterpriseSiteListPage) Next

func (page *HcxEnterpriseSiteListPage) 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 (*HcxEnterpriseSiteListPage) NextWithContext

func (page *HcxEnterpriseSiteListPage) 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 (HcxEnterpriseSiteListPage) NotDone

func (page HcxEnterpriseSiteListPage) NotDone() bool

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

func (HcxEnterpriseSiteListPage) Response

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

func (HcxEnterpriseSiteListPage) Values

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

type HcxEnterpriseSiteProperties

type HcxEnterpriseSiteProperties struct {
	// ActivationKey - READ-ONLY; The activation key
	ActivationKey *string `json:"activationKey,omitempty"`
	// Status - READ-ONLY; The status of the HCX Enterprise Site. Possible values include: 'HcxEnterpriseSiteStatusAvailable', 'HcxEnterpriseSiteStatusConsumed', 'HcxEnterpriseSiteStatusDeactivated', 'HcxEnterpriseSiteStatusDeleted'
	Status HcxEnterpriseSiteStatus `json:"status,omitempty"`
}

HcxEnterpriseSiteProperties the properties of an HCX Enterprise Site

func (HcxEnterpriseSiteProperties) MarshalJSON

func (hesp HcxEnterpriseSiteProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HcxEnterpriseSiteProperties.

type HcxEnterpriseSiteStatus

type HcxEnterpriseSiteStatus string

HcxEnterpriseSiteStatus enumerates the values for hcx enterprise site status.

const (
	// HcxEnterpriseSiteStatusAvailable ...
	HcxEnterpriseSiteStatusAvailable HcxEnterpriseSiteStatus = "Available"
	// HcxEnterpriseSiteStatusConsumed ...
	HcxEnterpriseSiteStatusConsumed HcxEnterpriseSiteStatus = "Consumed"
	// HcxEnterpriseSiteStatusDeactivated ...
	HcxEnterpriseSiteStatusDeactivated HcxEnterpriseSiteStatus = "Deactivated"
	// HcxEnterpriseSiteStatusDeleted ...
	HcxEnterpriseSiteStatusDeleted HcxEnterpriseSiteStatus = "Deleted"
)

func PossibleHcxEnterpriseSiteStatusValues

func PossibleHcxEnterpriseSiteStatusValues() []HcxEnterpriseSiteStatus

PossibleHcxEnterpriseSiteStatusValues returns an array of possible values for the HcxEnterpriseSiteStatus const type.

type HcxEnterpriseSitesClient

type HcxEnterpriseSitesClient struct {
	BaseClient
}

HcxEnterpriseSitesClient is the azure VMware Solution API

func NewHcxEnterpriseSitesClient

func NewHcxEnterpriseSitesClient(subscriptionID string) HcxEnterpriseSitesClient

NewHcxEnterpriseSitesClient creates an instance of the HcxEnterpriseSitesClient client.

func NewHcxEnterpriseSitesClientWithBaseURI

func NewHcxEnterpriseSitesClientWithBaseURI(baseURI string, subscriptionID string) HcxEnterpriseSitesClient

NewHcxEnterpriseSitesClientWithBaseURI creates an instance of the HcxEnterpriseSitesClient 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 (HcxEnterpriseSitesClient) CreateOrUpdate

func (client HcxEnterpriseSitesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string, hcxEnterpriseSite HcxEnterpriseSite) (result HcxEnterpriseSite, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - the name of the private cloud. hcxEnterpriseSiteName - name of the HCX Enterprise Site in the private cloud hcxEnterpriseSite - the HCX Enterprise Site

func (HcxEnterpriseSitesClient) CreateOrUpdatePreparer

func (client HcxEnterpriseSitesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string, hcxEnterpriseSite HcxEnterpriseSite) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (HcxEnterpriseSitesClient) CreateOrUpdateResponder

func (client HcxEnterpriseSitesClient) CreateOrUpdateResponder(resp *http.Response) (result HcxEnterpriseSite, err error)

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

func (HcxEnterpriseSitesClient) CreateOrUpdateSender

func (client HcxEnterpriseSitesClient) 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 (HcxEnterpriseSitesClient) Delete

func (client HcxEnterpriseSitesClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string) (result autorest.Response, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud hcxEnterpriseSiteName - name of the HCX Enterprise Site in the private cloud

func (HcxEnterpriseSitesClient) DeletePreparer

func (client HcxEnterpriseSitesClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (HcxEnterpriseSitesClient) DeleteResponder

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

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

func (HcxEnterpriseSitesClient) DeleteSender

func (client HcxEnterpriseSitesClient) 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 (HcxEnterpriseSitesClient) Get

func (client HcxEnterpriseSitesClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string) (result HcxEnterpriseSite, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud hcxEnterpriseSiteName - name of the HCX Enterprise Site in the private cloud

func (HcxEnterpriseSitesClient) GetPreparer

func (client HcxEnterpriseSitesClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (HcxEnterpriseSitesClient) GetResponder

func (client HcxEnterpriseSitesClient) GetResponder(resp *http.Response) (result HcxEnterpriseSite, err error)

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

func (HcxEnterpriseSitesClient) GetSender

func (client HcxEnterpriseSitesClient) 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 (HcxEnterpriseSitesClient) List

func (client HcxEnterpriseSitesClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result HcxEnterpriseSiteListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (HcxEnterpriseSitesClient) ListComplete

func (client HcxEnterpriseSitesClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result HcxEnterpriseSiteListIterator, err error)

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

func (HcxEnterpriseSitesClient) ListPreparer

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

ListPreparer prepares the List request.

func (HcxEnterpriseSitesClient) ListResponder

func (client HcxEnterpriseSitesClient) ListResponder(resp *http.Response) (result HcxEnterpriseSiteList, err error)

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

func (HcxEnterpriseSitesClient) ListSender

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

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

type IdentitySource

type IdentitySource struct {
	// Name - The name of the identity source
	Name *string `json:"name,omitempty"`
	// Alias - The domain's NetBIOS name
	Alias *string `json:"alias,omitempty"`
	// Domain - The domain's dns name
	Domain *string `json:"domain,omitempty"`
	// BaseUserDN - The base distinguished name for users
	BaseUserDN *string `json:"baseUserDN,omitempty"`
	// BaseGroupDN - The base distinguished name for groups
	BaseGroupDN *string `json:"baseGroupDN,omitempty"`
	// PrimaryServer - Primary server URL
	PrimaryServer *string `json:"primaryServer,omitempty"`
	// SecondaryServer - Secondary server URL
	SecondaryServer *string `json:"secondaryServer,omitempty"`
	// Ssl - Protect LDAP communication using SSL certificate (LDAPS). Possible values include: 'SslEnumEnabled', 'SslEnumDisabled'
	Ssl SslEnum `json:"ssl,omitempty"`
	// Username - The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group
	Username *string `json:"username,omitempty"`
	// Password - The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.
	Password *string `json:"password,omitempty"`
}

IdentitySource vCenter Single Sign On Identity Source

type InternetEnum

type InternetEnum string

InternetEnum enumerates the values for internet enum.

const (
	// InternetEnumDisabled ...
	InternetEnumDisabled InternetEnum = "Disabled"
	// InternetEnumEnabled ...
	InternetEnumEnabled InternetEnum = "Enabled"
)

func PossibleInternetEnumValues

func PossibleInternetEnumValues() []InternetEnum

PossibleInternetEnumValues returns an array of possible values for the InternetEnum const type.

type LocationsClient

type LocationsClient struct {
	BaseClient
}

LocationsClient is the azure VMware Solution API

func NewLocationsClient

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient 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 (LocationsClient) CheckQuotaAvailability

func (client LocationsClient) CheckQuotaAvailability(ctx context.Context, location string) (result Quota, err error)

CheckQuotaAvailability return quota for subscription by region Parameters: location - azure region

func (LocationsClient) CheckQuotaAvailabilityPreparer

func (client LocationsClient) CheckQuotaAvailabilityPreparer(ctx context.Context, location string) (*http.Request, error)

CheckQuotaAvailabilityPreparer prepares the CheckQuotaAvailability request.

func (LocationsClient) CheckQuotaAvailabilityResponder

func (client LocationsClient) CheckQuotaAvailabilityResponder(resp *http.Response) (result Quota, err error)

CheckQuotaAvailabilityResponder handles the response to the CheckQuotaAvailability request. The method always closes the http.Response Body.

func (LocationsClient) CheckQuotaAvailabilitySender

func (client LocationsClient) CheckQuotaAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (LocationsClient) CheckTrialAvailability

func (client LocationsClient) CheckTrialAvailability(ctx context.Context, location string) (result Trial, err error)

CheckTrialAvailability return trial status for subscription by region Parameters: location - azure region

func (LocationsClient) CheckTrialAvailabilityPreparer

func (client LocationsClient) CheckTrialAvailabilityPreparer(ctx context.Context, location string) (*http.Request, error)

CheckTrialAvailabilityPreparer prepares the CheckTrialAvailability request.

func (LocationsClient) CheckTrialAvailabilityResponder

func (client LocationsClient) CheckTrialAvailabilityResponder(resp *http.Response) (result Trial, err error)

CheckTrialAvailabilityResponder handles the response to the CheckTrialAvailability request. The method always closes the http.Response Body.

func (LocationsClient) CheckTrialAvailabilitySender

func (client LocationsClient) CheckTrialAvailabilitySender(req *http.Request) (*http.Response, error)

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

type LogSpecification

type LogSpecification struct {
	// Name - Name of the log
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the log
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - Blob duration of the log
	BlobDuration *string `json:"blobDuration,omitempty"`
}

LogSpecification specifications of the Log for Azure Monitoring

type ManagementCluster

type ManagementCluster struct {
	// ClusterSize - The cluster size
	ClusterSize *int32 `json:"clusterSize,omitempty"`
	// ProvisioningState - The state of the cluster provisioning. Possible values include: 'ClusterProvisioningStateSucceeded', 'ClusterProvisioningStateFailed', 'ClusterProvisioningStateCancelled', 'ClusterProvisioningStateDeleting', 'ClusterProvisioningStateUpdating'
	ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"`
	// ClusterID - READ-ONLY; The identity
	ClusterID *int32 `json:"clusterId,omitempty"`
	// Hosts - READ-ONLY; The hosts
	Hosts *[]string `json:"hosts,omitempty"`
}

ManagementCluster the properties of a management cluster

func (ManagementCluster) MarshalJSON

func (mc ManagementCluster) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManagementCluster.

type MetricDimension

type MetricDimension struct {
	// Name - Name of the dimension
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the dimension
	DisplayName *string `json:"displayName,omitempty"`
	// InternalName - Name of the dimension as it appears in MDM
	InternalName *string `json:"internalName,omitempty"`
	// ToBeExportedForShoebox - A boolean flag indicating whether this dimension should be included for the shoebox export scenario
	ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"`
}

MetricDimension specifications of the Dimension of metrics

type MetricSpecification

type MetricSpecification struct {
	// Name - Name of the metric
	Name *string `json:"name,omitempty"`
	// DisplayName - Localized friendly display name of the metric
	DisplayName *string `json:"displayName,omitempty"`
	// DisplayDescription - Localized friendly description of the metric
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// Unit - Unit that makes sense for the metric
	Unit *string `json:"unit,omitempty"`
	// Category - Name of the metric category that the metric belongs to. A metric can only belong to a single category.
	Category *string `json:"category,omitempty"`
	// AggregationType - Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.
	AggregationType *string `json:"aggregationType,omitempty"`
	// SupportedAggregationTypes - Supported aggregation types
	SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"`
	// SupportedTimeGrainTypes - Supported time grain types
	SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"`
	// FillGapWithZero - Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.
	FillGapWithZero *bool `json:"fillGapWithZero,omitempty"`
	// Dimensions - Dimensions of the metric
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
	// EnableRegionalMdmAccount - Whether or not the service is using regional MDM accounts.
	EnableRegionalMdmAccount *string `json:"enableRegionalMdmAccount,omitempty"`
	// SourceMdmAccount - The name of the MDM account.
	SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
	// SourceMdmNamespace - The name of the MDM namespace.
	SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
}

MetricSpecification specifications of the Metrics for Azure Monitoring

type MountOptionEnum

type MountOptionEnum string

MountOptionEnum enumerates the values for mount option enum.

const (
	// MountOptionEnumATTACH ...
	MountOptionEnumATTACH MountOptionEnum = "ATTACH"
	// MountOptionEnumMOUNT ...
	MountOptionEnumMOUNT MountOptionEnum = "MOUNT"
)

func PossibleMountOptionEnumValues

func PossibleMountOptionEnumValues() []MountOptionEnum

PossibleMountOptionEnumValues returns an array of possible values for the MountOptionEnum const type.

type NetAppVolume

type NetAppVolume struct {
	// ID - Azure resource ID of the NetApp volume
	ID *string `json:"id,omitempty"`
}

NetAppVolume an Azure NetApp Files volume from Microsoft.NetApp provider

type Operation

type Operation struct {
	// Name - READ-ONLY; Name of the operation being performed on this object
	Name *string `json:"name,omitempty"`
	// Display - READ-ONLY; Contains the localized display information for this operation
	Display *OperationDisplay `json:"display,omitempty"`
	// IsDataAction - Gets or sets a value indicating whether the operation is a data action or not
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Origin - Origin of the operation
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties of the operation
	Properties *OperationProperties `json:"properties,omitempty"`
}

Operation a REST API operation

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; Localized friendly form of the resource provider name
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; Localized friendly form of the resource type related to this operation
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; Localized friendly name for the operation
	Operation *string `json:"operation,omitempty"`
	// Description - READ-ONLY; Localized friendly description for the operation
	Description *string `json:"description,omitempty"`
}

OperationDisplay contains the localized display information for this operation

func (OperationDisplay) MarshalJSON

func (o OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationList

type OperationList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of operations
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

OperationList pageable list of operations

func (OperationList) IsEmpty

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationList) MarshalJSON

func (ol OperationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationList.

type OperationListIterator

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

OperationListIterator provides access to a complete listing of Operation values.

func NewOperationListIterator

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next

func (iter *OperationListIterator) 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 (*OperationListIterator) NextWithContext

func (iter *OperationListIterator) 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 (OperationListIterator) NotDone

func (iter OperationListIterator) NotDone() bool

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

func (OperationListIterator) Response

func (iter OperationListIterator) Response() OperationList

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

func (OperationListIterator) Value

func (iter OperationListIterator) Value() Operation

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

type OperationListPage

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

OperationListPage contains a page of Operation values.

func NewOperationListPage

func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next

func (page *OperationListPage) 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 (*OperationListPage) NextWithContext

func (page *OperationListPage) 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 (OperationListPage) NotDone

func (page OperationListPage) NotDone() bool

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

func (OperationListPage) Response

func (page OperationListPage) Response() OperationList

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

func (OperationListPage) Values

func (page OperationListPage) Values() []Operation

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

type OperationProperties

type OperationProperties struct {
	// ServiceSpecification - Service specifications of the operation
	ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

OperationProperties extra Operation properties

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure VMware Solution API

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

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

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)

List lists all of the available operations

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)

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

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)

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

func (OperationsClient) ListSender

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

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

type OptionalParamEnum

type OptionalParamEnum string

OptionalParamEnum enumerates the values for optional param enum.

const (
	// OptionalParamEnumOptional ...
	OptionalParamEnumOptional OptionalParamEnum = "Optional"
	// OptionalParamEnumRequired ...
	OptionalParamEnumRequired OptionalParamEnum = "Required"
)

func PossibleOptionalParamEnumValues

func PossibleOptionalParamEnumValues() []OptionalParamEnum

PossibleOptionalParamEnumValues returns an array of possible values for the OptionalParamEnum const type.

type PSCredentialExecutionParameter

type PSCredentialExecutionParameter struct {
	// Username - username for login
	Username *string `json:"username,omitempty"`
	// Password - password for login
	Password *string `json:"password,omitempty"`
	// Name - The parameter name
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeScriptExecutionParameter', 'TypeSecureValue', 'TypeValue', 'TypeCredential'
	Type Type `json:"type,omitempty"`
}

PSCredentialExecutionParameter a powershell credential object

func (PSCredentialExecutionParameter) AsBasicScriptExecutionParameter

func (pcep PSCredentialExecutionParameter) AsBasicScriptExecutionParameter() (BasicScriptExecutionParameter, bool)

AsBasicScriptExecutionParameter is the BasicScriptExecutionParameter implementation for PSCredentialExecutionParameter.

func (PSCredentialExecutionParameter) AsPSCredentialExecutionParameter

func (pcep PSCredentialExecutionParameter) AsPSCredentialExecutionParameter() (*PSCredentialExecutionParameter, bool)

AsPSCredentialExecutionParameter is the BasicScriptExecutionParameter implementation for PSCredentialExecutionParameter.

func (PSCredentialExecutionParameter) AsScriptExecutionParameter

func (pcep PSCredentialExecutionParameter) AsScriptExecutionParameter() (*ScriptExecutionParameter, bool)

AsScriptExecutionParameter is the BasicScriptExecutionParameter implementation for PSCredentialExecutionParameter.

func (PSCredentialExecutionParameter) AsScriptSecureStringExecutionParameter

func (pcep PSCredentialExecutionParameter) AsScriptSecureStringExecutionParameter() (*ScriptSecureStringExecutionParameter, bool)

AsScriptSecureStringExecutionParameter is the BasicScriptExecutionParameter implementation for PSCredentialExecutionParameter.

func (PSCredentialExecutionParameter) AsScriptStringExecutionParameter

func (pcep PSCredentialExecutionParameter) AsScriptStringExecutionParameter() (*ScriptStringExecutionParameter, bool)

AsScriptStringExecutionParameter is the BasicScriptExecutionParameter implementation for PSCredentialExecutionParameter.

func (PSCredentialExecutionParameter) MarshalJSON

func (pcep PSCredentialExecutionParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PSCredentialExecutionParameter.

type PortMirroringDirectionEnum

type PortMirroringDirectionEnum string

PortMirroringDirectionEnum enumerates the values for port mirroring direction enum.

const (
	// PortMirroringDirectionEnumINGRESSEGRESSBIDIRECTIONAL ...
	PortMirroringDirectionEnumINGRESSEGRESSBIDIRECTIONAL PortMirroringDirectionEnum = "INGRESS, EGRESS, BIDIRECTIONAL"
)

func PossiblePortMirroringDirectionEnumValues

func PossiblePortMirroringDirectionEnumValues() []PortMirroringDirectionEnum

PossiblePortMirroringDirectionEnumValues returns an array of possible values for the PortMirroringDirectionEnum const type.

type PortMirroringStatusEnum

type PortMirroringStatusEnum string

PortMirroringStatusEnum enumerates the values for port mirroring status enum.

const (
	// PortMirroringStatusEnumSUCCESSFAILURE ...
	PortMirroringStatusEnumSUCCESSFAILURE PortMirroringStatusEnum = "SUCCESS, FAILURE"
)

func PossiblePortMirroringStatusEnumValues

func PossiblePortMirroringStatusEnumValues() []PortMirroringStatusEnum

PossiblePortMirroringStatusEnumValues returns an array of possible values for the PortMirroringStatusEnum const type.

type PrivateCloud

type PrivateCloud struct {
	autorest.Response `json:"-"`
	// Sku - The private cloud SKU
	Sku *Sku `json:"sku,omitempty"`
	// PrivateCloudProperties - The properties of a private cloud resource
	*PrivateCloudProperties `json:"properties,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// 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"`
}

PrivateCloud a private cloud resource

func (PrivateCloud) MarshalJSON

func (pc PrivateCloud) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateCloud.

func (*PrivateCloud) UnmarshalJSON

func (pc *PrivateCloud) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateCloud struct.

type PrivateCloudList

type PrivateCloudList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]PrivateCloud `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

PrivateCloudList a paged list of private clouds

func (PrivateCloudList) IsEmpty

func (pcl PrivateCloudList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (PrivateCloudList) MarshalJSON

func (pcl PrivateCloudList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateCloudList.

type PrivateCloudListIterator

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

PrivateCloudListIterator provides access to a complete listing of PrivateCloud values.

func NewPrivateCloudListIterator

func NewPrivateCloudListIterator(page PrivateCloudListPage) PrivateCloudListIterator

Creates a new instance of the PrivateCloudListIterator type.

func (*PrivateCloudListIterator) Next

func (iter *PrivateCloudListIterator) 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 (*PrivateCloudListIterator) NextWithContext

func (iter *PrivateCloudListIterator) 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 (PrivateCloudListIterator) NotDone

func (iter PrivateCloudListIterator) NotDone() bool

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

func (PrivateCloudListIterator) Response

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

func (PrivateCloudListIterator) Value

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

type PrivateCloudListPage

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

PrivateCloudListPage contains a page of PrivateCloud values.

func NewPrivateCloudListPage

func NewPrivateCloudListPage(cur PrivateCloudList, getNextPage func(context.Context, PrivateCloudList) (PrivateCloudList, error)) PrivateCloudListPage

Creates a new instance of the PrivateCloudListPage type.

func (*PrivateCloudListPage) Next

func (page *PrivateCloudListPage) 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 (*PrivateCloudListPage) NextWithContext

func (page *PrivateCloudListPage) 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 (PrivateCloudListPage) NotDone

func (page PrivateCloudListPage) NotDone() bool

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

func (PrivateCloudListPage) Response

func (page PrivateCloudListPage) Response() PrivateCloudList

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

func (PrivateCloudListPage) Values

func (page PrivateCloudListPage) Values() []PrivateCloud

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

type PrivateCloudProperties

type PrivateCloudProperties struct {
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'PrivateCloudProvisioningStateSucceeded', 'PrivateCloudProvisioningStateFailed', 'PrivateCloudProvisioningStateCancelled', 'PrivateCloudProvisioningStatePending', 'PrivateCloudProvisioningStateBuilding', 'PrivateCloudProvisioningStateDeleting', 'PrivateCloudProvisioningStateUpdating'
	ProvisioningState PrivateCloudProvisioningState `json:"provisioningState,omitempty"`
	// Circuit - An ExpressRoute Circuit
	Circuit *Circuit `json:"circuit,omitempty"`
	// Endpoints - READ-ONLY; The endpoints
	Endpoints *Endpoints `json:"endpoints,omitempty"`
	// NetworkBlock - The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22
	NetworkBlock *string `json:"networkBlock,omitempty"`
	// ManagementNetwork - READ-ONLY; Network used to access vCenter Server and NSX-T Manager
	ManagementNetwork *string `json:"managementNetwork,omitempty"`
	// ProvisioningNetwork - READ-ONLY; Used for virtual machine cold migration, cloning, and snapshot migration
	ProvisioningNetwork *string `json:"provisioningNetwork,omitempty"`
	// VmotionNetwork - READ-ONLY; Used for live migration of virtual machines
	VmotionNetwork *string `json:"vmotionNetwork,omitempty"`
	// VcenterPassword - Optionally, set the vCenter admin password when the private cloud is created
	VcenterPassword *string `json:"vcenterPassword,omitempty"`
	// NsxtPassword - Optionally, set the NSX-T Manager password when the private cloud is created
	NsxtPassword *string `json:"nsxtPassword,omitempty"`
	// VcenterCertificateThumbprint - READ-ONLY; Thumbprint of the vCenter Server SSL certificate
	VcenterCertificateThumbprint *string `json:"vcenterCertificateThumbprint,omitempty"`
	// NsxtCertificateThumbprint - READ-ONLY; Thumbprint of the NSX-T Manager SSL certificate
	NsxtCertificateThumbprint *string `json:"nsxtCertificateThumbprint,omitempty"`
	// ExternalCloudLinks - READ-ONLY; Array of cloud link IDs from other clouds that connect to this one
	ExternalCloudLinks *[]string `json:"externalCloudLinks,omitempty"`
	// ManagementCluster - The default cluster used for management
	ManagementCluster *ManagementCluster `json:"managementCluster,omitempty"`
	// Internet - Connectivity to internet is enabled or disabled. Possible values include: 'InternetEnumEnabled', 'InternetEnumDisabled'
	Internet InternetEnum `json:"internet,omitempty"`
	// IdentitySources - vCenter Single Sign On Identity Sources
	IdentitySources *[]IdentitySource `json:"identitySources,omitempty"`
}

PrivateCloudProperties the properties of a private cloud resource

func (PrivateCloudProperties) MarshalJSON

func (pcp PrivateCloudProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateCloudProperties.

type PrivateCloudProvisioningState

type PrivateCloudProvisioningState string

PrivateCloudProvisioningState enumerates the values for private cloud provisioning state.

const (
	// PrivateCloudProvisioningStateBuilding ...
	PrivateCloudProvisioningStateBuilding PrivateCloudProvisioningState = "Building"
	// PrivateCloudProvisioningStateCancelled ...
	PrivateCloudProvisioningStateCancelled PrivateCloudProvisioningState = "Cancelled"
	// PrivateCloudProvisioningStateDeleting ...
	PrivateCloudProvisioningStateDeleting PrivateCloudProvisioningState = "Deleting"
	// PrivateCloudProvisioningStateFailed ...
	PrivateCloudProvisioningStateFailed PrivateCloudProvisioningState = "Failed"
	// PrivateCloudProvisioningStatePending ...
	PrivateCloudProvisioningStatePending PrivateCloudProvisioningState = "Pending"
	// PrivateCloudProvisioningStateSucceeded ...
	PrivateCloudProvisioningStateSucceeded PrivateCloudProvisioningState = "Succeeded"
	// PrivateCloudProvisioningStateUpdating ...
	PrivateCloudProvisioningStateUpdating PrivateCloudProvisioningState = "Updating"
)

func PossiblePrivateCloudProvisioningStateValues

func PossiblePrivateCloudProvisioningStateValues() []PrivateCloudProvisioningState

PossiblePrivateCloudProvisioningStateValues returns an array of possible values for the PrivateCloudProvisioningState const type.

type PrivateCloudUpdate

type PrivateCloudUpdate struct {
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// PrivateCloudUpdateProperties - The updatable properties of a private cloud resource
	*PrivateCloudUpdateProperties `json:"properties,omitempty"`
}

PrivateCloudUpdate an update to a private cloud resource

func (PrivateCloudUpdate) MarshalJSON

func (pcu PrivateCloudUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateCloudUpdate.

func (*PrivateCloudUpdate) UnmarshalJSON

func (pcu *PrivateCloudUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateCloudUpdate struct.

type PrivateCloudUpdateProperties

type PrivateCloudUpdateProperties struct {
	// ManagementCluster - The default cluster used for management
	ManagementCluster *ManagementCluster `json:"managementCluster,omitempty"`
	// Internet - Connectivity to internet is enabled or disabled. Possible values include: 'InternetEnumEnabled', 'InternetEnumDisabled'
	Internet InternetEnum `json:"internet,omitempty"`
	// IdentitySources - vCenter Single Sign On Identity Sources
	IdentitySources *[]IdentitySource `json:"identitySources,omitempty"`
}

PrivateCloudUpdateProperties the properties of a private cloud resource that may be updated

type PrivateCloudsClient

type PrivateCloudsClient struct {
	BaseClient
}

PrivateCloudsClient is the azure VMware Solution API

func NewPrivateCloudsClient

func NewPrivateCloudsClient(subscriptionID string) PrivateCloudsClient

NewPrivateCloudsClient creates an instance of the PrivateCloudsClient client.

func NewPrivateCloudsClientWithBaseURI

func NewPrivateCloudsClientWithBaseURI(baseURI string, subscriptionID string) PrivateCloudsClient

NewPrivateCloudsClientWithBaseURI creates an instance of the PrivateCloudsClient 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 (PrivateCloudsClient) CreateOrUpdate

func (client PrivateCloudsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, privateCloud PrivateCloud) (result PrivateCloudsCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud privateCloud - the private cloud

func (PrivateCloudsClient) CreateOrUpdatePreparer

func (client PrivateCloudsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, privateCloud PrivateCloud) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateCloudsClient) CreateOrUpdateResponder

func (client PrivateCloudsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateCloud, err error)

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

func (PrivateCloudsClient) CreateOrUpdateSender

func (client PrivateCloudsClient) CreateOrUpdateSender(req *http.Request) (future PrivateCloudsCreateOrUpdateFuture, err error)

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

func (PrivateCloudsClient) Delete

func (client PrivateCloudsClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string) (result PrivateCloudsDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (PrivateCloudsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (PrivateCloudsClient) DeleteResponder

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

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

func (PrivateCloudsClient) DeleteSender

func (client PrivateCloudsClient) DeleteSender(req *http.Request) (future PrivateCloudsDeleteFuture, err error)

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

func (PrivateCloudsClient) Get

func (client PrivateCloudsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string) (result PrivateCloud, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (PrivateCloudsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (PrivateCloudsClient) GetResponder

func (client PrivateCloudsClient) GetResponder(resp *http.Response) (result PrivateCloud, err error)

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

func (PrivateCloudsClient) GetSender

func (client PrivateCloudsClient) 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 (PrivateCloudsClient) List

func (client PrivateCloudsClient) List(ctx context.Context, resourceGroupName string) (result PrivateCloudListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (PrivateCloudsClient) ListAdminCredentials

func (client PrivateCloudsClient) ListAdminCredentials(ctx context.Context, resourceGroupName string, privateCloudName string) (result AdminCredentials, err error)

ListAdminCredentials sends the list admin credentials request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (PrivateCloudsClient) ListAdminCredentialsPreparer

func (client PrivateCloudsClient) ListAdminCredentialsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListAdminCredentialsPreparer prepares the ListAdminCredentials request.

func (PrivateCloudsClient) ListAdminCredentialsResponder

func (client PrivateCloudsClient) ListAdminCredentialsResponder(resp *http.Response) (result AdminCredentials, err error)

ListAdminCredentialsResponder handles the response to the ListAdminCredentials request. The method always closes the http.Response Body.

func (PrivateCloudsClient) ListAdminCredentialsSender

func (client PrivateCloudsClient) ListAdminCredentialsSender(req *http.Request) (*http.Response, error)

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

func (PrivateCloudsClient) ListComplete

func (client PrivateCloudsClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateCloudListIterator, err error)

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

func (PrivateCloudsClient) ListInSubscription

func (client PrivateCloudsClient) ListInSubscription(ctx context.Context) (result PrivateCloudListPage, err error)

ListInSubscription sends the list in subscription request.

func (PrivateCloudsClient) ListInSubscriptionComplete

func (client PrivateCloudsClient) ListInSubscriptionComplete(ctx context.Context) (result PrivateCloudListIterator, err error)

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

func (PrivateCloudsClient) ListInSubscriptionPreparer

func (client PrivateCloudsClient) ListInSubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListInSubscriptionPreparer prepares the ListInSubscription request.

func (PrivateCloudsClient) ListInSubscriptionResponder

func (client PrivateCloudsClient) ListInSubscriptionResponder(resp *http.Response) (result PrivateCloudList, err error)

ListInSubscriptionResponder handles the response to the ListInSubscription request. The method always closes the http.Response Body.

func (PrivateCloudsClient) ListInSubscriptionSender

func (client PrivateCloudsClient) ListInSubscriptionSender(req *http.Request) (*http.Response, error)

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

func (PrivateCloudsClient) ListPreparer

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

ListPreparer prepares the List request.

func (PrivateCloudsClient) ListResponder

func (client PrivateCloudsClient) ListResponder(resp *http.Response) (result PrivateCloudList, err error)

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

func (PrivateCloudsClient) ListSender

func (client PrivateCloudsClient) 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 (PrivateCloudsClient) RotateNsxtPassword

func (client PrivateCloudsClient) RotateNsxtPassword(ctx context.Context, resourceGroupName string, privateCloudName string) (result PrivateCloudsRotateNsxtPasswordFuture, err error)

RotateNsxtPassword sends the rotate nsxt password request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (PrivateCloudsClient) RotateNsxtPasswordPreparer

func (client PrivateCloudsClient) RotateNsxtPasswordPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

RotateNsxtPasswordPreparer prepares the RotateNsxtPassword request.

func (PrivateCloudsClient) RotateNsxtPasswordResponder

func (client PrivateCloudsClient) RotateNsxtPasswordResponder(resp *http.Response) (result autorest.Response, err error)

RotateNsxtPasswordResponder handles the response to the RotateNsxtPassword request. The method always closes the http.Response Body.

func (PrivateCloudsClient) RotateNsxtPasswordSender

func (client PrivateCloudsClient) RotateNsxtPasswordSender(req *http.Request) (future PrivateCloudsRotateNsxtPasswordFuture, err error)

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

func (PrivateCloudsClient) RotateVcenterPassword

func (client PrivateCloudsClient) RotateVcenterPassword(ctx context.Context, resourceGroupName string, privateCloudName string) (result PrivateCloudsRotateVcenterPasswordFuture, err error)

RotateVcenterPassword sends the rotate vcenter password request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (PrivateCloudsClient) RotateVcenterPasswordPreparer

func (client PrivateCloudsClient) RotateVcenterPasswordPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

RotateVcenterPasswordPreparer prepares the RotateVcenterPassword request.

func (PrivateCloudsClient) RotateVcenterPasswordResponder

func (client PrivateCloudsClient) RotateVcenterPasswordResponder(resp *http.Response) (result autorest.Response, err error)

RotateVcenterPasswordResponder handles the response to the RotateVcenterPassword request. The method always closes the http.Response Body.

func (PrivateCloudsClient) RotateVcenterPasswordSender

func (client PrivateCloudsClient) RotateVcenterPasswordSender(req *http.Request) (future PrivateCloudsRotateVcenterPasswordFuture, err error)

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

func (PrivateCloudsClient) Update

func (client PrivateCloudsClient) Update(ctx context.Context, resourceGroupName string, privateCloudName string, privateCloudUpdate PrivateCloudUpdate) (result PrivateCloudsUpdateFuture, err error)

Update sends the update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud privateCloudUpdate - the private cloud properties to be updated

func (PrivateCloudsClient) UpdatePreparer

func (client PrivateCloudsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, privateCloudUpdate PrivateCloudUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PrivateCloudsClient) UpdateResponder

func (client PrivateCloudsClient) UpdateResponder(resp *http.Response) (result PrivateCloud, err error)

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

func (PrivateCloudsClient) UpdateSender

func (client PrivateCloudsClient) UpdateSender(req *http.Request) (future PrivateCloudsUpdateFuture, err error)

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

type PrivateCloudsCreateOrUpdateFuture

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

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

func (*PrivateCloudsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateCloudsDeleteFuture

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

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

func (*PrivateCloudsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateCloudsRotateNsxtPasswordFuture

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

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

func (*PrivateCloudsRotateNsxtPasswordFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateCloudsRotateVcenterPasswordFuture

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

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

func (*PrivateCloudsRotateVcenterPasswordFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateCloudsUpdateFuture

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

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

func (*PrivateCloudsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a ARM proxy resource

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type Quota

type Quota struct {
	autorest.Response `json:"-"`
	// HostsRemaining - READ-ONLY; Remaining hosts quota by sku type
	HostsRemaining map[string]*int32 `json:"hostsRemaining"`
	// QuotaEnabled - READ-ONLY; Host quota is active for current subscription. Possible values include: 'QuotaEnabledEnabled', 'QuotaEnabledDisabled'
	QuotaEnabled QuotaEnabled `json:"quotaEnabled,omitempty"`
}

Quota subscription quotas

func (Quota) MarshalJSON

func (q Quota) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Quota.

type QuotaEnabled

type QuotaEnabled string

QuotaEnabled enumerates the values for quota enabled.

const (
	// QuotaEnabledDisabled ...
	QuotaEnabledDisabled QuotaEnabled = "Disabled"
	// QuotaEnabledEnabled ...
	QuotaEnabledEnabled QuotaEnabled = "Enabled"
)

func PossibleQuotaEnabledValues

func PossibleQuotaEnabledValues() []QuotaEnabled

PossibleQuotaEnabledValues returns an array of possible values for the QuotaEnabled const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Resource name.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Resource type.
	Type *string `json:"type,omitempty"`
}

Resource the core properties of ARM resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ScriptCmdlet

type ScriptCmdlet struct {
	autorest.Response `json:"-"`
	// ScriptCmdletProperties - The properties of a script cmdlet resource
	*ScriptCmdletProperties `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"`
}

ScriptCmdlet a cmdlet available for script execution

func (ScriptCmdlet) MarshalJSON

func (sc ScriptCmdlet) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptCmdlet.

func (*ScriptCmdlet) UnmarshalJSON

func (sc *ScriptCmdlet) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScriptCmdlet struct.

type ScriptCmdletProperties

type ScriptCmdletProperties struct {
	// Description - READ-ONLY; Description of the scripts functionality
	Description *string `json:"description,omitempty"`
	// Timeout - READ-ONLY; Recommended time limit for execution
	Timeout *string `json:"timeout,omitempty"`
	// Parameters - READ-ONLY; Parameters the script will accept
	Parameters *[]ScriptParameter `json:"parameters,omitempty"`
}

ScriptCmdletProperties properties of a pre-canned script

func (ScriptCmdletProperties) MarshalJSON

func (scp ScriptCmdletProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptCmdletProperties.

type ScriptCmdletsClient

type ScriptCmdletsClient struct {
	BaseClient
}

ScriptCmdletsClient is the azure VMware Solution API

func NewScriptCmdletsClient

func NewScriptCmdletsClient(subscriptionID string) ScriptCmdletsClient

NewScriptCmdletsClient creates an instance of the ScriptCmdletsClient client.

func NewScriptCmdletsClientWithBaseURI

func NewScriptCmdletsClientWithBaseURI(baseURI string, subscriptionID string) ScriptCmdletsClient

NewScriptCmdletsClientWithBaseURI creates an instance of the ScriptCmdletsClient 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 (ScriptCmdletsClient) Get

func (client ScriptCmdletsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, scriptPackageName string, scriptCmdletName string) (result ScriptCmdlet, err error)

Get return information about a script cmdlet resource in a specific package on a private cloud Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud scriptPackageName - name of the script package in the private cloud scriptCmdletName - name of the script cmdlet resource in the script package in the private cloud

func (ScriptCmdletsClient) GetPreparer

func (client ScriptCmdletsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, scriptPackageName string, scriptCmdletName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScriptCmdletsClient) GetResponder

func (client ScriptCmdletsClient) GetResponder(resp *http.Response) (result ScriptCmdlet, err error)

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

func (ScriptCmdletsClient) GetSender

func (client ScriptCmdletsClient) 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 (ScriptCmdletsClient) List

func (client ScriptCmdletsClient) List(ctx context.Context, resourceGroupName string, privateCloudName string, scriptPackageName string) (result ScriptCmdletsListPage, err error)

List return script cmdlet resources available for a private cloud to create a script execution resource on their Private Cloud Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud scriptPackageName - name of the script package in the private cloud

func (ScriptCmdletsClient) ListComplete

func (client ScriptCmdletsClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string, scriptPackageName string) (result ScriptCmdletsListIterator, err error)

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

func (ScriptCmdletsClient) ListPreparer

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

ListPreparer prepares the List request.

func (ScriptCmdletsClient) ListResponder

func (client ScriptCmdletsClient) ListResponder(resp *http.Response) (result ScriptCmdletsList, err error)

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

func (ScriptCmdletsClient) ListSender

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

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

type ScriptCmdletsList

type ScriptCmdletsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of scripts
	Value *[]ScriptCmdlet `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

ScriptCmdletsList pageable list of scripts/cmdlets

func (ScriptCmdletsList) IsEmpty

func (scl ScriptCmdletsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ScriptCmdletsList) MarshalJSON

func (scl ScriptCmdletsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptCmdletsList.

type ScriptCmdletsListIterator

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

ScriptCmdletsListIterator provides access to a complete listing of ScriptCmdlet values.

func NewScriptCmdletsListIterator

func NewScriptCmdletsListIterator(page ScriptCmdletsListPage) ScriptCmdletsListIterator

Creates a new instance of the ScriptCmdletsListIterator type.

func (*ScriptCmdletsListIterator) Next

func (iter *ScriptCmdletsListIterator) 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 (*ScriptCmdletsListIterator) NextWithContext

func (iter *ScriptCmdletsListIterator) 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 (ScriptCmdletsListIterator) NotDone

func (iter ScriptCmdletsListIterator) NotDone() bool

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

func (ScriptCmdletsListIterator) Response

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

func (ScriptCmdletsListIterator) Value

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

type ScriptCmdletsListPage

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

ScriptCmdletsListPage contains a page of ScriptCmdlet values.

func NewScriptCmdletsListPage

func NewScriptCmdletsListPage(cur ScriptCmdletsList, getNextPage func(context.Context, ScriptCmdletsList) (ScriptCmdletsList, error)) ScriptCmdletsListPage

Creates a new instance of the ScriptCmdletsListPage type.

func (*ScriptCmdletsListPage) Next

func (page *ScriptCmdletsListPage) 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 (*ScriptCmdletsListPage) NextWithContext

func (page *ScriptCmdletsListPage) 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 (ScriptCmdletsListPage) NotDone

func (page ScriptCmdletsListPage) NotDone() bool

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

func (ScriptCmdletsListPage) Response

func (page ScriptCmdletsListPage) Response() ScriptCmdletsList

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

func (ScriptCmdletsListPage) Values

func (page ScriptCmdletsListPage) Values() []ScriptCmdlet

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

type ScriptExecution

type ScriptExecution struct {
	autorest.Response `json:"-"`
	// ScriptExecutionProperties - The properties of a script execution resource
	*ScriptExecutionProperties `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"`
}

ScriptExecution an instance of a script executed by a user - custom or AVS

func (ScriptExecution) MarshalJSON

func (se ScriptExecution) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptExecution.

func (*ScriptExecution) UnmarshalJSON

func (se *ScriptExecution) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScriptExecution struct.

type ScriptExecutionParameter

type ScriptExecutionParameter struct {
	// Name - The parameter name
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeScriptExecutionParameter', 'TypeSecureValue', 'TypeValue', 'TypeCredential'
	Type Type `json:"type,omitempty"`
}

ScriptExecutionParameter the arguments passed in to the execution

func (ScriptExecutionParameter) AsBasicScriptExecutionParameter

func (sep ScriptExecutionParameter) AsBasicScriptExecutionParameter() (BasicScriptExecutionParameter, bool)

AsBasicScriptExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptExecutionParameter.

func (ScriptExecutionParameter) AsPSCredentialExecutionParameter

func (sep ScriptExecutionParameter) AsPSCredentialExecutionParameter() (*PSCredentialExecutionParameter, bool)

AsPSCredentialExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptExecutionParameter.

func (ScriptExecutionParameter) AsScriptExecutionParameter

func (sep ScriptExecutionParameter) AsScriptExecutionParameter() (*ScriptExecutionParameter, bool)

AsScriptExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptExecutionParameter.

func (ScriptExecutionParameter) AsScriptSecureStringExecutionParameter

func (sep ScriptExecutionParameter) AsScriptSecureStringExecutionParameter() (*ScriptSecureStringExecutionParameter, bool)

AsScriptSecureStringExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptExecutionParameter.

func (ScriptExecutionParameter) AsScriptStringExecutionParameter

func (sep ScriptExecutionParameter) AsScriptStringExecutionParameter() (*ScriptStringExecutionParameter, bool)

AsScriptStringExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptExecutionParameter.

func (ScriptExecutionParameter) MarshalJSON

func (sep ScriptExecutionParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptExecutionParameter.

type ScriptExecutionProperties

type ScriptExecutionProperties struct {
	// ScriptCmdletID - A reference to the script cmdlet resource if user is running a AVS script
	ScriptCmdletID *string `json:"scriptCmdletId,omitempty"`
	// Parameters - Parameters the script will accept
	Parameters *[]BasicScriptExecutionParameter `json:"parameters,omitempty"`
	// HiddenParameters - Parameters that will be hidden/not visible to ARM, such as passwords and credentials
	HiddenParameters *[]BasicScriptExecutionParameter `json:"hiddenParameters,omitempty"`
	// FailureReason - Error message if the script was able to run, but if the script itself had errors or powershell threw an exception
	FailureReason *string `json:"failureReason,omitempty"`
	// Timeout - Time limit for execution
	Timeout *string `json:"timeout,omitempty"`
	// Retention - Time to live for the resource. If not provided, will be available for 60 days
	Retention *string `json:"retention,omitempty"`
	// SubmittedAt - READ-ONLY; Time the script execution was submitted
	SubmittedAt *date.Time `json:"submittedAt,omitempty"`
	// StartedAt - READ-ONLY; Time the script execution was started
	StartedAt *date.Time `json:"startedAt,omitempty"`
	// FinishedAt - READ-ONLY; Time the script execution was finished
	FinishedAt *date.Time `json:"finishedAt,omitempty"`
	// ProvisioningState - READ-ONLY; The state of the script execution resource. Possible values include: 'ScriptExecutionProvisioningStatePending', 'ScriptExecutionProvisioningStateRunning', 'ScriptExecutionProvisioningStateSucceeded', 'ScriptExecutionProvisioningStateFailed', 'ScriptExecutionProvisioningStateCancelling', 'ScriptExecutionProvisioningStateCancelled', 'ScriptExecutionProvisioningStateDeleting'
	ProvisioningState ScriptExecutionProvisioningState `json:"provisioningState,omitempty"`
	// Output - Standard output stream from the powershell execution
	Output *[]string `json:"output,omitempty"`
	// NamedOutputs - User-defined dictionary.
	NamedOutputs map[string]interface{} `json:"namedOutputs"`
	// Information - READ-ONLY; Standard information out stream from the powershell execution
	Information *[]string `json:"information,omitempty"`
	// Warnings - READ-ONLY; Standard warning out stream from the powershell execution
	Warnings *[]string `json:"warnings,omitempty"`
	// Errors - READ-ONLY; Standard error output stream from the powershell execution
	Errors *[]string `json:"errors,omitempty"`
}

ScriptExecutionProperties properties of a user-invoked script

func (ScriptExecutionProperties) MarshalJSON

func (sep ScriptExecutionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptExecutionProperties.

func (*ScriptExecutionProperties) UnmarshalJSON

func (sep *ScriptExecutionProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScriptExecutionProperties struct.

type ScriptExecutionProvisioningState

type ScriptExecutionProvisioningState string

ScriptExecutionProvisioningState enumerates the values for script execution provisioning state.

const (
	// ScriptExecutionProvisioningStateCancelled ...
	ScriptExecutionProvisioningStateCancelled ScriptExecutionProvisioningState = "Cancelled"
	// ScriptExecutionProvisioningStateCancelling ...
	ScriptExecutionProvisioningStateCancelling ScriptExecutionProvisioningState = "Cancelling"
	// ScriptExecutionProvisioningStateDeleting ...
	ScriptExecutionProvisioningStateDeleting ScriptExecutionProvisioningState = "Deleting"
	// ScriptExecutionProvisioningStateFailed ...
	ScriptExecutionProvisioningStateFailed ScriptExecutionProvisioningState = "Failed"
	// ScriptExecutionProvisioningStatePending ...
	ScriptExecutionProvisioningStatePending ScriptExecutionProvisioningState = "Pending"
	// ScriptExecutionProvisioningStateRunning ...
	ScriptExecutionProvisioningStateRunning ScriptExecutionProvisioningState = "Running"
	// ScriptExecutionProvisioningStateSucceeded ...
	ScriptExecutionProvisioningStateSucceeded ScriptExecutionProvisioningState = "Succeeded"
)

func PossibleScriptExecutionProvisioningStateValues

func PossibleScriptExecutionProvisioningStateValues() []ScriptExecutionProvisioningState

PossibleScriptExecutionProvisioningStateValues returns an array of possible values for the ScriptExecutionProvisioningState const type.

type ScriptExecutionsClient

type ScriptExecutionsClient struct {
	BaseClient
}

ScriptExecutionsClient is the azure VMware Solution API

func NewScriptExecutionsClient

func NewScriptExecutionsClient(subscriptionID string) ScriptExecutionsClient

NewScriptExecutionsClient creates an instance of the ScriptExecutionsClient client.

func NewScriptExecutionsClientWithBaseURI

func NewScriptExecutionsClientWithBaseURI(baseURI string, subscriptionID string) ScriptExecutionsClient

NewScriptExecutionsClientWithBaseURI creates an instance of the ScriptExecutionsClient 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 (ScriptExecutionsClient) CreateOrUpdate

func (client ScriptExecutionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string, scriptExecution ScriptExecution) (result ScriptExecutionsCreateOrUpdateFuture, err error)

CreateOrUpdate sends the create or update request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - the name of the private cloud. scriptExecutionName - name of the user-invoked script execution resource scriptExecution - a script running in the private cloud

func (ScriptExecutionsClient) CreateOrUpdatePreparer

func (client ScriptExecutionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string, scriptExecution ScriptExecution) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ScriptExecutionsClient) CreateOrUpdateResponder

func (client ScriptExecutionsClient) CreateOrUpdateResponder(resp *http.Response) (result ScriptExecution, err error)

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

func (ScriptExecutionsClient) CreateOrUpdateSender

func (client ScriptExecutionsClient) CreateOrUpdateSender(req *http.Request) (future ScriptExecutionsCreateOrUpdateFuture, err error)

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

func (ScriptExecutionsClient) Delete

func (client ScriptExecutionsClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string) (result ScriptExecutionsDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud scriptExecutionName - name of the user-invoked script execution resource

func (ScriptExecutionsClient) DeletePreparer

func (client ScriptExecutionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ScriptExecutionsClient) DeleteResponder

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

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

func (ScriptExecutionsClient) DeleteSender

func (client ScriptExecutionsClient) DeleteSender(req *http.Request) (future ScriptExecutionsDeleteFuture, err error)

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

func (ScriptExecutionsClient) Get

func (client ScriptExecutionsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string) (result ScriptExecution, err error)

Get sends the get request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud scriptExecutionName - name of the user-invoked script execution resource

func (ScriptExecutionsClient) GetExecutionLogs

func (client ScriptExecutionsClient) GetExecutionLogs(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string, scriptOutputStreamType []ScriptOutputStreamType) (result ScriptExecution, err error)

GetExecutionLogs return the logs for a script execution resource Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud scriptExecutionName - name of the user-invoked script execution resource scriptOutputStreamType - name of the desired output stream to return. If not provided, will return all. An empty array will return nothing

func (ScriptExecutionsClient) GetExecutionLogsPreparer

func (client ScriptExecutionsClient) GetExecutionLogsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string, scriptOutputStreamType []ScriptOutputStreamType) (*http.Request, error)

GetExecutionLogsPreparer prepares the GetExecutionLogs request.

func (ScriptExecutionsClient) GetExecutionLogsResponder

func (client ScriptExecutionsClient) GetExecutionLogsResponder(resp *http.Response) (result ScriptExecution, err error)

GetExecutionLogsResponder handles the response to the GetExecutionLogs request. The method always closes the http.Response Body.

func (ScriptExecutionsClient) GetExecutionLogsSender

func (client ScriptExecutionsClient) GetExecutionLogsSender(req *http.Request) (*http.Response, error)

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

func (ScriptExecutionsClient) GetPreparer

func (client ScriptExecutionsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, scriptExecutionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScriptExecutionsClient) GetResponder

func (client ScriptExecutionsClient) GetResponder(resp *http.Response) (result ScriptExecution, err error)

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

func (ScriptExecutionsClient) GetSender

func (client ScriptExecutionsClient) 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 (ScriptExecutionsClient) List

func (client ScriptExecutionsClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result ScriptExecutionsListPage, err error)

List sends the list request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (ScriptExecutionsClient) ListComplete

func (client ScriptExecutionsClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result ScriptExecutionsListIterator, err error)

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

func (ScriptExecutionsClient) ListPreparer

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

ListPreparer prepares the List request.

func (ScriptExecutionsClient) ListResponder

func (client ScriptExecutionsClient) ListResponder(resp *http.Response) (result ScriptExecutionsList, err error)

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

func (ScriptExecutionsClient) ListSender

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

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

type ScriptExecutionsCreateOrUpdateFuture

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

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

func (*ScriptExecutionsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ScriptExecutionsDeleteFuture

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

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

func (*ScriptExecutionsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ScriptExecutionsList

type ScriptExecutionsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of scripts
	Value *[]ScriptExecution `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

ScriptExecutionsList pageable list of script executions

func (ScriptExecutionsList) IsEmpty

func (sel ScriptExecutionsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ScriptExecutionsList) MarshalJSON

func (sel ScriptExecutionsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptExecutionsList.

type ScriptExecutionsListIterator

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

ScriptExecutionsListIterator provides access to a complete listing of ScriptExecution values.

func NewScriptExecutionsListIterator

func NewScriptExecutionsListIterator(page ScriptExecutionsListPage) ScriptExecutionsListIterator

Creates a new instance of the ScriptExecutionsListIterator type.

func (*ScriptExecutionsListIterator) Next

func (iter *ScriptExecutionsListIterator) 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 (*ScriptExecutionsListIterator) NextWithContext

func (iter *ScriptExecutionsListIterator) 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 (ScriptExecutionsListIterator) NotDone

func (iter ScriptExecutionsListIterator) NotDone() bool

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

func (ScriptExecutionsListIterator) Response

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

func (ScriptExecutionsListIterator) Value

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

type ScriptExecutionsListPage

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

ScriptExecutionsListPage contains a page of ScriptExecution values.

func NewScriptExecutionsListPage

func NewScriptExecutionsListPage(cur ScriptExecutionsList, getNextPage func(context.Context, ScriptExecutionsList) (ScriptExecutionsList, error)) ScriptExecutionsListPage

Creates a new instance of the ScriptExecutionsListPage type.

func (*ScriptExecutionsListPage) Next

func (page *ScriptExecutionsListPage) 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 (*ScriptExecutionsListPage) NextWithContext

func (page *ScriptExecutionsListPage) 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 (ScriptExecutionsListPage) NotDone

func (page ScriptExecutionsListPage) NotDone() bool

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

func (ScriptExecutionsListPage) Response

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

func (ScriptExecutionsListPage) Values

func (page ScriptExecutionsListPage) Values() []ScriptExecution

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

type ScriptOutputStreamType

type ScriptOutputStreamType string

ScriptOutputStreamType enumerates the values for script output stream type.

const (
	// ScriptOutputStreamTypeError ...
	ScriptOutputStreamTypeError ScriptOutputStreamType = "Error"
	// ScriptOutputStreamTypeInformation ...
	ScriptOutputStreamTypeInformation ScriptOutputStreamType = "Information"
	// ScriptOutputStreamTypeOutput ...
	ScriptOutputStreamTypeOutput ScriptOutputStreamType = "Output"
	// ScriptOutputStreamTypeWarning ...
	ScriptOutputStreamTypeWarning ScriptOutputStreamType = "Warning"
)

func PossibleScriptOutputStreamTypeValues

func PossibleScriptOutputStreamTypeValues() []ScriptOutputStreamType

PossibleScriptOutputStreamTypeValues returns an array of possible values for the ScriptOutputStreamType const type.

type ScriptPackage

type ScriptPackage struct {
	autorest.Response `json:"-"`
	// ScriptPackageProperties - ScriptPackage resource properties
	*ScriptPackageProperties `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"`
}

ScriptPackage script Package resources available for execution

func (ScriptPackage) MarshalJSON

func (sp ScriptPackage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptPackage.

func (*ScriptPackage) UnmarshalJSON

func (sp *ScriptPackage) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ScriptPackage struct.

type ScriptPackageProperties

type ScriptPackageProperties struct {
	// Description - READ-ONLY; User friendly description of the package
	Description *string `json:"description,omitempty"`
	// Version - READ-ONLY; Module version
	Version *string `json:"version,omitempty"`
}

ScriptPackageProperties properties of a Script Package subresource

func (ScriptPackageProperties) MarshalJSON

func (spp ScriptPackageProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptPackageProperties.

type ScriptPackagesClient

type ScriptPackagesClient struct {
	BaseClient
}

ScriptPackagesClient is the azure VMware Solution API

func NewScriptPackagesClient

func NewScriptPackagesClient(subscriptionID string) ScriptPackagesClient

NewScriptPackagesClient creates an instance of the ScriptPackagesClient client.

func NewScriptPackagesClientWithBaseURI

func NewScriptPackagesClientWithBaseURI(baseURI string, subscriptionID string) ScriptPackagesClient

NewScriptPackagesClientWithBaseURI creates an instance of the ScriptPackagesClient 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 (ScriptPackagesClient) Get

func (client ScriptPackagesClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, scriptPackageName string) (result ScriptPackage, err error)

Get return script package available to run on an Private Cloud Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud scriptPackageName - name of the script package in the private cloud

func (ScriptPackagesClient) GetPreparer

func (client ScriptPackagesClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, scriptPackageName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ScriptPackagesClient) GetResponder

func (client ScriptPackagesClient) GetResponder(resp *http.Response) (result ScriptPackage, err error)

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

func (ScriptPackagesClient) GetSender

func (client ScriptPackagesClient) 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 (ScriptPackagesClient) List

func (client ScriptPackagesClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result ScriptPackagesListPage, err error)

List return script packages available for a private cloud to run on their Private Cloud Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (ScriptPackagesClient) ListComplete

func (client ScriptPackagesClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result ScriptPackagesListIterator, err error)

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

func (ScriptPackagesClient) ListPreparer

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

ListPreparer prepares the List request.

func (ScriptPackagesClient) ListResponder

func (client ScriptPackagesClient) ListResponder(resp *http.Response) (result ScriptPackagesList, err error)

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

func (ScriptPackagesClient) ListSender

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

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

type ScriptPackagesList

type ScriptPackagesList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of script package resources
	Value *[]ScriptPackage `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

ScriptPackagesList a list of the available script packages

func (ScriptPackagesList) IsEmpty

func (spl ScriptPackagesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ScriptPackagesList) MarshalJSON

func (spl ScriptPackagesList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptPackagesList.

type ScriptPackagesListIterator

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

ScriptPackagesListIterator provides access to a complete listing of ScriptPackage values.

func NewScriptPackagesListIterator

func NewScriptPackagesListIterator(page ScriptPackagesListPage) ScriptPackagesListIterator

Creates a new instance of the ScriptPackagesListIterator type.

func (*ScriptPackagesListIterator) Next

func (iter *ScriptPackagesListIterator) 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 (*ScriptPackagesListIterator) NextWithContext

func (iter *ScriptPackagesListIterator) 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 (ScriptPackagesListIterator) NotDone

func (iter ScriptPackagesListIterator) NotDone() bool

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

func (ScriptPackagesListIterator) Response

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

func (ScriptPackagesListIterator) Value

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

type ScriptPackagesListPage

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

ScriptPackagesListPage contains a page of ScriptPackage values.

func NewScriptPackagesListPage

func NewScriptPackagesListPage(cur ScriptPackagesList, getNextPage func(context.Context, ScriptPackagesList) (ScriptPackagesList, error)) ScriptPackagesListPage

Creates a new instance of the ScriptPackagesListPage type.

func (*ScriptPackagesListPage) Next

func (page *ScriptPackagesListPage) 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 (*ScriptPackagesListPage) NextWithContext

func (page *ScriptPackagesListPage) 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 (ScriptPackagesListPage) NotDone

func (page ScriptPackagesListPage) NotDone() bool

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

func (ScriptPackagesListPage) Response

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

func (ScriptPackagesListPage) Values

func (page ScriptPackagesListPage) Values() []ScriptPackage

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

type ScriptParameter

type ScriptParameter struct {
	// Type - READ-ONLY; The type of parameter the script is expecting. psCredential is a PSCredentialObject. Possible values include: 'ScriptParameterTypesString', 'ScriptParameterTypesSecureString', 'ScriptParameterTypesCredential', 'ScriptParameterTypesInt', 'ScriptParameterTypesBool', 'ScriptParameterTypesFloat'
	Type ScriptParameterTypes `json:"type,omitempty"`
	// Name - The parameter name that the script will expect a parameter value for
	Name *string `json:"name,omitempty"`
	// Description - READ-ONLY; User friendly description of the parameter
	Description *string `json:"description,omitempty"`
	// Visibility - READ-ONLY; Should this parameter be visible to arm and passed in the parameters argument when executing. Possible values include: 'VisibilityParameterEnumVisible', 'VisibilityParameterEnumHidden'
	Visibility VisibilityParameterEnum `json:"visibility,omitempty"`
	// Optional - READ-ONLY; Is this parameter required or optional. Possible values include: 'OptionalParamEnumOptional', 'OptionalParamEnumRequired'
	Optional OptionalParamEnum `json:"optional,omitempty"`
}

ScriptParameter an parameter that the script will accept

func (ScriptParameter) MarshalJSON

func (sp ScriptParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptParameter.

type ScriptParameterTypes

type ScriptParameterTypes string

ScriptParameterTypes enumerates the values for script parameter types.

const (
	// ScriptParameterTypesBool ...
	ScriptParameterTypesBool ScriptParameterTypes = "Bool"
	// ScriptParameterTypesCredential ...
	ScriptParameterTypesCredential ScriptParameterTypes = "Credential"
	// ScriptParameterTypesFloat ...
	ScriptParameterTypesFloat ScriptParameterTypes = "Float"
	// ScriptParameterTypesInt ...
	ScriptParameterTypesInt ScriptParameterTypes = "Int"
	// ScriptParameterTypesSecureString ...
	ScriptParameterTypesSecureString ScriptParameterTypes = "SecureString"
	// ScriptParameterTypesString ...
	ScriptParameterTypesString ScriptParameterTypes = "String"
)

func PossibleScriptParameterTypesValues

func PossibleScriptParameterTypesValues() []ScriptParameterTypes

PossibleScriptParameterTypesValues returns an array of possible values for the ScriptParameterTypes const type.

type ScriptSecureStringExecutionParameter

type ScriptSecureStringExecutionParameter struct {
	// SecureValue - A secure value for the passed parameter, not to be stored in logs
	SecureValue *string `json:"secureValue,omitempty"`
	// Name - The parameter name
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeScriptExecutionParameter', 'TypeSecureValue', 'TypeValue', 'TypeCredential'
	Type Type `json:"type,omitempty"`
}

ScriptSecureStringExecutionParameter a plain text value execution parameter

func (ScriptSecureStringExecutionParameter) AsBasicScriptExecutionParameter

func (sssep ScriptSecureStringExecutionParameter) AsBasicScriptExecutionParameter() (BasicScriptExecutionParameter, bool)

AsBasicScriptExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptSecureStringExecutionParameter.

func (ScriptSecureStringExecutionParameter) AsPSCredentialExecutionParameter

func (sssep ScriptSecureStringExecutionParameter) AsPSCredentialExecutionParameter() (*PSCredentialExecutionParameter, bool)

AsPSCredentialExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptSecureStringExecutionParameter.

func (ScriptSecureStringExecutionParameter) AsScriptExecutionParameter

func (sssep ScriptSecureStringExecutionParameter) AsScriptExecutionParameter() (*ScriptExecutionParameter, bool)

AsScriptExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptSecureStringExecutionParameter.

func (ScriptSecureStringExecutionParameter) AsScriptSecureStringExecutionParameter

func (sssep ScriptSecureStringExecutionParameter) AsScriptSecureStringExecutionParameter() (*ScriptSecureStringExecutionParameter, bool)

AsScriptSecureStringExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptSecureStringExecutionParameter.

func (ScriptSecureStringExecutionParameter) AsScriptStringExecutionParameter

func (sssep ScriptSecureStringExecutionParameter) AsScriptStringExecutionParameter() (*ScriptStringExecutionParameter, bool)

AsScriptStringExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptSecureStringExecutionParameter.

func (ScriptSecureStringExecutionParameter) MarshalJSON

func (sssep ScriptSecureStringExecutionParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptSecureStringExecutionParameter.

type ScriptStringExecutionParameter

type ScriptStringExecutionParameter struct {
	// Value - The value for the passed parameter
	Value *string `json:"value,omitempty"`
	// Name - The parameter name
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeScriptExecutionParameter', 'TypeSecureValue', 'TypeValue', 'TypeCredential'
	Type Type `json:"type,omitempty"`
}

ScriptStringExecutionParameter a plain text value execution parameter

func (ScriptStringExecutionParameter) AsBasicScriptExecutionParameter

func (ssep ScriptStringExecutionParameter) AsBasicScriptExecutionParameter() (BasicScriptExecutionParameter, bool)

AsBasicScriptExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptStringExecutionParameter.

func (ScriptStringExecutionParameter) AsPSCredentialExecutionParameter

func (ssep ScriptStringExecutionParameter) AsPSCredentialExecutionParameter() (*PSCredentialExecutionParameter, bool)

AsPSCredentialExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptStringExecutionParameter.

func (ScriptStringExecutionParameter) AsScriptExecutionParameter

func (ssep ScriptStringExecutionParameter) AsScriptExecutionParameter() (*ScriptExecutionParameter, bool)

AsScriptExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptStringExecutionParameter.

func (ScriptStringExecutionParameter) AsScriptSecureStringExecutionParameter

func (ssep ScriptStringExecutionParameter) AsScriptSecureStringExecutionParameter() (*ScriptSecureStringExecutionParameter, bool)

AsScriptSecureStringExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptStringExecutionParameter.

func (ScriptStringExecutionParameter) AsScriptStringExecutionParameter

func (ssep ScriptStringExecutionParameter) AsScriptStringExecutionParameter() (*ScriptStringExecutionParameter, bool)

AsScriptStringExecutionParameter is the BasicScriptExecutionParameter implementation for ScriptStringExecutionParameter.

func (ScriptStringExecutionParameter) MarshalJSON

func (ssep ScriptStringExecutionParameter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptStringExecutionParameter.

type SegmentStatusEnum

type SegmentStatusEnum string

SegmentStatusEnum enumerates the values for segment status enum.

const (
	// SegmentStatusEnumSUCCESSFAILURE ...
	SegmentStatusEnumSUCCESSFAILURE SegmentStatusEnum = "SUCCESS, FAILURE"
)

func PossibleSegmentStatusEnumValues

func PossibleSegmentStatusEnumValues() []SegmentStatusEnum

PossibleSegmentStatusEnumValues returns an array of possible values for the SegmentStatusEnum const type.

type ServiceSpecification

type ServiceSpecification struct {
	// LogSpecifications - Specifications of the Log for Azure Monitoring
	LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
	// MetricSpecifications - Specifications of the Metrics for Azure Monitoring
	MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

ServiceSpecification service specification payload

type Sku

type Sku struct {
	// Name - The name of the SKU.
	Name *string `json:"name,omitempty"`
}

Sku the resource model definition representing SKU

type SslEnum

type SslEnum string

SslEnum enumerates the values for ssl enum.

const (
	// SslEnumDisabled ...
	SslEnumDisabled SslEnum = "Disabled"
	// SslEnumEnabled ...
	SslEnumEnabled SslEnum = "Enabled"
)

func PossibleSslEnumValues

func PossibleSslEnumValues() []SslEnum

PossibleSslEnumValues returns an array of possible values for the SslEnum const type.

type TrackedResource

type TrackedResource struct {
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
	// 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"`
}

TrackedResource the resource model definition for a ARM tracked top level resource

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Trial

type Trial struct {
	autorest.Response `json:"-"`
	// Status - READ-ONLY; Trial status. Possible values include: 'TrialStatusTrialAvailable', 'TrialStatusTrialUsed', 'TrialStatusTrialDisabled'
	Status TrialStatus `json:"status,omitempty"`
	// AvailableHosts - READ-ONLY; Number of trial hosts available
	AvailableHosts *int32 `json:"availableHosts,omitempty"`
}

Trial subscription trial availability

func (Trial) MarshalJSON

func (t Trial) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Trial.

type TrialStatus

type TrialStatus string

TrialStatus enumerates the values for trial status.

const (
	// TrialStatusTrialAvailable ...
	TrialStatusTrialAvailable TrialStatus = "TrialAvailable"
	// TrialStatusTrialDisabled ...
	TrialStatusTrialDisabled TrialStatus = "TrialDisabled"
	// TrialStatusTrialUsed ...
	TrialStatusTrialUsed TrialStatus = "TrialUsed"
)

func PossibleTrialStatusValues

func PossibleTrialStatusValues() []TrialStatus

PossibleTrialStatusValues returns an array of possible values for the TrialStatus const type.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeCredential ...
	TypeCredential Type = "Credential"
	// TypeScriptExecutionParameter ...
	TypeScriptExecutionParameter Type = "ScriptExecutionParameter"
	// TypeSecureValue ...
	TypeSecureValue Type = "SecureValue"
	// TypeValue ...
	TypeValue Type = "Value"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type VMGroupStatusEnum

type VMGroupStatusEnum string

VMGroupStatusEnum enumerates the values for vm group status enum.

const (
	// VMGroupStatusEnumSUCCESSFAILURE ...
	VMGroupStatusEnumSUCCESSFAILURE VMGroupStatusEnum = "SUCCESS, FAILURE"
)

func PossibleVMGroupStatusEnumValues

func PossibleVMGroupStatusEnumValues() []VMGroupStatusEnum

PossibleVMGroupStatusEnumValues returns an array of possible values for the VMGroupStatusEnum const type.

type VMTypeEnum

type VMTypeEnum string

VMTypeEnum enumerates the values for vm type enum.

const (
	// VMTypeEnumREGULAREDGESERVICE ...
	VMTypeEnumREGULAREDGESERVICE VMTypeEnum = "REGULAR, EDGE, SERVICE"
)

func PossibleVMTypeEnumValues

func PossibleVMTypeEnumValues() []VMTypeEnum

PossibleVMTypeEnumValues returns an array of possible values for the VMTypeEnum const type.

type VisibilityParameterEnum

type VisibilityParameterEnum string

VisibilityParameterEnum enumerates the values for visibility parameter enum.

const (
	// VisibilityParameterEnumHidden ...
	VisibilityParameterEnumHidden VisibilityParameterEnum = "Hidden"
	// VisibilityParameterEnumVisible ...
	VisibilityParameterEnumVisible VisibilityParameterEnum = "Visible"
)

func PossibleVisibilityParameterEnumValues

func PossibleVisibilityParameterEnumValues() []VisibilityParameterEnum

PossibleVisibilityParameterEnumValues returns an array of possible values for the VisibilityParameterEnum const type.

type WorkloadNetworkDNSService

type WorkloadNetworkDNSService struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkDNSServiceProperties - DNS Service properties
	*WorkloadNetworkDNSServiceProperties `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"`
}

WorkloadNetworkDNSService NSX DNS Service

func (WorkloadNetworkDNSService) MarshalJSON

func (wnds WorkloadNetworkDNSService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDNSService.

func (*WorkloadNetworkDNSService) UnmarshalJSON

func (wnds *WorkloadNetworkDNSService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkDNSService struct.

type WorkloadNetworkDNSServiceProperties

type WorkloadNetworkDNSServiceProperties struct {
	// DisplayName - Display name of the DNS Service.
	DisplayName *string `json:"displayName,omitempty"`
	// DNSServiceIP - DNS service IP of the DNS Service.
	DNSServiceIP *string `json:"dnsServiceIp,omitempty"`
	// DefaultDNSZone - Default DNS zone of the DNS Service.
	DefaultDNSZone *string `json:"defaultDnsZone,omitempty"`
	// FqdnZones - FQDN zones of the DNS Service.
	FqdnZones *[]string `json:"fqdnZones,omitempty"`
	// LogLevel - DNS Service log level. Possible values include: 'DNSServiceLogLevelEnumDEBUG', 'DNSServiceLogLevelEnumINFO', 'DNSServiceLogLevelEnumWARNING', 'DNSServiceLogLevelEnumERROR', 'DNSServiceLogLevelEnumFATAL'
	LogLevel DNSServiceLogLevelEnum `json:"logLevel,omitempty"`
	// Status - READ-ONLY; DNS Service status. Possible values include: 'DNSServiceStatusEnumSUCCESS', 'DNSServiceStatusEnumFAILURE'
	Status DNSServiceStatusEnum `json:"status,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkDNSServiceProvisioningStateSucceeded', 'WorkloadNetworkDNSServiceProvisioningStateFailed', 'WorkloadNetworkDNSServiceProvisioningStateBuilding', 'WorkloadNetworkDNSServiceProvisioningStateDeleting', 'WorkloadNetworkDNSServiceProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkDNSServiceProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
}

WorkloadNetworkDNSServiceProperties NSX DNS Service Properties

func (WorkloadNetworkDNSServiceProperties) MarshalJSON

func (wndsp WorkloadNetworkDNSServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDNSServiceProperties.

type WorkloadNetworkDNSServiceProvisioningState

type WorkloadNetworkDNSServiceProvisioningState string

WorkloadNetworkDNSServiceProvisioningState enumerates the values for workload network dns service provisioning state.

const (
	// WorkloadNetworkDNSServiceProvisioningStateBuilding ...
	WorkloadNetworkDNSServiceProvisioningStateBuilding WorkloadNetworkDNSServiceProvisioningState = "Building"
	// WorkloadNetworkDNSServiceProvisioningStateDeleting ...
	WorkloadNetworkDNSServiceProvisioningStateDeleting WorkloadNetworkDNSServiceProvisioningState = "Deleting"
	// WorkloadNetworkDNSServiceProvisioningStateFailed ...
	WorkloadNetworkDNSServiceProvisioningStateFailed WorkloadNetworkDNSServiceProvisioningState = "Failed"
	// WorkloadNetworkDNSServiceProvisioningStateSucceeded ...
	WorkloadNetworkDNSServiceProvisioningStateSucceeded WorkloadNetworkDNSServiceProvisioningState = "Succeeded"
	// WorkloadNetworkDNSServiceProvisioningStateUpdating ...
	WorkloadNetworkDNSServiceProvisioningStateUpdating WorkloadNetworkDNSServiceProvisioningState = "Updating"
)

func PossibleWorkloadNetworkDNSServiceProvisioningStateValues

func PossibleWorkloadNetworkDNSServiceProvisioningStateValues() []WorkloadNetworkDNSServiceProvisioningState

PossibleWorkloadNetworkDNSServiceProvisioningStateValues returns an array of possible values for the WorkloadNetworkDNSServiceProvisioningState const type.

type WorkloadNetworkDNSServicesList

type WorkloadNetworkDNSServicesList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkDNSService `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkDNSServicesList a list of NSX DNS Services

func (WorkloadNetworkDNSServicesList) IsEmpty

func (wndsl WorkloadNetworkDNSServicesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkDNSServicesList) MarshalJSON

func (wndsl WorkloadNetworkDNSServicesList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDNSServicesList.

type WorkloadNetworkDNSServicesListIterator

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

WorkloadNetworkDNSServicesListIterator provides access to a complete listing of WorkloadNetworkDNSService values.

func NewWorkloadNetworkDNSServicesListIterator

func NewWorkloadNetworkDNSServicesListIterator(page WorkloadNetworkDNSServicesListPage) WorkloadNetworkDNSServicesListIterator

Creates a new instance of the WorkloadNetworkDNSServicesListIterator type.

func (*WorkloadNetworkDNSServicesListIterator) 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 (*WorkloadNetworkDNSServicesListIterator) NextWithContext

func (iter *WorkloadNetworkDNSServicesListIterator) 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 (WorkloadNetworkDNSServicesListIterator) NotDone

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

func (WorkloadNetworkDNSServicesListIterator) Response

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

func (WorkloadNetworkDNSServicesListIterator) Value

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

type WorkloadNetworkDNSServicesListPage

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

WorkloadNetworkDNSServicesListPage contains a page of WorkloadNetworkDNSService values.

func NewWorkloadNetworkDNSServicesListPage

Creates a new instance of the WorkloadNetworkDNSServicesListPage type.

func (*WorkloadNetworkDNSServicesListPage) Next

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 (*WorkloadNetworkDNSServicesListPage) NextWithContext

func (page *WorkloadNetworkDNSServicesListPage) 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 (WorkloadNetworkDNSServicesListPage) NotDone

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

func (WorkloadNetworkDNSServicesListPage) Response

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

func (WorkloadNetworkDNSServicesListPage) Values

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

type WorkloadNetworkDNSZone

type WorkloadNetworkDNSZone struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkDNSZoneProperties - DNS Zone properties
	*WorkloadNetworkDNSZoneProperties `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"`
}

WorkloadNetworkDNSZone NSX DNS Zone

func (WorkloadNetworkDNSZone) MarshalJSON

func (wndz WorkloadNetworkDNSZone) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDNSZone.

func (*WorkloadNetworkDNSZone) UnmarshalJSON

func (wndz *WorkloadNetworkDNSZone) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkDNSZone struct.

type WorkloadNetworkDNSZoneProperties

type WorkloadNetworkDNSZoneProperties struct {
	// DisplayName - Display name of the DNS Zone.
	DisplayName *string `json:"displayName,omitempty"`
	// Domain - Domain names of the DNS Zone.
	Domain *[]string `json:"domain,omitempty"`
	// DNSServerIps - DNS Server IP array of the DNS Zone.
	DNSServerIps *[]string `json:"dnsServerIps,omitempty"`
	// SourceIP - Source IP of the DNS Zone.
	SourceIP *string `json:"sourceIp,omitempty"`
	// DNSServices - Number of DNS Services using the DNS zone.
	DNSServices *int64 `json:"dnsServices,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkDNSZoneProvisioningStateSucceeded', 'WorkloadNetworkDNSZoneProvisioningStateFailed', 'WorkloadNetworkDNSZoneProvisioningStateBuilding', 'WorkloadNetworkDNSZoneProvisioningStateDeleting', 'WorkloadNetworkDNSZoneProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkDNSZoneProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
}

WorkloadNetworkDNSZoneProperties NSX DNS Zone Properties

func (WorkloadNetworkDNSZoneProperties) MarshalJSON

func (wndzp WorkloadNetworkDNSZoneProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDNSZoneProperties.

type WorkloadNetworkDNSZoneProvisioningState

type WorkloadNetworkDNSZoneProvisioningState string

WorkloadNetworkDNSZoneProvisioningState enumerates the values for workload network dns zone provisioning state.

const (
	// WorkloadNetworkDNSZoneProvisioningStateBuilding ...
	WorkloadNetworkDNSZoneProvisioningStateBuilding WorkloadNetworkDNSZoneProvisioningState = "Building"
	// WorkloadNetworkDNSZoneProvisioningStateDeleting ...
	WorkloadNetworkDNSZoneProvisioningStateDeleting WorkloadNetworkDNSZoneProvisioningState = "Deleting"
	// WorkloadNetworkDNSZoneProvisioningStateFailed ...
	WorkloadNetworkDNSZoneProvisioningStateFailed WorkloadNetworkDNSZoneProvisioningState = "Failed"
	// WorkloadNetworkDNSZoneProvisioningStateSucceeded ...
	WorkloadNetworkDNSZoneProvisioningStateSucceeded WorkloadNetworkDNSZoneProvisioningState = "Succeeded"
	// WorkloadNetworkDNSZoneProvisioningStateUpdating ...
	WorkloadNetworkDNSZoneProvisioningStateUpdating WorkloadNetworkDNSZoneProvisioningState = "Updating"
)

func PossibleWorkloadNetworkDNSZoneProvisioningStateValues

func PossibleWorkloadNetworkDNSZoneProvisioningStateValues() []WorkloadNetworkDNSZoneProvisioningState

PossibleWorkloadNetworkDNSZoneProvisioningStateValues returns an array of possible values for the WorkloadNetworkDNSZoneProvisioningState const type.

type WorkloadNetworkDNSZonesList

type WorkloadNetworkDNSZonesList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkDNSZone `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkDNSZonesList a list of NSX DNS Zones

func (WorkloadNetworkDNSZonesList) IsEmpty

func (wndzl WorkloadNetworkDNSZonesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkDNSZonesList) MarshalJSON

func (wndzl WorkloadNetworkDNSZonesList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDNSZonesList.

type WorkloadNetworkDNSZonesListIterator

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

WorkloadNetworkDNSZonesListIterator provides access to a complete listing of WorkloadNetworkDNSZone values.

func NewWorkloadNetworkDNSZonesListIterator

func NewWorkloadNetworkDNSZonesListIterator(page WorkloadNetworkDNSZonesListPage) WorkloadNetworkDNSZonesListIterator

Creates a new instance of the WorkloadNetworkDNSZonesListIterator type.

func (*WorkloadNetworkDNSZonesListIterator) 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 (*WorkloadNetworkDNSZonesListIterator) NextWithContext

func (iter *WorkloadNetworkDNSZonesListIterator) 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 (WorkloadNetworkDNSZonesListIterator) NotDone

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

func (WorkloadNetworkDNSZonesListIterator) Response

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

func (WorkloadNetworkDNSZonesListIterator) Value

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

type WorkloadNetworkDNSZonesListPage

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

WorkloadNetworkDNSZonesListPage contains a page of WorkloadNetworkDNSZone values.

func NewWorkloadNetworkDNSZonesListPage

Creates a new instance of the WorkloadNetworkDNSZonesListPage type.

func (*WorkloadNetworkDNSZonesListPage) Next

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 (*WorkloadNetworkDNSZonesListPage) NextWithContext

func (page *WorkloadNetworkDNSZonesListPage) 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 (WorkloadNetworkDNSZonesListPage) NotDone

func (page WorkloadNetworkDNSZonesListPage) NotDone() bool

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

func (WorkloadNetworkDNSZonesListPage) Response

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

func (WorkloadNetworkDNSZonesListPage) Values

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

type WorkloadNetworkDhcp

type WorkloadNetworkDhcp struct {
	autorest.Response `json:"-"`
	// Properties - DHCP properties.
	Properties BasicWorkloadNetworkDhcpEntity `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"`
}

WorkloadNetworkDhcp NSX DHCP

func (WorkloadNetworkDhcp) MarshalJSON

func (wnd WorkloadNetworkDhcp) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDhcp.

func (*WorkloadNetworkDhcp) UnmarshalJSON

func (wnd *WorkloadNetworkDhcp) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkDhcp struct.

type WorkloadNetworkDhcpEntity

type WorkloadNetworkDhcpEntity struct {
	// DisplayName - Display name of the DHCP entity.
	DisplayName *string `json:"displayName,omitempty"`
	// Segments - READ-ONLY; NSX Segments consuming DHCP.
	Segments *[]string `json:"segments,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkDhcpProvisioningStateSucceeded', 'WorkloadNetworkDhcpProvisioningStateFailed', 'WorkloadNetworkDhcpProvisioningStateBuilding', 'WorkloadNetworkDhcpProvisioningStateDeleting', 'WorkloadNetworkDhcpProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkDhcpProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
	// DhcpType - Possible values include: 'DhcpTypeWorkloadNetworkDhcpEntity', 'DhcpTypeSERVER', 'DhcpTypeRELAY'
	DhcpType DhcpType `json:"dhcpType,omitempty"`
}

WorkloadNetworkDhcpEntity base class for WorkloadNetworkDhcpServer and WorkloadNetworkDhcpRelay to inherit from

func (WorkloadNetworkDhcpEntity) AsBasicWorkloadNetworkDhcpEntity

func (wnde WorkloadNetworkDhcpEntity) AsBasicWorkloadNetworkDhcpEntity() (BasicWorkloadNetworkDhcpEntity, bool)

AsBasicWorkloadNetworkDhcpEntity is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpEntity.

func (WorkloadNetworkDhcpEntity) AsWorkloadNetworkDhcpEntity

func (wnde WorkloadNetworkDhcpEntity) AsWorkloadNetworkDhcpEntity() (*WorkloadNetworkDhcpEntity, bool)

AsWorkloadNetworkDhcpEntity is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpEntity.

func (WorkloadNetworkDhcpEntity) AsWorkloadNetworkDhcpRelay

func (wnde WorkloadNetworkDhcpEntity) AsWorkloadNetworkDhcpRelay() (*WorkloadNetworkDhcpRelay, bool)

AsWorkloadNetworkDhcpRelay is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpEntity.

func (WorkloadNetworkDhcpEntity) AsWorkloadNetworkDhcpServer

func (wnde WorkloadNetworkDhcpEntity) AsWorkloadNetworkDhcpServer() (*WorkloadNetworkDhcpServer, bool)

AsWorkloadNetworkDhcpServer is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpEntity.

func (WorkloadNetworkDhcpEntity) MarshalJSON

func (wnde WorkloadNetworkDhcpEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDhcpEntity.

type WorkloadNetworkDhcpList

type WorkloadNetworkDhcpList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkDhcp `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkDhcpList a list of NSX dhcp entities

func (WorkloadNetworkDhcpList) IsEmpty

func (wndl WorkloadNetworkDhcpList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkDhcpList) MarshalJSON

func (wndl WorkloadNetworkDhcpList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDhcpList.

type WorkloadNetworkDhcpListIterator

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

WorkloadNetworkDhcpListIterator provides access to a complete listing of WorkloadNetworkDhcp values.

func NewWorkloadNetworkDhcpListIterator

func NewWorkloadNetworkDhcpListIterator(page WorkloadNetworkDhcpListPage) WorkloadNetworkDhcpListIterator

Creates a new instance of the WorkloadNetworkDhcpListIterator type.

func (*WorkloadNetworkDhcpListIterator) 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 (*WorkloadNetworkDhcpListIterator) NextWithContext

func (iter *WorkloadNetworkDhcpListIterator) 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 (WorkloadNetworkDhcpListIterator) NotDone

func (iter WorkloadNetworkDhcpListIterator) NotDone() bool

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

func (WorkloadNetworkDhcpListIterator) Response

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

func (WorkloadNetworkDhcpListIterator) Value

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

type WorkloadNetworkDhcpListPage

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

WorkloadNetworkDhcpListPage contains a page of WorkloadNetworkDhcp values.

func NewWorkloadNetworkDhcpListPage

Creates a new instance of the WorkloadNetworkDhcpListPage type.

func (*WorkloadNetworkDhcpListPage) Next

func (page *WorkloadNetworkDhcpListPage) 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 (*WorkloadNetworkDhcpListPage) NextWithContext

func (page *WorkloadNetworkDhcpListPage) 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 (WorkloadNetworkDhcpListPage) NotDone

func (page WorkloadNetworkDhcpListPage) NotDone() bool

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

func (WorkloadNetworkDhcpListPage) Response

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

func (WorkloadNetworkDhcpListPage) Values

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

type WorkloadNetworkDhcpProvisioningState

type WorkloadNetworkDhcpProvisioningState string

WorkloadNetworkDhcpProvisioningState enumerates the values for workload network dhcp provisioning state.

const (
	// WorkloadNetworkDhcpProvisioningStateBuilding ...
	WorkloadNetworkDhcpProvisioningStateBuilding WorkloadNetworkDhcpProvisioningState = "Building"
	// WorkloadNetworkDhcpProvisioningStateDeleting ...
	WorkloadNetworkDhcpProvisioningStateDeleting WorkloadNetworkDhcpProvisioningState = "Deleting"
	// WorkloadNetworkDhcpProvisioningStateFailed ...
	WorkloadNetworkDhcpProvisioningStateFailed WorkloadNetworkDhcpProvisioningState = "Failed"
	// WorkloadNetworkDhcpProvisioningStateSucceeded ...
	WorkloadNetworkDhcpProvisioningStateSucceeded WorkloadNetworkDhcpProvisioningState = "Succeeded"
	// WorkloadNetworkDhcpProvisioningStateUpdating ...
	WorkloadNetworkDhcpProvisioningStateUpdating WorkloadNetworkDhcpProvisioningState = "Updating"
)

func PossibleWorkloadNetworkDhcpProvisioningStateValues

func PossibleWorkloadNetworkDhcpProvisioningStateValues() []WorkloadNetworkDhcpProvisioningState

PossibleWorkloadNetworkDhcpProvisioningStateValues returns an array of possible values for the WorkloadNetworkDhcpProvisioningState const type.

type WorkloadNetworkDhcpRelay

type WorkloadNetworkDhcpRelay struct {
	// ServerAddresses - DHCP Relay Addresses. Max 3.
	ServerAddresses *[]string `json:"serverAddresses,omitempty"`
	// DisplayName - Display name of the DHCP entity.
	DisplayName *string `json:"displayName,omitempty"`
	// Segments - READ-ONLY; NSX Segments consuming DHCP.
	Segments *[]string `json:"segments,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkDhcpProvisioningStateSucceeded', 'WorkloadNetworkDhcpProvisioningStateFailed', 'WorkloadNetworkDhcpProvisioningStateBuilding', 'WorkloadNetworkDhcpProvisioningStateDeleting', 'WorkloadNetworkDhcpProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkDhcpProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
	// DhcpType - Possible values include: 'DhcpTypeWorkloadNetworkDhcpEntity', 'DhcpTypeSERVER', 'DhcpTypeRELAY'
	DhcpType DhcpType `json:"dhcpType,omitempty"`
}

WorkloadNetworkDhcpRelay NSX DHCP Relay

func (WorkloadNetworkDhcpRelay) AsBasicWorkloadNetworkDhcpEntity

func (wndr WorkloadNetworkDhcpRelay) AsBasicWorkloadNetworkDhcpEntity() (BasicWorkloadNetworkDhcpEntity, bool)

AsBasicWorkloadNetworkDhcpEntity is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpRelay.

func (WorkloadNetworkDhcpRelay) AsWorkloadNetworkDhcpEntity

func (wndr WorkloadNetworkDhcpRelay) AsWorkloadNetworkDhcpEntity() (*WorkloadNetworkDhcpEntity, bool)

AsWorkloadNetworkDhcpEntity is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpRelay.

func (WorkloadNetworkDhcpRelay) AsWorkloadNetworkDhcpRelay

func (wndr WorkloadNetworkDhcpRelay) AsWorkloadNetworkDhcpRelay() (*WorkloadNetworkDhcpRelay, bool)

AsWorkloadNetworkDhcpRelay is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpRelay.

func (WorkloadNetworkDhcpRelay) AsWorkloadNetworkDhcpServer

func (wndr WorkloadNetworkDhcpRelay) AsWorkloadNetworkDhcpServer() (*WorkloadNetworkDhcpServer, bool)

AsWorkloadNetworkDhcpServer is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpRelay.

func (WorkloadNetworkDhcpRelay) MarshalJSON

func (wndr WorkloadNetworkDhcpRelay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDhcpRelay.

type WorkloadNetworkDhcpServer

type WorkloadNetworkDhcpServer struct {
	// ServerAddress - DHCP Server Address.
	ServerAddress *string `json:"serverAddress,omitempty"`
	// LeaseTime - DHCP Server Lease Time.
	LeaseTime *int64 `json:"leaseTime,omitempty"`
	// DisplayName - Display name of the DHCP entity.
	DisplayName *string `json:"displayName,omitempty"`
	// Segments - READ-ONLY; NSX Segments consuming DHCP.
	Segments *[]string `json:"segments,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkDhcpProvisioningStateSucceeded', 'WorkloadNetworkDhcpProvisioningStateFailed', 'WorkloadNetworkDhcpProvisioningStateBuilding', 'WorkloadNetworkDhcpProvisioningStateDeleting', 'WorkloadNetworkDhcpProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkDhcpProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
	// DhcpType - Possible values include: 'DhcpTypeWorkloadNetworkDhcpEntity', 'DhcpTypeSERVER', 'DhcpTypeRELAY'
	DhcpType DhcpType `json:"dhcpType,omitempty"`
}

WorkloadNetworkDhcpServer NSX DHCP Server

func (WorkloadNetworkDhcpServer) AsBasicWorkloadNetworkDhcpEntity

func (wnds WorkloadNetworkDhcpServer) AsBasicWorkloadNetworkDhcpEntity() (BasicWorkloadNetworkDhcpEntity, bool)

AsBasicWorkloadNetworkDhcpEntity is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpServer.

func (WorkloadNetworkDhcpServer) AsWorkloadNetworkDhcpEntity

func (wnds WorkloadNetworkDhcpServer) AsWorkloadNetworkDhcpEntity() (*WorkloadNetworkDhcpEntity, bool)

AsWorkloadNetworkDhcpEntity is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpServer.

func (WorkloadNetworkDhcpServer) AsWorkloadNetworkDhcpRelay

func (wnds WorkloadNetworkDhcpServer) AsWorkloadNetworkDhcpRelay() (*WorkloadNetworkDhcpRelay, bool)

AsWorkloadNetworkDhcpRelay is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpServer.

func (WorkloadNetworkDhcpServer) AsWorkloadNetworkDhcpServer

func (wnds WorkloadNetworkDhcpServer) AsWorkloadNetworkDhcpServer() (*WorkloadNetworkDhcpServer, bool)

AsWorkloadNetworkDhcpServer is the BasicWorkloadNetworkDhcpEntity implementation for WorkloadNetworkDhcpServer.

func (WorkloadNetworkDhcpServer) MarshalJSON

func (wnds WorkloadNetworkDhcpServer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkDhcpServer.

type WorkloadNetworkGateway

type WorkloadNetworkGateway struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkGatewayProperties - Gateway properties.
	*WorkloadNetworkGatewayProperties `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"`
}

WorkloadNetworkGateway NSX Gateway.

func (WorkloadNetworkGateway) MarshalJSON

func (wng WorkloadNetworkGateway) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkGateway.

func (*WorkloadNetworkGateway) UnmarshalJSON

func (wng *WorkloadNetworkGateway) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkGateway struct.

type WorkloadNetworkGatewayList

type WorkloadNetworkGatewayList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkGateway `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkGatewayList a list of NSX Gateways

func (WorkloadNetworkGatewayList) IsEmpty

func (wngl WorkloadNetworkGatewayList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkGatewayList) MarshalJSON

func (wngl WorkloadNetworkGatewayList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkGatewayList.

type WorkloadNetworkGatewayListIterator

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

WorkloadNetworkGatewayListIterator provides access to a complete listing of WorkloadNetworkGateway values.

func NewWorkloadNetworkGatewayListIterator

func NewWorkloadNetworkGatewayListIterator(page WorkloadNetworkGatewayListPage) WorkloadNetworkGatewayListIterator

Creates a new instance of the WorkloadNetworkGatewayListIterator type.

func (*WorkloadNetworkGatewayListIterator) 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 (*WorkloadNetworkGatewayListIterator) NextWithContext

func (iter *WorkloadNetworkGatewayListIterator) 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 (WorkloadNetworkGatewayListIterator) NotDone

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

func (WorkloadNetworkGatewayListIterator) Response

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

func (WorkloadNetworkGatewayListIterator) Value

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

type WorkloadNetworkGatewayListPage

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

WorkloadNetworkGatewayListPage contains a page of WorkloadNetworkGateway values.

func NewWorkloadNetworkGatewayListPage

Creates a new instance of the WorkloadNetworkGatewayListPage type.

func (*WorkloadNetworkGatewayListPage) Next

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 (*WorkloadNetworkGatewayListPage) NextWithContext

func (page *WorkloadNetworkGatewayListPage) 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 (WorkloadNetworkGatewayListPage) NotDone

func (page WorkloadNetworkGatewayListPage) NotDone() bool

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

func (WorkloadNetworkGatewayListPage) Response

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

func (WorkloadNetworkGatewayListPage) Values

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

type WorkloadNetworkGatewayProperties

type WorkloadNetworkGatewayProperties struct {
	// DisplayName - Display name of the DHCP entity.
	DisplayName *string `json:"displayName,omitempty"`
	// Path - READ-ONLY; NSX Gateway Path.
	Path *string `json:"path,omitempty"`
}

WorkloadNetworkGatewayProperties properties of a NSX Gateway.

func (WorkloadNetworkGatewayProperties) MarshalJSON

func (wngp WorkloadNetworkGatewayProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkGatewayProperties.

type WorkloadNetworkPortMirroring

type WorkloadNetworkPortMirroring struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkPortMirroringProperties - Port Mirroring Properties.
	*WorkloadNetworkPortMirroringProperties `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"`
}

WorkloadNetworkPortMirroring NSX Port Mirroring

func (WorkloadNetworkPortMirroring) MarshalJSON

func (wnpm WorkloadNetworkPortMirroring) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkPortMirroring.

func (*WorkloadNetworkPortMirroring) UnmarshalJSON

func (wnpm *WorkloadNetworkPortMirroring) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkPortMirroring struct.

type WorkloadNetworkPortMirroringList

type WorkloadNetworkPortMirroringList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkPortMirroring `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkPortMirroringList a list of NSX Port Mirroring

func (WorkloadNetworkPortMirroringList) IsEmpty

func (wnpml WorkloadNetworkPortMirroringList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkPortMirroringList) MarshalJSON

func (wnpml WorkloadNetworkPortMirroringList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkPortMirroringList.

type WorkloadNetworkPortMirroringListIterator

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

WorkloadNetworkPortMirroringListIterator provides access to a complete listing of WorkloadNetworkPortMirroring values.

func NewWorkloadNetworkPortMirroringListIterator

func NewWorkloadNetworkPortMirroringListIterator(page WorkloadNetworkPortMirroringListPage) WorkloadNetworkPortMirroringListIterator

Creates a new instance of the WorkloadNetworkPortMirroringListIterator type.

func (*WorkloadNetworkPortMirroringListIterator) 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 (*WorkloadNetworkPortMirroringListIterator) NextWithContext

func (iter *WorkloadNetworkPortMirroringListIterator) 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 (WorkloadNetworkPortMirroringListIterator) NotDone

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

func (WorkloadNetworkPortMirroringListIterator) Response

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

func (WorkloadNetworkPortMirroringListIterator) Value

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

type WorkloadNetworkPortMirroringListPage

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

WorkloadNetworkPortMirroringListPage contains a page of WorkloadNetworkPortMirroring values.

func NewWorkloadNetworkPortMirroringListPage

Creates a new instance of the WorkloadNetworkPortMirroringListPage type.

func (*WorkloadNetworkPortMirroringListPage) Next

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 (*WorkloadNetworkPortMirroringListPage) NextWithContext

func (page *WorkloadNetworkPortMirroringListPage) 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 (WorkloadNetworkPortMirroringListPage) NotDone

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

func (WorkloadNetworkPortMirroringListPage) Response

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

func (WorkloadNetworkPortMirroringListPage) Values

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

type WorkloadNetworkPortMirroringProperties

type WorkloadNetworkPortMirroringProperties struct {
	// DisplayName - Display name of the port mirroring profile.
	DisplayName *string `json:"displayName,omitempty"`
	// Direction - Direction of port mirroring profile. Possible values include: 'PortMirroringDirectionEnumINGRESSEGRESSBIDIRECTIONAL'
	Direction PortMirroringDirectionEnum `json:"direction,omitempty"`
	// Source - Source VM Group.
	Source *string `json:"source,omitempty"`
	// Destination - Destination VM Group.
	Destination *string `json:"destination,omitempty"`
	// Status - READ-ONLY; Port Mirroring Status. Possible values include: 'PortMirroringStatusEnumSUCCESSFAILURE'
	Status PortMirroringStatusEnum `json:"status,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkPortMirroringProvisioningStateSucceeded', 'WorkloadNetworkPortMirroringProvisioningStateFailed', 'WorkloadNetworkPortMirroringProvisioningStateBuilding', 'WorkloadNetworkPortMirroringProvisioningStateDeleting', 'WorkloadNetworkPortMirroringProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkPortMirroringProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
}

WorkloadNetworkPortMirroringProperties NSX Port Mirroring Properties

func (WorkloadNetworkPortMirroringProperties) MarshalJSON

func (wnpmp WorkloadNetworkPortMirroringProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkPortMirroringProperties.

type WorkloadNetworkPortMirroringProvisioningState

type WorkloadNetworkPortMirroringProvisioningState string

WorkloadNetworkPortMirroringProvisioningState enumerates the values for workload network port mirroring provisioning state.

const (
	// WorkloadNetworkPortMirroringProvisioningStateBuilding ...
	WorkloadNetworkPortMirroringProvisioningStateBuilding WorkloadNetworkPortMirroringProvisioningState = "Building"
	// WorkloadNetworkPortMirroringProvisioningStateDeleting ...
	WorkloadNetworkPortMirroringProvisioningStateDeleting WorkloadNetworkPortMirroringProvisioningState = "Deleting"
	// WorkloadNetworkPortMirroringProvisioningStateFailed ...
	WorkloadNetworkPortMirroringProvisioningStateFailed WorkloadNetworkPortMirroringProvisioningState = "Failed"
	// WorkloadNetworkPortMirroringProvisioningStateSucceeded ...
	WorkloadNetworkPortMirroringProvisioningStateSucceeded WorkloadNetworkPortMirroringProvisioningState = "Succeeded"
	// WorkloadNetworkPortMirroringProvisioningStateUpdating ...
	WorkloadNetworkPortMirroringProvisioningStateUpdating WorkloadNetworkPortMirroringProvisioningState = "Updating"
)

func PossibleWorkloadNetworkPortMirroringProvisioningStateValues

func PossibleWorkloadNetworkPortMirroringProvisioningStateValues() []WorkloadNetworkPortMirroringProvisioningState

PossibleWorkloadNetworkPortMirroringProvisioningStateValues returns an array of possible values for the WorkloadNetworkPortMirroringProvisioningState const type.

type WorkloadNetworkPublicIP

type WorkloadNetworkPublicIP struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkPublicIPProperties - Public IP Block properties
	*WorkloadNetworkPublicIPProperties `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"`
}

WorkloadNetworkPublicIP NSX Public IP Block

func (WorkloadNetworkPublicIP) MarshalJSON

func (wnpi WorkloadNetworkPublicIP) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkPublicIP.

func (*WorkloadNetworkPublicIP) UnmarshalJSON

func (wnpi *WorkloadNetworkPublicIP) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkPublicIP struct.

type WorkloadNetworkPublicIPProperties

type WorkloadNetworkPublicIPProperties struct {
	// DisplayName - Display name of the Public IP Block.
	DisplayName *string `json:"displayName,omitempty"`
	// NumberOfPublicIPs - Number of Public IPs requested.
	NumberOfPublicIPs *int64 `json:"numberOfPublicIPs,omitempty"`
	// PublicIPBlock - READ-ONLY; CIDR Block of the Public IP Block.
	PublicIPBlock *string `json:"publicIPBlock,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkPublicIPProvisioningStateSucceeded', 'WorkloadNetworkPublicIPProvisioningStateFailed', 'WorkloadNetworkPublicIPProvisioningStateBuilding', 'WorkloadNetworkPublicIPProvisioningStateDeleting', 'WorkloadNetworkPublicIPProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkPublicIPProvisioningState `json:"provisioningState,omitempty"`
}

WorkloadNetworkPublicIPProperties NSX Public IP Block Properties

func (WorkloadNetworkPublicIPProperties) MarshalJSON

func (wnpip WorkloadNetworkPublicIPProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkPublicIPProperties.

type WorkloadNetworkPublicIPProvisioningState

type WorkloadNetworkPublicIPProvisioningState string

WorkloadNetworkPublicIPProvisioningState enumerates the values for workload network public ip provisioning state.

const (
	// WorkloadNetworkPublicIPProvisioningStateBuilding ...
	WorkloadNetworkPublicIPProvisioningStateBuilding WorkloadNetworkPublicIPProvisioningState = "Building"
	// WorkloadNetworkPublicIPProvisioningStateDeleting ...
	WorkloadNetworkPublicIPProvisioningStateDeleting WorkloadNetworkPublicIPProvisioningState = "Deleting"
	// WorkloadNetworkPublicIPProvisioningStateFailed ...
	WorkloadNetworkPublicIPProvisioningStateFailed WorkloadNetworkPublicIPProvisioningState = "Failed"
	// WorkloadNetworkPublicIPProvisioningStateSucceeded ...
	WorkloadNetworkPublicIPProvisioningStateSucceeded WorkloadNetworkPublicIPProvisioningState = "Succeeded"
	// WorkloadNetworkPublicIPProvisioningStateUpdating ...
	WorkloadNetworkPublicIPProvisioningStateUpdating WorkloadNetworkPublicIPProvisioningState = "Updating"
)

func PossibleWorkloadNetworkPublicIPProvisioningStateValues

func PossibleWorkloadNetworkPublicIPProvisioningStateValues() []WorkloadNetworkPublicIPProvisioningState

PossibleWorkloadNetworkPublicIPProvisioningStateValues returns an array of possible values for the WorkloadNetworkPublicIPProvisioningState const type.

type WorkloadNetworkPublicIPsList

type WorkloadNetworkPublicIPsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkPublicIP `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkPublicIPsList a list of NSX Public IP Blocks

func (WorkloadNetworkPublicIPsList) IsEmpty

func (wnpipl WorkloadNetworkPublicIPsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkPublicIPsList) MarshalJSON

func (wnpipl WorkloadNetworkPublicIPsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkPublicIPsList.

type WorkloadNetworkPublicIPsListIterator

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

WorkloadNetworkPublicIPsListIterator provides access to a complete listing of WorkloadNetworkPublicIP values.

func NewWorkloadNetworkPublicIPsListIterator

func NewWorkloadNetworkPublicIPsListIterator(page WorkloadNetworkPublicIPsListPage) WorkloadNetworkPublicIPsListIterator

Creates a new instance of the WorkloadNetworkPublicIPsListIterator type.

func (*WorkloadNetworkPublicIPsListIterator) 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 (*WorkloadNetworkPublicIPsListIterator) NextWithContext

func (iter *WorkloadNetworkPublicIPsListIterator) 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 (WorkloadNetworkPublicIPsListIterator) NotDone

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

func (WorkloadNetworkPublicIPsListIterator) Response

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

func (WorkloadNetworkPublicIPsListIterator) Value

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

type WorkloadNetworkPublicIPsListPage

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

WorkloadNetworkPublicIPsListPage contains a page of WorkloadNetworkPublicIP values.

func NewWorkloadNetworkPublicIPsListPage

Creates a new instance of the WorkloadNetworkPublicIPsListPage type.

func (*WorkloadNetworkPublicIPsListPage) Next

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 (*WorkloadNetworkPublicIPsListPage) NextWithContext

func (page *WorkloadNetworkPublicIPsListPage) 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 (WorkloadNetworkPublicIPsListPage) NotDone

func (page WorkloadNetworkPublicIPsListPage) NotDone() bool

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

func (WorkloadNetworkPublicIPsListPage) Response

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

func (WorkloadNetworkPublicIPsListPage) Values

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

type WorkloadNetworkSegment

type WorkloadNetworkSegment struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkSegmentProperties - The properties of a Workload Segment proxy resource.
	*WorkloadNetworkSegmentProperties `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"`
}

WorkloadNetworkSegment NSX Segment

func (WorkloadNetworkSegment) MarshalJSON

func (wns WorkloadNetworkSegment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkSegment.

func (*WorkloadNetworkSegment) UnmarshalJSON

func (wns *WorkloadNetworkSegment) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkSegment struct.

type WorkloadNetworkSegmentPortVif

type WorkloadNetworkSegmentPortVif struct {
	// PortName - Name of port or VIF attached to segment.
	PortName *string `json:"portName,omitempty"`
}

WorkloadNetworkSegmentPortVif ports and any VIF attached to segment.

type WorkloadNetworkSegmentProperties

type WorkloadNetworkSegmentProperties struct {
	// DisplayName - Display name of the segment.
	DisplayName *string `json:"displayName,omitempty"`
	// ConnectedGateway - Gateway which to connect segment to.
	ConnectedGateway *string `json:"connectedGateway,omitempty"`
	// Subnet - Subnet which to connect segment to.
	Subnet *WorkloadNetworkSegmentSubnet `json:"subnet,omitempty"`
	// PortVif - READ-ONLY; Port Vif which segment is associated with.
	PortVif *[]WorkloadNetworkSegmentPortVif `json:"portVif,omitempty"`
	// Status - READ-ONLY; Segment status. Possible values include: 'SegmentStatusEnumSUCCESSFAILURE'
	Status SegmentStatusEnum `json:"status,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkSegmentProvisioningStateSucceeded', 'WorkloadNetworkSegmentProvisioningStateFailed', 'WorkloadNetworkSegmentProvisioningStateBuilding', 'WorkloadNetworkSegmentProvisioningStateDeleting', 'WorkloadNetworkSegmentProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkSegmentProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
}

WorkloadNetworkSegmentProperties NSX Segment Properties

func (WorkloadNetworkSegmentProperties) MarshalJSON

func (wnsp WorkloadNetworkSegmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkSegmentProperties.

type WorkloadNetworkSegmentProvisioningState

type WorkloadNetworkSegmentProvisioningState string

WorkloadNetworkSegmentProvisioningState enumerates the values for workload network segment provisioning state.

const (
	// WorkloadNetworkSegmentProvisioningStateBuilding ...
	WorkloadNetworkSegmentProvisioningStateBuilding WorkloadNetworkSegmentProvisioningState = "Building"
	// WorkloadNetworkSegmentProvisioningStateDeleting ...
	WorkloadNetworkSegmentProvisioningStateDeleting WorkloadNetworkSegmentProvisioningState = "Deleting"
	// WorkloadNetworkSegmentProvisioningStateFailed ...
	WorkloadNetworkSegmentProvisioningStateFailed WorkloadNetworkSegmentProvisioningState = "Failed"
	// WorkloadNetworkSegmentProvisioningStateSucceeded ...
	WorkloadNetworkSegmentProvisioningStateSucceeded WorkloadNetworkSegmentProvisioningState = "Succeeded"
	// WorkloadNetworkSegmentProvisioningStateUpdating ...
	WorkloadNetworkSegmentProvisioningStateUpdating WorkloadNetworkSegmentProvisioningState = "Updating"
)

func PossibleWorkloadNetworkSegmentProvisioningStateValues

func PossibleWorkloadNetworkSegmentProvisioningStateValues() []WorkloadNetworkSegmentProvisioningState

PossibleWorkloadNetworkSegmentProvisioningStateValues returns an array of possible values for the WorkloadNetworkSegmentProvisioningState const type.

type WorkloadNetworkSegmentSubnet

type WorkloadNetworkSegmentSubnet struct {
	// DhcpRanges - DHCP Range assigned for subnet.
	DhcpRanges *[]string `json:"dhcpRanges,omitempty"`
	// GatewayAddress - Gateway address.
	GatewayAddress *string `json:"gatewayAddress,omitempty"`
}

WorkloadNetworkSegmentSubnet subnet configuration for segment

type WorkloadNetworkSegmentsList

type WorkloadNetworkSegmentsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkSegment `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkSegmentsList a list of NSX Segments

func (WorkloadNetworkSegmentsList) IsEmpty

func (wnsl WorkloadNetworkSegmentsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkSegmentsList) MarshalJSON

func (wnsl WorkloadNetworkSegmentsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkSegmentsList.

type WorkloadNetworkSegmentsListIterator

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

WorkloadNetworkSegmentsListIterator provides access to a complete listing of WorkloadNetworkSegment values.

func NewWorkloadNetworkSegmentsListIterator

func NewWorkloadNetworkSegmentsListIterator(page WorkloadNetworkSegmentsListPage) WorkloadNetworkSegmentsListIterator

Creates a new instance of the WorkloadNetworkSegmentsListIterator type.

func (*WorkloadNetworkSegmentsListIterator) 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 (*WorkloadNetworkSegmentsListIterator) NextWithContext

func (iter *WorkloadNetworkSegmentsListIterator) 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 (WorkloadNetworkSegmentsListIterator) NotDone

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

func (WorkloadNetworkSegmentsListIterator) Response

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

func (WorkloadNetworkSegmentsListIterator) Value

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

type WorkloadNetworkSegmentsListPage

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

WorkloadNetworkSegmentsListPage contains a page of WorkloadNetworkSegment values.

func NewWorkloadNetworkSegmentsListPage

Creates a new instance of the WorkloadNetworkSegmentsListPage type.

func (*WorkloadNetworkSegmentsListPage) Next

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 (*WorkloadNetworkSegmentsListPage) NextWithContext

func (page *WorkloadNetworkSegmentsListPage) 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 (WorkloadNetworkSegmentsListPage) NotDone

func (page WorkloadNetworkSegmentsListPage) NotDone() bool

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

func (WorkloadNetworkSegmentsListPage) Response

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

func (WorkloadNetworkSegmentsListPage) Values

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

type WorkloadNetworkVMGroup

type WorkloadNetworkVMGroup struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkVMGroupProperties - VM Group properties.
	*WorkloadNetworkVMGroupProperties `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"`
}

WorkloadNetworkVMGroup NSX VM Group

func (WorkloadNetworkVMGroup) MarshalJSON

func (wnvg WorkloadNetworkVMGroup) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkVMGroup.

func (*WorkloadNetworkVMGroup) UnmarshalJSON

func (wnvg *WorkloadNetworkVMGroup) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkVMGroup struct.

type WorkloadNetworkVMGroupProperties

type WorkloadNetworkVMGroupProperties struct {
	// DisplayName - Display name of the VM group.
	DisplayName *string `json:"displayName,omitempty"`
	// Members - Virtual machine members of this group.
	Members *[]string `json:"members,omitempty"`
	// Status - READ-ONLY; VM Group status. Possible values include: 'VMGroupStatusEnumSUCCESSFAILURE'
	Status VMGroupStatusEnum `json:"status,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'WorkloadNetworkVMGroupProvisioningStateSucceeded', 'WorkloadNetworkVMGroupProvisioningStateFailed', 'WorkloadNetworkVMGroupProvisioningStateBuilding', 'WorkloadNetworkVMGroupProvisioningStateDeleting', 'WorkloadNetworkVMGroupProvisioningStateUpdating'
	ProvisioningState WorkloadNetworkVMGroupProvisioningState `json:"provisioningState,omitempty"`
	// Revision - NSX revision number.
	Revision *int64 `json:"revision,omitempty"`
}

WorkloadNetworkVMGroupProperties NSX VM Group Properties

func (WorkloadNetworkVMGroupProperties) MarshalJSON

func (wnvgp WorkloadNetworkVMGroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkVMGroupProperties.

type WorkloadNetworkVMGroupProvisioningState

type WorkloadNetworkVMGroupProvisioningState string

WorkloadNetworkVMGroupProvisioningState enumerates the values for workload network vm group provisioning state.

const (
	// WorkloadNetworkVMGroupProvisioningStateBuilding ...
	WorkloadNetworkVMGroupProvisioningStateBuilding WorkloadNetworkVMGroupProvisioningState = "Building"
	// WorkloadNetworkVMGroupProvisioningStateDeleting ...
	WorkloadNetworkVMGroupProvisioningStateDeleting WorkloadNetworkVMGroupProvisioningState = "Deleting"
	// WorkloadNetworkVMGroupProvisioningStateFailed ...
	WorkloadNetworkVMGroupProvisioningStateFailed WorkloadNetworkVMGroupProvisioningState = "Failed"
	// WorkloadNetworkVMGroupProvisioningStateSucceeded ...
	WorkloadNetworkVMGroupProvisioningStateSucceeded WorkloadNetworkVMGroupProvisioningState = "Succeeded"
	// WorkloadNetworkVMGroupProvisioningStateUpdating ...
	WorkloadNetworkVMGroupProvisioningStateUpdating WorkloadNetworkVMGroupProvisioningState = "Updating"
)

func PossibleWorkloadNetworkVMGroupProvisioningStateValues

func PossibleWorkloadNetworkVMGroupProvisioningStateValues() []WorkloadNetworkVMGroupProvisioningState

PossibleWorkloadNetworkVMGroupProvisioningStateValues returns an array of possible values for the WorkloadNetworkVMGroupProvisioningState const type.

type WorkloadNetworkVMGroupsList

type WorkloadNetworkVMGroupsList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkVMGroup `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkVMGroupsList a list of NSX VM Groups

func (WorkloadNetworkVMGroupsList) IsEmpty

func (wnvgl WorkloadNetworkVMGroupsList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkVMGroupsList) MarshalJSON

func (wnvgl WorkloadNetworkVMGroupsList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkVMGroupsList.

type WorkloadNetworkVMGroupsListIterator

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

WorkloadNetworkVMGroupsListIterator provides access to a complete listing of WorkloadNetworkVMGroup values.

func NewWorkloadNetworkVMGroupsListIterator

func NewWorkloadNetworkVMGroupsListIterator(page WorkloadNetworkVMGroupsListPage) WorkloadNetworkVMGroupsListIterator

Creates a new instance of the WorkloadNetworkVMGroupsListIterator type.

func (*WorkloadNetworkVMGroupsListIterator) 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 (*WorkloadNetworkVMGroupsListIterator) NextWithContext

func (iter *WorkloadNetworkVMGroupsListIterator) 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 (WorkloadNetworkVMGroupsListIterator) NotDone

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

func (WorkloadNetworkVMGroupsListIterator) Response

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

func (WorkloadNetworkVMGroupsListIterator) Value

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

type WorkloadNetworkVMGroupsListPage

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

WorkloadNetworkVMGroupsListPage contains a page of WorkloadNetworkVMGroup values.

func NewWorkloadNetworkVMGroupsListPage

Creates a new instance of the WorkloadNetworkVMGroupsListPage type.

func (*WorkloadNetworkVMGroupsListPage) Next

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 (*WorkloadNetworkVMGroupsListPage) NextWithContext

func (page *WorkloadNetworkVMGroupsListPage) 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 (WorkloadNetworkVMGroupsListPage) NotDone

func (page WorkloadNetworkVMGroupsListPage) NotDone() bool

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

func (WorkloadNetworkVMGroupsListPage) Response

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

func (WorkloadNetworkVMGroupsListPage) Values

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

type WorkloadNetworkVirtualMachine

type WorkloadNetworkVirtualMachine struct {
	autorest.Response `json:"-"`
	// WorkloadNetworkVirtualMachineProperties - Virtual machine properties.
	*WorkloadNetworkVirtualMachineProperties `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"`
}

WorkloadNetworkVirtualMachine NSX Virtual Machine

func (WorkloadNetworkVirtualMachine) MarshalJSON

func (wnvm WorkloadNetworkVirtualMachine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkVirtualMachine.

func (*WorkloadNetworkVirtualMachine) UnmarshalJSON

func (wnvm *WorkloadNetworkVirtualMachine) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for WorkloadNetworkVirtualMachine struct.

type WorkloadNetworkVirtualMachineProperties

type WorkloadNetworkVirtualMachineProperties struct {
	// DisplayName - Display name of the VM.
	DisplayName *string `json:"displayName,omitempty"`
	// VMType - READ-ONLY; Virtual machine type. Possible values include: 'VMTypeEnumREGULAREDGESERVICE'
	VMType VMTypeEnum `json:"vmType,omitempty"`
}

WorkloadNetworkVirtualMachineProperties NSX Virtual Machine Properties

func (WorkloadNetworkVirtualMachineProperties) MarshalJSON

func (wnvmp WorkloadNetworkVirtualMachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkVirtualMachineProperties.

type WorkloadNetworkVirtualMachinesList

type WorkloadNetworkVirtualMachinesList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; The items on the page
	Value *[]WorkloadNetworkVirtualMachine `json:"value,omitempty"`
	// NextLink - READ-ONLY; URL to get the next page if any
	NextLink *string `json:"nextLink,omitempty"`
}

WorkloadNetworkVirtualMachinesList a list of NSX Virtual Machines

func (WorkloadNetworkVirtualMachinesList) IsEmpty

func (wnvml WorkloadNetworkVirtualMachinesList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (WorkloadNetworkVirtualMachinesList) MarshalJSON

func (wnvml WorkloadNetworkVirtualMachinesList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkloadNetworkVirtualMachinesList.

type WorkloadNetworkVirtualMachinesListIterator

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

WorkloadNetworkVirtualMachinesListIterator provides access to a complete listing of WorkloadNetworkVirtualMachine values.

func NewWorkloadNetworkVirtualMachinesListIterator

func NewWorkloadNetworkVirtualMachinesListIterator(page WorkloadNetworkVirtualMachinesListPage) WorkloadNetworkVirtualMachinesListIterator

Creates a new instance of the WorkloadNetworkVirtualMachinesListIterator type.

func (*WorkloadNetworkVirtualMachinesListIterator) 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 (*WorkloadNetworkVirtualMachinesListIterator) NextWithContext

func (iter *WorkloadNetworkVirtualMachinesListIterator) 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 (WorkloadNetworkVirtualMachinesListIterator) NotDone

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

func (WorkloadNetworkVirtualMachinesListIterator) Response

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

func (WorkloadNetworkVirtualMachinesListIterator) Value

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

type WorkloadNetworkVirtualMachinesListPage

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

WorkloadNetworkVirtualMachinesListPage contains a page of WorkloadNetworkVirtualMachine values.

func NewWorkloadNetworkVirtualMachinesListPage

Creates a new instance of the WorkloadNetworkVirtualMachinesListPage type.

func (*WorkloadNetworkVirtualMachinesListPage) Next

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 (*WorkloadNetworkVirtualMachinesListPage) NextWithContext

func (page *WorkloadNetworkVirtualMachinesListPage) 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 (WorkloadNetworkVirtualMachinesListPage) NotDone

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

func (WorkloadNetworkVirtualMachinesListPage) Response

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

func (WorkloadNetworkVirtualMachinesListPage) Values

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

type WorkloadNetworksClient

type WorkloadNetworksClient struct {
	BaseClient
}

WorkloadNetworksClient is the azure VMware Solution API

func NewWorkloadNetworksClient

func NewWorkloadNetworksClient(subscriptionID string) WorkloadNetworksClient

NewWorkloadNetworksClient creates an instance of the WorkloadNetworksClient client.

func NewWorkloadNetworksClientWithBaseURI

func NewWorkloadNetworksClientWithBaseURI(baseURI string, subscriptionID string) WorkloadNetworksClient

NewWorkloadNetworksClientWithBaseURI creates an instance of the WorkloadNetworksClient 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 (WorkloadNetworksClient) CreateDNSService

func (client WorkloadNetworksClient) CreateDNSService(ctx context.Context, resourceGroupName string, privateCloudName string, DNSServiceID string, workloadNetworkDNSService WorkloadNetworkDNSService) (result WorkloadNetworksCreateDNSServiceFuture, err error)

CreateDNSService sends the create dns service request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud DNSServiceID - NSX DNS Service identifier. Generally the same as the DNS Service's display name workloadNetworkDNSService - NSX DNS Service

func (WorkloadNetworksClient) CreateDNSServicePreparer

func (client WorkloadNetworksClient) CreateDNSServicePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, DNSServiceID string, workloadNetworkDNSService WorkloadNetworkDNSService) (*http.Request, error)

CreateDNSServicePreparer prepares the CreateDNSService request.

func (WorkloadNetworksClient) CreateDNSServiceResponder

func (client WorkloadNetworksClient) CreateDNSServiceResponder(resp *http.Response) (result WorkloadNetworkDNSService, err error)

CreateDNSServiceResponder handles the response to the CreateDNSService request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) CreateDNSServiceSender

func (client WorkloadNetworksClient) CreateDNSServiceSender(req *http.Request) (future WorkloadNetworksCreateDNSServiceFuture, err error)

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

func (WorkloadNetworksClient) CreateDNSZone

func (client WorkloadNetworksClient) CreateDNSZone(ctx context.Context, resourceGroupName string, privateCloudName string, DNSZoneID string, workloadNetworkDNSZone WorkloadNetworkDNSZone) (result WorkloadNetworksCreateDNSZoneFuture, err error)

CreateDNSZone sends the create dns zone request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud DNSZoneID - NSX DNS Zone identifier. Generally the same as the DNS Zone's display name workloadNetworkDNSZone - NSX DNS Zone

func (WorkloadNetworksClient) CreateDNSZonePreparer

func (client WorkloadNetworksClient) CreateDNSZonePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, DNSZoneID string, workloadNetworkDNSZone WorkloadNetworkDNSZone) (*http.Request, error)

CreateDNSZonePreparer prepares the CreateDNSZone request.

func (WorkloadNetworksClient) CreateDNSZoneResponder

func (client WorkloadNetworksClient) CreateDNSZoneResponder(resp *http.Response) (result WorkloadNetworkDNSZone, err error)

CreateDNSZoneResponder handles the response to the CreateDNSZone request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) CreateDNSZoneSender

func (client WorkloadNetworksClient) CreateDNSZoneSender(req *http.Request) (future WorkloadNetworksCreateDNSZoneFuture, err error)

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

func (WorkloadNetworksClient) CreateDhcp

func (client WorkloadNetworksClient) CreateDhcp(ctx context.Context, resourceGroupName string, privateCloudName string, dhcpID string, workloadNetworkDhcp WorkloadNetworkDhcp) (result WorkloadNetworksCreateDhcpFuture, err error)

CreateDhcp sends the create dhcp request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud dhcpID - NSX DHCP identifier. Generally the same as the DHCP display name workloadNetworkDhcp - NSX DHCP

func (WorkloadNetworksClient) CreateDhcpPreparer

func (client WorkloadNetworksClient) CreateDhcpPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, dhcpID string, workloadNetworkDhcp WorkloadNetworkDhcp) (*http.Request, error)

CreateDhcpPreparer prepares the CreateDhcp request.

func (WorkloadNetworksClient) CreateDhcpResponder

func (client WorkloadNetworksClient) CreateDhcpResponder(resp *http.Response) (result WorkloadNetworkDhcp, err error)

CreateDhcpResponder handles the response to the CreateDhcp request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) CreateDhcpSender

func (client WorkloadNetworksClient) CreateDhcpSender(req *http.Request) (future WorkloadNetworksCreateDhcpFuture, err error)

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

func (WorkloadNetworksClient) CreatePortMirroring

func (client WorkloadNetworksClient) CreatePortMirroring(ctx context.Context, resourceGroupName string, privateCloudName string, portMirroringID string, workloadNetworkPortMirroring WorkloadNetworkPortMirroring) (result WorkloadNetworksCreatePortMirroringFuture, err error)

CreatePortMirroring sends the create port mirroring request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud portMirroringID - NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name workloadNetworkPortMirroring - NSX port mirroring

func (WorkloadNetworksClient) CreatePortMirroringPreparer

func (client WorkloadNetworksClient) CreatePortMirroringPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, portMirroringID string, workloadNetworkPortMirroring WorkloadNetworkPortMirroring) (*http.Request, error)

CreatePortMirroringPreparer prepares the CreatePortMirroring request.

func (WorkloadNetworksClient) CreatePortMirroringResponder

func (client WorkloadNetworksClient) CreatePortMirroringResponder(resp *http.Response) (result WorkloadNetworkPortMirroring, err error)

CreatePortMirroringResponder handles the response to the CreatePortMirroring request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) CreatePortMirroringSender

func (client WorkloadNetworksClient) CreatePortMirroringSender(req *http.Request) (future WorkloadNetworksCreatePortMirroringFuture, err error)

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

func (WorkloadNetworksClient) CreatePublicIP

func (client WorkloadNetworksClient) CreatePublicIP(ctx context.Context, resourceGroupName string, privateCloudName string, publicIPID string, workloadNetworkPublicIP WorkloadNetworkPublicIP) (result WorkloadNetworksCreatePublicIPFuture, err error)

CreatePublicIP sends the create public ip request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud publicIPID - NSX Public IP Block identifier. Generally the same as the Public IP Block's display name workloadNetworkPublicIP - NSX Public IP Block

func (WorkloadNetworksClient) CreatePublicIPPreparer

func (client WorkloadNetworksClient) CreatePublicIPPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, publicIPID string, workloadNetworkPublicIP WorkloadNetworkPublicIP) (*http.Request, error)

CreatePublicIPPreparer prepares the CreatePublicIP request.

func (WorkloadNetworksClient) CreatePublicIPResponder

func (client WorkloadNetworksClient) CreatePublicIPResponder(resp *http.Response) (result WorkloadNetworkPublicIP, err error)

CreatePublicIPResponder handles the response to the CreatePublicIP request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) CreatePublicIPSender

func (client WorkloadNetworksClient) CreatePublicIPSender(req *http.Request) (future WorkloadNetworksCreatePublicIPFuture, err error)

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

func (WorkloadNetworksClient) CreateSegments

func (client WorkloadNetworksClient) CreateSegments(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string, workloadNetworkSegment WorkloadNetworkSegment) (result WorkloadNetworksCreateSegmentsFuture, err error)

CreateSegments sends the create segments request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud segmentID - NSX Segment identifier. Generally the same as the Segment's display name workloadNetworkSegment - NSX Segment

func (WorkloadNetworksClient) CreateSegmentsPreparer

func (client WorkloadNetworksClient) CreateSegmentsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string, workloadNetworkSegment WorkloadNetworkSegment) (*http.Request, error)

CreateSegmentsPreparer prepares the CreateSegments request.

func (WorkloadNetworksClient) CreateSegmentsResponder

func (client WorkloadNetworksClient) CreateSegmentsResponder(resp *http.Response) (result WorkloadNetworkSegment, err error)

CreateSegmentsResponder handles the response to the CreateSegments request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) CreateSegmentsSender

func (client WorkloadNetworksClient) CreateSegmentsSender(req *http.Request) (future WorkloadNetworksCreateSegmentsFuture, err error)

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

func (WorkloadNetworksClient) CreateVMGroup

func (client WorkloadNetworksClient) CreateVMGroup(ctx context.Context, resourceGroupName string, privateCloudName string, VMGroupID string, workloadNetworkVMGroup WorkloadNetworkVMGroup) (result WorkloadNetworksCreateVMGroupFuture, err error)

CreateVMGroup sends the create vm group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud VMGroupID - NSX VM Group identifier. Generally the same as the VM Group's display name workloadNetworkVMGroup - NSX VM Group

func (WorkloadNetworksClient) CreateVMGroupPreparer

func (client WorkloadNetworksClient) CreateVMGroupPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, VMGroupID string, workloadNetworkVMGroup WorkloadNetworkVMGroup) (*http.Request, error)

CreateVMGroupPreparer prepares the CreateVMGroup request.

func (WorkloadNetworksClient) CreateVMGroupResponder

func (client WorkloadNetworksClient) CreateVMGroupResponder(resp *http.Response) (result WorkloadNetworkVMGroup, err error)

CreateVMGroupResponder handles the response to the CreateVMGroup request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) CreateVMGroupSender

func (client WorkloadNetworksClient) CreateVMGroupSender(req *http.Request) (future WorkloadNetworksCreateVMGroupFuture, err error)

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

func (WorkloadNetworksClient) DeleteDNSService

func (client WorkloadNetworksClient) DeleteDNSService(ctx context.Context, resourceGroupName string, DNSServiceID string, privateCloudName string) (result WorkloadNetworksDeleteDNSServiceFuture, err error)

DeleteDNSService sends the delete dns service request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. DNSServiceID - NSX DNS Service identifier. Generally the same as the DNS Service's display name privateCloudName - name of the private cloud

func (WorkloadNetworksClient) DeleteDNSServicePreparer

func (client WorkloadNetworksClient) DeleteDNSServicePreparer(ctx context.Context, resourceGroupName string, DNSServiceID string, privateCloudName string) (*http.Request, error)

DeleteDNSServicePreparer prepares the DeleteDNSService request.

func (WorkloadNetworksClient) DeleteDNSServiceResponder

func (client WorkloadNetworksClient) DeleteDNSServiceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteDNSServiceResponder handles the response to the DeleteDNSService request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) DeleteDNSServiceSender

func (client WorkloadNetworksClient) DeleteDNSServiceSender(req *http.Request) (future WorkloadNetworksDeleteDNSServiceFuture, err error)

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

func (WorkloadNetworksClient) DeleteDNSZone

func (client WorkloadNetworksClient) DeleteDNSZone(ctx context.Context, resourceGroupName string, DNSZoneID string, privateCloudName string) (result WorkloadNetworksDeleteDNSZoneFuture, err error)

DeleteDNSZone sends the delete dns zone request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. DNSZoneID - NSX DNS Zone identifier. Generally the same as the DNS Zone's display name privateCloudName - name of the private cloud

func (WorkloadNetworksClient) DeleteDNSZonePreparer

func (client WorkloadNetworksClient) DeleteDNSZonePreparer(ctx context.Context, resourceGroupName string, DNSZoneID string, privateCloudName string) (*http.Request, error)

DeleteDNSZonePreparer prepares the DeleteDNSZone request.

func (WorkloadNetworksClient) DeleteDNSZoneResponder

func (client WorkloadNetworksClient) DeleteDNSZoneResponder(resp *http.Response) (result autorest.Response, err error)

DeleteDNSZoneResponder handles the response to the DeleteDNSZone request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) DeleteDNSZoneSender

func (client WorkloadNetworksClient) DeleteDNSZoneSender(req *http.Request) (future WorkloadNetworksDeleteDNSZoneFuture, err error)

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

func (WorkloadNetworksClient) DeleteDhcp

func (client WorkloadNetworksClient) DeleteDhcp(ctx context.Context, resourceGroupName string, privateCloudName string, dhcpID string) (result WorkloadNetworksDeleteDhcpFuture, err error)

DeleteDhcp sends the delete dhcp request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud dhcpID - NSX DHCP identifier. Generally the same as the DHCP display name

func (WorkloadNetworksClient) DeleteDhcpPreparer

func (client WorkloadNetworksClient) DeleteDhcpPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, dhcpID string) (*http.Request, error)

DeleteDhcpPreparer prepares the DeleteDhcp request.

func (WorkloadNetworksClient) DeleteDhcpResponder

func (client WorkloadNetworksClient) DeleteDhcpResponder(resp *http.Response) (result autorest.Response, err error)

DeleteDhcpResponder handles the response to the DeleteDhcp request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) DeleteDhcpSender

func (client WorkloadNetworksClient) DeleteDhcpSender(req *http.Request) (future WorkloadNetworksDeleteDhcpFuture, err error)

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

func (WorkloadNetworksClient) DeletePortMirroring

func (client WorkloadNetworksClient) DeletePortMirroring(ctx context.Context, resourceGroupName string, portMirroringID string, privateCloudName string) (result WorkloadNetworksDeletePortMirroringFuture, err error)

DeletePortMirroring sends the delete port mirroring request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. portMirroringID - NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name privateCloudName - name of the private cloud

func (WorkloadNetworksClient) DeletePortMirroringPreparer

func (client WorkloadNetworksClient) DeletePortMirroringPreparer(ctx context.Context, resourceGroupName string, portMirroringID string, privateCloudName string) (*http.Request, error)

DeletePortMirroringPreparer prepares the DeletePortMirroring request.

func (WorkloadNetworksClient) DeletePortMirroringResponder

func (client WorkloadNetworksClient) DeletePortMirroringResponder(resp *http.Response) (result autorest.Response, err error)

DeletePortMirroringResponder handles the response to the DeletePortMirroring request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) DeletePortMirroringSender

func (client WorkloadNetworksClient) DeletePortMirroringSender(req *http.Request) (future WorkloadNetworksDeletePortMirroringFuture, err error)

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

func (WorkloadNetworksClient) DeletePublicIP

func (client WorkloadNetworksClient) DeletePublicIP(ctx context.Context, resourceGroupName string, publicIPID string, privateCloudName string) (result WorkloadNetworksDeletePublicIPFuture, err error)

DeletePublicIP sends the delete public ip request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. publicIPID - NSX Public IP Block identifier. Generally the same as the Public IP Block's display name privateCloudName - name of the private cloud

func (WorkloadNetworksClient) DeletePublicIPPreparer

func (client WorkloadNetworksClient) DeletePublicIPPreparer(ctx context.Context, resourceGroupName string, publicIPID string, privateCloudName string) (*http.Request, error)

DeletePublicIPPreparer prepares the DeletePublicIP request.

func (WorkloadNetworksClient) DeletePublicIPResponder

func (client WorkloadNetworksClient) DeletePublicIPResponder(resp *http.Response) (result autorest.Response, err error)

DeletePublicIPResponder handles the response to the DeletePublicIP request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) DeletePublicIPSender

func (client WorkloadNetworksClient) DeletePublicIPSender(req *http.Request) (future WorkloadNetworksDeletePublicIPFuture, err error)

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

func (WorkloadNetworksClient) DeleteSegment

func (client WorkloadNetworksClient) DeleteSegment(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string) (result WorkloadNetworksDeleteSegmentFuture, err error)

DeleteSegment sends the delete segment request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud segmentID - NSX Segment identifier. Generally the same as the Segment's display name

func (WorkloadNetworksClient) DeleteSegmentPreparer

func (client WorkloadNetworksClient) DeleteSegmentPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string) (*http.Request, error)

DeleteSegmentPreparer prepares the DeleteSegment request.

func (WorkloadNetworksClient) DeleteSegmentResponder

func (client WorkloadNetworksClient) DeleteSegmentResponder(resp *http.Response) (result autorest.Response, err error)

DeleteSegmentResponder handles the response to the DeleteSegment request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) DeleteSegmentSender

func (client WorkloadNetworksClient) DeleteSegmentSender(req *http.Request) (future WorkloadNetworksDeleteSegmentFuture, err error)

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

func (WorkloadNetworksClient) DeleteVMGroup

func (client WorkloadNetworksClient) DeleteVMGroup(ctx context.Context, resourceGroupName string, VMGroupID string, privateCloudName string) (result WorkloadNetworksDeleteVMGroupFuture, err error)

DeleteVMGroup sends the delete vm group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. VMGroupID - NSX VM Group identifier. Generally the same as the VM Group's display name privateCloudName - name of the private cloud

func (WorkloadNetworksClient) DeleteVMGroupPreparer

func (client WorkloadNetworksClient) DeleteVMGroupPreparer(ctx context.Context, resourceGroupName string, VMGroupID string, privateCloudName string) (*http.Request, error)

DeleteVMGroupPreparer prepares the DeleteVMGroup request.

func (WorkloadNetworksClient) DeleteVMGroupResponder

func (client WorkloadNetworksClient) DeleteVMGroupResponder(resp *http.Response) (result autorest.Response, err error)

DeleteVMGroupResponder handles the response to the DeleteVMGroup request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) DeleteVMGroupSender

func (client WorkloadNetworksClient) DeleteVMGroupSender(req *http.Request) (future WorkloadNetworksDeleteVMGroupFuture, err error)

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

func (WorkloadNetworksClient) GetDNSService

func (client WorkloadNetworksClient) GetDNSService(ctx context.Context, resourceGroupName string, privateCloudName string, DNSServiceID string) (result WorkloadNetworkDNSService, err error)

GetDNSService sends the get dns service request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud DNSServiceID - NSX DNS Service identifier. Generally the same as the DNS Service's display name

func (WorkloadNetworksClient) GetDNSServicePreparer

func (client WorkloadNetworksClient) GetDNSServicePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, DNSServiceID string) (*http.Request, error)

GetDNSServicePreparer prepares the GetDNSService request.

func (WorkloadNetworksClient) GetDNSServiceResponder

func (client WorkloadNetworksClient) GetDNSServiceResponder(resp *http.Response) (result WorkloadNetworkDNSService, err error)

GetDNSServiceResponder handles the response to the GetDNSService request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetDNSServiceSender

func (client WorkloadNetworksClient) GetDNSServiceSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetDNSZone

func (client WorkloadNetworksClient) GetDNSZone(ctx context.Context, resourceGroupName string, privateCloudName string, DNSZoneID string) (result WorkloadNetworkDNSZone, err error)

GetDNSZone sends the get dns zone request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud DNSZoneID - NSX DNS Zone identifier. Generally the same as the DNS Zone's display name

func (WorkloadNetworksClient) GetDNSZonePreparer

func (client WorkloadNetworksClient) GetDNSZonePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, DNSZoneID string) (*http.Request, error)

GetDNSZonePreparer prepares the GetDNSZone request.

func (WorkloadNetworksClient) GetDNSZoneResponder

func (client WorkloadNetworksClient) GetDNSZoneResponder(resp *http.Response) (result WorkloadNetworkDNSZone, err error)

GetDNSZoneResponder handles the response to the GetDNSZone request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetDNSZoneSender

func (client WorkloadNetworksClient) GetDNSZoneSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetDhcp

func (client WorkloadNetworksClient) GetDhcp(ctx context.Context, resourceGroupName string, dhcpID string, privateCloudName string) (result WorkloadNetworkDhcp, err error)

GetDhcp sends the get dhcp request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. dhcpID - NSX DHCP identifier. Generally the same as the DHCP display name privateCloudName - name of the private cloud

func (WorkloadNetworksClient) GetDhcpPreparer

func (client WorkloadNetworksClient) GetDhcpPreparer(ctx context.Context, resourceGroupName string, dhcpID string, privateCloudName string) (*http.Request, error)

GetDhcpPreparer prepares the GetDhcp request.

func (WorkloadNetworksClient) GetDhcpResponder

func (client WorkloadNetworksClient) GetDhcpResponder(resp *http.Response) (result WorkloadNetworkDhcp, err error)

GetDhcpResponder handles the response to the GetDhcp request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetDhcpSender

func (client WorkloadNetworksClient) GetDhcpSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetGateway

func (client WorkloadNetworksClient) GetGateway(ctx context.Context, resourceGroupName string, privateCloudName string, gatewayID string) (result WorkloadNetworkGateway, err error)

GetGateway sends the get gateway request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud gatewayID - NSX Gateway identifier. Generally the same as the Gateway's display name

func (WorkloadNetworksClient) GetGatewayPreparer

func (client WorkloadNetworksClient) GetGatewayPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, gatewayID string) (*http.Request, error)

GetGatewayPreparer prepares the GetGateway request.

func (WorkloadNetworksClient) GetGatewayResponder

func (client WorkloadNetworksClient) GetGatewayResponder(resp *http.Response) (result WorkloadNetworkGateway, err error)

GetGatewayResponder handles the response to the GetGateway request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetGatewaySender

func (client WorkloadNetworksClient) GetGatewaySender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetPortMirroring

func (client WorkloadNetworksClient) GetPortMirroring(ctx context.Context, resourceGroupName string, privateCloudName string, portMirroringID string) (result WorkloadNetworkPortMirroring, err error)

GetPortMirroring sends the get port mirroring request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud portMirroringID - NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name

func (WorkloadNetworksClient) GetPortMirroringPreparer

func (client WorkloadNetworksClient) GetPortMirroringPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, portMirroringID string) (*http.Request, error)

GetPortMirroringPreparer prepares the GetPortMirroring request.

func (WorkloadNetworksClient) GetPortMirroringResponder

func (client WorkloadNetworksClient) GetPortMirroringResponder(resp *http.Response) (result WorkloadNetworkPortMirroring, err error)

GetPortMirroringResponder handles the response to the GetPortMirroring request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetPortMirroringSender

func (client WorkloadNetworksClient) GetPortMirroringSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetPublicIP

func (client WorkloadNetworksClient) GetPublicIP(ctx context.Context, resourceGroupName string, privateCloudName string, publicIPID string) (result WorkloadNetworkPublicIP, err error)

GetPublicIP sends the get public ip request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud publicIPID - NSX Public IP Block identifier. Generally the same as the Public IP Block's display name

func (WorkloadNetworksClient) GetPublicIPPreparer

func (client WorkloadNetworksClient) GetPublicIPPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, publicIPID string) (*http.Request, error)

GetPublicIPPreparer prepares the GetPublicIP request.

func (WorkloadNetworksClient) GetPublicIPResponder

func (client WorkloadNetworksClient) GetPublicIPResponder(resp *http.Response) (result WorkloadNetworkPublicIP, err error)

GetPublicIPResponder handles the response to the GetPublicIP request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetPublicIPSender

func (client WorkloadNetworksClient) GetPublicIPSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetSegment

func (client WorkloadNetworksClient) GetSegment(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string) (result WorkloadNetworkSegment, err error)

GetSegment sends the get segment request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud segmentID - NSX Segment identifier. Generally the same as the Segment's display name

func (WorkloadNetworksClient) GetSegmentPreparer

func (client WorkloadNetworksClient) GetSegmentPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string) (*http.Request, error)

GetSegmentPreparer prepares the GetSegment request.

func (WorkloadNetworksClient) GetSegmentResponder

func (client WorkloadNetworksClient) GetSegmentResponder(resp *http.Response) (result WorkloadNetworkSegment, err error)

GetSegmentResponder handles the response to the GetSegment request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetSegmentSender

func (client WorkloadNetworksClient) GetSegmentSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetVMGroup

func (client WorkloadNetworksClient) GetVMGroup(ctx context.Context, resourceGroupName string, privateCloudName string, VMGroupID string) (result WorkloadNetworkVMGroup, err error)

GetVMGroup sends the get vm group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud VMGroupID - NSX VM Group identifier. Generally the same as the VM Group's display name

func (WorkloadNetworksClient) GetVMGroupPreparer

func (client WorkloadNetworksClient) GetVMGroupPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, VMGroupID string) (*http.Request, error)

GetVMGroupPreparer prepares the GetVMGroup request.

func (WorkloadNetworksClient) GetVMGroupResponder

func (client WorkloadNetworksClient) GetVMGroupResponder(resp *http.Response) (result WorkloadNetworkVMGroup, err error)

GetVMGroupResponder handles the response to the GetVMGroup request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetVMGroupSender

func (client WorkloadNetworksClient) GetVMGroupSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) GetVirtualMachine

func (client WorkloadNetworksClient) GetVirtualMachine(ctx context.Context, resourceGroupName string, privateCloudName string, virtualMachineID string) (result WorkloadNetworkVirtualMachine, err error)

GetVirtualMachine sends the get virtual machine request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud virtualMachineID - virtual Machine identifier

func (WorkloadNetworksClient) GetVirtualMachinePreparer

func (client WorkloadNetworksClient) GetVirtualMachinePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, virtualMachineID string) (*http.Request, error)

GetVirtualMachinePreparer prepares the GetVirtualMachine request.

func (WorkloadNetworksClient) GetVirtualMachineResponder

func (client WorkloadNetworksClient) GetVirtualMachineResponder(resp *http.Response) (result WorkloadNetworkVirtualMachine, err error)

GetVirtualMachineResponder handles the response to the GetVirtualMachine request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) GetVirtualMachineSender

func (client WorkloadNetworksClient) GetVirtualMachineSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListDNSServices

func (client WorkloadNetworksClient) ListDNSServices(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkDNSServicesListPage, err error)

ListDNSServices sends the list dns services request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListDNSServicesComplete

func (client WorkloadNetworksClient) ListDNSServicesComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkDNSServicesListIterator, err error)

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

func (WorkloadNetworksClient) ListDNSServicesPreparer

func (client WorkloadNetworksClient) ListDNSServicesPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListDNSServicesPreparer prepares the ListDNSServices request.

func (WorkloadNetworksClient) ListDNSServicesResponder

func (client WorkloadNetworksClient) ListDNSServicesResponder(resp *http.Response) (result WorkloadNetworkDNSServicesList, err error)

ListDNSServicesResponder handles the response to the ListDNSServices request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListDNSServicesSender

func (client WorkloadNetworksClient) ListDNSServicesSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListDNSZones

func (client WorkloadNetworksClient) ListDNSZones(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkDNSZonesListPage, err error)

ListDNSZones sends the list dns zones request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListDNSZonesComplete

func (client WorkloadNetworksClient) ListDNSZonesComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkDNSZonesListIterator, err error)

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

func (WorkloadNetworksClient) ListDNSZonesPreparer

func (client WorkloadNetworksClient) ListDNSZonesPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListDNSZonesPreparer prepares the ListDNSZones request.

func (WorkloadNetworksClient) ListDNSZonesResponder

func (client WorkloadNetworksClient) ListDNSZonesResponder(resp *http.Response) (result WorkloadNetworkDNSZonesList, err error)

ListDNSZonesResponder handles the response to the ListDNSZones request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListDNSZonesSender

func (client WorkloadNetworksClient) ListDNSZonesSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListDhcp

func (client WorkloadNetworksClient) ListDhcp(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkDhcpListPage, err error)

ListDhcp sends the list dhcp request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListDhcpComplete

func (client WorkloadNetworksClient) ListDhcpComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkDhcpListIterator, err error)

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

func (WorkloadNetworksClient) ListDhcpPreparer

func (client WorkloadNetworksClient) ListDhcpPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListDhcpPreparer prepares the ListDhcp request.

func (WorkloadNetworksClient) ListDhcpResponder

func (client WorkloadNetworksClient) ListDhcpResponder(resp *http.Response) (result WorkloadNetworkDhcpList, err error)

ListDhcpResponder handles the response to the ListDhcp request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListDhcpSender

func (client WorkloadNetworksClient) ListDhcpSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListGateways

func (client WorkloadNetworksClient) ListGateways(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkGatewayListPage, err error)

ListGateways sends the list gateways request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListGatewaysComplete

func (client WorkloadNetworksClient) ListGatewaysComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkGatewayListIterator, err error)

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

func (WorkloadNetworksClient) ListGatewaysPreparer

func (client WorkloadNetworksClient) ListGatewaysPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListGatewaysPreparer prepares the ListGateways request.

func (WorkloadNetworksClient) ListGatewaysResponder

func (client WorkloadNetworksClient) ListGatewaysResponder(resp *http.Response) (result WorkloadNetworkGatewayList, err error)

ListGatewaysResponder handles the response to the ListGateways request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListGatewaysSender

func (client WorkloadNetworksClient) ListGatewaysSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListPortMirroring

func (client WorkloadNetworksClient) ListPortMirroring(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkPortMirroringListPage, err error)

ListPortMirroring sends the list port mirroring request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListPortMirroringComplete

func (client WorkloadNetworksClient) ListPortMirroringComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkPortMirroringListIterator, err error)

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

func (WorkloadNetworksClient) ListPortMirroringPreparer

func (client WorkloadNetworksClient) ListPortMirroringPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListPortMirroringPreparer prepares the ListPortMirroring request.

func (WorkloadNetworksClient) ListPortMirroringResponder

func (client WorkloadNetworksClient) ListPortMirroringResponder(resp *http.Response) (result WorkloadNetworkPortMirroringList, err error)

ListPortMirroringResponder handles the response to the ListPortMirroring request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListPortMirroringSender

func (client WorkloadNetworksClient) ListPortMirroringSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListPublicIPs

func (client WorkloadNetworksClient) ListPublicIPs(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkPublicIPsListPage, err error)

ListPublicIPs sends the list public i ps request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListPublicIPsComplete

func (client WorkloadNetworksClient) ListPublicIPsComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkPublicIPsListIterator, err error)

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

func (WorkloadNetworksClient) ListPublicIPsPreparer

func (client WorkloadNetworksClient) ListPublicIPsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListPublicIPsPreparer prepares the ListPublicIPs request.

func (WorkloadNetworksClient) ListPublicIPsResponder

func (client WorkloadNetworksClient) ListPublicIPsResponder(resp *http.Response) (result WorkloadNetworkPublicIPsList, err error)

ListPublicIPsResponder handles the response to the ListPublicIPs request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListPublicIPsSender

func (client WorkloadNetworksClient) ListPublicIPsSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListSegments

func (client WorkloadNetworksClient) ListSegments(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkSegmentsListPage, err error)

ListSegments sends the list segments request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListSegmentsComplete

func (client WorkloadNetworksClient) ListSegmentsComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkSegmentsListIterator, err error)

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

func (WorkloadNetworksClient) ListSegmentsPreparer

func (client WorkloadNetworksClient) ListSegmentsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListSegmentsPreparer prepares the ListSegments request.

func (WorkloadNetworksClient) ListSegmentsResponder

func (client WorkloadNetworksClient) ListSegmentsResponder(resp *http.Response) (result WorkloadNetworkSegmentsList, err error)

ListSegmentsResponder handles the response to the ListSegments request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListSegmentsSender

func (client WorkloadNetworksClient) ListSegmentsSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListVMGroups

func (client WorkloadNetworksClient) ListVMGroups(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkVMGroupsListPage, err error)

ListVMGroups sends the list vm groups request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListVMGroupsComplete

func (client WorkloadNetworksClient) ListVMGroupsComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkVMGroupsListIterator, err error)

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

func (WorkloadNetworksClient) ListVMGroupsPreparer

func (client WorkloadNetworksClient) ListVMGroupsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListVMGroupsPreparer prepares the ListVMGroups request.

func (WorkloadNetworksClient) ListVMGroupsResponder

func (client WorkloadNetworksClient) ListVMGroupsResponder(resp *http.Response) (result WorkloadNetworkVMGroupsList, err error)

ListVMGroupsResponder handles the response to the ListVMGroups request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListVMGroupsSender

func (client WorkloadNetworksClient) ListVMGroupsSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) ListVirtualMachines

func (client WorkloadNetworksClient) ListVirtualMachines(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkVirtualMachinesListPage, err error)

ListVirtualMachines sends the list virtual machines request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud

func (WorkloadNetworksClient) ListVirtualMachinesComplete

func (client WorkloadNetworksClient) ListVirtualMachinesComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result WorkloadNetworkVirtualMachinesListIterator, err error)

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

func (WorkloadNetworksClient) ListVirtualMachinesPreparer

func (client WorkloadNetworksClient) ListVirtualMachinesPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)

ListVirtualMachinesPreparer prepares the ListVirtualMachines request.

func (WorkloadNetworksClient) ListVirtualMachinesResponder

func (client WorkloadNetworksClient) ListVirtualMachinesResponder(resp *http.Response) (result WorkloadNetworkVirtualMachinesList, err error)

ListVirtualMachinesResponder handles the response to the ListVirtualMachines request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) ListVirtualMachinesSender

func (client WorkloadNetworksClient) ListVirtualMachinesSender(req *http.Request) (*http.Response, error)

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

func (WorkloadNetworksClient) UpdateDNSService

func (client WorkloadNetworksClient) UpdateDNSService(ctx context.Context, resourceGroupName string, privateCloudName string, DNSServiceID string, workloadNetworkDNSService WorkloadNetworkDNSService) (result WorkloadNetworksUpdateDNSServiceFuture, err error)

UpdateDNSService sends the update dns service request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud DNSServiceID - NSX DNS Service identifier. Generally the same as the DNS Service's display name workloadNetworkDNSService - NSX DNS Service

func (WorkloadNetworksClient) UpdateDNSServicePreparer

func (client WorkloadNetworksClient) UpdateDNSServicePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, DNSServiceID string, workloadNetworkDNSService WorkloadNetworkDNSService) (*http.Request, error)

UpdateDNSServicePreparer prepares the UpdateDNSService request.

func (WorkloadNetworksClient) UpdateDNSServiceResponder

func (client WorkloadNetworksClient) UpdateDNSServiceResponder(resp *http.Response) (result WorkloadNetworkDNSService, err error)

UpdateDNSServiceResponder handles the response to the UpdateDNSService request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) UpdateDNSServiceSender

func (client WorkloadNetworksClient) UpdateDNSServiceSender(req *http.Request) (future WorkloadNetworksUpdateDNSServiceFuture, err error)

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

func (WorkloadNetworksClient) UpdateDNSZone

func (client WorkloadNetworksClient) UpdateDNSZone(ctx context.Context, resourceGroupName string, privateCloudName string, DNSZoneID string, workloadNetworkDNSZone WorkloadNetworkDNSZone) (result WorkloadNetworksUpdateDNSZoneFuture, err error)

UpdateDNSZone sends the update dns zone request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud DNSZoneID - NSX DNS Zone identifier. Generally the same as the DNS Zone's display name workloadNetworkDNSZone - NSX DNS Zone

func (WorkloadNetworksClient) UpdateDNSZonePreparer

func (client WorkloadNetworksClient) UpdateDNSZonePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, DNSZoneID string, workloadNetworkDNSZone WorkloadNetworkDNSZone) (*http.Request, error)

UpdateDNSZonePreparer prepares the UpdateDNSZone request.

func (WorkloadNetworksClient) UpdateDNSZoneResponder

func (client WorkloadNetworksClient) UpdateDNSZoneResponder(resp *http.Response) (result WorkloadNetworkDNSZone, err error)

UpdateDNSZoneResponder handles the response to the UpdateDNSZone request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) UpdateDNSZoneSender

func (client WorkloadNetworksClient) UpdateDNSZoneSender(req *http.Request) (future WorkloadNetworksUpdateDNSZoneFuture, err error)

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

func (WorkloadNetworksClient) UpdateDhcp

func (client WorkloadNetworksClient) UpdateDhcp(ctx context.Context, resourceGroupName string, privateCloudName string, dhcpID string, workloadNetworkDhcp WorkloadNetworkDhcp) (result WorkloadNetworksUpdateDhcpFuture, err error)

UpdateDhcp sends the update dhcp request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud dhcpID - NSX DHCP identifier. Generally the same as the DHCP display name workloadNetworkDhcp - NSX DHCP

func (WorkloadNetworksClient) UpdateDhcpPreparer

func (client WorkloadNetworksClient) UpdateDhcpPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, dhcpID string, workloadNetworkDhcp WorkloadNetworkDhcp) (*http.Request, error)

UpdateDhcpPreparer prepares the UpdateDhcp request.

func (WorkloadNetworksClient) UpdateDhcpResponder

func (client WorkloadNetworksClient) UpdateDhcpResponder(resp *http.Response) (result WorkloadNetworkDhcp, err error)

UpdateDhcpResponder handles the response to the UpdateDhcp request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) UpdateDhcpSender

func (client WorkloadNetworksClient) UpdateDhcpSender(req *http.Request) (future WorkloadNetworksUpdateDhcpFuture, err error)

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

func (WorkloadNetworksClient) UpdatePortMirroring

func (client WorkloadNetworksClient) UpdatePortMirroring(ctx context.Context, resourceGroupName string, privateCloudName string, portMirroringID string, workloadNetworkPortMirroring WorkloadNetworkPortMirroring) (result WorkloadNetworksUpdatePortMirroringFuture, err error)

UpdatePortMirroring sends the update port mirroring request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud portMirroringID - NSX Port Mirroring identifier. Generally the same as the Port Mirroring display name workloadNetworkPortMirroring - NSX port mirroring

func (WorkloadNetworksClient) UpdatePortMirroringPreparer

func (client WorkloadNetworksClient) UpdatePortMirroringPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, portMirroringID string, workloadNetworkPortMirroring WorkloadNetworkPortMirroring) (*http.Request, error)

UpdatePortMirroringPreparer prepares the UpdatePortMirroring request.

func (WorkloadNetworksClient) UpdatePortMirroringResponder

func (client WorkloadNetworksClient) UpdatePortMirroringResponder(resp *http.Response) (result WorkloadNetworkPortMirroring, err error)

UpdatePortMirroringResponder handles the response to the UpdatePortMirroring request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) UpdatePortMirroringSender

func (client WorkloadNetworksClient) UpdatePortMirroringSender(req *http.Request) (future WorkloadNetworksUpdatePortMirroringFuture, err error)

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

func (WorkloadNetworksClient) UpdateSegments

func (client WorkloadNetworksClient) UpdateSegments(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string, workloadNetworkSegment WorkloadNetworkSegment) (result WorkloadNetworksUpdateSegmentsFuture, err error)

UpdateSegments sends the update segments request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud segmentID - NSX Segment identifier. Generally the same as the Segment's display name workloadNetworkSegment - NSX Segment

func (WorkloadNetworksClient) UpdateSegmentsPreparer

func (client WorkloadNetworksClient) UpdateSegmentsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, segmentID string, workloadNetworkSegment WorkloadNetworkSegment) (*http.Request, error)

UpdateSegmentsPreparer prepares the UpdateSegments request.

func (WorkloadNetworksClient) UpdateSegmentsResponder

func (client WorkloadNetworksClient) UpdateSegmentsResponder(resp *http.Response) (result WorkloadNetworkSegment, err error)

UpdateSegmentsResponder handles the response to the UpdateSegments request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) UpdateSegmentsSender

func (client WorkloadNetworksClient) UpdateSegmentsSender(req *http.Request) (future WorkloadNetworksUpdateSegmentsFuture, err error)

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

func (WorkloadNetworksClient) UpdateVMGroup

func (client WorkloadNetworksClient) UpdateVMGroup(ctx context.Context, resourceGroupName string, privateCloudName string, VMGroupID string, workloadNetworkVMGroup WorkloadNetworkVMGroup) (result WorkloadNetworksUpdateVMGroupFuture, err error)

UpdateVMGroup sends the update vm group request. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. privateCloudName - name of the private cloud VMGroupID - NSX VM Group identifier. Generally the same as the VM Group's display name workloadNetworkVMGroup - NSX VM Group

func (WorkloadNetworksClient) UpdateVMGroupPreparer

func (client WorkloadNetworksClient) UpdateVMGroupPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, VMGroupID string, workloadNetworkVMGroup WorkloadNetworkVMGroup) (*http.Request, error)

UpdateVMGroupPreparer prepares the UpdateVMGroup request.

func (WorkloadNetworksClient) UpdateVMGroupResponder

func (client WorkloadNetworksClient) UpdateVMGroupResponder(resp *http.Response) (result WorkloadNetworkVMGroup, err error)

UpdateVMGroupResponder handles the response to the UpdateVMGroup request. The method always closes the http.Response Body.

func (WorkloadNetworksClient) UpdateVMGroupSender

func (client WorkloadNetworksClient) UpdateVMGroupSender(req *http.Request) (future WorkloadNetworksUpdateVMGroupFuture, err error)

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

type WorkloadNetworksCreateDNSServiceFuture

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

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

func (*WorkloadNetworksCreateDNSServiceFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksCreateDNSZoneFuture

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

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

func (*WorkloadNetworksCreateDNSZoneFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksCreateDhcpFuture

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

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

func (*WorkloadNetworksCreateDhcpFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksCreatePortMirroringFuture

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

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

func (*WorkloadNetworksCreatePortMirroringFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksCreatePublicIPFuture

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

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

func (*WorkloadNetworksCreatePublicIPFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksCreateSegmentsFuture

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

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

func (*WorkloadNetworksCreateSegmentsFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksCreateVMGroupFuture

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

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

func (*WorkloadNetworksCreateVMGroupFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksDeleteDNSServiceFuture

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

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

func (*WorkloadNetworksDeleteDNSServiceFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksDeleteDNSZoneFuture

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

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

func (*WorkloadNetworksDeleteDNSZoneFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksDeleteDhcpFuture

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

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

func (*WorkloadNetworksDeleteDhcpFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksDeletePortMirroringFuture

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

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

func (*WorkloadNetworksDeletePortMirroringFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksDeletePublicIPFuture

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

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

func (*WorkloadNetworksDeletePublicIPFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksDeleteSegmentFuture

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

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

func (*WorkloadNetworksDeleteSegmentFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksDeleteVMGroupFuture

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

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

func (*WorkloadNetworksDeleteVMGroupFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksUpdateDNSServiceFuture

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

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

func (*WorkloadNetworksUpdateDNSServiceFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksUpdateDNSZoneFuture

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

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

func (*WorkloadNetworksUpdateDNSZoneFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksUpdateDhcpFuture

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

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

func (*WorkloadNetworksUpdateDhcpFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksUpdatePortMirroringFuture

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

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

func (*WorkloadNetworksUpdatePortMirroringFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksUpdateSegmentsFuture

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

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

func (*WorkloadNetworksUpdateSegmentsFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkloadNetworksUpdateVMGroupFuture

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

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

func (*WorkloadNetworksUpdateVMGroupFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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