azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/avs/mgmt/2019-08-09-preview/avs Index | Files

package avs

import "github.com/Azure/azure-sdk-for-go/services/preview/avs/mgmt/2019-08-09-preview/avs"

Package avs implements the Azure ARM Avs service API version 2019-08-09-preview.

Azure VMware Solution API

Index

Package Files

client.go clusters.go enums.go locations.go models.go operations.go privateclouds.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type APIError Uses

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

APIError API error response

type APIErrorBase Uses

type APIErrorBase struct {
    // Code - Error code
    Code *string `json:"code,omitempty"`
    // Message - Error message
    Message *string `json:"message,omitempty"`
}

APIErrorBase api error.

type AdminCredentials Uses

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 BaseClient Uses

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

BaseClient is the base client for Avs.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 Uses

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 (Microsoft Colo only)
    ExpressRouteID *string `json:"expressRouteID,omitempty"`
    // Authorizations - Authorizations for the ExpressRoute (Microsoft Colo only)
    Authorizations *[]ExpressRouteAuthorization `json:"authorizations,omitempty"`
    // ExpressRoutePrivatePeeringID - READ-ONLY; ExpressRoute private peering identifier
    ExpressRoutePrivatePeeringID *string `json:"expressRoutePrivatePeeringID,omitempty"`
}

Circuit an ExpressRoute Circuit

func (Circuit) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Circuit.

type Cluster Uses

