Documentation ¶
Index ¶
- func ValidateSubVolumeID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVolumeID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetMetadataOperationResponse
- type GetOperationResponse
- type ListByVolumeCompleteResult
- type ListByVolumeOperationResponse
- type SubVolumeId
- type SubVolumesClient
- func (c SubVolumesClient) Create(ctx context.Context, id SubVolumeId, input SubvolumeInfo) (result CreateOperationResponse, err error)
- func (c SubVolumesClient) CreateThenPoll(ctx context.Context, id SubVolumeId, input SubvolumeInfo) error
- func (c SubVolumesClient) Delete(ctx context.Context, id SubVolumeId) (result DeleteOperationResponse, err error)
- func (c SubVolumesClient) DeleteThenPoll(ctx context.Context, id SubVolumeId) error
- func (c SubVolumesClient) Get(ctx context.Context, id SubVolumeId) (result GetOperationResponse, err error)
- func (c SubVolumesClient) GetMetadata(ctx context.Context, id SubVolumeId) (result GetMetadataOperationResponse, err error)
- func (c SubVolumesClient) GetMetadataThenPoll(ctx context.Context, id SubVolumeId) error
- func (c SubVolumesClient) ListByVolume(ctx context.Context, id VolumeId) (result ListByVolumeOperationResponse, err error)
- func (c SubVolumesClient) ListByVolumeComplete(ctx context.Context, id VolumeId) (ListByVolumeCompleteResult, error)
- func (c SubVolumesClient) ListByVolumeCompleteMatchingPredicate(ctx context.Context, id VolumeId, predicate SubvolumeInfoOperationPredicate) (result ListByVolumeCompleteResult, err error)
- func (c SubVolumesClient) Update(ctx context.Context, id SubVolumeId, input SubvolumePatchRequest) (result UpdateOperationResponse, err error)
- func (c SubVolumesClient) UpdateThenPoll(ctx context.Context, id SubVolumeId, input SubvolumePatchRequest) error
- type SubvolumeInfo
- type SubvolumeInfoOperationPredicate
- type SubvolumeModel
- type SubvolumeModelProperties
- func (o *SubvolumeModelProperties) GetAccessedTimeStampAsTime() (*time.Time, error)
- func (o *SubvolumeModelProperties) GetChangedTimeStampAsTime() (*time.Time, error)
- func (o *SubvolumeModelProperties) GetCreationTimeStampAsTime() (*time.Time, error)
- func (o *SubvolumeModelProperties) GetModifiedTimeStampAsTime() (*time.Time, error)
- func (o *SubvolumeModelProperties) SetAccessedTimeStampAsTime(input time.Time)
- func (o *SubvolumeModelProperties) SetChangedTimeStampAsTime(input time.Time)
- func (o *SubvolumeModelProperties) SetCreationTimeStampAsTime(input time.Time)
- func (o *SubvolumeModelProperties) SetModifiedTimeStampAsTime(input time.Time)
- type SubvolumePatchParams
- type SubvolumePatchRequest
- type SubvolumeProperties
- type UpdateOperationResponse
- type VolumeId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSubVolumeID ¶
ValidateSubVolumeID checks that 'input' can be parsed as a Sub Volume ID
func ValidateVolumeID ¶
ValidateVolumeID checks that 'input' can be parsed as a Volume ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SubvolumeInfo }
type ListByVolumeCompleteResult ¶
type ListByVolumeCompleteResult struct { LatestHttpResponse *http.Response Items []SubvolumeInfo }
type ListByVolumeOperationResponse ¶
type ListByVolumeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SubvolumeInfo }
type SubVolumeId ¶
type SubVolumeId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string CapacityPoolName string VolumeName string SubVolumeName string }
SubVolumeId is a struct representing the Resource ID for a Sub Volume
func NewSubVolumeID ¶
func NewSubVolumeID(subscriptionId string, resourceGroupName string, netAppAccountName string, capacityPoolName string, volumeName string, subVolumeName string) SubVolumeId
NewSubVolumeID returns a new SubVolumeId struct
func ParseSubVolumeID ¶
func ParseSubVolumeID(input string) (*SubVolumeId, error)
ParseSubVolumeID parses 'input' into a SubVolumeId
func ParseSubVolumeIDInsensitively ¶
func ParseSubVolumeIDInsensitively(input string) (*SubVolumeId, error)
ParseSubVolumeIDInsensitively parses 'input' case-insensitively into a SubVolumeId note: this method should only be used for API response data and not user input
func (*SubVolumeId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SubVolumeId) FromParseResult(input resourceids.ParseResult) error
func (SubVolumeId) Segments ¶
func (id SubVolumeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sub Volume ID
func (SubVolumeId) String ¶
func (id SubVolumeId) String() string
String returns a human-readable description of this Sub Volume ID
type SubVolumesClient ¶
type SubVolumesClient struct {
Client *resourcemanager.Client
}
func NewSubVolumesClientWithBaseURI ¶
func NewSubVolumesClientWithBaseURI(sdkApi sdkEnv.Api) (*SubVolumesClient, error)
func (SubVolumesClient) Create ¶
func (c SubVolumesClient) Create(ctx context.Context, id SubVolumeId, input SubvolumeInfo) (result CreateOperationResponse, err error)
Create ...
func (SubVolumesClient) CreateThenPoll ¶
func (c SubVolumesClient) CreateThenPoll(ctx context.Context, id SubVolumeId, input SubvolumeInfo) error
CreateThenPoll performs Create then polls until it's completed
func (SubVolumesClient) Delete ¶
func (c SubVolumesClient) Delete(ctx context.Context, id SubVolumeId) (result DeleteOperationResponse, err error)
Delete ...
func (SubVolumesClient) DeleteThenPoll ¶
func (c SubVolumesClient) DeleteThenPoll(ctx context.Context, id SubVolumeId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SubVolumesClient) Get ¶
func (c SubVolumesClient) Get(ctx context.Context, id SubVolumeId) (result GetOperationResponse, err error)
Get ...
func (SubVolumesClient) GetMetadata ¶
func (c SubVolumesClient) GetMetadata(ctx context.Context, id SubVolumeId) (result GetMetadataOperationResponse, err error)
GetMetadata ...
func (SubVolumesClient) GetMetadataThenPoll ¶
func (c SubVolumesClient) GetMetadataThenPoll(ctx context.Context, id SubVolumeId) error
GetMetadataThenPoll performs GetMetadata then polls until it's completed
func (SubVolumesClient) ListByVolume ¶
func (c SubVolumesClient) ListByVolume(ctx context.Context, id VolumeId) (result ListByVolumeOperationResponse, err error)
ListByVolume ...
func (SubVolumesClient) ListByVolumeComplete ¶
func (c SubVolumesClient) ListByVolumeComplete(ctx context.Context, id VolumeId) (ListByVolumeCompleteResult, error)
ListByVolumeComplete retrieves all the results into a single object
func (SubVolumesClient) ListByVolumeCompleteMatchingPredicate ¶
func (c SubVolumesClient) ListByVolumeCompleteMatchingPredicate(ctx context.Context, id VolumeId, predicate SubvolumeInfoOperationPredicate) (result ListByVolumeCompleteResult, err error)
ListByVolumeCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SubVolumesClient) Update ¶
func (c SubVolumesClient) Update(ctx context.Context, id SubVolumeId, input SubvolumePatchRequest) (result UpdateOperationResponse, err error)
Update ...
func (SubVolumesClient) UpdateThenPoll ¶
func (c SubVolumesClient) UpdateThenPoll(ctx context.Context, id SubVolumeId, input SubvolumePatchRequest) error
UpdateThenPoll performs Update then polls until it's completed
type SubvolumeInfo ¶
type SubvolumeInfo struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubvolumeProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SubvolumeInfoOperationPredicate ¶
func (SubvolumeInfoOperationPredicate) Matches ¶
func (p SubvolumeInfoOperationPredicate) Matches(input SubvolumeInfo) bool
type SubvolumeModel ¶
type SubvolumeModel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubvolumeModelProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type SubvolumeModelProperties ¶
type SubvolumeModelProperties struct { AccessedTimeStamp *string `json:"accessedTimeStamp,omitempty"` BytesUsed *int64 `json:"bytesUsed,omitempty"` ChangedTimeStamp *string `json:"changedTimeStamp,omitempty"` CreationTimeStamp *string `json:"creationTimeStamp,omitempty"` ModifiedTimeStamp *string `json:"modifiedTimeStamp,omitempty"` ParentPath *string `json:"parentPath,omitempty"` Path *string `json:"path,omitempty"` Permissions *string `json:"permissions,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Size *int64 `json:"size,omitempty"` }
func (*SubvolumeModelProperties) GetAccessedTimeStampAsTime ¶
func (o *SubvolumeModelProperties) GetAccessedTimeStampAsTime() (*time.Time, error)
func (*SubvolumeModelProperties) GetChangedTimeStampAsTime ¶
func (o *SubvolumeModelProperties) GetChangedTimeStampAsTime() (*time.Time, error)
func (*SubvolumeModelProperties) GetCreationTimeStampAsTime ¶
func (o *SubvolumeModelProperties) GetCreationTimeStampAsTime() (*time.Time, error)
func (*SubvolumeModelProperties) GetModifiedTimeStampAsTime ¶
func (o *SubvolumeModelProperties) GetModifiedTimeStampAsTime() (*time.Time, error)
func (*SubvolumeModelProperties) SetAccessedTimeStampAsTime ¶
func (o *SubvolumeModelProperties) SetAccessedTimeStampAsTime(input time.Time)
func (*SubvolumeModelProperties) SetChangedTimeStampAsTime ¶
func (o *SubvolumeModelProperties) SetChangedTimeStampAsTime(input time.Time)
func (*SubvolumeModelProperties) SetCreationTimeStampAsTime ¶
func (o *SubvolumeModelProperties) SetCreationTimeStampAsTime(input time.Time)
func (*SubvolumeModelProperties) SetModifiedTimeStampAsTime ¶
func (o *SubvolumeModelProperties) SetModifiedTimeStampAsTime(input time.Time)
type SubvolumePatchParams ¶
type SubvolumePatchRequest ¶
type SubvolumePatchRequest struct {
Properties *SubvolumePatchParams `json:"properties,omitempty"`
}
type SubvolumeProperties ¶
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 ¶ added in v0.20231127.1171502
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
Source Files ¶
- client.go
- id_subvolume.go
- id_volume.go
- method_create.go
- method_delete.go
- method_get.go
- method_getmetadata.go
- method_listbyvolume.go
- method_update.go
- model_subvolumeinfo.go
- model_subvolumemodel.go
- model_subvolumemodelproperties.go
- model_subvolumepatchparams.go
- model_subvolumepatchrequest.go
- model_subvolumeproperties.go
- predicates.go
- version.go