azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/vmwarecloudsimple/mgmt/2019-04-01/vmwarecloudsimple Index | Files | Directories

package vmwarecloudsimple

import "github.com/Azure/azure-sdk-for-go/services/vmwarecloudsimple/mgmt/2019-04-01/vmwarecloudsimple"

Package vmwarecloudsimple implements the Azure ARM Vmwarecloudsimple service API version 2019-04-01.

Description of the new service

Index

Package Files

availableoperations.go client.go dedicatedcloudnode.go dedicatedcloudservice.go models.go privatecloudbyregion.go resourcepoolbypc.go resourcepoolsbypc.go skusavailabilitywithinregion.go usageswithinregion.go version.go virtualmachine.go virtualmachinetemplatebypc.go virtualmachinetemplatesbypc.go virtualnetworkbypc.go virtualnetworksbypc.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Vmwarecloudsimple
    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 AggregationType Uses

type AggregationType string

AggregationType enumerates the values for aggregation type.

const (
    // Average ...
    Average AggregationType = "Average"
    // Total ...
    Total AggregationType = "Total"
)

func PossibleAggregationTypeValues Uses

func PossibleAggregationTypeValues() []AggregationType

PossibleAggregationTypeValues returns an array of possible values for the AggregationType const type.

type AvailableOperation Uses

type AvailableOperation struct {
    // Display - The list of operations
    Display *AvailableOperationDisplay `json:"display,omitempty"`
    // IsDataAction - Indicating whether the operation is a data action or not
    IsDataAction *bool `json:"isDataAction,omitempty"`
    // Name - {resourceProviderNamespace}/{resourceType}/{read|write|delete|action}
    Name *string `json:"name,omitempty"`
    // Origin - The origin of operation. Possible values include: 'User', 'System', 'Usersystem'
    Origin OperationOrigin `json:"origin,omitempty"`
    // AvailableOperationDisplayPropertyServiceSpecification - The list of operation properties
    *AvailableOperationDisplayPropertyServiceSpecification `json:"properties,omitempty"`
}

AvailableOperation resource provider available operation model

func (AvailableOperation) MarshalJSON Uses

func (ao AvailableOperation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AvailableOperation.

func (*AvailableOperation) UnmarshalJSON Uses

func (ao *AvailableOperation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AvailableOperation struct.

type AvailableOperationDisplay Uses

type AvailableOperationDisplay struct {
    // Description - Description of the operation for display purposes
    Description *string `json:"description,omitempty"`
    // Operation - Name of the operation for display purposes
    Operation *string `json:"operation,omitempty"`
    // Provider - Name of the provider for display purposes
    Provider *string `json:"provider,omitempty"`
    // Resource - Name of the resource type for display purposes
    Resource *string `json:"resource,omitempty"`
}

AvailableOperationDisplay resource provider available operation display model

type AvailableOperationDisplayPropertyServiceSpecification Uses

type AvailableOperationDisplayPropertyServiceSpecification struct {
    // ServiceSpecification - The list of specification's service metrics
    ServiceSpecification *AvailableOperationDisplayPropertyServiceSpecificationMetricsList `json:"serviceSpecification,omitempty"`
}

AvailableOperationDisplayPropertyServiceSpecification available operation display property service specification model

type AvailableOperationDisplayPropertyServiceSpecificationMetricsItem Uses

type AvailableOperationDisplayPropertyServiceSpecificationMetricsItem struct {
    // AggregationType - Metric's aggregation type for e.g. (Average, Total). Possible values include: 'Average', 'Total'
    AggregationType AggregationType `json:"aggregationType,omitempty"`
    // DisplayDescription - Metric's description
    DisplayDescription *string `json:"displayDescription,omitempty"`
    // DisplayName - Human readable metric's name
    DisplayName *string `json:"displayName,omitempty"`
    // Name - Metric's name/id
    Name *string `json:"name,omitempty"`
    // Unit - Metric's unit
    Unit *string `json:"unit,omitempty"`
}

AvailableOperationDisplayPropertyServiceSpecificationMetricsItem available operation display property service specification metrics item

type AvailableOperationDisplayPropertyServiceSpecificationMetricsList Uses

type AvailableOperationDisplayPropertyServiceSpecificationMetricsList struct {
    // MetricSpecifications - Metric specifications of operation
    MetricSpecifications *[]AvailableOperationDisplayPropertyServiceSpecificationMetricsItem `json:"metricSpecifications,omitempty"`
}

AvailableOperationDisplayPropertyServiceSpecificationMetricsList list of available operation display property service specification metrics

type AvailableOperationsClient Uses

type AvailableOperationsClient struct {
    BaseClient
}

AvailableOperationsClient is the description of the new service

func NewAvailableOperationsClient Uses

func NewAvailableOperationsClient(referer string, regionID string, subscriptionID string) AvailableOperationsClient

NewAvailableOperationsClient creates an instance of the AvailableOperationsClient client.

func NewAvailableOperationsClientWithBaseURI Uses

func NewAvailableOperationsClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) AvailableOperationsClient

NewAvailableOperationsClientWithBaseURI creates an instance of the AvailableOperationsClient client.

func (AvailableOperationsClient) List Uses

func (client AvailableOperationsClient) List(ctx context.Context) (result AvailableOperationsListResponsePage, err error)

List return list of operations

func (AvailableOperationsClient) ListComplete Uses

func (client AvailableOperationsClient) ListComplete(ctx context.Context) (result AvailableOperationsListResponseIterator, err error)

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

func (AvailableOperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (AvailableOperationsClient) ListResponder Uses

func (client AvailableOperationsClient) ListResponder(resp *http.Response) (result AvailableOperationsListResponse, err error)

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

func (AvailableOperationsClient) ListSender Uses

func (client AvailableOperationsClient) 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 AvailableOperationsListResponse Uses

type AvailableOperationsListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of available operations
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Returns a list of available operations
    Value *[]AvailableOperation `json:"value,omitempty"`
}

AvailableOperationsListResponse list of available operations

func (AvailableOperationsListResponse) IsEmpty Uses

func (aolr AvailableOperationsListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AvailableOperationsListResponseIterator Uses

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

AvailableOperationsListResponseIterator provides access to a complete listing of AvailableOperation values.

func NewAvailableOperationsListResponseIterator Uses

func NewAvailableOperationsListResponseIterator(page AvailableOperationsListResponsePage) AvailableOperationsListResponseIterator

Creates a new instance of the AvailableOperationsListResponseIterator type.

func (*AvailableOperationsListResponseIterator) Next Uses

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

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

func (iter AvailableOperationsListResponseIterator) NotDone() bool

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

func (AvailableOperationsListResponseIterator) Response Uses

func (iter AvailableOperationsListResponseIterator) Response() AvailableOperationsListResponse

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

func (AvailableOperationsListResponseIterator) Value Uses

func (iter AvailableOperationsListResponseIterator) Value() AvailableOperation

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

type AvailableOperationsListResponsePage Uses

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

AvailableOperationsListResponsePage contains a page of AvailableOperation values.

func NewAvailableOperationsListResponsePage Uses

func NewAvailableOperationsListResponsePage(getNextPage func(context.Context, AvailableOperationsListResponse) (AvailableOperationsListResponse, error)) AvailableOperationsListResponsePage

Creates a new instance of the AvailableOperationsListResponsePage type.

func (*AvailableOperationsListResponsePage) Next Uses

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

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

func (page AvailableOperationsListResponsePage) NotDone() bool

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

func (AvailableOperationsListResponsePage) Response Uses

func (page AvailableOperationsListResponsePage) Response() AvailableOperationsListResponse

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

func (AvailableOperationsListResponsePage) Values Uses

func (page AvailableOperationsListResponsePage) Values() []AvailableOperation

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

type BaseClient Uses

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

BaseClient is the base client for Vmwarecloudsimple.

func New Uses

func New(referer string, regionID string, subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) GetOperationResultByRegion Uses

func (client BaseClient) GetOperationResultByRegion(ctx context.Context, operationID string) (result OperationResource, err error)

GetOperationResultByRegion return an async operation Parameters: operationID - operation id

func (BaseClient) GetOperationResultByRegionPreparer Uses

func (client BaseClient) GetOperationResultByRegionPreparer(ctx context.Context, operationID string) (*http.Request, error)

GetOperationResultByRegionPreparer prepares the GetOperationResultByRegion request.

func (BaseClient) GetOperationResultByRegionResponder Uses

func (client BaseClient) GetOperationResultByRegionResponder(resp *http.Response) (result OperationResource, err error)

GetOperationResultByRegionResponder handles the response to the GetOperationResultByRegion request. The method always closes the http.Response Body.

func (BaseClient) GetOperationResultByRegionSender Uses

func (client BaseClient) GetOperationResultByRegionSender(req *http.Request) (*http.Response, error)

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

func (BaseClient) GetPrivateCloud Uses

func (client BaseClient) GetPrivateCloud(ctx context.Context, pcName string) (result PrivateCloud, err error)

GetPrivateCloud returns private cloud by its name Parameters: pcName - the private cloud name

func (BaseClient) GetPrivateCloudPreparer Uses

func (client BaseClient) GetPrivateCloudPreparer(ctx context.Context, pcName string) (*http.Request, error)

GetPrivateCloudPreparer prepares the GetPrivateCloud request.

func (BaseClient) GetPrivateCloudResponder Uses

func (client BaseClient) GetPrivateCloudResponder(resp *http.Response) (result PrivateCloud, err error)

GetPrivateCloudResponder handles the response to the GetPrivateCloud request. The method always closes the http.Response Body.

func (BaseClient) GetPrivateCloudSender Uses

func (client BaseClient) GetPrivateCloudSender(req *http.Request) (*http.Response, error)

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

type CSRPError Uses

type CSRPError struct {
    // Error - Error's body
    Error *CSRPErrorBody `json:"error,omitempty"`
}

CSRPError general error model

type CSRPErrorBody Uses

type CSRPErrorBody struct {
    // Code - READ-ONLY; Error's code
    Code *string `json:"code,omitempty"`
    // Details - READ-ONLY; Error's details
    Details *[]CSRPErrorBody `json:"details,omitempty"`
    // Message - READ-ONLY; Error's message
    Message *string `json:"message,omitempty"`
    // Target - Error's target
    Target *string `json:"target,omitempty"`
}

CSRPErrorBody error properties

type DedicatedCloudNode Uses

type DedicatedCloudNode struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudNodes/{dedicatedCloudNodeName}
    ID  *string `json:"id,omitempty"`
    // Location - Azure region
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; {dedicatedCloudNodeName}
    Name *string `json:"name,omitempty"`
    // DedicatedCloudNodeProperties - Dedicated Cloud Nodes properties
    *DedicatedCloudNodeProperties `json:"properties,omitempty"`
    // Sku - Dedicated Cloud Nodes SKU
    Sku *Sku `json:"sku,omitempty"`
    // Tags - Dedicated Cloud Nodes tags
    Tags map[string]*string `json:"tags"`
    // Type - READ-ONLY; {resourceProviderNamespace}/{resourceType}
    Type *string `json:"type,omitempty"`
}

DedicatedCloudNode dedicated cloud node model

func (DedicatedCloudNode) MarshalJSON Uses

func (dcn DedicatedCloudNode) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedCloudNode.

func (*DedicatedCloudNode) UnmarshalJSON Uses

func (dcn *DedicatedCloudNode) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedCloudNode struct.

type DedicatedCloudNodeClient Uses

type DedicatedCloudNodeClient struct {
    BaseClient
}

DedicatedCloudNodeClient is the description of the new service

func NewDedicatedCloudNodeClient Uses

func NewDedicatedCloudNodeClient(referer string, regionID string, subscriptionID string) DedicatedCloudNodeClient

NewDedicatedCloudNodeClient creates an instance of the DedicatedCloudNodeClient client.

func NewDedicatedCloudNodeClientWithBaseURI Uses

func NewDedicatedCloudNodeClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) DedicatedCloudNodeClient

