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) (result 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, ...) (result 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 DeleteOperationResponse ¶
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ElasticSanId) FromParseResult(input resourceids.ParseResult) error
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 ¶
type ElasticSansClient struct {
Client *resourcemanager.Client
}
func NewElasticSansClientWithBaseURI ¶
func NewElasticSansClientWithBaseURI(sdkApi sdkEnv.Api) (*ElasticSansClient, error)
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) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ElasticSansClient) ListBySubscriptionComplete ¶
func (c ElasticSansClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ElasticSansClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ElasticSanOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies 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 OData *odata.OData Model *ElasticSan }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ElasticSan
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ElasticSan }
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" )
func (*ProvisioningStates) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *ProvisioningStates) UnmarshalJSON(bytes []byte) error