Documentation ¶
Overview ¶
Package avs implements the Azure ARM Avs service API version 2020-03-20.
Azure VMware Solution API
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AdminCredentials
- type AuthorizationsClient
- func (client AuthorizationsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result AuthorizationsCreateOrUpdateFuture, err error)
- func (client AuthorizationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client AuthorizationsClient) CreateOrUpdateResponder(resp *http.Response) (result ExpressRouteAuthorization, err error)
- func (client AuthorizationsClient) CreateOrUpdateSender(req *http.Request) (future AuthorizationsCreateOrUpdateFuture, err error)
- func (client AuthorizationsClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result AuthorizationsDeleteFuture, err error)
- func (client AuthorizationsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client AuthorizationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client AuthorizationsClient) DeleteSender(req *http.Request) (future AuthorizationsDeleteFuture, err error)
- func (client AuthorizationsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result ExpressRouteAuthorization, err error)
- func (client AuthorizationsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client AuthorizationsClient) GetResponder(resp *http.Response) (result ExpressRouteAuthorization, err error)
- func (client AuthorizationsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client AuthorizationsClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result ExpressRouteAuthorizationListPage, err error)
- func (client AuthorizationsClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result ExpressRouteAuthorizationListIterator, err error)
- func (client AuthorizationsClient) ListPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)
- func (client AuthorizationsClient) ListResponder(resp *http.Response) (result ExpressRouteAuthorizationList, err error)
- func (client AuthorizationsClient) ListSender(req *http.Request) (*http.Response, error)
- type AuthorizationsCreateOrUpdateFuture
- type AuthorizationsDeleteFuture
- type BaseClient
- type Circuit
- type CloudError
- type Cluster
- type ClusterList
- type ClusterListIterator
- type ClusterListPage
- type ClusterProperties
- type ClusterProvisioningState
- type ClusterUpdate
- type ClusterUpdateProperties
- type ClustersClient
- func (client ClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result ClustersCreateOrUpdateFuture, err error)
- func (client ClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client ClustersClient) CreateOrUpdateResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) CreateOrUpdateSender(req *http.Request) (future ClustersCreateOrUpdateFuture, err error)
- func (client ClustersClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result ClustersDeleteFuture, err error)
- func (client ClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client ClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ClustersClient) DeleteSender(req *http.Request) (future ClustersDeleteFuture, err error)
- func (client ClustersClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result Cluster, err error)
- func (client ClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client ClustersClient) GetResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result ClusterListPage, err error)
- func (client ClustersClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result ClusterListIterator, err error)
- func (client ClustersClient) ListPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)
- func (client ClustersClient) ListResponder(resp *http.Response) (result ClusterList, err error)
- func (client ClustersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client ClustersClient) Update(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result ClustersUpdateFuture, err error)
- func (client ClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client ClustersClient) UpdateResponder(resp *http.Response) (result Cluster, err error)
- func (client ClustersClient) UpdateSender(req *http.Request) (future ClustersUpdateFuture, err error)
- type ClustersCreateOrUpdateFuture
- type ClustersDeleteFuture
- type ClustersUpdateFuture
- type Endpoints
- type ErrorAdditionalInfo
- type ErrorResponse
- type ExpressRouteAuthorization
- type ExpressRouteAuthorizationList
- type ExpressRouteAuthorizationListIterator
- func (iter *ExpressRouteAuthorizationListIterator) Next() error
- func (iter *ExpressRouteAuthorizationListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ExpressRouteAuthorizationListIterator) NotDone() bool
- func (iter ExpressRouteAuthorizationListIterator) Response() ExpressRouteAuthorizationList
- func (iter ExpressRouteAuthorizationListIterator) Value() ExpressRouteAuthorization
- type ExpressRouteAuthorizationListPage
- func (page *ExpressRouteAuthorizationListPage) Next() error
- func (page *ExpressRouteAuthorizationListPage) NextWithContext(ctx context.Context) (err error)
- func (page ExpressRouteAuthorizationListPage) NotDone() bool
- func (page ExpressRouteAuthorizationListPage) Response() ExpressRouteAuthorizationList
- func (page ExpressRouteAuthorizationListPage) Values() []ExpressRouteAuthorization
- type ExpressRouteAuthorizationProperties
- type ExpressRouteAuthorizationProvisioningState
- type HcxEnterpriseSite
- type HcxEnterpriseSiteList
- type HcxEnterpriseSiteListIterator
- func (iter *HcxEnterpriseSiteListIterator) Next() error
- func (iter *HcxEnterpriseSiteListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HcxEnterpriseSiteListIterator) NotDone() bool
- func (iter HcxEnterpriseSiteListIterator) Response() HcxEnterpriseSiteList
- func (iter HcxEnterpriseSiteListIterator) Value() HcxEnterpriseSite
- type HcxEnterpriseSiteListPage
- func (page *HcxEnterpriseSiteListPage) Next() error
- func (page *HcxEnterpriseSiteListPage) NextWithContext(ctx context.Context) (err error)
- func (page HcxEnterpriseSiteListPage) NotDone() bool
- func (page HcxEnterpriseSiteListPage) Response() HcxEnterpriseSiteList
- func (page HcxEnterpriseSiteListPage) Values() []HcxEnterpriseSite
- type HcxEnterpriseSiteProperties
- type HcxEnterpriseSiteStatus
- type HcxEnterpriseSitesClient
- func (client HcxEnterpriseSitesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result HcxEnterpriseSite, err error)
- func (client HcxEnterpriseSitesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client HcxEnterpriseSitesClient) CreateOrUpdateResponder(resp *http.Response) (result HcxEnterpriseSite, err error)
- func (client HcxEnterpriseSitesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client HcxEnterpriseSitesClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result autorest.Response, err error)
- func (client HcxEnterpriseSitesClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client HcxEnterpriseSitesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HcxEnterpriseSitesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client HcxEnterpriseSitesClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result HcxEnterpriseSite, err error)
- func (client HcxEnterpriseSitesClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client HcxEnterpriseSitesClient) GetResponder(resp *http.Response) (result HcxEnterpriseSite, err error)
- func (client HcxEnterpriseSitesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client HcxEnterpriseSitesClient) List(ctx context.Context, resourceGroupName string, privateCloudName string) (result HcxEnterpriseSiteListPage, err error)
- func (client HcxEnterpriseSitesClient) ListComplete(ctx context.Context, resourceGroupName string, privateCloudName string) (result HcxEnterpriseSiteListIterator, err error)
- func (client HcxEnterpriseSitesClient) ListPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)
- func (client HcxEnterpriseSitesClient) ListResponder(resp *http.Response) (result HcxEnterpriseSiteList, err error)
- func (client HcxEnterpriseSitesClient) ListSender(req *http.Request) (*http.Response, error)
- type IdentitySource
- type InternetEnum
- type LocationsClient
- func (client LocationsClient) CheckQuotaAvailability(ctx context.Context, location string) (result Quota, err error)
- func (client LocationsClient) CheckQuotaAvailabilityPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client LocationsClient) CheckQuotaAvailabilityResponder(resp *http.Response) (result Quota, err error)
- func (client LocationsClient) CheckQuotaAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client LocationsClient) CheckTrialAvailability(ctx context.Context, location string) (result Trial, err error)
- func (client LocationsClient) CheckTrialAvailabilityPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client LocationsClient) CheckTrialAvailabilityResponder(resp *http.Response) (result Trial, err error)
- func (client LocationsClient) CheckTrialAvailabilitySender(req *http.Request) (*http.Response, error)
- type LogSpecification
- type ManagementCluster
- type MetricDimension
- type MetricSpecification
- type Operation
- type OperationDisplay
- type OperationList
- type OperationListIterator
- type OperationListPage
- type OperationProperties
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type PrivateCloud
- type PrivateCloudList
- type PrivateCloudListIterator
- func (iter *PrivateCloudListIterator) Next() error
- func (iter *PrivateCloudListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter PrivateCloudListIterator) NotDone() bool
- func (iter PrivateCloudListIterator) Response() PrivateCloudList
- func (iter PrivateCloudListIterator) Value() PrivateCloud
- type PrivateCloudListPage
- type PrivateCloudProperties
- type PrivateCloudProvisioningState
- type PrivateCloudUpdate
- type PrivateCloudUpdateProperties
- type PrivateCloudsClient
- func (client PrivateCloudsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result PrivateCloudsCreateOrUpdateFuture, err error)
- func (client PrivateCloudsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client PrivateCloudsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateCloud, err error)
- func (client PrivateCloudsClient) CreateOrUpdateSender(req *http.Request) (future PrivateCloudsCreateOrUpdateFuture, err error)
- func (client PrivateCloudsClient) Delete(ctx context.Context, resourceGroupName string, privateCloudName string) (result PrivateCloudsDeleteFuture, err error)
- func (client PrivateCloudsClient) DeletePreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)
- func (client PrivateCloudsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client PrivateCloudsClient) DeleteSender(req *http.Request) (future PrivateCloudsDeleteFuture, err error)
- func (client PrivateCloudsClient) Get(ctx context.Context, resourceGroupName string, privateCloudName string) (result PrivateCloud, err error)
- func (client PrivateCloudsClient) GetPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)
- func (client PrivateCloudsClient) GetResponder(resp *http.Response) (result PrivateCloud, err error)
- func (client PrivateCloudsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client PrivateCloudsClient) List(ctx context.Context, resourceGroupName string) (result PrivateCloudListPage, err error)
- func (client PrivateCloudsClient) ListAdminCredentials(ctx context.Context, resourceGroupName string, privateCloudName string) (result AdminCredentials, err error)
- func (client PrivateCloudsClient) ListAdminCredentialsPreparer(ctx context.Context, resourceGroupName string, privateCloudName string) (*http.Request, error)
- func (client PrivateCloudsClient) ListAdminCredentialsResponder(resp *http.Response) (result AdminCredentials, err error)
- func (client PrivateCloudsClient) ListAdminCredentialsSender(req *http.Request) (*http.Response, error)
- func (client PrivateCloudsClient) ListComplete(ctx context.Context, resourceGroupName string) (result PrivateCloudListIterator, err error)
- func (client PrivateCloudsClient) ListInSubscription(ctx context.Context) (result PrivateCloudListPage, err error)
- func (client PrivateCloudsClient) ListInSubscriptionComplete(ctx context.Context) (result PrivateCloudListIterator, err error)
- func (client PrivateCloudsClient) ListInSubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client PrivateCloudsClient) ListInSubscriptionResponder(resp *http.Response) (result PrivateCloudList, err error)
- func (client PrivateCloudsClient) ListInSubscriptionSender(req *http.Request) (*http.Response, error)
- func (client PrivateCloudsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client PrivateCloudsClient) ListResponder(resp *http.Response) (result PrivateCloudList, err error)
- func (client PrivateCloudsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client PrivateCloudsClient) Update(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (result PrivateCloudsUpdateFuture, err error)
- func (client PrivateCloudsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, privateCloudName string, ...) (*http.Request, error)
- func (client PrivateCloudsClient) UpdateResponder(resp *http.Response) (result PrivateCloud, err error)
- func (client PrivateCloudsClient) UpdateSender(req *http.Request) (future PrivateCloudsUpdateFuture, err error)
- type PrivateCloudsCreateOrUpdateFuture
- type PrivateCloudsDeleteFuture
- type PrivateCloudsUpdateFuture
- type Quota
- type QuotaEnabled
- type Resource
- type ServiceSpecification
- type Sku
- type SslEnum
- type TrackedResource
- type Trial
- type TrialStatus
Constants ¶
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
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type AuthorizationsCreateOrUpdateFuture ¶
AuthorizationsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AuthorizationsCreateOrUpdateFuture) Result ¶
func (future *AuthorizationsCreateOrUpdateFuture) Result(client AuthorizationsClient) (era ExpressRouteAuthorization, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type AuthorizationsDeleteFuture ¶
AuthorizationsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*AuthorizationsDeleteFuture) Result ¶
func (future *AuthorizationsDeleteFuture) Result(client AuthorizationsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type BaseClient ¶
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 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
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 ¶
MarshalJSON is the custom marshaler for Cluster.
func (*Cluster) UnmarshalJSON ¶
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.
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 - The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating' ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"` // ClusterID - READ-ONLY; The identity ClusterID *int32 `json:"clusterId,omitempty"` // Hosts - READ-ONLY; The hosts Hosts *[]string `json:"hosts,omitempty"` // ClusterSize - The cluster size ClusterSize *int32 `json:"clusterSize,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 ¶
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 ¶
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 ¶
ClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ClustersCreateOrUpdateFuture) Result ¶
func (future *ClustersCreateOrUpdateFuture) Result(client ClustersClient) (c Cluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ClustersDeleteFuture ¶
ClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ClustersDeleteFuture) Result ¶
func (future *ClustersDeleteFuture) Result(client ClustersClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type ClustersUpdateFuture ¶
ClustersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*ClustersUpdateFuture) Result ¶
func (future *ClustersUpdateFuture) Result(client ClustersClient) (c Cluster, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
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
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.
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.)
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.
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 ¶
func (iter *ExpressRouteAuthorizationListIterator) 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 (*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 ¶
func (iter ExpressRouteAuthorizationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ExpressRouteAuthorizationListIterator) Response ¶
func (iter ExpressRouteAuthorizationListIterator) Response() ExpressRouteAuthorizationList
Response returns the raw server response from the last page request.
func (ExpressRouteAuthorizationListIterator) Value ¶
func (iter ExpressRouteAuthorizationListIterator) Value() ExpressRouteAuthorization
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 ¶
func NewExpressRouteAuthorizationListPage(cur ExpressRouteAuthorizationList, getNextPage func(context.Context, ExpressRouteAuthorizationList) (ExpressRouteAuthorizationList, error)) ExpressRouteAuthorizationListPage
Creates a new instance of the ExpressRouteAuthorizationListPage type.
func (*ExpressRouteAuthorizationListPage) Next ¶
func (page *ExpressRouteAuthorizationListPage) 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 (*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 ¶
func (page ExpressRouteAuthorizationListPage) Response() ExpressRouteAuthorizationList
Response returns the raw server response from the last page request.
func (ExpressRouteAuthorizationListPage) Values ¶
func (page ExpressRouteAuthorizationListPage) Values() []ExpressRouteAuthorization
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
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 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.
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 ¶
func (iter HcxEnterpriseSiteListIterator) Response() HcxEnterpriseSiteList
Response returns the raw server response from the last page request.
func (HcxEnterpriseSiteListIterator) Value ¶
func (iter HcxEnterpriseSiteListIterator) Value() HcxEnterpriseSite
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 ¶
func NewHcxEnterpriseSiteListPage(cur HcxEnterpriseSiteList, getNextPage func(context.Context, HcxEnterpriseSiteList) (HcxEnterpriseSiteList, error)) HcxEnterpriseSiteListPage
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 ¶
func (page HcxEnterpriseSiteListPage) Response() HcxEnterpriseSiteList
Response returns the raw server response from the last page request.
func (HcxEnterpriseSiteListPage) Values ¶
func (page HcxEnterpriseSiteListPage) Values() []HcxEnterpriseSite
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
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 ¶
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 ¶
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 ¶
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 - The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating' ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"` // ClusterID - READ-ONLY; The identity ClusterID *int32 `json:"clusterId,omitempty"` // Hosts - READ-ONLY; The hosts Hosts *[]string `json:"hosts,omitempty"` // ClusterSize - The cluster size ClusterSize *int32 `json:"clusterSize,omitempty"` }
ManagementCluster the properties of a default 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 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 ¶
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
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.
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 ¶
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 ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
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.
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 ¶
func (iter PrivateCloudListIterator) Response() PrivateCloudList
Response returns the raw server response from the last page request.
func (PrivateCloudListIterator) Value ¶
func (iter PrivateCloudListIterator) Value() PrivateCloud
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type PrivateCloudListPage ¶
type PrivateCloudListPage struct {
// contains filtered or unexported fields
}
PrivateCloudListPage contains a page of PrivateCloud values.
func NewPrivateCloudListPage ¶
func NewPrivateCloudListPage(cur PrivateCloudList, getNextPage func(context.Context, PrivateCloudList) (PrivateCloudList, error)) PrivateCloudListPage
Creates a new instance of the PrivateCloudListPage type.
func (*PrivateCloudListPage) Next ¶
func (page *PrivateCloudListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*PrivateCloudListPage) NextWithContext ¶
func (page *PrivateCloudListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (PrivateCloudListPage) NotDone ¶
func (page PrivateCloudListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (PrivateCloudListPage) Response ¶
func (page PrivateCloudListPage) Response() PrivateCloudList
Response returns the raw server response from the last page request.
func (PrivateCloudListPage) Values ¶
func (page PrivateCloudListPage) Values() []PrivateCloud
Values returns the slice of values for the current page or nil if there are no values.
type PrivateCloudProperties ¶
type PrivateCloudProperties struct { // ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'PrivateCloudProvisioningStateSucceeded', 'PrivateCloudProvisioningStateFailed', 'PrivateCloudProvisioningStateCancelled', 'PrivateCloudProvisioningStatePending', 'PrivateCloudProvisioningStateBuilding', 'PrivateCloudProvisioningStateDeleting', 'PrivateCloudProvisioningStateUpdating' ProvisioningState PrivateCloudProvisioningState `json:"provisioningState,omitempty"` // Circuit - An ExpressRoute Circuit Circuit *Circuit `json:"circuit,omitempty"` // Endpoints - READ-ONLY; The endpoints Endpoints *Endpoints `json:"endpoints,omitempty"` // NetworkBlock - The block of addresses should be unique across VNet in your subscription as well as on-premise. Make sure the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are between 0 and 255, and X is between 0 and 22 NetworkBlock *string `json:"networkBlock,omitempty"` // ManagementNetwork - READ-ONLY; Network used to access vCenter Server and NSX-T Manager ManagementNetwork *string `json:"managementNetwork,omitempty"` // ProvisioningNetwork - READ-ONLY; Used for virtual machine cold migration, cloning, and snapshot migration ProvisioningNetwork *string `json:"provisioningNetwork,omitempty"` // VmotionNetwork - READ-ONLY; Used for live migration of virtual machines VmotionNetwork *string `json:"vmotionNetwork,omitempty"` // VcenterPassword - Optionally, set the vCenter admin password when the private cloud is created VcenterPassword *string `json:"vcenterPassword,omitempty"` // NsxtPassword - Optionally, set the NSX-T Manager password when the private cloud is created NsxtPassword *string `json:"nsxtPassword,omitempty"` // VcenterCertificateThumbprint - READ-ONLY; Thumbprint of the vCenter Server SSL certificate VcenterCertificateThumbprint *string `json:"vcenterCertificateThumbprint,omitempty"` // NsxtCertificateThumbprint - READ-ONLY; Thumbprint of the NSX-T Manager SSL certificate NsxtCertificateThumbprint *string `json:"nsxtCertificateThumbprint,omitempty"` // 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"` }
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"` }
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 ¶
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 ¶
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 ¶
PrivateCloudsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateCloudsCreateOrUpdateFuture) Result ¶
func (future *PrivateCloudsCreateOrUpdateFuture) Result(client PrivateCloudsClient) (pc PrivateCloud, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type PrivateCloudsDeleteFuture ¶
PrivateCloudsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateCloudsDeleteFuture) Result ¶
func (future *PrivateCloudsDeleteFuture) Result(client PrivateCloudsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type PrivateCloudsUpdateFuture ¶
PrivateCloudsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*PrivateCloudsUpdateFuture) Result ¶
func (future *PrivateCloudsUpdateFuture) Result(client PrivateCloudsClient) (pc PrivateCloud, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
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 ¶
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
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.
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
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.