type Cluster struct {
    autorest.Response `json:"-"`
    // Properties - The properties of a cluster resource
    Properties *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 Uses

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

MarshalJSON is the custom marshaler for Cluster.

type ClusterList Uses

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 Uses

func (cl ClusterList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ClusterListIterator Uses

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

ClusterListIterator provides access to a complete listing of Cluster values.

func NewClusterListIterator Uses

func NewClusterListIterator(page ClusterListPage) ClusterListIterator

Creates a new instance of the ClusterListIterator type.

func (*ClusterListIterator) Next Uses

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 Uses

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 Uses

func (iter ClusterListIterator) NotDone() bool

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

func (ClusterListIterator) Response Uses

func (iter ClusterListIterator) Response() ClusterList

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

func (ClusterListIterator) Value Uses

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 Uses

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

ClusterListPage contains a page of Cluster values.

func NewClusterListPage Uses

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

Creates a new instance of the ClusterListPage type.

func (*ClusterListPage) Next Uses

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 Uses

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 Uses

func (page ClusterListPage) NotDone() bool

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

func (ClusterListPage) Response Uses

func (page ClusterListPage) Response() ClusterList

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

func (ClusterListPage) Values Uses

func (page ClusterListPage) Values() []Cluster

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

type ClusterProperties Uses

type ClusterProperties struct {
    // ProvisioningState - READ-ONLY; The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Updating'
    ProvisioningState ClusterProvisioningState `json:"provisioningState,omitempty"`
    // ClusterID - READ-ONLY; The deprecated identity
    ClusterID *int32 `json:"clusterID,omitempty"`
    // ClusterSize - The cluster size
    ClusterSize *int32 `json:"clusterSize,omitempty"`
    // Hosts - READ-ONLY; The hosts
    Hosts *[]string `json:"hosts,omitempty"`
}

ClusterProperties the properties of a cluster

func (ClusterProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ClusterProperties.

type ClusterProvisioningState Uses

type ClusterProvisioningState string

ClusterProvisioningState enumerates the values for cluster provisioning state.

const (
    // Cancelled ...
    Cancelled ClusterProvisioningState = "Cancelled"
    // Failed ...
    Failed ClusterProvisioningState = "Failed"
    // Succeeded ...
    Succeeded ClusterProvisioningState = "Succeeded"
    // Updating ...
    Updating ClusterProvisioningState = "Updating"
)

func PossibleClusterProvisioningStateValues Uses

func PossibleClusterProvisioningStateValues() []ClusterProvisioningState

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

type ClustersClient Uses

type ClustersClient struct {
    BaseClient
}

ClustersClient is the azure VMware Solution API

func NewClustersClient Uses

func NewClustersClient(subscriptionID string) ClustersClient

NewClustersClient creates an instance of the ClustersClient client.

func NewClustersClientWithBaseURI Uses

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 Uses

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 - name of the resource group within the Azure subscription 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 Uses

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 Uses

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 Uses

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 Uses

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

Delete sends the delete request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud

func (ClustersClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ClustersClient) DeleteResponder Uses

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 Uses

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 Uses

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

Get sends the get request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud

func (ClustersClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ClustersClient) GetResponder Uses

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 Uses

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

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

func (ClustersClient) List Uses

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

List sends the list request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud

func (ClustersClient) ListComplete Uses

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 Uses

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

ListPreparer prepares the List request.

func (ClustersClient) ListResponder Uses

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 Uses

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

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

func (ClustersClient) Update Uses

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

Update sends the update request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud clusterName - name of the cluster in the private cloud cluster - a cluster in a private cloud

func (ClustersClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (ClustersClient) UpdateResponder Uses

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 Uses

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 Uses

type ClustersCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ClustersCreateOrUpdateFuture) Result Uses

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 Uses

type ClustersDeleteFuture struct {
    azure.Future
}

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

func (*ClustersDeleteFuture) Result Uses

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 Uses

type ClustersUpdateFuture struct {
    azure.Future
}

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

func (*ClustersUpdateFuture) Result Uses

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 DefaultClusterProperties Uses

type DefaultClusterProperties struct {
    // ClusterID - READ-ONLY; The deprecated identity
    ClusterID *int32 `json:"clusterID,omitempty"`
    // ClusterSize - The cluster size
    ClusterSize *int32 `json:"clusterSize,omitempty"`
    // Hosts - READ-ONLY; The hosts
    Hosts *[]string `json:"hosts,omitempty"`
}

DefaultClusterProperties the properties of a default cluster

func (DefaultClusterProperties) MarshalJSON Uses

func (dcp DefaultClusterProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DefaultClusterProperties.

type Endpoints Uses

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

Endpoints endpoint addresses

type ExpressRouteAuthorization Uses

type ExpressRouteAuthorization struct {
    // Name - The name of the ExpressRoute
    Name *string `json:"name,omitempty"`
    // ID - READ-ONLY; The ID of the ExpressRoute
    ID  *string `json:"id,omitempty"`
    // Key - READ-ONLY; The key of the ExpressRoute
    Key *string `json:"key,omitempty"`
}

ExpressRouteAuthorization authorization for an ExpressRoute

func (ExpressRouteAuthorization) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ExpressRouteAuthorization.

type IdentitySource Uses

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 Uses

type InternetEnum string

InternetEnum enumerates the values for internet enum.

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

func PossibleInternetEnumValues Uses

func PossibleInternetEnumValues() []InternetEnum

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

type LocationsClient Uses

type LocationsClient struct {
    BaseClient
}

LocationsClient is the azure VMware Solution API

func NewLocationsClient Uses

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI Uses

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 Uses

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 Uses

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

CheckQuotaAvailabilityPreparer prepares the CheckQuotaAvailability request.

func (LocationsClient) CheckQuotaAvailabilityResponder Uses

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 Uses

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 Uses

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 Uses

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

CheckTrialAvailabilityPreparer prepares the CheckTrialAvailability request.

func (LocationsClient) CheckTrialAvailabilityResponder Uses

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 Uses

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 Uses

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 MetricDimension Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay Uses

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 Uses

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 Uses

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListIterator Uses

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

OperationListIterator provides access to a complete listing of Operation values.

func NewOperationListIterator Uses

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListIterator) NotDone() bool

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

func (OperationListIterator) Response Uses

func (iter OperationListIterator) Response() OperationList

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

func (OperationListIterator) Value Uses

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 Uses

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

OperationListPage contains a page of Operation values.

func NewOperationListPage Uses

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

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next Uses

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 Uses

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 Uses

func (page OperationListPage) NotDone() bool

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

func (OperationListPage) Response Uses

func (page OperationListPage) Response() OperationList

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

func (OperationListPage) Values Uses

func (page OperationListPage) Values() []Operation

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

type OperationProperties Uses

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

OperationProperties extra Operation properties

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure VMware Solution API

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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 Uses

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

List lists all of the available operations

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

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

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

type PrivateCloud Uses

type PrivateCloud struct {
    autorest.Response `json:"-"`
    // Sku - The private cloud SKU
    Sku *Sku `json:"sku,omitempty"`
    // Properties - The properties of a private cloud resource
    Properties *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 Uses

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

MarshalJSON is the custom marshaler for PrivateCloud.

type PrivateCloudList Uses

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 Uses

func (pcl PrivateCloudList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateCloudListIterator Uses

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

PrivateCloudListIterator provides access to a complete listing of PrivateCloud values.

func NewPrivateCloudListIterator Uses

func NewPrivateCloudListIterator(page PrivateCloudListPage) PrivateCloudListIterator

Creates a new instance of the PrivateCloudListIterator type.

func (*PrivateCloudListIterator) Next Uses

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 Uses

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 Uses

func (iter PrivateCloudListIterator) NotDone() bool

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

func (PrivateCloudListIterator) Response Uses

func (iter PrivateCloudListIterator) Response() PrivateCloudList

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

func (PrivateCloudListIterator) Value Uses

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 Uses

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

PrivateCloudListPage contains a page of PrivateCloud values.

func NewPrivateCloudListPage Uses

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

Creates a new instance of the PrivateCloudListPage type.

func (*PrivateCloudListPage) Next Uses

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 Uses

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 Uses

func (page PrivateCloudListPage) NotDone() bool

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

func (PrivateCloudListPage) Response Uses

func (page PrivateCloudListPage) Response() PrivateCloudList

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

func (PrivateCloudListPage) Values Uses

func (page PrivateCloudListPage) Values() []PrivateCloud

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

type PrivateCloudProperties Uses

type PrivateCloudProperties struct {
    // ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'PrivateCloudProvisioningStateSucceeded', 'PrivateCloudProvisioningStateFailed', 'PrivateCloudProvisioningStateCancelled', 'PrivateCloudProvisioningStatePending', 'PrivateCloudProvisioningStateBuilding', 'PrivateCloudProvisioningStateUpdating'
    ProvisioningState PrivateCloudProvisioningState `json:"provisioningState,omitempty"`
    // Circuit - An ExpressRoute Circuit
    Circuit *Circuit `json:"circuit,omitempty"`
    // Cluster - The default cluster used for management
    Cluster *DefaultClusterProperties `json:"cluster,omitempty"`
    // Clusters - READ-ONLY; The clusters
    Clusters *[]string `json:"clusters,omitempty"`
    // Endpoints - READ-ONLY; The endpoints
    Endpoints *Endpoints `json:"endpoints,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"`
    // 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"`
}

PrivateCloudProperties the properties of a private cloud resource

func (PrivateCloudProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PrivateCloudProperties.

type PrivateCloudProvisioningState Uses

type PrivateCloudProvisioningState string

PrivateCloudProvisioningState enumerates the values for private cloud provisioning state.

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

func PossiblePrivateCloudProvisioningStateValues Uses

func PossiblePrivateCloudProvisioningStateValues() []PrivateCloudProvisioningState

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

type PrivateCloudsClient Uses

type PrivateCloudsClient struct {
    BaseClient
}

PrivateCloudsClient is the azure VMware Solution API

func NewPrivateCloudsClient Uses

func NewPrivateCloudsClient(subscriptionID string) PrivateCloudsClient

NewPrivateCloudsClient creates an instance of the PrivateCloudsClient client.

func NewPrivateCloudsClientWithBaseURI Uses

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 Uses

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 - name of the resource group within the Azure subscription privateCloudName - name of the private cloud privateCloud - the private cloud

func (PrivateCloudsClient) CreateOrUpdatePreparer Uses

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateCloudsClient) CreateOrUpdateResponder Uses

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 Uses

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 Uses

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

Delete sends the delete request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud

func (PrivateCloudsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (PrivateCloudsClient) DeleteResponder Uses

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 Uses

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 Uses

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

Get sends the get request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud

func (PrivateCloudsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (PrivateCloudsClient) GetResponder Uses

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 Uses

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

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

func (PrivateCloudsClient) List Uses

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

List sends the list request. Parameters: resourceGroupName - name of the resource group within the Azure subscription

func (PrivateCloudsClient) ListAdminCredentials Uses

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

ListAdminCredentials sends the list admin credentials request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud

func (PrivateCloudsClient) ListAdminCredentialsPreparer Uses

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

ListAdminCredentialsPreparer prepares the ListAdminCredentials request.

func (PrivateCloudsClient) ListAdminCredentialsResponder Uses

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 Uses

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 Uses

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 Uses

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

ListInSubscription sends the list in subscription request.

func (PrivateCloudsClient) ListInSubscriptionComplete Uses

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

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

func (PrivateCloudsClient) ListInSubscriptionPreparer Uses

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

ListInSubscriptionPreparer prepares the ListInSubscription request.

func (PrivateCloudsClient) ListInSubscriptionResponder Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (PrivateCloudsClient) ListResponder Uses

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 Uses

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

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

func (PrivateCloudsClient) Update Uses

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

Update sends the update request. Parameters: resourceGroupName - name of the resource group within the Azure subscription privateCloudName - name of the private cloud privateCloud - the private cloud

func (PrivateCloudsClient) UpdatePreparer Uses

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

UpdatePreparer prepares the Update request.

func (PrivateCloudsClient) UpdateResponder Uses

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 Uses

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 Uses

type PrivateCloudsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PrivateCloudsCreateOrUpdateFuture) Result Uses

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 Uses

type PrivateCloudsDeleteFuture struct {
    azure.Future
}

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

func (*PrivateCloudsDeleteFuture) Result Uses

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 Uses

type PrivateCloudsUpdateFuture struct {
    azure.Future
}

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

func (*PrivateCloudsUpdateFuture) Result Uses

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 Uses

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

Quota subscription quotas

func (Quota) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Quota.

type QuotaEnabled Uses

type QuotaEnabled string

QuotaEnabled enumerates the values for quota enabled.

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

func PossibleQuotaEnabledValues Uses

func PossibleQuotaEnabledValues() []QuotaEnabled

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

type Resource Uses

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 Uses

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 Uses

type Sku struct {
    // Name - The name of the SKU.
    Name *string `json:"name,omitempty"`
}

Sku the resource model definition representing SKU

type SslEnum Uses

type SslEnum string

SslEnum enumerates the values for ssl enum.

const (
    // SslEnumDisabled ...
    SslEnumDisabled SslEnum = "Disabled"
    // SslEnumEnabled ...
    SslEnumEnabled SslEnum = "Enabled"
)

func PossibleSslEnumValues Uses

func PossibleSslEnumValues() []SslEnum

PossibleSslEnumValues returns an array of possible values for the SslEnum const type.

type Status Uses

type Status string

Status enumerates the values for status.

const (
    // TrialAvailable ...
    TrialAvailable Status = "TrialAvailable"
    // TrialDisabled ...
    TrialDisabled Status = "TrialDisabled"
    // TrialUsed ...
    TrialUsed Status = "TrialUsed"
)

func PossibleStatusValues Uses

func PossibleStatusValues() []Status

PossibleStatusValues returns an array of possible values for the Status const type.

type TrackedResource Uses

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 Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Trial Uses

type Trial struct {
    autorest.Response `json:"-"`
    // Status - READ-ONLY; Trial status. Possible values include: 'TrialAvailable', 'TrialUsed', 'TrialDisabled'
    Status Status `json:"status,omitempty"`
    // AvailableHosts - READ-ONLY; Number of trial hosts available
    AvailableHosts *int32 `json:"availableHosts,omitempty"`
}

Trial subscription trial availability

Package avs imports 9 packages (graph). Updated 2021-01-05. Refresh now. Tools for package owners.