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) (resp 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) (resp 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) 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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DnsRefreshOperationResponse ¶
type DnsRefreshOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *StorageTarget }
type ListByCacheCompleteResult ¶
type ListByCacheCompleteResult struct {
Items []StorageTarget
}
type ListByCacheOperationResponse ¶
type ListByCacheOperationResponse struct { HttpResponse *http.Response Model *[]StorageTarget // contains filtered or unexported fields }
func (ListByCacheOperationResponse) HasMore ¶
func (r ListByCacheOperationResponse) HasMore() bool
func (ListByCacheOperationResponse) LoadMore ¶
func (r ListByCacheOperationResponse) LoadMore(ctx context.Context) (resp ListByCacheOperationResponse, err error)
type NamespaceJunction ¶
type Nfs3Target ¶
type OperationalStateType ¶
type OperationalStateType string
const ( OperationalStateTypeBusy OperationalStateType = "Busy" OperationalStateTypeFlushing OperationalStateType = "Flushing" OperationalStateTypeReady OperationalStateType = "Ready" OperationalStateTypeSuspended OperationalStateType = "Suspended" )
type ProvisioningStateType ¶
type ProvisioningStateType string
const ( ProvisioningStateTypeCancelled ProvisioningStateType = "Cancelled" ProvisioningStateTypeCreating ProvisioningStateType = "Creating" ProvisioningStateTypeDeleting ProvisioningStateType = "Deleting" ProvisioningStateTypeFailed ProvisioningStateType = "Failed" ProvisioningStateTypeSucceeded ProvisioningStateType = "Succeeded" ProvisioningStateTypeUpdating ProvisioningStateType = "Updating" )
type RestoreDefaultsOperationResponse ¶
type RestoreDefaultsOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 StorageTargetFlushOperationResponse ¶
type StorageTargetFlushOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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) 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 StorageTargetInvalidateOperationResponse ¶
type StorageTargetInvalidateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 StorageTargetResumeOperationResponse ¶
type StorageTargetResumeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StorageTargetSuspendOperationResponse ¶
type StorageTargetSuspendOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type StorageTargetType ¶
type StorageTargetType string
const ( StorageTargetTypeBlobNfs StorageTargetType = "blobNfs" StorageTargetTypeClfs StorageTargetType = "clfs" StorageTargetTypeNfsThree StorageTargetType = "nfs3" StorageTargetTypeUnknown StorageTargetType = "unknown" )
type StorageTargetsClient ¶
type StorageTargetsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewStorageTargetsClientWithBaseURI ¶
func NewStorageTargetsClientWithBaseURI(endpoint string) StorageTargetsClient
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) (resp ListByCacheOperationResponse, err error)
ListByCache ...
func (StorageTargetsClient) ListByCacheComplete ¶
func (c StorageTargetsClient) ListByCacheComplete(ctx context.Context, id CacheId) (ListByCacheCompleteResult, error)
ListByCacheComplete retrieves all of the results into a single object
func (StorageTargetsClient) ListByCacheCompleteMatchingPredicate ¶
func (c StorageTargetsClient) ListByCacheCompleteMatchingPredicate(ctx context.Context, id CacheId, predicate StorageTargetOperationPredicate) (resp ListByCacheCompleteResult, err error)
ListByCacheCompleteMatchingPredicate retrieves all of the results and then applied 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_autorest.go
- method_delete_autorest.go
- method_dnsrefresh_autorest.go
- method_get_autorest.go
- method_listbycache_autorest.go
- method_restoredefaults_autorest.go
- method_storagetargetflush_autorest.go
- method_storagetargetinvalidate_autorest.go
- method_storagetargetresume_autorest.go
- method_storagetargetsuspend_autorest.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