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) (result PoolsListOperationResponse, err error)
- func (c CapacityPoolsClient) PoolsListComplete(ctx context.Context, id NetAppAccountId) (PoolsListCompleteResult, error)
- func (c CapacityPoolsClient) PoolsListCompleteMatchingPredicate(ctx context.Context, id NetAppAccountId, ...) (result 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 *resourcemanager.Client
}
func NewCapacityPoolsClientWithBaseURI ¶
func NewCapacityPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*CapacityPoolsClient, error)
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) (result PoolsListOperationResponse, err error)
PoolsList ...
func (CapacityPoolsClient) PoolsListComplete ¶
func (c CapacityPoolsClient) PoolsListComplete(ctx context.Context, id NetAppAccountId) (PoolsListCompleteResult, error)
PoolsListComplete retrieves all the results into a single object
func (CapacityPoolsClient) PoolsListCompleteMatchingPredicate ¶
func (c CapacityPoolsClient) PoolsListCompleteMatchingPredicate(ctx context.Context, id NetAppAccountId, predicate CapacityPoolOperationPredicate) (result PoolsListCompleteResult, err error)
PoolsListCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*EncryptionType) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *EncryptionType) UnmarshalJSON(bytes []byte) error
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 PoolsGetOperationResponse ¶
type PoolsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CapacityPool }
type PoolsListCompleteResult ¶
type PoolsListCompleteResult struct {
Items []CapacityPool
}
type PoolsListOperationResponse ¶
type PoolsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]CapacityPool }
type ServiceLevel ¶
type ServiceLevel string
const ( ServiceLevelPremium ServiceLevel = "Premium" ServiceLevelStandard ServiceLevel = "Standard" ServiceLevelStandardZRS ServiceLevel = "StandardZRS" ServiceLevelUltra ServiceLevel = "Ultra" )
func (*ServiceLevel) UnmarshalJSON ¶ added in v0.20230712.1163130
func (s *ServiceLevel) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_capacitypool.go
- id_netappaccount.go
- method_poolscreateorupdate.go
- method_poolsdelete.go
- method_poolsget.go
- method_poolslist.go
- method_poolsupdate.go
- model_capacitypool.go
- model_capacitypoolpatch.go
- model_poolpatchproperties.go
- model_poolproperties.go
- predicates.go
- version.go