NewDedicatedCloudNodeClientWithBaseURI creates an instance of the DedicatedCloudNodeClient client.

func (DedicatedCloudNodeClient) CreateOrUpdate Uses

func (client DedicatedCloudNodeClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string, dedicatedCloudNodeRequest DedicatedCloudNode) (result DedicatedCloudNodeCreateOrUpdateFuture, err error)

CreateOrUpdate returns dedicated cloud node by its name Parameters: resourceGroupName - the name of the resource group dedicatedCloudNodeName - dedicated cloud node name dedicatedCloudNodeRequest - create Dedicated Cloud Node request

func (DedicatedCloudNodeClient) CreateOrUpdatePreparer Uses

func (client DedicatedCloudNodeClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string, dedicatedCloudNodeRequest DedicatedCloudNode) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DedicatedCloudNodeClient) CreateOrUpdateResponder Uses

func (client DedicatedCloudNodeClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedCloudNode, err error)

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

func (DedicatedCloudNodeClient) CreateOrUpdateSender Uses

func (client DedicatedCloudNodeClient) CreateOrUpdateSender(req *http.Request) (future DedicatedCloudNodeCreateOrUpdateFuture, err error)

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

func (DedicatedCloudNodeClient) Delete Uses

func (client DedicatedCloudNodeClient) Delete(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string) (result autorest.Response, err error)

Delete delete dedicated cloud node Parameters: resourceGroupName - the name of the resource group dedicatedCloudNodeName - dedicated cloud node name

