Documentation ¶
Index ¶
- func PossibleValuesForProvisioningStates() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func ValidateElasticSanID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type ElasticSan
- type ElasticSanId
- type ElasticSanOperationPredicate
- type ElasticSanProperties
- type ElasticSanUpdate
- type ElasticSanUpdateProperties
- type ElasticSansClient
- func (c ElasticSansClient) Create(ctx context.Context, id ElasticSanId, input ElasticSan) (result CreateOperationResponse, err error)
- func (c ElasticSansClient) CreateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSan) error
- func (c ElasticSansClient) Delete(ctx context.Context, id ElasticSanId) (result DeleteOperationResponse, err error)
- func (c ElasticSansClient) DeleteThenPoll(ctx context.Context, id ElasticSanId) error
- func (c ElasticSansClient) Get(ctx context.Context, id ElasticSanId) (result GetOperationResponse, err error)
- func (c ElasticSansClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c ElasticSansClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ElasticSansClient) Update(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) (result UpdateOperationResponse, err error)
- func (c ElasticSansClient) UpdateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) error
- type GetOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ProvisioningStates
- type Sku
- type SkuName
- type SkuTier
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningStates ¶
func PossibleValuesForProvisioningStates() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateElasticSanID ¶
ValidateElasticSanID checks that 'input' can be parsed as a Elastic San ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ElasticSan ¶
type ElasticSan struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ElasticSanProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ElasticSanId ¶
ElasticSanId is a struct representing the Resource ID for a Elastic San
func NewElasticSanID ¶
func NewElasticSanID(subscriptionId string, resourceGroupName string, elasticSanName string) ElasticSanId
NewElasticSanID returns a new ElasticSanId struct
func ParseElasticSanID ¶
func ParseElasticSanID(input string) (*ElasticSanId, error)
ParseElasticSanID parses 'input' into a ElasticSanId
func ParseElasticSanIDInsensitively ¶
func ParseElasticSanIDInsensitively(input string) (*ElasticSanId, error)
ParseElasticSanIDInsensitively parses 'input' case-insensitively into a ElasticSanId note: this method should only be used for API response data and not user input
func (ElasticSanId) Segments ¶
func (id ElasticSanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Elastic San ID
func (ElasticSanId) String ¶
func (id ElasticSanId) String() string
String returns a human-readable description of this Elastic San ID
type ElasticSanOperationPredicate ¶
func (ElasticSanOperationPredicate) Matches ¶
func (p ElasticSanOperationPredicate) Matches(input ElasticSan) bool
type ElasticSanProperties ¶
type ElasticSanProperties struct { AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` BaseSizeTiB int64 `json:"baseSizeTiB"` ExtendedCapacitySizeTiB int64 `json:"extendedCapacitySizeTiB"` ProvisioningState *ProvisioningStates `json:"provisioningState,omitempty"` Sku Sku `json:"sku"` TotalIops *int64 `json:"totalIops,omitempty"` TotalMBps *int64 `json:"totalMBps,omitempty"` TotalSizeTiB *int64 `json:"totalSizeTiB,omitempty"` TotalVolumeSizeGiB *int64 `json:"totalVolumeSizeGiB,omitempty"` VolumeGroupCount *int64 `json:"volumeGroupCount,omitempty"` }
type ElasticSanUpdate ¶
type ElasticSanUpdate struct { Properties *ElasticSanUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type ElasticSansClient ¶
func NewElasticSansClientWithBaseURI ¶
func NewElasticSansClientWithBaseURI(endpoint string) ElasticSansClient
func (ElasticSansClient) Create ¶
func (c ElasticSansClient) Create(ctx context.Context, id ElasticSanId, input ElasticSan) (result CreateOperationResponse, err error)
Create ...
func (ElasticSansClient) CreateThenPoll ¶
func (c ElasticSansClient) CreateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSan) error
CreateThenPoll performs Create then polls until it's completed
func (ElasticSansClient) Delete ¶
func (c ElasticSansClient) Delete(ctx context.Context, id ElasticSanId) (result DeleteOperationResponse, err error)
Delete ...
func (ElasticSansClient) DeleteThenPoll ¶
func (c ElasticSansClient) DeleteThenPoll(ctx context.Context, id ElasticSanId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ElasticSansClient) Get ¶
func (c ElasticSansClient) Get(ctx context.Context, id ElasticSanId) (result GetOperationResponse, err error)
Get ...
func (ElasticSansClient) ListBySubscription ¶
func (c ElasticSansClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ElasticSansClient) ListBySubscriptionComplete ¶
func (c ElasticSansClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ElasticSanOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ElasticSansClient) Update ¶
func (c ElasticSansClient) Update(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ElasticSansClient) UpdateThenPoll ¶
func (c ElasticSansClient) UpdateThenPoll(ctx context.Context, id ElasticSanId, input ElasticSanUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ElasticSan }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ElasticSan
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ElasticSan // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ProvisioningStates ¶
type ProvisioningStates string
const ( ProvisioningStatesCanceled ProvisioningStates = "Canceled" ProvisioningStatesCreating ProvisioningStates = "Creating" ProvisioningStatesDeleting ProvisioningStates = "Deleting" ProvisioningStatesFailed ProvisioningStates = "Failed" ProvisioningStatesInvalid ProvisioningStates = "Invalid" ProvisioningStatesPending ProvisioningStates = "Pending" ProvisioningStatesSucceeded ProvisioningStates = "Succeeded" ProvisioningStatesUpdating ProvisioningStates = "Updating" )
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_elasticsan.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_elasticsan.go
- model_elasticsanproperties.go
- model_elasticsanupdate.go
- model_elasticsanupdateproperties.go
- model_sku.go
- predicates.go
- version.go