Documentation ¶
Index ¶
- func PossibleValuesForEncryptionType() []string
- func PossibleValuesForQosType() []string
- func PossibleValuesForServiceLevel() []string
- func ValidateCapacityPoolID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNetAppAccountID(input interface{}, key string) (warnings []string, errors []error)
- type CapacityPool
- type CapacityPoolId
- type CapacityPoolOperationPredicate
- type CapacityPoolPatch
- type CapacityPoolsClient
- func (c CapacityPoolsClient) PoolsCreateOrUpdate(ctx context.Context, id CapacityPoolId, input CapacityPool) (result PoolsCreateOrUpdateOperationResponse, err error)
- func (c CapacityPoolsClient) PoolsCreateOrUpdateThenPoll(ctx context.Context, id CapacityPoolId, input CapacityPool) error
- func (c CapacityPoolsClient) PoolsDelete(ctx context.Context, id CapacityPoolId) (result PoolsDeleteOperationResponse, err error)
- func (c CapacityPoolsClient) PoolsDeleteThenPoll(ctx context.Context, id CapacityPoolId) error
- func (c CapacityPoolsClient) PoolsGet(ctx context.Context, id CapacityPoolId) (result PoolsGetOperationResponse, err error)
- func (c CapacityPoolsClient) PoolsList(ctx context.Context, id NetAppAccountId) (resp PoolsListOperationResponse, err error)
- func (c CapacityPoolsClient) PoolsListComplete(ctx context.Context, id NetAppAccountId) (PoolsListCompleteResult, error)
- func (c CapacityPoolsClient) PoolsListCompleteMatchingPredicate(ctx context.Context, id NetAppAccountId, ...) (resp PoolsListCompleteResult, err error)
- func (c CapacityPoolsClient) PoolsUpdate(ctx context.Context, id CapacityPoolId, input CapacityPoolPatch) (result PoolsUpdateOperationResponse, err error)
- func (c CapacityPoolsClient) PoolsUpdateThenPoll(ctx context.Context, id CapacityPoolId, input CapacityPoolPatch) error
- type EncryptionType
- type NetAppAccountId
- type PoolPatchProperties
- type PoolProperties
- type PoolsCreateOrUpdateOperationResponse
- type PoolsDeleteOperationResponse
- type PoolsGetOperationResponse
- type PoolsListCompleteResult
- type PoolsListOperationResponse
- type PoolsUpdateOperationResponse
- type QosType
- type ServiceLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEncryptionType ¶
func PossibleValuesForEncryptionType() []string
func PossibleValuesForQosType ¶
func PossibleValuesForQosType() []string
func PossibleValuesForServiceLevel ¶
func PossibleValuesForServiceLevel() []string
func ValidateCapacityPoolID ¶
ValidateCapacityPoolID checks that 'input' can be parsed as a Capacity Pool ID
func ValidateNetAppAccountID ¶
ValidateNetAppAccountID checks that 'input' can be parsed as a Net App Account ID
Types ¶
type CapacityPool ¶
type CapacityPool struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties PoolProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type CapacityPoolId ¶
type CapacityPoolId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string CapacityPoolName string }
CapacityPoolId is a struct representing the Resource ID for a Capacity Pool
func NewCapacityPoolID ¶
func NewCapacityPoolID(subscriptionId string, resourceGroupName string, netAppAccountName string, capacityPoolName string) CapacityPoolId
NewCapacityPoolID returns a new CapacityPoolId struct
func ParseCapacityPoolID ¶
func ParseCapacityPoolID(input string) (*CapacityPoolId, error)
ParseCapacityPoolID parses 'input' into a CapacityPoolId
func ParseCapacityPoolIDInsensitively ¶
func ParseCapacityPoolIDInsensitively(input string) (*CapacityPoolId, error)
ParseCapacityPoolIDInsensitively parses 'input' case-insensitively into a CapacityPoolId note: this method should only be used for API response data and not user input
func (CapacityPoolId) ID ¶
func (id CapacityPoolId) ID() string
ID returns the formatted Capacity Pool ID
func (CapacityPoolId) Segments ¶
func (id CapacityPoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Capacity Pool ID
func (CapacityPoolId) String ¶
func (id CapacityPoolId) String() string
String returns a human-readable description of this Capacity Pool ID
type CapacityPoolOperationPredicate ¶
type CapacityPoolOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (CapacityPoolOperationPredicate) Matches ¶
func (p CapacityPoolOperationPredicate) Matches(input CapacityPool) bool
type CapacityPoolPatch ¶
type CapacityPoolsClient ¶
type CapacityPoolsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewCapacityPoolsClientWithBaseURI ¶
func NewCapacityPoolsClientWithBaseURI(endpoint string) CapacityPoolsClient
func (CapacityPoolsClient) PoolsCreateOrUpdate ¶
func (c CapacityPoolsClient) PoolsCreateOrUpdate(ctx context.Context, id CapacityPoolId, input CapacityPool) (result PoolsCreateOrUpdateOperationResponse, err error)
PoolsCreateOrUpdate ...
func (CapacityPoolsClient) PoolsCreateOrUpdateThenPoll ¶
func (c CapacityPoolsClient) PoolsCreateOrUpdateThenPoll(ctx context.Context, id CapacityPoolId, input CapacityPool) error
PoolsCreateOrUpdateThenPoll performs PoolsCreateOrUpdate then polls until it's completed
func (CapacityPoolsClient) PoolsDelete ¶
func (c CapacityPoolsClient) PoolsDelete(ctx context.Context, id CapacityPoolId) (result PoolsDeleteOperationResponse, err error)
PoolsDelete ...
func (CapacityPoolsClient) PoolsDeleteThenPoll ¶
func (c CapacityPoolsClient) PoolsDeleteThenPoll(ctx context.Context, id CapacityPoolId) error
PoolsDeleteThenPoll performs PoolsDelete then polls until it's completed
func (CapacityPoolsClient) PoolsGet ¶
func (c CapacityPoolsClient) PoolsGet(ctx context.Context, id CapacityPoolId) (result PoolsGetOperationResponse, err error)
PoolsGet ...
func (CapacityPoolsClient) PoolsList ¶
func (c CapacityPoolsClient) PoolsList(ctx context.Context, id NetAppAccountId) (resp PoolsListOperationResponse, err error)
PoolsList ...
func (CapacityPoolsClient) PoolsListComplete ¶
func (c CapacityPoolsClient) PoolsListComplete(ctx context.Context, id NetAppAccountId) (PoolsListCompleteResult, error)
PoolsListComplete retrieves all of the results into a single object
func (CapacityPoolsClient) PoolsListCompleteMatchingPredicate ¶
func (c CapacityPoolsClient) PoolsListCompleteMatchingPredicate(ctx context.Context, id NetAppAccountId, predicate CapacityPoolOperationPredicate) (resp PoolsListCompleteResult, err error)
PoolsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (CapacityPoolsClient) PoolsUpdate ¶
func (c CapacityPoolsClient) PoolsUpdate(ctx context.Context, id CapacityPoolId, input CapacityPoolPatch) (result PoolsUpdateOperationResponse, err error)
PoolsUpdate ...
func (CapacityPoolsClient) PoolsUpdateThenPoll ¶
func (c CapacityPoolsClient) PoolsUpdateThenPoll(ctx context.Context, id CapacityPoolId, input CapacityPoolPatch) error
PoolsUpdateThenPoll performs PoolsUpdate then polls until it's completed
type EncryptionType ¶
type EncryptionType string
const ( EncryptionTypeDouble EncryptionType = "Double" EncryptionTypeSingle EncryptionType = "Single" )
type NetAppAccountId ¶
type NetAppAccountId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string }
NetAppAccountId is a struct representing the Resource ID for a Net App Account
func NewNetAppAccountID ¶
func NewNetAppAccountID(subscriptionId string, resourceGroupName string, netAppAccountName string) NetAppAccountId
NewNetAppAccountID returns a new NetAppAccountId struct
func ParseNetAppAccountID ¶
func ParseNetAppAccountID(input string) (*NetAppAccountId, error)
ParseNetAppAccountID parses 'input' into a NetAppAccountId
func ParseNetAppAccountIDInsensitively ¶
func ParseNetAppAccountIDInsensitively(input string) (*NetAppAccountId, error)
ParseNetAppAccountIDInsensitively parses 'input' case-insensitively into a NetAppAccountId note: this method should only be used for API response data and not user input
func (NetAppAccountId) ID ¶
func (id NetAppAccountId) ID() string
ID returns the formatted Net App Account ID
func (NetAppAccountId) Segments ¶
func (id NetAppAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Net App Account ID
func (NetAppAccountId) String ¶
func (id NetAppAccountId) String() string
String returns a human-readable description of this Net App Account ID
type PoolPatchProperties ¶
type PoolProperties ¶
type PoolProperties struct { CoolAccess *bool `json:"coolAccess,omitempty"` EncryptionType *EncryptionType `json:"encryptionType,omitempty"` PoolId *string `json:"poolId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` QosType *QosType `json:"qosType,omitempty"` ServiceLevel ServiceLevel `json:"serviceLevel"` Size int64 `json:"size"` TotalThroughputMibps *float64 `json:"totalThroughputMibps,omitempty"` UtilizedThroughputMibps *float64 `json:"utilizedThroughputMibps,omitempty"` }
type PoolsCreateOrUpdateOperationResponse ¶
type PoolsCreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type PoolsDeleteOperationResponse ¶
type PoolsDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type PoolsGetOperationResponse ¶
type PoolsGetOperationResponse struct { HttpResponse *http.Response Model *CapacityPool }
type PoolsListCompleteResult ¶
type PoolsListCompleteResult struct {
Items []CapacityPool
}
type PoolsListOperationResponse ¶
type PoolsListOperationResponse struct { HttpResponse *http.Response Model *[]CapacityPool // contains filtered or unexported fields }
func (PoolsListOperationResponse) HasMore ¶
func (r PoolsListOperationResponse) HasMore() bool
func (PoolsListOperationResponse) LoadMore ¶
func (r PoolsListOperationResponse) LoadMore(ctx context.Context) (resp PoolsListOperationResponse, err error)
type PoolsUpdateOperationResponse ¶
type PoolsUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ServiceLevel ¶
type ServiceLevel string
const ( ServiceLevelPremium ServiceLevel = "Premium" ServiceLevelStandard ServiceLevel = "Standard" ServiceLevelStandardZRS ServiceLevel = "StandardZRS" ServiceLevelUltra ServiceLevel = "Ultra" )
Source Files ¶
- client.go
- constants.go
- id_capacitypool.go
- id_netappaccount.go
- method_poolscreateorupdate_autorest.go
- method_poolsdelete_autorest.go
- method_poolsget_autorest.go
- method_poolslist_autorest.go
- method_poolsupdate_autorest.go
- model_capacitypool.go
- model_capacitypoolpatch.go
- model_poolpatchproperties.go
- model_poolproperties.go
- predicates.go
- version.go