avs

package
v59.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package avs implements the Azure ARM Avs service API version 2020-07-17-preview.

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 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 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 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 {
	// ProvisioningState - READ-ONLY; The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating'
	ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"`
	// ClusterSize - The cluster size
	ClusterSize *int32 `json:"clusterSize,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 (
	// Cancelled ...
	Cancelled ClusterProvisioningState = "Cancelled"
	// Deleting ...
	Deleting ClusterProvisioningState = "Deleting"
	// Failed ...
	Failed ClusterProvisioningState = "Failed"
	// Succeeded ...
	Succeeded ClusterProvisioningState = "Succeeded"
	// Updating ...
	Updating 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 {
	// ProvisioningState - READ-ONLY; The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating'
	ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"`
	// ClusterSize - The cluster size
	ClusterSize *int32 `json:"clusterSize,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 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 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: 'Connected', 'Connecting', 'Disconnected'
	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 (
	// Connected ...
	Connected GlobalReachConnectionStatus = "Connected"
	// Connecting ...
	Connecting GlobalReachConnectionStatus = "Connecting"
	// Disconnected ...
	Disconnected 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: 'Available', 'Consumed', 'Deactivated', 'Deleted'
	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 (
	// Available ...
	Available HcxEnterpriseSiteStatus = "Available"
	// Consumed ...
	Consumed HcxEnterpriseSiteStatus = "Consumed"
	// Deactivated ...
	Deactivated HcxEnterpriseSiteStatus = "Deactivated"
	// Deleted ...
	Deleted 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 (
	// Disabled ...
	Disabled InternetEnum = "Disabled"
	// Enabled ...
	Enabled 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 {
	// ProvisioningState - READ-ONLY; The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating'
	ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"`
	// ClusterSize - The cluster size
	ClusterSize *int32 `json:"clusterSize,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"`
}

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 NsxtAdminRotateEnum

type NsxtAdminRotateEnum string

NsxtAdminRotateEnum enumerates the values for nsxt admin rotate enum.

const (
	// OnetimeRotate ...
	OnetimeRotate NsxtAdminRotateEnum = "OnetimeRotate"
)

func PossibleNsxtAdminRotateEnumValues

func PossibleNsxtAdminRotateEnumValues() []NsxtAdminRotateEnum

PossibleNsxtAdminRotateEnumValues returns an array of possible values for the NsxtAdminRotateEnum const type.

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 PortMirroringDirectionEnum

type PortMirroringDirectionEnum string

PortMirroringDirectionEnum enumerates the values for port mirroring direction enum.

const (
	// INGRESSEGRESSBIDIRECTIONAL ...
	INGRESSEGRESSBIDIRECTIONAL 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 (
	// SUCCESSFAILURE ...
	SUCCESSFAILURE 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"`
	// 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"`
	// ManagementCluster - The default cluster used for management
	ManagementCluster *ManagementCluster `json:"managementCluster,omitempty"`
	// Internet - Connectivity to internet is enabled or disabled. Possible values include: 'Enabled', 'Disabled'
	Internet InternetEnum `json:"internet,omitempty"`
	// IdentitySources - vCenter Single Sign On Identity Sources
	IdentitySources *[]IdentitySource `json:"identitySources,omitempty"`
	// VcenterPassword - Indicate to rotate the vCenter admin password for the private cloud. Possible values include: 'VcsaAdminRotateEnumOnetimeRotate'
	VcenterPassword VcsaAdminRotateEnum `json:"vcenterPassword,omitempty"`
	// NsxtPassword - Indicate to rotate the NSX-T Manager password for the private cloud. Possible values include: 'OnetimeRotate'
	NsxtPassword NsxtAdminRotateEnum `json:"nsxtPassword,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: 'Enabled', 'Disabled'
	Internet InternetEnum `json:"internet,omitempty"`
	// IdentitySources - vCenter Single Sign On Identity Sources
	IdentitySources *[]IdentitySource `json:"identitySources,omitempty"`
	// VcenterPassword - Indicate to rotate the vCenter admin password for the private cloud. Possible values include: 'VcsaAdminRotateEnumOnetimeRotate'
	VcenterPassword VcsaAdminRotateEnum `json:"vcenterPassword,omitempty"`
	// NsxtPassword - Indicate to rotate the NSX-T Manager password for the private cloud. Possible values include: 'OnetimeRotate'
	NsxtPassword NsxtAdminRotateEnum `json:"nsxtPassword,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) 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 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 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: 'TrialAvailable', 'TrialUsed', 'TrialDisabled'
	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 (
	// TrialAvailable ...
	TrialAvailable TrialStatus = "TrialAvailable"
	// TrialDisabled ...
	TrialDisabled TrialStatus = "TrialDisabled"
	// TrialUsed ...
	TrialUsed TrialStatus = "TrialUsed"
)

func PossibleTrialStatusValues

func PossibleTrialStatusValues() []TrialStatus

PossibleTrialStatusValues returns an array of possible values for the TrialStatus 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 (
	// REGULAREDGESERVICE ...
	REGULAREDGESERVICE VMTypeEnum = "REGULAR, EDGE, SERVICE"
)

func PossibleVMTypeEnumValues

func PossibleVMTypeEnumValues() []VMTypeEnum

PossibleVMTypeEnumValues returns an array of possible values for the VMTypeEnum const type.

type VcsaAdminRotateEnum

type VcsaAdminRotateEnum string

VcsaAdminRotateEnum enumerates the values for vcsa admin rotate enum.

const (
	// VcsaAdminRotateEnumOnetimeRotate ...
	VcsaAdminRotateEnumOnetimeRotate VcsaAdminRotateEnum = "OnetimeRotate"
)

func PossibleVcsaAdminRotateEnumValues

func PossibleVcsaAdminRotateEnumValues() []VcsaAdminRotateEnum

PossibleVcsaAdminRotateEnumValues returns an array of possible values for the VcsaAdminRotateEnum const type.

type WorkloadNetworkDhcp

type WorkloadNetworkDhcp struct {
	autorest.Response `json:"-"`
	// BasicWorkloadNetworkDhcpEntity - DHCP 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: 'INGRESSEGRESSBIDIRECTIONAL'
	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: 'SUCCESSFAILURE'
	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 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: 'REGULAREDGESERVICE'
	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) 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) 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) 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) 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) 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) 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 - NSX 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) 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) 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) 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 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 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 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 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 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