Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForType() []string
- func ValidateVolumeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVolumeQuotaRuleID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByVolumeOperationResponse
- type ProvisioningState
- type Type
- type UpdateOperationResponse
- type VolumeId
- type VolumeQuotaRule
- type VolumeQuotaRuleId
- type VolumeQuotaRulePatch
- type VolumeQuotaRulesClient
- func (c VolumeQuotaRulesClient) Create(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRule) (result CreateOperationResponse, err error)
- func (c VolumeQuotaRulesClient) CreateThenPoll(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRule) error
- func (c VolumeQuotaRulesClient) Delete(ctx context.Context, id VolumeQuotaRuleId) (result DeleteOperationResponse, err error)
- func (c VolumeQuotaRulesClient) DeleteThenPoll(ctx context.Context, id VolumeQuotaRuleId) error
- func (c VolumeQuotaRulesClient) Get(ctx context.Context, id VolumeQuotaRuleId) (result GetOperationResponse, err error)
- func (c VolumeQuotaRulesClient) ListByVolume(ctx context.Context, id VolumeId) (result ListByVolumeOperationResponse, err error)
- func (c VolumeQuotaRulesClient) Update(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRulePatch) (result UpdateOperationResponse, err error)
- func (c VolumeQuotaRulesClient) UpdateThenPoll(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRulePatch) error
- type VolumeQuotaRulesList
- type VolumeQuotaRulesProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateVolumeID ¶
ValidateVolumeID checks that 'input' can be parsed as a Volume ID
func ValidateVolumeQuotaRuleID ¶
ValidateVolumeQuotaRuleID checks that 'input' can be parsed as a Volume Quota Rule ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VolumeQuotaRule }
type ListByVolumeOperationResponse ¶
type ListByVolumeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VolumeQuotaRulesList }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStatePatching ProvisioningState = "Patching" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type VolumeId ¶
type VolumeId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string CapacityPoolName string VolumeName string }
VolumeId is a struct representing the Resource ID for a Volume
func NewVolumeID ¶
func NewVolumeID(subscriptionId string, resourceGroupName string, netAppAccountName string, capacityPoolName string, volumeName string) VolumeId
NewVolumeID returns a new VolumeId struct
func ParseVolumeID ¶
ParseVolumeID parses 'input' into a VolumeId
func ParseVolumeIDInsensitively ¶
ParseVolumeIDInsensitively parses 'input' case-insensitively into a VolumeId note: this method should only be used for API response data and not user input
func (*VolumeId) FromParseResult ¶
func (id *VolumeId) FromParseResult(input resourceids.ParseResult) error
func (VolumeId) Segments ¶
func (id VolumeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume ID
type VolumeQuotaRule ¶
type VolumeQuotaRule struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *VolumeQuotaRulesProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VolumeQuotaRuleId ¶
type VolumeQuotaRuleId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string CapacityPoolName string VolumeName string VolumeQuotaRuleName string }
VolumeQuotaRuleId is a struct representing the Resource ID for a Volume Quota Rule
func NewVolumeQuotaRuleID ¶
func NewVolumeQuotaRuleID(subscriptionId string, resourceGroupName string, netAppAccountName string, capacityPoolName string, volumeName string, volumeQuotaRuleName string) VolumeQuotaRuleId
NewVolumeQuotaRuleID returns a new VolumeQuotaRuleId struct
func ParseVolumeQuotaRuleID ¶
func ParseVolumeQuotaRuleID(input string) (*VolumeQuotaRuleId, error)
ParseVolumeQuotaRuleID parses 'input' into a VolumeQuotaRuleId
func ParseVolumeQuotaRuleIDInsensitively ¶
func ParseVolumeQuotaRuleIDInsensitively(input string) (*VolumeQuotaRuleId, error)
ParseVolumeQuotaRuleIDInsensitively parses 'input' case-insensitively into a VolumeQuotaRuleId note: this method should only be used for API response data and not user input
func (*VolumeQuotaRuleId) FromParseResult ¶
func (id *VolumeQuotaRuleId) FromParseResult(input resourceids.ParseResult) error
func (VolumeQuotaRuleId) ID ¶
func (id VolumeQuotaRuleId) ID() string
ID returns the formatted Volume Quota Rule ID
func (VolumeQuotaRuleId) Segments ¶
func (id VolumeQuotaRuleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Volume Quota Rule ID
func (VolumeQuotaRuleId) String ¶
func (id VolumeQuotaRuleId) String() string
String returns a human-readable description of this Volume Quota Rule ID
type VolumeQuotaRulePatch ¶
type VolumeQuotaRulePatch struct { Properties *VolumeQuotaRulesProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type VolumeQuotaRulesClient ¶
type VolumeQuotaRulesClient struct {
Client *resourcemanager.Client
}
func NewVolumeQuotaRulesClientWithBaseURI ¶
func NewVolumeQuotaRulesClientWithBaseURI(sdkApi sdkEnv.Api) (*VolumeQuotaRulesClient, error)
func (VolumeQuotaRulesClient) Create ¶
func (c VolumeQuotaRulesClient) Create(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRule) (result CreateOperationResponse, err error)
Create ...
func (VolumeQuotaRulesClient) CreateThenPoll ¶
func (c VolumeQuotaRulesClient) CreateThenPoll(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRule) error
CreateThenPoll performs Create then polls until it's completed
func (VolumeQuotaRulesClient) Delete ¶
func (c VolumeQuotaRulesClient) Delete(ctx context.Context, id VolumeQuotaRuleId) (result DeleteOperationResponse, err error)
Delete ...
func (VolumeQuotaRulesClient) DeleteThenPoll ¶
func (c VolumeQuotaRulesClient) DeleteThenPoll(ctx context.Context, id VolumeQuotaRuleId) error
DeleteThenPoll performs Delete then polls until it's completed
func (VolumeQuotaRulesClient) Get ¶
func (c VolumeQuotaRulesClient) Get(ctx context.Context, id VolumeQuotaRuleId) (result GetOperationResponse, err error)
Get ...
func (VolumeQuotaRulesClient) ListByVolume ¶
func (c VolumeQuotaRulesClient) ListByVolume(ctx context.Context, id VolumeId) (result ListByVolumeOperationResponse, err error)
ListByVolume ...
func (VolumeQuotaRulesClient) Update ¶
func (c VolumeQuotaRulesClient) Update(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRulePatch) (result UpdateOperationResponse, err error)
Update ...
func (VolumeQuotaRulesClient) UpdateThenPoll ¶
func (c VolumeQuotaRulesClient) UpdateThenPoll(ctx context.Context, id VolumeQuotaRuleId, input VolumeQuotaRulePatch) error
UpdateThenPoll performs Update then polls until it's completed
type VolumeQuotaRulesList ¶
type VolumeQuotaRulesList struct {
Value *[]VolumeQuotaRule `json:"value,omitempty"`
}
type VolumeQuotaRulesProperties ¶
type VolumeQuotaRulesProperties struct { ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` QuotaSizeInKiBs *int64 `json:"quotaSizeInKiBs,omitempty"` QuotaTarget *string `json:"quotaTarget,omitempty"` QuotaType *Type `json:"quotaType,omitempty"` }