Documentation ¶
Index ¶
- func PossibleValuesForForce() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type Cloud
- type CloudCapacity
- type CloudId
- type CloudOperationPredicate
- type CloudProperties
- type CloudsClient
- func (c CloudsClient) CreateOrUpdate(ctx context.Context, id CloudId, input Cloud) (result CreateOrUpdateOperationResponse, err error)
- func (c CloudsClient) CreateOrUpdateThenPoll(ctx context.Context, id CloudId, input Cloud) error
- func (c CloudsClient) Delete(ctx context.Context, id CloudId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c CloudsClient) DeleteThenPoll(ctx context.Context, id CloudId, options DeleteOperationOptions) error
- func (c CloudsClient) Get(ctx context.Context, id CloudId) (result GetOperationResponse, err error)
- func (c CloudsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c CloudsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c CloudsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c CloudsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c CloudsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c CloudsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c CloudsClient) Update(ctx context.Context, id CloudId, input ResourcePatch) (result UpdateOperationResponse, err error)
- func (c CloudsClient) UpdateThenPoll(ctx context.Context, id CloudId, input ResourcePatch) error
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExtendedLocation
- type Force
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type ResourcePatch
- type StorageQoSPolicy
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForForce ¶
func PossibleValuesForForce() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateCloudID ¶
ValidateCloudID checks that 'input' can be parsed as a Cloud ID
Types ¶
type Cloud ¶
type Cloud struct { ExtendedLocation ExtendedLocation `json:"extendedLocation"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties CloudProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CloudCapacity ¶
type CloudId ¶
CloudId is a struct representing the Resource ID for a Cloud
func NewCloudID ¶
NewCloudID returns a new CloudId struct
func ParseCloudID ¶
ParseCloudID parses 'input' into a CloudId
func ParseCloudIDInsensitively ¶
ParseCloudIDInsensitively parses 'input' case-insensitively into a CloudId note: this method should only be used for API response data and not user input
func (*CloudId) FromParseResult ¶
func (id *CloudId) FromParseResult(input resourceids.ParseResult) error
func (CloudId) Segments ¶
func (id CloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cloud ID
type CloudOperationPredicate ¶
func (CloudOperationPredicate) Matches ¶
func (p CloudOperationPredicate) Matches(input Cloud) bool
type CloudProperties ¶
type CloudProperties struct { CloudCapacity *CloudCapacity `json:"cloudCapacity,omitempty"` CloudName *string `json:"cloudName,omitempty"` InventoryItemId *string `json:"inventoryItemId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` StorageQoSPolicies *[]StorageQoSPolicy `json:"storageQoSPolicies,omitempty"` Uuid *string `json:"uuid,omitempty"` VMmServerId *string `json:"vmmServerId,omitempty"` }
type CloudsClient ¶
type CloudsClient struct {
Client *resourcemanager.Client
}
func NewCloudsClientWithBaseURI ¶
func NewCloudsClientWithBaseURI(sdkApi sdkEnv.Api) (*CloudsClient, error)
func (CloudsClient) CreateOrUpdate ¶
func (c CloudsClient) CreateOrUpdate(ctx context.Context, id CloudId, input Cloud) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (CloudsClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (CloudsClient) Delete ¶
func (c CloudsClient) Delete(ctx context.Context, id CloudId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (CloudsClient) DeleteThenPoll ¶
func (c CloudsClient) DeleteThenPoll(ctx context.Context, id CloudId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (CloudsClient) Get ¶
func (c CloudsClient) Get(ctx context.Context, id CloudId) (result GetOperationResponse, err error)
Get ...
func (CloudsClient) ListByResourceGroup ¶
func (c CloudsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (CloudsClient) ListByResourceGroupComplete ¶
func (c CloudsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (CloudsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c CloudsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate CloudOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CloudsClient) ListBySubscription ¶
func (c CloudsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (CloudsClient) ListBySubscriptionComplete ¶
func (c CloudsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (CloudsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c CloudsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate CloudOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (CloudsClient) Update ¶
func (c CloudsClient) Update(ctx context.Context, id CloudId, input ResourcePatch) (result UpdateOperationResponse, err error)
Update ...
func (CloudsClient) UpdateThenPoll ¶
func (c CloudsClient) UpdateThenPoll(ctx context.Context, id CloudId, input ResourcePatch) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *Force
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type GetOperationResponse ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ResourcePatch ¶
type StorageQoSPolicy ¶
type StorageQoSPolicy struct { BandwidthLimit *int64 `json:"bandwidthLimit,omitempty"` Id *string `json:"id,omitempty"` IopsMaximum *int64 `json:"iopsMaximum,omitempty"` IopsMinimum *int64 `json:"iopsMinimum,omitempty"` Name *string `json:"name,omitempty"` PolicyId *string `json:"policyId,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_cloud.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_cloud.go
- model_cloudcapacity.go
- model_cloudproperties.go
- model_extendedlocation.go
- model_resourcepatch.go
- model_storageqospolicy.go
- predicates.go
- version.go