Documentation ¶
Index ¶
- func PossibleValuesForOperationalStateType() []string
- func PossibleValuesForProvisioningStateType() []string
- func PossibleValuesForStorageTargetType() []string
- func ValidateCacheID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageTargetID(input interface{}, key string) (warnings []string, errors []error)
- type BlobNfsTarget
- type CacheId
- type ClfsTarget
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DnsRefreshOperationResponse
- type GetOperationResponse
- type ListByCacheCompleteResult
- type ListByCacheOperationResponse
- type NamespaceJunction
- type Nfs3Target
- type OperationalStateType
- type ProvisioningStateType
- type RestoreDefaultsOperationResponse
- type StorageTarget
- type StorageTargetFlushOperationResponse
- type StorageTargetId
- type StorageTargetInvalidateOperationResponse
- type StorageTargetOperationPredicate
- type StorageTargetProperties
- type StorageTargetResumeOperationResponse
- type StorageTargetSuspendOperationResponse
- type StorageTargetType
- type StorageTargetsClient
- func (c StorageTargetsClient) CreateOrUpdate(ctx context.Context, id StorageTargetId, input StorageTarget) (result CreateOrUpdateOperationResponse, err error)
- func (c StorageTargetsClient) CreateOrUpdateThenPoll(ctx context.Context, id StorageTargetId, input StorageTarget) error
- func (c StorageTargetsClient) Delete(ctx context.Context, id StorageTargetId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c StorageTargetsClient) DeleteThenPoll(ctx context.Context, id StorageTargetId, options DeleteOperationOptions) error
- func (c StorageTargetsClient) DnsRefresh(ctx context.Context, id StorageTargetId) (result DnsRefreshOperationResponse, err error)
- func (c StorageTargetsClient) DnsRefreshThenPoll(ctx context.Context, id StorageTargetId) error
- func (c StorageTargetsClient) Get(ctx context.Context, id StorageTargetId) (result GetOperationResponse, err error)
- func (c StorageTargetsClient) ListByCache(ctx context.Context, id CacheId) (result ListByCacheOperationResponse, err error)
- func (c StorageTargetsClient) ListByCacheComplete(ctx context.Context, id CacheId) (ListByCacheCompleteResult, error)
- func (c StorageTargetsClient) ListByCacheCompleteMatchingPredicate(ctx context.Context, id CacheId, predicate StorageTargetOperationPredicate) (result ListByCacheCompleteResult, err error)
- func (c StorageTargetsClient) RestoreDefaults(ctx context.Context, id StorageTargetId) (result RestoreDefaultsOperationResponse, err error)
- func (c StorageTargetsClient) RestoreDefaultsThenPoll(ctx context.Context, id StorageTargetId) error
- func (c StorageTargetsClient) StorageTargetFlush(ctx context.Context, id StorageTargetId) (result StorageTargetFlushOperationResponse, err error)
- func (c StorageTargetsClient) StorageTargetFlushThenPoll(ctx context.Context, id StorageTargetId) error
- func (c StorageTargetsClient) StorageTargetInvalidate(ctx context.Context, id StorageTargetId) (result StorageTargetInvalidateOperationResponse, err error)
- func (c StorageTargetsClient) StorageTargetInvalidateThenPoll(ctx context.Context, id StorageTargetId) error
- func (c StorageTargetsClient) StorageTargetResume(ctx context.Context, id StorageTargetId) (result StorageTargetResumeOperationResponse, err error)
- func (c StorageTargetsClient) StorageTargetResumeThenPoll(ctx context.Context, id StorageTargetId) error
- func (c StorageTargetsClient) StorageTargetSuspend(ctx context.Context, id StorageTargetId) (result StorageTargetSuspendOperationResponse, err error)
- func (c StorageTargetsClient) StorageTargetSuspendThenPoll(ctx context.Context, id StorageTargetId) error
- type UnknownTarget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOperationalStateType ¶
func PossibleValuesForOperationalStateType() []string
func PossibleValuesForProvisioningStateType ¶
func PossibleValuesForProvisioningStateType() []string
func PossibleValuesForStorageTargetType ¶
func PossibleValuesForStorageTargetType() []string
func ValidateCacheID ¶
ValidateCacheID checks that 'input' can be parsed as a Cache ID
func ValidateStorageTargetID ¶
ValidateStorageTargetID checks that 'input' can be parsed as a Storage Target ID
Types ¶
type BlobNfsTarget ¶
type CacheId ¶
CacheId is a struct representing the Resource ID for a Cache
func NewCacheID ¶
NewCacheID returns a new CacheId struct
func ParseCacheID ¶
ParseCacheID parses 'input' into a CacheId
func ParseCacheIDInsensitively ¶
ParseCacheIDInsensitively parses 'input' case-insensitively into a CacheId note: this method should only be used for API response data and not user input
func (*CacheId) FromParseResult ¶ added in v0.20231127.1171502
func (id *CacheId) FromParseResult(input resourceids.ParseResult) error
func (CacheId) Segments ¶
func (id CacheId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cache ID
type ClfsTarget ¶
type ClfsTarget struct {
Target *string `json:"target,omitempty"`
}
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶ added in v0.20230720.1124505
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶ added in v0.20230720.1124505
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶ added in v0.20230720.1124505
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StorageTarget }
type ListByCacheCompleteResult ¶
type ListByCacheCompleteResult struct {
Items []StorageTarget
}
type ListByCacheOperationResponse ¶
type ListByCacheOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StorageTarget }
type NamespaceJunction ¶
type Nfs3Target ¶
type OperationalStateType ¶
type OperationalStateType string
const ( OperationalStateTypeBusy OperationalStateType = "Busy" OperationalStateTypeFlushing OperationalStateType = "Flushing" OperationalStateTypeReady OperationalStateType = "Ready" OperationalStateTypeSuspended OperationalStateType = "Suspended" )
func (*OperationalStateType) UnmarshalJSON ¶ added in v0.20230720.1124505
func (s *OperationalStateType) UnmarshalJSON(bytes []byte) error
type ProvisioningStateType ¶
type ProvisioningStateType string
const ( ProvisioningStateTypeCancelled ProvisioningStateType = "Cancelled" ProvisioningStateTypeCreating ProvisioningStateType = "Creating" ProvisioningStateTypeDeleting ProvisioningStateType = "Deleting" ProvisioningStateTypeFailed ProvisioningStateType = "Failed" ProvisioningStateTypeSucceeded ProvisioningStateType = "Succeeded" ProvisioningStateTypeUpdating ProvisioningStateType = "Updating" )
func (*ProvisioningStateType) UnmarshalJSON ¶ added in v0.20230720.1124505
func (s *ProvisioningStateType) UnmarshalJSON(bytes []byte) error
type StorageTarget ¶
type StorageTarget struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *StorageTargetProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type StorageTargetId ¶
type StorageTargetId struct { SubscriptionId string ResourceGroupName string CacheName string StorageTargetName string }
StorageTargetId is a struct representing the Resource ID for a Storage Target
func NewStorageTargetID ¶
func NewStorageTargetID(subscriptionId string, resourceGroupName string, cacheName string, storageTargetName string) StorageTargetId
NewStorageTargetID returns a new StorageTargetId struct
func ParseStorageTargetID ¶
func ParseStorageTargetID(input string) (*StorageTargetId, error)
ParseStorageTargetID parses 'input' into a StorageTargetId
func ParseStorageTargetIDInsensitively ¶
func ParseStorageTargetIDInsensitively(input string) (*StorageTargetId, error)
ParseStorageTargetIDInsensitively parses 'input' case-insensitively into a StorageTargetId note: this method should only be used for API response data and not user input
func (*StorageTargetId) FromParseResult ¶ added in v0.20231127.1171502
func (id *StorageTargetId) FromParseResult(input resourceids.ParseResult) error
func (StorageTargetId) ID ¶
func (id StorageTargetId) ID() string
ID returns the formatted Storage Target ID
func (StorageTargetId) Segments ¶
func (id StorageTargetId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Target ID
func (StorageTargetId) String ¶
func (id StorageTargetId) String() string
String returns a human-readable description of this Storage Target ID
type StorageTargetOperationPredicate ¶
type StorageTargetOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (StorageTargetOperationPredicate) Matches ¶
func (p StorageTargetOperationPredicate) Matches(input StorageTarget) bool
type StorageTargetProperties ¶
type StorageTargetProperties struct { AllocationPercentage *int64 `json:"allocationPercentage,omitempty"` BlobNfs *BlobNfsTarget `json:"blobNfs,omitempty"` Clfs *ClfsTarget `json:"clfs,omitempty"` Junctions *[]NamespaceJunction `json:"junctions,omitempty"` Nfs3 *Nfs3Target `json:"nfs3,omitempty"` ProvisioningState *ProvisioningStateType `json:"provisioningState,omitempty"` State *OperationalStateType `json:"state,omitempty"` TargetType StorageTargetType `json:"targetType"` Unknown *UnknownTarget `json:"unknown,omitempty"` }
type StorageTargetType ¶
type StorageTargetType string
const ( StorageTargetTypeBlobNfs StorageTargetType = "blobNfs" StorageTargetTypeClfs StorageTargetType = "clfs" StorageTargetTypeNfsThree StorageTargetType = "nfs3" StorageTargetTypeUnknown StorageTargetType = "unknown" )
func (*StorageTargetType) UnmarshalJSON ¶ added in v0.20230720.1124505
func (s *StorageTargetType) UnmarshalJSON(bytes []byte) error
type StorageTargetsClient ¶
type StorageTargetsClient struct {
Client *resourcemanager.Client
}
func NewStorageTargetsClientWithBaseURI ¶
func NewStorageTargetsClientWithBaseURI(sdkApi sdkEnv.Api) (*StorageTargetsClient, error)
func (StorageTargetsClient) CreateOrUpdate ¶
func (c StorageTargetsClient) CreateOrUpdate(ctx context.Context, id StorageTargetId, input StorageTarget) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (StorageTargetsClient) CreateOrUpdateThenPoll ¶
func (c StorageTargetsClient) CreateOrUpdateThenPoll(ctx context.Context, id StorageTargetId, input StorageTarget) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (StorageTargetsClient) Delete ¶
func (c StorageTargetsClient) Delete(ctx context.Context, id StorageTargetId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (StorageTargetsClient) DeleteThenPoll ¶
func (c StorageTargetsClient) DeleteThenPoll(ctx context.Context, id StorageTargetId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (StorageTargetsClient) DnsRefresh ¶
func (c StorageTargetsClient) DnsRefresh(ctx context.Context, id StorageTargetId) (result DnsRefreshOperationResponse, err error)
DnsRefresh ...
func (StorageTargetsClient) DnsRefreshThenPoll ¶
func (c StorageTargetsClient) DnsRefreshThenPoll(ctx context.Context, id StorageTargetId) error
DnsRefreshThenPoll performs DnsRefresh then polls until it's completed
func (StorageTargetsClient) Get ¶
func (c StorageTargetsClient) Get(ctx context.Context, id StorageTargetId) (result GetOperationResponse, err error)
Get ...
func (StorageTargetsClient) ListByCache ¶
func (c StorageTargetsClient) ListByCache(ctx context.Context, id CacheId) (result ListByCacheOperationResponse, err error)
ListByCache ...
func (StorageTargetsClient) ListByCacheComplete ¶
func (c StorageTargetsClient) ListByCacheComplete(ctx context.Context, id CacheId) (ListByCacheCompleteResult, error)
ListByCacheComplete retrieves all the results into a single object
func (StorageTargetsClient) ListByCacheCompleteMatchingPredicate ¶
func (c StorageTargetsClient) ListByCacheCompleteMatchingPredicate(ctx context.Context, id CacheId, predicate StorageTargetOperationPredicate) (result ListByCacheCompleteResult, err error)
ListByCacheCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StorageTargetsClient) RestoreDefaults ¶
func (c StorageTargetsClient) RestoreDefaults(ctx context.Context, id StorageTargetId) (result RestoreDefaultsOperationResponse, err error)
RestoreDefaults ...
func (StorageTargetsClient) RestoreDefaultsThenPoll ¶
func (c StorageTargetsClient) RestoreDefaultsThenPoll(ctx context.Context, id StorageTargetId) error
RestoreDefaultsThenPoll performs RestoreDefaults then polls until it's completed
func (StorageTargetsClient) StorageTargetFlush ¶
func (c StorageTargetsClient) StorageTargetFlush(ctx context.Context, id StorageTargetId) (result StorageTargetFlushOperationResponse, err error)
StorageTargetFlush ...
func (StorageTargetsClient) StorageTargetFlushThenPoll ¶
func (c StorageTargetsClient) StorageTargetFlushThenPoll(ctx context.Context, id StorageTargetId) error
StorageTargetFlushThenPoll performs StorageTargetFlush then polls until it's completed
func (StorageTargetsClient) StorageTargetInvalidate ¶
func (c StorageTargetsClient) StorageTargetInvalidate(ctx context.Context, id StorageTargetId) (result StorageTargetInvalidateOperationResponse, err error)
StorageTargetInvalidate ...
func (StorageTargetsClient) StorageTargetInvalidateThenPoll ¶
func (c StorageTargetsClient) StorageTargetInvalidateThenPoll(ctx context.Context, id StorageTargetId) error
StorageTargetInvalidateThenPoll performs StorageTargetInvalidate then polls until it's completed
func (StorageTargetsClient) StorageTargetResume ¶
func (c StorageTargetsClient) StorageTargetResume(ctx context.Context, id StorageTargetId) (result StorageTargetResumeOperationResponse, err error)
StorageTargetResume ...
func (StorageTargetsClient) StorageTargetResumeThenPoll ¶
func (c StorageTargetsClient) StorageTargetResumeThenPoll(ctx context.Context, id StorageTargetId) error
StorageTargetResumeThenPoll performs StorageTargetResume then polls until it's completed
func (StorageTargetsClient) StorageTargetSuspend ¶
func (c StorageTargetsClient) StorageTargetSuspend(ctx context.Context, id StorageTargetId) (result StorageTargetSuspendOperationResponse, err error)
StorageTargetSuspend ...
func (StorageTargetsClient) StorageTargetSuspendThenPoll ¶
func (c StorageTargetsClient) StorageTargetSuspendThenPoll(ctx context.Context, id StorageTargetId) error
StorageTargetSuspendThenPoll performs StorageTargetSuspend then polls until it's completed
type UnknownTarget ¶
Source Files ¶
- client.go
- constants.go
- id_cache.go
- id_storagetarget.go
- method_createorupdate.go
- method_delete.go
- method_dnsrefresh.go
- method_get.go
- method_listbycache.go
- method_restoredefaults.go
- method_storagetargetflush.go
- method_storagetargetinvalidate.go
- method_storagetargetresume.go
- method_storagetargetsuspend.go
- model_blobnfstarget.go
- model_clfstarget.go
- model_namespacejunction.go
- model_nfs3target.go
- model_storagetarget.go
- model_storagetargetproperties.go
- model_unknowntarget.go
- predicates.go
- version.go