func (DedicatedCloudNodeClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (DedicatedCloudNodeClient) DeleteResponder Uses

func (client DedicatedCloudNodeClient) 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 (DedicatedCloudNodeClient) DeleteSender Uses

func (client DedicatedCloudNodeClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (DedicatedCloudNodeClient) Get Uses

func (client DedicatedCloudNodeClient) Get(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string) (result DedicatedCloudNode, err error)

Get returns dedicated cloud node Parameters: resourceGroupName - the name of the resource group dedicatedCloudNodeName - dedicated cloud node name

func (DedicatedCloudNodeClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (DedicatedCloudNodeClient) GetResponder Uses

func (client DedicatedCloudNodeClient) GetResponder(resp *http.Response) (result DedicatedCloudNode, err error)

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

func (DedicatedCloudNodeClient) GetSender Uses

func (client DedicatedCloudNodeClient) 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 (DedicatedCloudNodeClient) ListByResourceGroup Uses

func (client DedicatedCloudNodeClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (result DedicatedCloudNodeListResponsePage, err error)

ListByResourceGroup returns list of dedicate cloud nodes within resource group Parameters: resourceGroupName - the name of the resource group filter - the filter to apply on the list operation top - the maximum number of record sets to return skipToken - to be used by nextLink implementation

func (DedicatedCloudNodeClient) ListByResourceGroupComplete Uses

func (client DedicatedCloudNodeClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (result DedicatedCloudNodeListResponseIterator, err error)

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

func (DedicatedCloudNodeClient) ListByResourceGroupPreparer Uses

func (client DedicatedCloudNodeClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DedicatedCloudNodeClient) ListByResourceGroupResponder Uses

func (client DedicatedCloudNodeClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedCloudNodeListResponse, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DedicatedCloudNodeClient) ListByResourceGroupSender Uses

func (client DedicatedCloudNodeClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (DedicatedCloudNodeClient) ListBySubscription Uses

func (client DedicatedCloudNodeClient) ListBySubscription(ctx context.Context, filter string, top *int32, skipToken string) (result DedicatedCloudNodeListResponsePage, err error)

ListBySubscription returns list of dedicate cloud nodes within subscription Parameters: filter - the filter to apply on the list operation top - the maximum number of record sets to return skipToken - to be used by nextLink implementation

func (DedicatedCloudNodeClient) ListBySubscriptionComplete Uses

func (client DedicatedCloudNodeClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32, skipToken string) (result DedicatedCloudNodeListResponseIterator, err error)

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

func (DedicatedCloudNodeClient) ListBySubscriptionPreparer Uses

func (client DedicatedCloudNodeClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32, skipToken string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DedicatedCloudNodeClient) ListBySubscriptionResponder Uses

func (client DedicatedCloudNodeClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedCloudNodeListResponse, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DedicatedCloudNodeClient) ListBySubscriptionSender Uses

func (client DedicatedCloudNodeClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (DedicatedCloudNodeClient) Update Uses

func (client DedicatedCloudNodeClient) Update(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string, dedicatedCloudNodeRequest PatchPayload) (result DedicatedCloudNode, err error)

Update patches dedicated node properties Parameters: resourceGroupName - the name of the resource group dedicatedCloudNodeName - dedicated cloud node name dedicatedCloudNodeRequest - patch Dedicated Cloud Node request

func (DedicatedCloudNodeClient) UpdatePreparer Uses

func (client DedicatedCloudNodeClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dedicatedCloudNodeName string, dedicatedCloudNodeRequest PatchPayload) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DedicatedCloudNodeClient) UpdateResponder Uses

func (client DedicatedCloudNodeClient) UpdateResponder(resp *http.Response) (result DedicatedCloudNode, err error)

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

func (DedicatedCloudNodeClient) UpdateSender Uses

func (client DedicatedCloudNodeClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type DedicatedCloudNodeCreateOrUpdateFuture Uses

type DedicatedCloudNodeCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*DedicatedCloudNodeCreateOrUpdateFuture) Result Uses

func (future *DedicatedCloudNodeCreateOrUpdateFuture) Result(client DedicatedCloudNodeClient) (dcn DedicatedCloudNode, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DedicatedCloudNodeListResponse Uses

type DedicatedCloudNodeListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of DedicatedCloudNode
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Results of the DedicatedCloudNode list
    Value *[]DedicatedCloudNode `json:"value,omitempty"`
}

DedicatedCloudNodeListResponse list of dedicated nodes response model

func (DedicatedCloudNodeListResponse) IsEmpty Uses

func (dcnlr DedicatedCloudNodeListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DedicatedCloudNodeListResponseIterator Uses

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

DedicatedCloudNodeListResponseIterator provides access to a complete listing of DedicatedCloudNode values.

func NewDedicatedCloudNodeListResponseIterator Uses

func NewDedicatedCloudNodeListResponseIterator(page DedicatedCloudNodeListResponsePage) DedicatedCloudNodeListResponseIterator

Creates a new instance of the DedicatedCloudNodeListResponseIterator type.

func (*DedicatedCloudNodeListResponseIterator) Next Uses

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

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

func (iter DedicatedCloudNodeListResponseIterator) NotDone() bool

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

func (DedicatedCloudNodeListResponseIterator) Response Uses

func (iter DedicatedCloudNodeListResponseIterator) Response() DedicatedCloudNodeListResponse

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

func (DedicatedCloudNodeListResponseIterator) Value Uses

func (iter DedicatedCloudNodeListResponseIterator) Value() DedicatedCloudNode

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

type DedicatedCloudNodeListResponsePage Uses

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

DedicatedCloudNodeListResponsePage contains a page of DedicatedCloudNode values.

func NewDedicatedCloudNodeListResponsePage Uses

func NewDedicatedCloudNodeListResponsePage(getNextPage func(context.Context, DedicatedCloudNodeListResponse) (DedicatedCloudNodeListResponse, error)) DedicatedCloudNodeListResponsePage

Creates a new instance of the DedicatedCloudNodeListResponsePage type.

func (*DedicatedCloudNodeListResponsePage) Next Uses

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

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

func (page DedicatedCloudNodeListResponsePage) NotDone() bool

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

func (DedicatedCloudNodeListResponsePage) Response Uses

func (page DedicatedCloudNodeListResponsePage) Response() DedicatedCloudNodeListResponse

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

func (DedicatedCloudNodeListResponsePage) Values Uses

func (page DedicatedCloudNodeListResponsePage) Values() []DedicatedCloudNode

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

type DedicatedCloudNodeProperties Uses

type DedicatedCloudNodeProperties struct {
    // AvailabilityZoneID - Availability Zone id, e.g. "az1"
    AvailabilityZoneID *string `json:"availabilityZoneId,omitempty"`
    // AvailabilityZoneName - READ-ONLY; Availability Zone name, e.g. "Availability Zone 1"
    AvailabilityZoneName *string `json:"availabilityZoneName,omitempty"`
    // CloudRackName - READ-ONLY; VMWare Cloud Rack Name
    CloudRackName *string `json:"cloudRackName,omitempty"`
    // Created - READ-ONLY; date time the resource was created
    Created interface{} `json:"created,omitempty"`
    // NodesCount - count of nodes to create
    NodesCount *int32 `json:"nodesCount,omitempty"`
    // PlacementGroupID - Placement Group id, e.g. "n1"
    PlacementGroupID *string `json:"placementGroupId,omitempty"`
    // PlacementGroupName - READ-ONLY; Placement Name, e.g. "Placement Group 1"
    PlacementGroupName *string `json:"placementGroupName,omitempty"`
    // PrivateCloudID - READ-ONLY; Private Cloud Id
    PrivateCloudID *string `json:"privateCloudId,omitempty"`
    // PrivateCloudName - READ-ONLY; Resource Pool Name
    PrivateCloudName *string `json:"privateCloudName,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning status of the resource
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // PurchaseID - purchase id
    PurchaseID *uuid.UUID `json:"purchaseId,omitempty"`
    // SkuDescription - Dedicated Cloud Nodes SKU's description
    *SkuDescription `json:"skuDescription,omitempty"`
    // Status - READ-ONLY; Node status, indicates is private cloud set up on this node or not. Possible values include: 'Unused', 'Used'
    Status NodeStatus `json:"status,omitempty"`
    // VmwareClusterName - READ-ONLY; VMWare Cluster Name
    VmwareClusterName *string `json:"vmwareClusterName,omitempty"`
}

DedicatedCloudNodeProperties properties of dedicated cloud node

func (DedicatedCloudNodeProperties) MarshalJSON Uses

func (dcnp DedicatedCloudNodeProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedCloudNodeProperties.

func (*DedicatedCloudNodeProperties) UnmarshalJSON Uses

func (dcnp *DedicatedCloudNodeProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedCloudNodeProperties struct.

type DedicatedCloudService Uses

type DedicatedCloudService struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/dedicatedCloudServices/{dedicatedCloudServiceName}
    ID  *string `json:"id,omitempty"`
    // Location - Azure region
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; {dedicatedCloudServiceName}
    Name *string `json:"name,omitempty"`
    // DedicatedCloudServiceProperties - The properties of Dedicated Node Service
    *DedicatedCloudServiceProperties `json:"properties,omitempty"`
    // Tags - The list of tags
    Tags map[string]*string `json:"tags"`
    // Type - READ-ONLY; {resourceProviderNamespace}/{resourceType}
    Type *string `json:"type,omitempty"`
}

DedicatedCloudService dedicated cloud service model

func (DedicatedCloudService) MarshalJSON Uses

func (dcs DedicatedCloudService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DedicatedCloudService.

func (*DedicatedCloudService) UnmarshalJSON Uses

func (dcs *DedicatedCloudService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DedicatedCloudService struct.

type DedicatedCloudServiceClient Uses

type DedicatedCloudServiceClient struct {
    BaseClient
}

DedicatedCloudServiceClient is the description of the new service

func NewDedicatedCloudServiceClient Uses

func NewDedicatedCloudServiceClient(referer string, regionID string, subscriptionID string) DedicatedCloudServiceClient

NewDedicatedCloudServiceClient creates an instance of the DedicatedCloudServiceClient client.

func NewDedicatedCloudServiceClientWithBaseURI Uses

func NewDedicatedCloudServiceClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) DedicatedCloudServiceClient

NewDedicatedCloudServiceClientWithBaseURI creates an instance of the DedicatedCloudServiceClient client.

func (DedicatedCloudServiceClient) CreateOrUpdate Uses

func (client DedicatedCloudServiceClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, dedicatedCloudServiceRequest DedicatedCloudService) (result DedicatedCloudService, err error)

CreateOrUpdate create dedicate cloud service Parameters: resourceGroupName - the name of the resource group dedicatedCloudServiceName - dedicated cloud Service name dedicatedCloudServiceRequest - create Dedicated Cloud Service request

func (DedicatedCloudServiceClient) CreateOrUpdatePreparer Uses

func (client DedicatedCloudServiceClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, dedicatedCloudServiceRequest DedicatedCloudService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DedicatedCloudServiceClient) CreateOrUpdateResponder Uses

func (client DedicatedCloudServiceClient) CreateOrUpdateResponder(resp *http.Response) (result DedicatedCloudService, err error)

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

func (DedicatedCloudServiceClient) CreateOrUpdateSender Uses

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

func (client DedicatedCloudServiceClient) Delete(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string) (result DedicatedCloudServiceDeleteFuture, err error)

Delete delete dedicate cloud service Parameters: resourceGroupName - the name of the resource group dedicatedCloudServiceName - dedicated cloud service name

func (DedicatedCloudServiceClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (DedicatedCloudServiceClient) DeleteResponder Uses

func (client DedicatedCloudServiceClient) 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 (DedicatedCloudServiceClient) DeleteSender Uses

func (client DedicatedCloudServiceClient) DeleteSender(req *http.Request) (future DedicatedCloudServiceDeleteFuture, err error)

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

func (DedicatedCloudServiceClient) Get Uses

func (client DedicatedCloudServiceClient) Get(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string) (result DedicatedCloudService, err error)

Get returns Dedicate Cloud Service Parameters: resourceGroupName - the name of the resource group dedicatedCloudServiceName - dedicated cloud Service name

func (DedicatedCloudServiceClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (DedicatedCloudServiceClient) GetResponder Uses

func (client DedicatedCloudServiceClient) GetResponder(resp *http.Response) (result DedicatedCloudService, err error)

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

func (DedicatedCloudServiceClient) GetSender Uses

func (client DedicatedCloudServiceClient) 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 (DedicatedCloudServiceClient) ListByResourceGroup Uses

func (client DedicatedCloudServiceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (result DedicatedCloudServiceListResponsePage, err error)

ListByResourceGroup returns list of dedicated cloud service within resource group Parameters: resourceGroupName - the name of the resource group filter - the filter to apply on the list operation top - the maximum number of record sets to return skipToken - to be used by nextLink implementation

func (DedicatedCloudServiceClient) ListByResourceGroupComplete Uses

func (client DedicatedCloudServiceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (result DedicatedCloudServiceListResponseIterator, err error)

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

func (DedicatedCloudServiceClient) ListByResourceGroupPreparer Uses

func (client DedicatedCloudServiceClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DedicatedCloudServiceClient) ListByResourceGroupResponder Uses

func (client DedicatedCloudServiceClient) ListByResourceGroupResponder(resp *http.Response) (result DedicatedCloudServiceListResponse, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DedicatedCloudServiceClient) ListByResourceGroupSender Uses

func (client DedicatedCloudServiceClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (DedicatedCloudServiceClient) ListBySubscription Uses

func (client DedicatedCloudServiceClient) ListBySubscription(ctx context.Context, filter string, top *int32, skipToken string) (result DedicatedCloudServiceListResponsePage, err error)

ListBySubscription returns list of dedicated cloud services within a subscription Parameters: filter - the filter to apply on the list operation top - the maximum number of record sets to return skipToken - to be used by nextLink implementation

func (DedicatedCloudServiceClient) ListBySubscriptionComplete Uses

func (client DedicatedCloudServiceClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32, skipToken string) (result DedicatedCloudServiceListResponseIterator, err error)

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

func (DedicatedCloudServiceClient) ListBySubscriptionPreparer Uses

func (client DedicatedCloudServiceClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32, skipToken string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (DedicatedCloudServiceClient) ListBySubscriptionResponder Uses

func (client DedicatedCloudServiceClient) ListBySubscriptionResponder(resp *http.Response) (result DedicatedCloudServiceListResponse, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (DedicatedCloudServiceClient) ListBySubscriptionSender Uses

func (client DedicatedCloudServiceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (DedicatedCloudServiceClient) Update Uses

func (client DedicatedCloudServiceClient) Update(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, dedicatedCloudServiceRequest PatchPayload) (result DedicatedCloudService, err error)

Update patch dedicated cloud service's properties Parameters: resourceGroupName - the name of the resource group dedicatedCloudServiceName - dedicated cloud service name dedicatedCloudServiceRequest - patch Dedicated Cloud Service request

func (DedicatedCloudServiceClient) UpdatePreparer Uses

func (client DedicatedCloudServiceClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dedicatedCloudServiceName string, dedicatedCloudServiceRequest PatchPayload) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DedicatedCloudServiceClient) UpdateResponder Uses

func (client DedicatedCloudServiceClient) UpdateResponder(resp *http.Response) (result DedicatedCloudService, err error)

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

func (DedicatedCloudServiceClient) UpdateSender Uses

func (client DedicatedCloudServiceClient) UpdateSender(req *http.Request) (*http.Response, error)

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

type DedicatedCloudServiceDeleteFuture Uses

type DedicatedCloudServiceDeleteFuture struct {
    azure.Future
}

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

func (*DedicatedCloudServiceDeleteFuture) Result Uses

func (future *DedicatedCloudServiceDeleteFuture) Result(client DedicatedCloudServiceClient) (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 DedicatedCloudServiceListResponse Uses

type DedicatedCloudServiceListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of DedicatedCloudNode
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Results of the DedicatedCloudService list
    Value *[]DedicatedCloudService `json:"value,omitempty"`
}

DedicatedCloudServiceListResponse list of dedicated cloud services

func (DedicatedCloudServiceListResponse) IsEmpty Uses

func (dcslr DedicatedCloudServiceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DedicatedCloudServiceListResponseIterator Uses

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

DedicatedCloudServiceListResponseIterator provides access to a complete listing of DedicatedCloudService values.

func NewDedicatedCloudServiceListResponseIterator Uses

func NewDedicatedCloudServiceListResponseIterator(page DedicatedCloudServiceListResponsePage) DedicatedCloudServiceListResponseIterator

Creates a new instance of the DedicatedCloudServiceListResponseIterator type.

func (*DedicatedCloudServiceListResponseIterator) Next Uses

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

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

func (iter DedicatedCloudServiceListResponseIterator) NotDone() bool

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

func (DedicatedCloudServiceListResponseIterator) Response Uses

func (iter DedicatedCloudServiceListResponseIterator) Response() DedicatedCloudServiceListResponse

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

func (DedicatedCloudServiceListResponseIterator) Value Uses

func (iter DedicatedCloudServiceListResponseIterator) Value() DedicatedCloudService

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

type DedicatedCloudServiceListResponsePage Uses

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

DedicatedCloudServiceListResponsePage contains a page of DedicatedCloudService values.

func NewDedicatedCloudServiceListResponsePage Uses

func NewDedicatedCloudServiceListResponsePage(getNextPage func(context.Context, DedicatedCloudServiceListResponse) (DedicatedCloudServiceListResponse, error)) DedicatedCloudServiceListResponsePage

Creates a new instance of the DedicatedCloudServiceListResponsePage type.

func (*DedicatedCloudServiceListResponsePage) Next Uses

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

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

func (page DedicatedCloudServiceListResponsePage) NotDone() bool

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

func (DedicatedCloudServiceListResponsePage) Response Uses

func (page DedicatedCloudServiceListResponsePage) Response() DedicatedCloudServiceListResponse

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

func (DedicatedCloudServiceListResponsePage) Values Uses

func (page DedicatedCloudServiceListResponsePage) Values() []DedicatedCloudService

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

type DedicatedCloudServiceProperties Uses

type DedicatedCloudServiceProperties struct {
    // GatewaySubnet - gateway Subnet for the account. It will collect the subnet address and always treat it as /28
    GatewaySubnet *string `json:"gatewaySubnet,omitempty"`
    // IsAccountOnboarded - READ-ONLY; indicates whether account onboarded or not in a given region. Possible values include: 'NotOnBoarded', 'OnBoarded', 'OnBoardingFailed', 'OnBoarding'
    IsAccountOnboarded OnboardingStatus `json:"isAccountOnboarded,omitempty"`
    // Nodes - total nodes purchased
    Nodes *int32 `json:"nodes,omitempty"`
    // ServiceURL - link to a service management web portal
    ServiceURL *string `json:"serviceURL,omitempty"`
}

DedicatedCloudServiceProperties properties of dedicated cloud service

type DiskIndependenceMode Uses

type DiskIndependenceMode string

DiskIndependenceMode enumerates the values for disk independence mode.

const (
    // IndependentNonpersistent ...
    IndependentNonpersistent DiskIndependenceMode = "independent_nonpersistent"
    // IndependentPersistent ...
    IndependentPersistent DiskIndependenceMode = "independent_persistent"
    // Persistent ...
    Persistent DiskIndependenceMode = "persistent"
)

func PossibleDiskIndependenceModeValues Uses

func PossibleDiskIndependenceModeValues() []DiskIndependenceMode

PossibleDiskIndependenceModeValues returns an array of possible values for the DiskIndependenceMode const type.

type GuestOSType Uses

type GuestOSType string

GuestOSType enumerates the values for guest os type.

const (
    // Linux ...
    Linux GuestOSType = "linux"
    // Other ...
    Other GuestOSType = "other"
    // Windows ...
    Windows GuestOSType = "windows"
)

func PossibleGuestOSTypeValues Uses

func PossibleGuestOSTypeValues() []GuestOSType

PossibleGuestOSTypeValues returns an array of possible values for the GuestOSType const type.

type NICType Uses

type NICType string

NICType enumerates the values for nic type.

const (
    // E1000 ...
    E1000 NICType = "E1000"
    // E1000E ...
    E1000E NICType = "E1000E"
    // PCNET32 ...
    PCNET32 NICType = "PCNET32"
    // VMXNET ...
    VMXNET NICType = "VMXNET"
    // VMXNET2 ...
    VMXNET2 NICType = "VMXNET2"
    // VMXNET3 ...
    VMXNET3 NICType = "VMXNET3"
)

func PossibleNICTypeValues Uses

func PossibleNICTypeValues() []NICType

PossibleNICTypeValues returns an array of possible values for the NICType const type.

type NodeStatus Uses

type NodeStatus string

NodeStatus enumerates the values for node status.

const (
    // Unused ...
    Unused NodeStatus = "unused"
    // Used ...
    Used NodeStatus = "used"
)

func PossibleNodeStatusValues Uses

func PossibleNodeStatusValues() []NodeStatus

PossibleNodeStatusValues returns an array of possible values for the NodeStatus const type.

type OnboardingStatus Uses

type OnboardingStatus string

OnboardingStatus enumerates the values for onboarding status.

const (
    // NotOnBoarded ...
    NotOnBoarded OnboardingStatus = "notOnBoarded"
    // OnBoarded ...
    OnBoarded OnboardingStatus = "onBoarded"
    // OnBoarding ...
    OnBoarding OnboardingStatus = "onBoarding"
    // OnBoardingFailed ...
    OnBoardingFailed OnboardingStatus = "onBoardingFailed"
)

func PossibleOnboardingStatusValues Uses

func PossibleOnboardingStatusValues() []OnboardingStatus

PossibleOnboardingStatusValues returns an array of possible values for the OnboardingStatus const type.

type OperationError Uses

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

OperationError operation error model

type OperationOrigin Uses

type OperationOrigin string

OperationOrigin enumerates the values for operation origin.

const (
    // System ...
    System OperationOrigin = "system"
    // User ...
    User OperationOrigin = "user"
    // Usersystem ...
    Usersystem OperationOrigin = "user,system"
)

func PossibleOperationOriginValues Uses

func PossibleOperationOriginValues() []OperationOrigin

PossibleOperationOriginValues returns an array of possible values for the OperationOrigin const type.

type OperationResource Uses

type OperationResource struct {
    autorest.Response `json:"-"`
    // EndTime - READ-ONLY; End time of the operation
    EndTime *date.Time `json:"endTime,omitempty"`
    // Error - Error Message if operation failed
    Error *OperationError `json:"error,omitempty"`
    // ID - READ-ONLY; Operation Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Operation ID
    Name *string `json:"name,omitempty"`
    // StartTime - READ-ONLY; Start time of the operation
    StartTime *date.Time `json:"startTime,omitempty"`
    // Status - READ-ONLY; Operation status
    Status *string `json:"status,omitempty"`
}

OperationResource operation status response

type PatchPayload Uses

type PatchPayload struct {
    // Tags - The tags key:value pairs
    Tags map[string]*string `json:"tags"`
}

PatchPayload general patch payload modal

func (PatchPayload) MarshalJSON Uses

func (pp PatchPayload) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PatchPayload.

type PrivateCloud Uses

type PrivateCloud struct {
    autorest.Response `json:"-"`
    // ID - Azure Id, e.g. "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123"
    ID  *string `json:"id,omitempty"`
    // Location - Location where private cloud created, e.g "westus"
    Location *string `json:"location,omitempty"`
    // Name - Private cloud name
    Name *string `json:"name,omitempty"`
    // PrivateCloudProperties - Private cloud properties
    *PrivateCloudProperties `json:"properties,omitempty"`
    // Type - Azure Resource type. Possible values include: 'MicrosoftVMwareCloudSimpleprivateClouds'
    Type PrivateCloudResourceType `json:"type,omitempty"`
}

PrivateCloud private cloud model

func (PrivateCloud) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for PrivateCloud.

func (*PrivateCloud) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for PrivateCloud struct.

type PrivateCloudByRegionClient Uses

type PrivateCloudByRegionClient struct {
    BaseClient
}

PrivateCloudByRegionClient is the description of the new service

func NewPrivateCloudByRegionClient Uses

func NewPrivateCloudByRegionClient(referer string, regionID string, subscriptionID string) PrivateCloudByRegionClient

NewPrivateCloudByRegionClient creates an instance of the PrivateCloudByRegionClient client.

func NewPrivateCloudByRegionClientWithBaseURI Uses

func NewPrivateCloudByRegionClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) PrivateCloudByRegionClient

NewPrivateCloudByRegionClientWithBaseURI creates an instance of the PrivateCloudByRegionClient client.

func (PrivateCloudByRegionClient) List Uses

func (client PrivateCloudByRegionClient) List(ctx context.Context) (result PrivateCloudListPage, err error)

List returns list of private clouds in particular region

func (PrivateCloudByRegionClient) ListComplete Uses

func (client PrivateCloudByRegionClient) ListComplete(ctx context.Context) (result PrivateCloudListIterator, err error)

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

func (PrivateCloudByRegionClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (PrivateCloudByRegionClient) ListResponder Uses

func (client PrivateCloudByRegionClient) 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 (PrivateCloudByRegionClient) ListSender Uses

func (client PrivateCloudByRegionClient) 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 PrivateCloudList Uses

type PrivateCloudList struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of Private Clouds
    NextLink *string `json:"nextLink,omitempty"`
    // Value - the list of private clouds
    Value *[]PrivateCloud `json:"value,omitempty"`
}

PrivateCloudList 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(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 {
    // AvailabilityZoneID - Availability Zone id, e.g. "az1"
    AvailabilityZoneID *string `json:"availabilityZoneId,omitempty"`
    // AvailabilityZoneName - Availability Zone name, e.g. "Availability Zone 1"
    AvailabilityZoneName *string `json:"availabilityZoneName,omitempty"`
    // ClustersNumber - Number of clusters
    ClustersNumber *int32 `json:"clustersNumber,omitempty"`
    // CreatedBy - User's emails who created cloud
    CreatedBy *string `json:"createdBy,omitempty"`
    // CreatedOn - When private cloud was created
    CreatedOn *date.Time `json:"createdOn,omitempty"`
    // DNSServers - Array of DNS servers
    DNSServers *[]string `json:"dnsServers,omitempty"`
    // Expires - Expiration date of PC
    Expires *string `json:"expires,omitempty"`
    // NsxType - Nsx Type, e.g. "Advanced"
    NsxType *string `json:"nsxType,omitempty"`
    // PlacementGroupID - Placement Group id, e.g. "n1"
    PlacementGroupID *string `json:"placementGroupId,omitempty"`
    // PlacementGroupName - Placement Group name
    PlacementGroupName *string `json:"placementGroupName,omitempty"`
    // PrivateCloudID - Id of a private cloud
    PrivateCloudID *uuid.UUID `json:"privateCloudId,omitempty"`
    // ResourcePools - The list of Resource Pools
    ResourcePools *[]ResourcePool `json:"resourcePools,omitempty"`
    // State - Private Cloud state, e.g. "operational"
    State *string `json:"state,omitempty"`
    // TotalCPUCores - Number of cores
    TotalCPUCores *int32 `json:"totalCpuCores,omitempty"`
    // TotalNodes - Number of nodes
    TotalNodes *int32 `json:"totalNodes,omitempty"`
    // TotalRAM - Memory size
    TotalRAM *int32 `json:"totalRam,omitempty"`
    // TotalStorage - Disk space in TB
    TotalStorage *float64 `json:"totalStorage,omitempty"`
    // Type - Virtualization type e.g. "vSphere"
    Type *string `json:"type,omitempty"`
    // VSphereVersion - e.g. "6.5u2"
    VSphereVersion *string `json:"vSphereVersion,omitempty"`
    // VcenterFqdn - FQDN for vcenter access
    VcenterFqdn *string `json:"vcenterFqdn,omitempty"`
    // VcenterRefid - Vcenter ip address
    VcenterRefid *string `json:"vcenterRefid,omitempty"`
    // VirtualMachineTemplates - The list of Virtual Machine Templates
    VirtualMachineTemplates *[]VirtualMachineTemplate `json:"virtualMachineTemplates,omitempty"`
    // VirtualNetworks - The list of Virtual Networks
    VirtualNetworks *[]VirtualNetwork `json:"virtualNetworks,omitempty"`
    // VrOpsEnabled - Is Vrops enabled/disabled
    VrOpsEnabled *bool `json:"vrOpsEnabled,omitempty"`
}

PrivateCloudProperties properties of private

type PrivateCloudResourceType Uses

type PrivateCloudResourceType string

PrivateCloudResourceType enumerates the values for private cloud resource type.

const (
    // MicrosoftVMwareCloudSimpleprivateClouds ...
    MicrosoftVMwareCloudSimpleprivateClouds PrivateCloudResourceType = "Microsoft.VMwareCloudSimple/privateClouds"
)

func PossiblePrivateCloudResourceTypeValues Uses

func PossiblePrivateCloudResourceTypeValues() []PrivateCloudResourceType

PossiblePrivateCloudResourceTypeValues returns an array of possible values for the PrivateCloudResourceType const type.

type ResourcePool Uses

type ResourcePool struct {
    autorest.Response `json:"-"`
    // ID - resource pool id (privateCloudId:vsphereId)
    ID  *string `json:"id,omitempty"`
    // Location - Azure region
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; {ResourcePoolName}
    Name *string `json:"name,omitempty"`
    // PrivateCloudID - READ-ONLY; The Private Cloud Id
    PrivateCloudID *string `json:"privateCloudId,omitempty"`
    // ResourcePoolProperties - Resource pool properties
    *ResourcePoolProperties `json:"properties,omitempty"`
    // Type - READ-ONLY; {resourceProviderNamespace}/{resourceType}
    Type *string `json:"type,omitempty"`
}

ResourcePool resource pool model

func (ResourcePool) MarshalJSON Uses

func (rp ResourcePool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourcePool.

func (*ResourcePool) UnmarshalJSON Uses

func (rp *ResourcePool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ResourcePool struct.

type ResourcePoolByPCClient Uses

type ResourcePoolByPCClient struct {
    BaseClient
}

ResourcePoolByPCClient is the description of the new service

func NewResourcePoolByPCClient Uses

func NewResourcePoolByPCClient(referer string, regionID string, subscriptionID string) ResourcePoolByPCClient

NewResourcePoolByPCClient creates an instance of the ResourcePoolByPCClient client.

func NewResourcePoolByPCClientWithBaseURI Uses

func NewResourcePoolByPCClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) ResourcePoolByPCClient

NewResourcePoolByPCClientWithBaseURI creates an instance of the ResourcePoolByPCClient client.

func (ResourcePoolByPCClient) Get Uses

func (client ResourcePoolByPCClient) Get(ctx context.Context, pcName string, resourcePoolName string) (result ResourcePool, err error)

Get returns resource pool templates by its name Parameters: pcName - the private cloud name resourcePoolName - resource pool id (vsphereId)

func (ResourcePoolByPCClient) GetPreparer Uses

func (client ResourcePoolByPCClient) GetPreparer(ctx context.Context, pcName string, resourcePoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ResourcePoolByPCClient) GetResponder Uses

func (client ResourcePoolByPCClient) GetResponder(resp *http.Response) (result ResourcePool, err error)

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

func (ResourcePoolByPCClient) GetSender Uses

func (client ResourcePoolByPCClient) 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.

type ResourcePoolProperties Uses

type ResourcePoolProperties struct {
    // FullName - READ-ONLY; Hierarchical resource pool name
    FullName *string `json:"fullName,omitempty"`
}

ResourcePoolProperties properties of resource pool

type ResourcePoolsByPCClient Uses

type ResourcePoolsByPCClient struct {
    BaseClient
}

ResourcePoolsByPCClient is the description of the new service

func NewResourcePoolsByPCClient Uses

func NewResourcePoolsByPCClient(referer string, regionID string, subscriptionID string) ResourcePoolsByPCClient

NewResourcePoolsByPCClient creates an instance of the ResourcePoolsByPCClient client.

func NewResourcePoolsByPCClientWithBaseURI Uses

func NewResourcePoolsByPCClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) ResourcePoolsByPCClient

NewResourcePoolsByPCClientWithBaseURI creates an instance of the ResourcePoolsByPCClient client.

func (ResourcePoolsByPCClient) List Uses

func (client ResourcePoolsByPCClient) List(ctx context.Context, pcName string) (result ResourcePoolsListResponsePage, err error)

List returns list of resource pools in region for private cloud Parameters: pcName - the private cloud name

func (ResourcePoolsByPCClient) ListComplete Uses

func (client ResourcePoolsByPCClient) ListComplete(ctx context.Context, pcName string) (result ResourcePoolsListResponseIterator, err error)

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

func (ResourcePoolsByPCClient) ListPreparer Uses

func (client ResourcePoolsByPCClient) ListPreparer(ctx context.Context, pcName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ResourcePoolsByPCClient) ListResponder Uses

func (client ResourcePoolsByPCClient) ListResponder(resp *http.Response) (result ResourcePoolsListResponse, err error)

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

func (ResourcePoolsByPCClient) ListSender Uses

func (client ResourcePoolsByPCClient) 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 ResourcePoolsListResponse Uses

type ResourcePoolsListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of ResourcePoolsList
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Results of the Resource pools list
    Value *[]ResourcePool `json:"value,omitempty"`
}

ResourcePoolsListResponse list of resource pools response model

func (ResourcePoolsListResponse) IsEmpty Uses

func (rplr ResourcePoolsListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ResourcePoolsListResponseIterator Uses

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

ResourcePoolsListResponseIterator provides access to a complete listing of ResourcePool values.

func NewResourcePoolsListResponseIterator Uses

func NewResourcePoolsListResponseIterator(page ResourcePoolsListResponsePage) ResourcePoolsListResponseIterator

Creates a new instance of the ResourcePoolsListResponseIterator type.

func (*ResourcePoolsListResponseIterator) Next Uses

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

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

func (iter ResourcePoolsListResponseIterator) NotDone() bool

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

func (ResourcePoolsListResponseIterator) Response Uses

func (iter ResourcePoolsListResponseIterator) Response() ResourcePoolsListResponse

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

func (ResourcePoolsListResponseIterator) Value Uses

func (iter ResourcePoolsListResponseIterator) Value() ResourcePool

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

type ResourcePoolsListResponsePage Uses

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

ResourcePoolsListResponsePage contains a page of ResourcePool values.

func NewResourcePoolsListResponsePage Uses

func NewResourcePoolsListResponsePage(getNextPage func(context.Context, ResourcePoolsListResponse) (ResourcePoolsListResponse, error)) ResourcePoolsListResponsePage

Creates a new instance of the ResourcePoolsListResponsePage type.

func (*ResourcePoolsListResponsePage) Next Uses

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

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

func (page ResourcePoolsListResponsePage) NotDone() bool

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

func (ResourcePoolsListResponsePage) Response Uses

func (page ResourcePoolsListResponsePage) Response() ResourcePoolsListResponse

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

func (ResourcePoolsListResponsePage) Values Uses

func (page ResourcePoolsListResponsePage) Values() []ResourcePool

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

type Sku Uses

type Sku struct {
    // Capacity - The capacity of the SKU
    Capacity *string `json:"capacity,omitempty"`
    // Description - dedicatedCloudNode example: 8 x Ten-Core Intel® Xeon® Processor E5-2640 v4 2.40GHz 25MB Cache (90W); 12 x 64GB PC4-19200 2400MHz DDR4 ECC Registered DIMM, ...
    Description *string `json:"description,omitempty"`
    // Family - If the service has different generations of hardware, for the same SKU, then that can be captured here
    Family *string `json:"family,omitempty"`
    // Name - The name of the SKU for VMWare CloudSimple Node
    Name *string `json:"name,omitempty"`
    // Tier - The tier of the SKU
    Tier *string `json:"tier,omitempty"`
}

Sku the purchase SKU for CloudSimple paid resources

type SkuAvailability Uses

type SkuAvailability struct {
    // DedicatedAvailabilityZoneID - CloudSimple Availability Zone id
    DedicatedAvailabilityZoneID *string `json:"dedicatedAvailabilityZoneId,omitempty"`
    // DedicatedAvailabilityZoneName - CloudSimple Availability Zone Name
    DedicatedAvailabilityZoneName *string `json:"dedicatedAvailabilityZoneName,omitempty"`
    // DedicatedPlacementGroupID - CloudSimple Placement Group Id
    DedicatedPlacementGroupID *string `json:"dedicatedPlacementGroupId,omitempty"`
    // DedicatedPlacementGroupName - CloudSimple Placement Group name
    DedicatedPlacementGroupName *string `json:"dedicatedPlacementGroupName,omitempty"`
    // Limit - indicates how many resources of a given SKU is available in a AZ->PG
    Limit *int32 `json:"limit,omitempty"`
    // ResourceType - resource type e.g. DedicatedCloudNodes
    ResourceType *string `json:"resourceType,omitempty"`
    // SkuID - sku id
    SkuID *string `json:"skuId,omitempty"`
    // SkuName - sku name
    SkuName *string `json:"skuName,omitempty"`
}

SkuAvailability SKU availability model

type SkuAvailabilityListResponse Uses

type SkuAvailabilityListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of DedicatedCloudNode
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Results of the DedicatedPlacementGroupSkuAvailability list
    Value *[]SkuAvailability `json:"value,omitempty"`
}

SkuAvailabilityListResponse list of SKU availabilities

func (SkuAvailabilityListResponse) IsEmpty Uses

func (salr SkuAvailabilityListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SkuAvailabilityListResponseIterator Uses

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

SkuAvailabilityListResponseIterator provides access to a complete listing of SkuAvailability values.

func NewSkuAvailabilityListResponseIterator Uses

func NewSkuAvailabilityListResponseIterator(page SkuAvailabilityListResponsePage) SkuAvailabilityListResponseIterator

Creates a new instance of the SkuAvailabilityListResponseIterator type.

func (*SkuAvailabilityListResponseIterator) Next Uses

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

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

func (iter SkuAvailabilityListResponseIterator) NotDone() bool

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

func (SkuAvailabilityListResponseIterator) Response Uses

func (iter SkuAvailabilityListResponseIterator) Response() SkuAvailabilityListResponse

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

func (SkuAvailabilityListResponseIterator) Value Uses

func (iter SkuAvailabilityListResponseIterator) Value() SkuAvailability

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

type SkuAvailabilityListResponsePage Uses

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

SkuAvailabilityListResponsePage contains a page of SkuAvailability values.

func NewSkuAvailabilityListResponsePage Uses

func NewSkuAvailabilityListResponsePage(getNextPage func(context.Context, SkuAvailabilityListResponse) (SkuAvailabilityListResponse, error)) SkuAvailabilityListResponsePage

Creates a new instance of the SkuAvailabilityListResponsePage type.

func (*SkuAvailabilityListResponsePage) Next Uses

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

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

func (page SkuAvailabilityListResponsePage) NotDone() bool

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

func (SkuAvailabilityListResponsePage) Response Uses

func (page SkuAvailabilityListResponsePage) Response() SkuAvailabilityListResponse

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

func (SkuAvailabilityListResponsePage) Values Uses

func (page SkuAvailabilityListResponsePage) Values() []SkuAvailability

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

type SkuDescription Uses

type SkuDescription struct {
    // ID - SKU's id
    ID  *string `json:"id,omitempty"`
    // Name - SKU's name
    Name *string `json:"name,omitempty"`
}

SkuDescription the purchase SKU for CloudSimple paid resources

type SkusAvailabilityWithinRegionClient Uses

type SkusAvailabilityWithinRegionClient struct {
    BaseClient
}

SkusAvailabilityWithinRegionClient is the description of the new service

func NewSkusAvailabilityWithinRegionClient Uses

func NewSkusAvailabilityWithinRegionClient(referer string, regionID string, subscriptionID string) SkusAvailabilityWithinRegionClient

NewSkusAvailabilityWithinRegionClient creates an instance of the SkusAvailabilityWithinRegionClient client.

func NewSkusAvailabilityWithinRegionClientWithBaseURI Uses

func NewSkusAvailabilityWithinRegionClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) SkusAvailabilityWithinRegionClient

NewSkusAvailabilityWithinRegionClientWithBaseURI creates an instance of the SkusAvailabilityWithinRegionClient client.

func (SkusAvailabilityWithinRegionClient) List Uses

func (client SkusAvailabilityWithinRegionClient) List(ctx context.Context, skuID string) (result SkuAvailabilityListResponsePage, err error)

List returns list of available resources in region Parameters: skuID - sku id, if no sku is passed availability for all skus will be returned

func (SkusAvailabilityWithinRegionClient) ListComplete Uses

func (client SkusAvailabilityWithinRegionClient) ListComplete(ctx context.Context, skuID string) (result SkuAvailabilityListResponseIterator, err error)

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

func (SkusAvailabilityWithinRegionClient) ListPreparer Uses

func (client SkusAvailabilityWithinRegionClient) ListPreparer(ctx context.Context, skuID string) (*http.Request, error)

ListPreparer prepares the List request.

func (SkusAvailabilityWithinRegionClient) ListResponder Uses

func (client SkusAvailabilityWithinRegionClient) ListResponder(resp *http.Response) (result SkuAvailabilityListResponse, err error)

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

func (SkusAvailabilityWithinRegionClient) ListSender Uses

func (client SkusAvailabilityWithinRegionClient) 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 StopMode Uses

type StopMode string

StopMode enumerates the values for stop mode.

const (
    // Poweroff ...
    Poweroff StopMode = "poweroff"
    // Reboot ...
    Reboot StopMode = "reboot"
    // Shutdown ...
    Shutdown StopMode = "shutdown"
    // Suspend ...
    Suspend StopMode = "suspend"
)

func PossibleStopModeValues Uses

func PossibleStopModeValues() []StopMode

PossibleStopModeValues returns an array of possible values for the StopMode const type.

type Usage Uses

type Usage struct {
    // CurrentValue - The current usage value
    CurrentValue *int32 `json:"currentValue,omitempty"`
    // Limit - limit of a given sku in a region for a subscription. The maximum permitted value for the usage quota. If there is no limit, this value will be -1
    Limit *int32 `json:"limit,omitempty"`
    // Name - Usage name value and localized name
    Name *UsageName `json:"name,omitempty"`
    // Unit - The usages' unit. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond'
    Unit UsageCount `json:"unit,omitempty"`
}

Usage usage model

type UsageCount Uses

type UsageCount string

UsageCount enumerates the values for usage count.

const (
    // Bytes ...
    Bytes UsageCount = "Bytes"
    // BytesPerSecond ...
    BytesPerSecond UsageCount = "BytesPerSecond"
    // Count ...
    Count UsageCount = "Count"
    // CountPerSecond ...
    CountPerSecond UsageCount = "CountPerSecond"
    // Percent ...
    Percent UsageCount = "Percent"
    // Seconds ...
    Seconds UsageCount = "Seconds"
)

func PossibleUsageCountValues Uses

func PossibleUsageCountValues() []UsageCount

PossibleUsageCountValues returns an array of possible values for the UsageCount const type.

type UsageListResponse Uses

type UsageListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of DedicatedCloudNode
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; The list of usages
    Value *[]Usage `json:"value,omitempty"`
}

UsageListResponse list of usages

func (UsageListResponse) IsEmpty Uses

func (ulr UsageListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type UsageListResponseIterator Uses

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

UsageListResponseIterator provides access to a complete listing of Usage values.

func NewUsageListResponseIterator Uses

func NewUsageListResponseIterator(page UsageListResponsePage) UsageListResponseIterator

Creates a new instance of the UsageListResponseIterator type.

func (*UsageListResponseIterator) Next Uses

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

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

func (iter UsageListResponseIterator) NotDone() bool

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

func (UsageListResponseIterator) Response Uses

func (iter UsageListResponseIterator) Response() UsageListResponse

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

func (UsageListResponseIterator) Value Uses

func (iter UsageListResponseIterator) Value() Usage

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

type UsageListResponsePage Uses

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

UsageListResponsePage contains a page of Usage values.

func NewUsageListResponsePage Uses

func NewUsageListResponsePage(getNextPage func(context.Context, UsageListResponse) (UsageListResponse, error)) UsageListResponsePage

Creates a new instance of the UsageListResponsePage type.

func (*UsageListResponsePage) Next Uses

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

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

func (page UsageListResponsePage) NotDone() bool

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

func (UsageListResponsePage) Response Uses

func (page UsageListResponsePage) Response() UsageListResponse

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

func (UsageListResponsePage) Values Uses

func (page UsageListResponsePage) Values() []Usage

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

type UsageName Uses

type UsageName struct {
    // LocalizedValue - e.g. "Virtual Machines"
    LocalizedValue *string `json:"localizedValue,omitempty"`
    // Value - resource type or resource type sku name, e.g. virtualMachines
    Value *string `json:"value,omitempty"`
}

UsageName user name model

type UsagesWithinRegionClient Uses

type UsagesWithinRegionClient struct {
    BaseClient
}

UsagesWithinRegionClient is the description of the new service

func NewUsagesWithinRegionClient Uses

func NewUsagesWithinRegionClient(referer string, regionID string, subscriptionID string) UsagesWithinRegionClient

NewUsagesWithinRegionClient creates an instance of the UsagesWithinRegionClient client.

func NewUsagesWithinRegionClientWithBaseURI Uses

func NewUsagesWithinRegionClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) UsagesWithinRegionClient

NewUsagesWithinRegionClientWithBaseURI creates an instance of the UsagesWithinRegionClient client.

func (UsagesWithinRegionClient) List Uses

func (client UsagesWithinRegionClient) List(ctx context.Context, filter string) (result UsageListResponsePage, err error)

List returns list of usage in region Parameters: filter - the filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx'

func (UsagesWithinRegionClient) ListComplete Uses

func (client UsagesWithinRegionClient) ListComplete(ctx context.Context, filter string) (result UsageListResponseIterator, err error)

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

func (UsagesWithinRegionClient) ListPreparer Uses

func (client UsagesWithinRegionClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (UsagesWithinRegionClient) ListResponder Uses

func (client UsagesWithinRegionClient) ListResponder(resp *http.Response) (result UsageListResponse, err error)

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

func (UsagesWithinRegionClient) ListSender Uses

func (client UsagesWithinRegionClient) 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 VirtualDisk Uses

type VirtualDisk struct {
    // ControllerID - Disk's Controller id
    ControllerID *string `json:"controllerId,omitempty"`
    // IndependenceMode - Disk's independence mode type. Possible values include: 'Persistent', 'IndependentPersistent', 'IndependentNonpersistent'
    IndependenceMode DiskIndependenceMode `json:"independenceMode,omitempty"`
    // TotalSize - Disk's total size
    TotalSize *int32 `json:"totalSize,omitempty"`
    // VirtualDiskID - Disk's id
    VirtualDiskID *string `json:"virtualDiskId,omitempty"`
    // VirtualDiskName - READ-ONLY; Disk's display name
    VirtualDiskName *string `json:"virtualDiskName,omitempty"`
}

VirtualDisk virtual disk model

type VirtualDiskController Uses

type VirtualDiskController struct {
    // ID - READ-ONLY; Controller's id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The display name of Controller
    Name *string `json:"name,omitempty"`
    // SubType - READ-ONLY; dik controller subtype (VMWARE_PARAVIRTUAL, BUS_PARALLEL, LSI_PARALLEL, LSI_SAS)
    SubType *string `json:"subType,omitempty"`
    // Type - READ-ONLY; disk controller type (SCSI)
    Type *string `json:"type,omitempty"`
}

VirtualDiskController virtual disk controller model

type VirtualMachine Uses

type VirtualMachine struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/virtualMachines/{virtualMachineName}
    ID  *string `json:"id,omitempty"`
    // Location - Azure region
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; {virtualMachineName}
    Name *string `json:"name,omitempty"`
    // VirtualMachineProperties - Virtual machine properties
    *VirtualMachineProperties `json:"properties,omitempty"`
    // Tags - The list of tags
    Tags map[string]*string `json:"tags"`
    // Type - READ-ONLY; {resourceProviderNamespace}/{resourceType}
    Type *string `json:"type,omitempty"`
}

VirtualMachine virtual machine model

func (VirtualMachine) MarshalJSON Uses

func (VM VirtualMachine) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachine.

func (*VirtualMachine) UnmarshalJSON Uses

func (VM *VirtualMachine) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachine struct.

type VirtualMachineClient Uses

type VirtualMachineClient struct {
    BaseClient
}

VirtualMachineClient is the description of the new service

func NewVirtualMachineClient Uses

func NewVirtualMachineClient(referer string, regionID string, subscriptionID string) VirtualMachineClient

NewVirtualMachineClient creates an instance of the VirtualMachineClient client.

func NewVirtualMachineClientWithBaseURI Uses

func NewVirtualMachineClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) VirtualMachineClient

NewVirtualMachineClientWithBaseURI creates an instance of the VirtualMachineClient client.

func (VirtualMachineClient) CreateOrUpdate Uses

func (client VirtualMachineClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, virtualMachineName string, virtualMachineRequest VirtualMachine) (result VirtualMachineCreateOrUpdateFuture, err error)

CreateOrUpdate create Or Update Virtual Machine Parameters: resourceGroupName - the name of the resource group virtualMachineName - virtual machine name virtualMachineRequest - create or Update Virtual Machine request

func (VirtualMachineClient) CreateOrUpdatePreparer Uses

func (client VirtualMachineClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, virtualMachineName string, virtualMachineRequest VirtualMachine) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VirtualMachineClient) CreateOrUpdateResponder Uses

func (client VirtualMachineClient) CreateOrUpdateResponder(resp *http.Response) (result VirtualMachine, err error)

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

func (VirtualMachineClient) CreateOrUpdateSender Uses

func (client VirtualMachineClient) CreateOrUpdateSender(req *http.Request) (future VirtualMachineCreateOrUpdateFuture, err error)

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

func (VirtualMachineClient) Delete Uses

func (client VirtualMachineClient) Delete(ctx context.Context, resourceGroupName string, virtualMachineName string) (result VirtualMachineDeleteFuture, err error)

Delete delete virtual machine Parameters: resourceGroupName - the name of the resource group virtualMachineName - virtual machine name

func (VirtualMachineClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (VirtualMachineClient) DeleteResponder Uses

func (client VirtualMachineClient) 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 (VirtualMachineClient) DeleteSender Uses

func (client VirtualMachineClient) DeleteSender(req *http.Request) (future VirtualMachineDeleteFuture, err error)

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

func (VirtualMachineClient) Get Uses

func (client VirtualMachineClient) Get(ctx context.Context, resourceGroupName string, virtualMachineName string) (result VirtualMachine, err error)

Get get virtual machine Parameters: resourceGroupName - the name of the resource group virtualMachineName - virtual machine name

func (VirtualMachineClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (VirtualMachineClient) GetResponder Uses

func (client VirtualMachineClient) GetResponder(resp *http.Response) (result VirtualMachine, err error)

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

func (VirtualMachineClient) GetSender Uses

func (client VirtualMachineClient) 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 (VirtualMachineClient) ListByResourceGroup Uses

func (client VirtualMachineClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (result VirtualMachineListResponsePage, err error)

ListByResourceGroup returns list of virtual machine within resource group Parameters: resourceGroupName - the name of the resource group filter - the filter to apply on the list operation top - the maximum number of record sets to return skipToken - to be used by nextLink implementation

func (VirtualMachineClient) ListByResourceGroupComplete Uses

func (client VirtualMachineClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (result VirtualMachineListResponseIterator, err error)

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

func (VirtualMachineClient) ListByResourceGroupPreparer Uses

func (client VirtualMachineClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, filter string, top *int32, skipToken string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VirtualMachineClient) ListByResourceGroupResponder Uses

func (client VirtualMachineClient) ListByResourceGroupResponder(resp *http.Response) (result VirtualMachineListResponse, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (VirtualMachineClient) ListByResourceGroupSender Uses

func (client VirtualMachineClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (VirtualMachineClient) ListBySubscription Uses

func (client VirtualMachineClient) ListBySubscription(ctx context.Context, filter string, top *int32, skipToken string) (result VirtualMachineListResponsePage, err error)

ListBySubscription returns list virtual machine within subscription Parameters: filter - the filter to apply on the list operation top - the maximum number of record sets to return skipToken - to be used by nextLink implementation

func (VirtualMachineClient) ListBySubscriptionComplete Uses

func (client VirtualMachineClient) ListBySubscriptionComplete(ctx context.Context, filter string, top *int32, skipToken string) (result VirtualMachineListResponseIterator, err error)

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

func (VirtualMachineClient) ListBySubscriptionPreparer Uses

func (client VirtualMachineClient) ListBySubscriptionPreparer(ctx context.Context, filter string, top *int32, skipToken string) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (VirtualMachineClient) ListBySubscriptionResponder Uses

func (client VirtualMachineClient) ListBySubscriptionResponder(resp *http.Response) (result VirtualMachineListResponse, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (VirtualMachineClient) ListBySubscriptionSender Uses

func (client VirtualMachineClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (VirtualMachineClient) Start Uses

func (client VirtualMachineClient) Start(ctx context.Context, resourceGroupName string, virtualMachineName string) (result VirtualMachineStartFuture, err error)

Start power on virtual machine Parameters: resourceGroupName - the name of the resource group virtualMachineName - virtual machine name

func (VirtualMachineClient) StartPreparer Uses

func (client VirtualMachineClient) StartPreparer(ctx context.Context, resourceGroupName string, virtualMachineName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (VirtualMachineClient) StartResponder Uses

func (client VirtualMachineClient) StartResponder(resp *http.Response) (result autorest.Response, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (VirtualMachineClient) StartSender Uses

func (client VirtualMachineClient) StartSender(req *http.Request) (future VirtualMachineStartFuture, err error)

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

func (VirtualMachineClient) Stop Uses

func (client VirtualMachineClient) Stop(ctx context.Context, resourceGroupName string, virtualMachineName string, mParameter *VirtualMachineStopMode, mode StopMode) (result VirtualMachineStopFuture, err error)

Stop power off virtual machine, options: shutdown, poweroff, and suspend Parameters: resourceGroupName - the name of the resource group virtualMachineName - virtual machine name mParameter - body stop mode parameter (reboot, shutdown, etc...) mode - query stop mode parameter (reboot, shutdown, etc...)

func (VirtualMachineClient) StopPreparer Uses

func (client VirtualMachineClient) StopPreparer(ctx context.Context, resourceGroupName string, virtualMachineName string, mParameter *VirtualMachineStopMode, mode StopMode) (*http.Request, error)

StopPreparer prepares the Stop request.

func (VirtualMachineClient) StopResponder Uses

func (client VirtualMachineClient) StopResponder(resp *http.Response) (result autorest.Response, err error)

StopResponder handles the response to the Stop request. The method always closes the http.Response Body.

func (VirtualMachineClient) StopSender Uses

func (client VirtualMachineClient) StopSender(req *http.Request) (future VirtualMachineStopFuture, err error)

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

func (VirtualMachineClient) Update Uses

func (client VirtualMachineClient) Update(ctx context.Context, resourceGroupName string, virtualMachineName string, virtualMachineRequest PatchPayload) (result VirtualMachineUpdateFuture, err error)

Update patch virtual machine properties Parameters: resourceGroupName - the name of the resource group virtualMachineName - virtual machine name virtualMachineRequest - patch virtual machine request

func (VirtualMachineClient) UpdatePreparer Uses

func (client VirtualMachineClient) UpdatePreparer(ctx context.Context, resourceGroupName string, virtualMachineName string, virtualMachineRequest PatchPayload) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VirtualMachineClient) UpdateResponder Uses

func (client VirtualMachineClient) UpdateResponder(resp *http.Response) (result VirtualMachine, err error)

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

func (VirtualMachineClient) UpdateSender Uses

func (client VirtualMachineClient) UpdateSender(req *http.Request) (future VirtualMachineUpdateFuture, err error)

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

type VirtualMachineCreateOrUpdateFuture Uses

type VirtualMachineCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*VirtualMachineCreateOrUpdateFuture) Result Uses

func (future *VirtualMachineCreateOrUpdateFuture) Result(client VirtualMachineClient) (VM VirtualMachine, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualMachineDeleteFuture Uses

type VirtualMachineDeleteFuture struct {
    azure.Future
}

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

func (*VirtualMachineDeleteFuture) Result Uses

func (future *VirtualMachineDeleteFuture) Result(client VirtualMachineClient) (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 VirtualMachineListResponse Uses

type VirtualMachineListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of VirtualMachines
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Results of the VirtualMachine list
    Value *[]VirtualMachine `json:"value,omitempty"`
}

VirtualMachineListResponse list of virtual machines

func (VirtualMachineListResponse) IsEmpty Uses

func (vmlr VirtualMachineListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineListResponseIterator Uses

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

VirtualMachineListResponseIterator provides access to a complete listing of VirtualMachine values.

func NewVirtualMachineListResponseIterator Uses

func NewVirtualMachineListResponseIterator(page VirtualMachineListResponsePage) VirtualMachineListResponseIterator

Creates a new instance of the VirtualMachineListResponseIterator type.

func (*VirtualMachineListResponseIterator) Next Uses

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

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

func (iter VirtualMachineListResponseIterator) NotDone() bool

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

func (VirtualMachineListResponseIterator) Response Uses

func (iter VirtualMachineListResponseIterator) Response() VirtualMachineListResponse

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

func (VirtualMachineListResponseIterator) Value Uses

func (iter VirtualMachineListResponseIterator) Value() VirtualMachine

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

type VirtualMachineListResponsePage Uses

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

VirtualMachineListResponsePage contains a page of VirtualMachine values.

func NewVirtualMachineListResponsePage Uses

func NewVirtualMachineListResponsePage(getNextPage func(context.Context, VirtualMachineListResponse) (VirtualMachineListResponse, error)) VirtualMachineListResponsePage

Creates a new instance of the VirtualMachineListResponsePage type.

func (*VirtualMachineListResponsePage) Next Uses

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

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

func (page VirtualMachineListResponsePage) NotDone() bool

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

func (VirtualMachineListResponsePage) Response Uses

func (page VirtualMachineListResponsePage) Response() VirtualMachineListResponse

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

func (VirtualMachineListResponsePage) Values Uses

func (page VirtualMachineListResponsePage) Values() []VirtualMachine

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

type VirtualMachineProperties Uses

type VirtualMachineProperties struct {
    // AmountOfRAM - The amount of memory
    AmountOfRAM *int32 `json:"amountOfRam,omitempty"`
    // Controllers - READ-ONLY; The list of Virtual Disks' Controllers
    Controllers *[]VirtualDiskController `json:"controllers,omitempty"`
    // Disks - The list of Virtual Disks
    Disks *[]VirtualDisk `json:"disks,omitempty"`
    // Dnsname - READ-ONLY; The DNS name of Virtual Machine in VCenter
    Dnsname *string `json:"dnsname,omitempty"`
    // ExposeToGuestVM - Expose Guest OS or not
    ExposeToGuestVM *bool `json:"exposeToGuestVM,omitempty"`
    // Folder - READ-ONLY; The path to virtual machine folder in VCenter
    Folder *string `json:"folder,omitempty"`
    // GuestOS - The name of Guest OS
    GuestOS *string `json:"guestOS,omitempty"`
    // GuestOSType - The Guest OS type. Possible values include: 'Linux', 'Windows', 'Other'
    GuestOSType GuestOSType `json:"guestOSType,omitempty"`
    // Nics - The list of Virtual NICs
    Nics *[]VirtualNic `json:"nics,omitempty"`
    // NumberOfCores - The number of CPU cores
    NumberOfCores *int32 `json:"numberOfCores,omitempty"`
    // Password - Password for login
    Password *string `json:"password,omitempty"`
    // PrivateCloudID - Private Cloud Id
    PrivateCloudID *string `json:"privateCloudId,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning status of the resource
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // PublicIP - READ-ONLY; The public ip of Virtual Machine
    PublicIP *string `json:"publicIP,omitempty"`
    // ResourcePool - Virtual Machines Resource Pool
    ResourcePool *ResourcePool `json:"resourcePool,omitempty"`
    // Status - READ-ONLY; The status of Virtual machine. Possible values include: 'Running', 'Suspended', 'Poweredoff', 'Updating', 'Deallocating', 'Deleting'
    Status VirtualMachineStatus `json:"status,omitempty"`
    // TemplateID - Virtual Machine Template Id
    TemplateID *string `json:"templateId,omitempty"`
    // Username - Username for login
    Username *string `json:"username,omitempty"`
    // VSphereNetworks - The list of Virtual VSphere Networks
    VSphereNetworks *[]string `json:"vSphereNetworks,omitempty"`
    // VMID - READ-ONLY; The internal id of Virtual Machine in VCenter
    VMID *string `json:"vmId,omitempty"`
    // Vmwaretools - READ-ONLY; VMware tools version
    Vmwaretools *string `json:"vmwaretools,omitempty"`
}

VirtualMachineProperties properties of virtual machine

type VirtualMachineStartFuture Uses

type VirtualMachineStartFuture struct {
    azure.Future
}

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

func (*VirtualMachineStartFuture) Result Uses

func (future *VirtualMachineStartFuture) Result(client VirtualMachineClient) (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 VirtualMachineStatus Uses

type VirtualMachineStatus string

VirtualMachineStatus enumerates the values for virtual machine status.

const (
    // Deallocating ...
    Deallocating VirtualMachineStatus = "deallocating"
    // Deleting ...
    Deleting VirtualMachineStatus = "deleting"
    // Poweredoff ...
    Poweredoff VirtualMachineStatus = "poweredoff"
    // Running ...
    Running VirtualMachineStatus = "running"
    // Suspended ...
    Suspended VirtualMachineStatus = "suspended"
    // Updating ...
    Updating VirtualMachineStatus = "updating"
)

func PossibleVirtualMachineStatusValues Uses

func PossibleVirtualMachineStatusValues() []VirtualMachineStatus

PossibleVirtualMachineStatusValues returns an array of possible values for the VirtualMachineStatus const type.

type VirtualMachineStopFuture Uses

type VirtualMachineStopFuture struct {
    azure.Future
}

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

func (*VirtualMachineStopFuture) Result Uses

func (future *VirtualMachineStopFuture) Result(client VirtualMachineClient) (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 VirtualMachineStopMode Uses

type VirtualMachineStopMode struct {
    // Mode - mode indicates a type of stop operation - reboot, suspend, shutdown or power-off. Possible values include: 'Reboot', 'Suspend', 'Shutdown', 'Poweroff'
    Mode StopMode `json:"mode,omitempty"`
}

VirtualMachineStopMode list of virtual machine stop modes

type VirtualMachineTemplate Uses

type VirtualMachineTemplate struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; virtual machine template id (privateCloudId:vsphereId)
    ID  *string `json:"id,omitempty"`
    // Location - Azure region
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; {virtualMachineTemplateName}
    Name *string `json:"name,omitempty"`
    // VirtualMachineTemplateProperties - The Virtual Machine Template properties
    *VirtualMachineTemplateProperties `json:"properties,omitempty"`
    // Type - READ-ONLY; {resourceProviderNamespace}/{resourceType}
    Type *string `json:"type,omitempty"`
}

VirtualMachineTemplate virtual machine template model

func (VirtualMachineTemplate) MarshalJSON Uses

func (vmt VirtualMachineTemplate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineTemplate.

func (*VirtualMachineTemplate) UnmarshalJSON Uses

func (vmt *VirtualMachineTemplate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualMachineTemplate struct.

type VirtualMachineTemplateByPCClient Uses

type VirtualMachineTemplateByPCClient struct {
    BaseClient
}

VirtualMachineTemplateByPCClient is the description of the new service

func NewVirtualMachineTemplateByPCClient Uses

func NewVirtualMachineTemplateByPCClient(referer string, regionID string, subscriptionID string) VirtualMachineTemplateByPCClient

NewVirtualMachineTemplateByPCClient creates an instance of the VirtualMachineTemplateByPCClient client.

func NewVirtualMachineTemplateByPCClientWithBaseURI Uses

func NewVirtualMachineTemplateByPCClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) VirtualMachineTemplateByPCClient

NewVirtualMachineTemplateByPCClientWithBaseURI creates an instance of the VirtualMachineTemplateByPCClient client.

func (VirtualMachineTemplateByPCClient) Get Uses

func (client VirtualMachineTemplateByPCClient) Get(ctx context.Context, pcName string, virtualMachineTemplateName string) (result VirtualMachineTemplate, err error)

Get returns virtual machine templates by its name Parameters: pcName - the private cloud name virtualMachineTemplateName - virtual machine template id (vsphereId)

func (VirtualMachineTemplateByPCClient) GetPreparer Uses

func (client VirtualMachineTemplateByPCClient) GetPreparer(ctx context.Context, pcName string, virtualMachineTemplateName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualMachineTemplateByPCClient) GetResponder Uses

func (client VirtualMachineTemplateByPCClient) GetResponder(resp *http.Response) (result VirtualMachineTemplate, err error)

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

func (VirtualMachineTemplateByPCClient) GetSender Uses

func (client VirtualMachineTemplateByPCClient) 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.

type VirtualMachineTemplateListResponse Uses

type VirtualMachineTemplateListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of VirtualMachineTemplate
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Results of the VM template list
    Value *[]VirtualMachineTemplate `json:"value,omitempty"`
}

VirtualMachineTemplateListResponse list of virtual machine templates

func (VirtualMachineTemplateListResponse) IsEmpty Uses

func (vmtlr VirtualMachineTemplateListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualMachineTemplateListResponseIterator Uses

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

VirtualMachineTemplateListResponseIterator provides access to a complete listing of VirtualMachineTemplate values.

func NewVirtualMachineTemplateListResponseIterator Uses

func NewVirtualMachineTemplateListResponseIterator(page VirtualMachineTemplateListResponsePage) VirtualMachineTemplateListResponseIterator

Creates a new instance of the VirtualMachineTemplateListResponseIterator type.

func (*VirtualMachineTemplateListResponseIterator) Next Uses

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

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

func (iter VirtualMachineTemplateListResponseIterator) NotDone() bool

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

func (VirtualMachineTemplateListResponseIterator) Response Uses

func (iter VirtualMachineTemplateListResponseIterator) Response() VirtualMachineTemplateListResponse

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

func (VirtualMachineTemplateListResponseIterator) Value Uses

func (iter VirtualMachineTemplateListResponseIterator) Value() VirtualMachineTemplate

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

type VirtualMachineTemplateListResponsePage Uses

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

VirtualMachineTemplateListResponsePage contains a page of VirtualMachineTemplate values.

func NewVirtualMachineTemplateListResponsePage Uses

func NewVirtualMachineTemplateListResponsePage(getNextPage func(context.Context, VirtualMachineTemplateListResponse) (VirtualMachineTemplateListResponse, error)) VirtualMachineTemplateListResponsePage

Creates a new instance of the VirtualMachineTemplateListResponsePage type.

func (*VirtualMachineTemplateListResponsePage) Next Uses

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

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

func (page VirtualMachineTemplateListResponsePage) NotDone() bool

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

func (VirtualMachineTemplateListResponsePage) Response Uses

func (page VirtualMachineTemplateListResponsePage) Response() VirtualMachineTemplateListResponse

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

func (VirtualMachineTemplateListResponsePage) Values Uses

func (page VirtualMachineTemplateListResponsePage) Values() []VirtualMachineTemplate

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

type VirtualMachineTemplateProperties Uses

type VirtualMachineTemplateProperties struct {
    // AmountOfRAM - The amount of memory
    AmountOfRAM *int32 `json:"amountOfRam,omitempty"`
    // Controllers - The list of Virtual Disk Controllers
    Controllers *[]VirtualDiskController `json:"controllers,omitempty"`
    // Description - The description of Virtual Machine Template
    Description *string `json:"description,omitempty"`
    // Disks - The list of Virtual Disks
    Disks *[]VirtualDisk `json:"disks,omitempty"`
    // ExposeToGuestVM - Expose Guest OS or not
    ExposeToGuestVM *bool `json:"exposeToGuestVM,omitempty"`
    // GuestOS - The Guest OS
    GuestOS *string `json:"guestOS,omitempty"`
    // GuestOSType - The Guest OS types
    GuestOSType *string `json:"guestOSType,omitempty"`
    // Nics - The list of Virtual NICs
    Nics *[]VirtualNic `json:"nics,omitempty"`
    // NumberOfCores - The number of CPU cores
    NumberOfCores *int32 `json:"numberOfCores,omitempty"`
    // Path - path to folder
    Path *string `json:"path,omitempty"`
    // PrivateCloudID - The Private Cloud Id
    PrivateCloudID *string `json:"privateCloudId,omitempty"`
    // VSphereNetworks - The list of VSphere networks
    VSphereNetworks *[]string `json:"vSphereNetworks,omitempty"`
    // VSphereTags - The tags from VSphere
    VSphereTags *[]string `json:"vSphereTags,omitempty"`
    // Vmwaretools - READ-ONLY; The VMware tools version
    Vmwaretools *string `json:"vmwaretools,omitempty"`
}

VirtualMachineTemplateProperties properties of virtual machine template

type VirtualMachineTemplatesByPCClient Uses

type VirtualMachineTemplatesByPCClient struct {
    BaseClient
}

VirtualMachineTemplatesByPCClient is the description of the new service

func NewVirtualMachineTemplatesByPCClient Uses

func NewVirtualMachineTemplatesByPCClient(referer string, regionID string, subscriptionID string) VirtualMachineTemplatesByPCClient

NewVirtualMachineTemplatesByPCClient creates an instance of the VirtualMachineTemplatesByPCClient client.

func NewVirtualMachineTemplatesByPCClientWithBaseURI Uses

func NewVirtualMachineTemplatesByPCClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) VirtualMachineTemplatesByPCClient

NewVirtualMachineTemplatesByPCClientWithBaseURI creates an instance of the VirtualMachineTemplatesByPCClient client.

func (VirtualMachineTemplatesByPCClient) List Uses

func (client VirtualMachineTemplatesByPCClient) List(ctx context.Context, pcName string, resourcePoolName string) (result VirtualMachineTemplateListResponsePage, err error)

List returns list of virtual machine templates in region for private cloud Parameters: pcName - the private cloud name resourcePoolName - resource pool used to derive vSphere cluster which contains VM templates

func (VirtualMachineTemplatesByPCClient) ListComplete Uses

func (client VirtualMachineTemplatesByPCClient) ListComplete(ctx context.Context, pcName string, resourcePoolName string) (result VirtualMachineTemplateListResponseIterator, err error)

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

func (VirtualMachineTemplatesByPCClient) ListPreparer Uses

func (client VirtualMachineTemplatesByPCClient) ListPreparer(ctx context.Context, pcName string, resourcePoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualMachineTemplatesByPCClient) ListResponder Uses

func (client VirtualMachineTemplatesByPCClient) ListResponder(resp *http.Response) (result VirtualMachineTemplateListResponse, err error)

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

func (VirtualMachineTemplatesByPCClient) ListSender Uses

func (client VirtualMachineTemplatesByPCClient) 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 VirtualMachineUpdateFuture Uses

type VirtualMachineUpdateFuture struct {
    azure.Future
}

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

func (*VirtualMachineUpdateFuture) Result Uses

func (future *VirtualMachineUpdateFuture) Result(client VirtualMachineClient) (VM VirtualMachine, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type VirtualNetwork Uses

type VirtualNetwork struct {
    autorest.Response `json:"-"`
    // Assignable - READ-ONLY; can be used in vm creation/deletion
    Assignable *bool `json:"assignable,omitempty"`
    // ID - virtual network id (privateCloudId:vsphereId)
    ID  *string `json:"id,omitempty"`
    // Location - Azure region
    Location *string `json:"location,omitempty"`
    // Name - READ-ONLY; {VirtualNetworkName}
    Name *string `json:"name,omitempty"`
    // VirtualNetworkProperties - Virtual Network properties
    *VirtualNetworkProperties `json:"properties,omitempty"`
    // Type - READ-ONLY; {resourceProviderNamespace}/{resourceType}
    Type *string `json:"type,omitempty"`
}

VirtualNetwork virtual network model

func (VirtualNetwork) MarshalJSON Uses

func (vn VirtualNetwork) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualNetwork.

func (*VirtualNetwork) UnmarshalJSON Uses

func (vn *VirtualNetwork) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VirtualNetwork struct.

type VirtualNetworkByPCClient Uses

type VirtualNetworkByPCClient struct {
    BaseClient
}

VirtualNetworkByPCClient is the description of the new service

func NewVirtualNetworkByPCClient Uses

func NewVirtualNetworkByPCClient(referer string, regionID string, subscriptionID string) VirtualNetworkByPCClient

NewVirtualNetworkByPCClient creates an instance of the VirtualNetworkByPCClient client.

func NewVirtualNetworkByPCClientWithBaseURI Uses

func NewVirtualNetworkByPCClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) VirtualNetworkByPCClient

NewVirtualNetworkByPCClientWithBaseURI creates an instance of the VirtualNetworkByPCClient client.

func (VirtualNetworkByPCClient) Get Uses

func (client VirtualNetworkByPCClient) Get(ctx context.Context, pcName string, virtualNetworkName string) (result VirtualNetwork, err error)

Get return virtual network by its name Parameters: pcName - the private cloud name virtualNetworkName - virtual network id (vsphereId)

func (VirtualNetworkByPCClient) GetPreparer Uses

func (client VirtualNetworkByPCClient) GetPreparer(ctx context.Context, pcName string, virtualNetworkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VirtualNetworkByPCClient) GetResponder Uses

func (client VirtualNetworkByPCClient) GetResponder(resp *http.Response) (result VirtualNetwork, err error)

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

func (VirtualNetworkByPCClient) GetSender Uses

func (client VirtualNetworkByPCClient) 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.

type VirtualNetworkListResponse Uses

type VirtualNetworkListResponse struct {
    autorest.Response `json:"-"`
    // NextLink - Link for next list of VirtualNetwork
    NextLink *string `json:"nextLink,omitempty"`
    // Value - Results of the VirtualNetwork list
    Value *[]VirtualNetwork `json:"value,omitempty"`
}

VirtualNetworkListResponse list of virtual networks

func (VirtualNetworkListResponse) IsEmpty Uses

func (vnlr VirtualNetworkListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VirtualNetworkListResponseIterator Uses

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

VirtualNetworkListResponseIterator provides access to a complete listing of VirtualNetwork values.

func NewVirtualNetworkListResponseIterator Uses

func NewVirtualNetworkListResponseIterator(page VirtualNetworkListResponsePage) VirtualNetworkListResponseIterator

Creates a new instance of the VirtualNetworkListResponseIterator type.

func (*VirtualNetworkListResponseIterator) Next Uses

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

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

func (iter VirtualNetworkListResponseIterator) NotDone() bool

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

func (VirtualNetworkListResponseIterator) Response Uses

func (iter VirtualNetworkListResponseIterator) Response() VirtualNetworkListResponse

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

func (VirtualNetworkListResponseIterator) Value Uses

func (iter VirtualNetworkListResponseIterator) Value() VirtualNetwork

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

type VirtualNetworkListResponsePage Uses

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

VirtualNetworkListResponsePage contains a page of VirtualNetwork values.

func NewVirtualNetworkListResponsePage Uses

func NewVirtualNetworkListResponsePage(getNextPage func(context.Context, VirtualNetworkListResponse) (VirtualNetworkListResponse, error)) VirtualNetworkListResponsePage

Creates a new instance of the VirtualNetworkListResponsePage type.

func (*VirtualNetworkListResponsePage) Next Uses

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

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

func (page VirtualNetworkListResponsePage) NotDone() bool

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

func (VirtualNetworkListResponsePage) Response Uses

func (page VirtualNetworkListResponsePage) Response() VirtualNetworkListResponse

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

func (VirtualNetworkListResponsePage) Values Uses

func (page VirtualNetworkListResponsePage) Values() []VirtualNetwork

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

type VirtualNetworkProperties Uses

type VirtualNetworkProperties struct {
    // PrivateCloudID - READ-ONLY; The Private Cloud id
    PrivateCloudID *string `json:"privateCloudId,omitempty"`
}

VirtualNetworkProperties properties of virtual network

type VirtualNetworksByPCClient Uses

type VirtualNetworksByPCClient struct {
    BaseClient
}

VirtualNetworksByPCClient is the description of the new service

func NewVirtualNetworksByPCClient Uses

func NewVirtualNetworksByPCClient(referer string, regionID string, subscriptionID string) VirtualNetworksByPCClient

NewVirtualNetworksByPCClient creates an instance of the VirtualNetworksByPCClient client.

func NewVirtualNetworksByPCClientWithBaseURI Uses

func NewVirtualNetworksByPCClientWithBaseURI(baseURI string, referer string, regionID string, subscriptionID string) VirtualNetworksByPCClient

NewVirtualNetworksByPCClientWithBaseURI creates an instance of the VirtualNetworksByPCClient client.

func (VirtualNetworksByPCClient) List Uses

func (client VirtualNetworksByPCClient) List(ctx context.Context, pcName string, resourcePoolName string) (result VirtualNetworkListResponsePage, err error)

List return list of virtual networks in location for private cloud Parameters: pcName - the private cloud name resourcePoolName - resource pool used to derive vSphere cluster which contains virtual networks

func (VirtualNetworksByPCClient) ListComplete Uses

func (client VirtualNetworksByPCClient) ListComplete(ctx context.Context, pcName string, resourcePoolName string) (result VirtualNetworkListResponseIterator, err error)

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

func (VirtualNetworksByPCClient) ListPreparer Uses

func (client VirtualNetworksByPCClient) ListPreparer(ctx context.Context, pcName string, resourcePoolName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VirtualNetworksByPCClient) ListResponder Uses

func (client VirtualNetworksByPCClient) ListResponder(resp *http.Response) (result VirtualNetworkListResponse, err error)

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

func (VirtualNetworksByPCClient) ListSender Uses

func (client VirtualNetworksByPCClient) 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 VirtualNic Uses

type VirtualNic struct {
    // IPAddresses - NIC ip address
    IPAddresses *[]string `json:"ipAddresses,omitempty"`
    // MacAddress - NIC MAC address
    MacAddress *string `json:"macAddress,omitempty"`
    // Network - The list of Virtual Networks
    Network *VirtualNetwork `json:"network,omitempty"`
    // NicType - NIC type. Possible values include: 'E1000', 'E1000E', 'PCNET32', 'VMXNET', 'VMXNET2', 'VMXNET3'
    NicType NICType `json:"nicType,omitempty"`
    // PowerOnBoot - Is NIC powered on/off on boot
    PowerOnBoot *bool `json:"powerOnBoot,omitempty"`
    // VirtualNicID - NIC id
    VirtualNicID *string `json:"virtualNicId,omitempty"`
    // VirtualNicName - READ-ONLY; NIC name
    VirtualNicName *string `json:"virtualNicName,omitempty"`
}

VirtualNic virtual NIC model

Directories

PathSynopsis
vmwarecloudsimpleapi

Package vmwarecloudsimple imports 11 packages (graph) and is imported by 3 packages. Updated 2019-08-02. Refresh now. Tools for package owners.