Documentation ¶
Index ¶
- func PossibleValuesForEnabledProtocols() []string
- func PossibleValuesForLeaseDuration() []string
- func PossibleValuesForLeaseShareAction() []string
- func PossibleValuesForLeaseState() []string
- func PossibleValuesForLeaseStatus() []string
- func PossibleValuesForRootSquashType() []string
- func PossibleValuesForShareAccessTier() []string
- func ValidateShareID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccessPolicy
- type CreateOperationOptions
- type CreateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type DeletedShare
- type EnabledProtocols
- type FileShare
- type FileShareItem
- type FileShareItemOperationPredicate
- type FileShareProperties
- func (o *FileShareProperties) GetAccessTierChangeTimeAsTime() (*time.Time, error)
- func (o *FileShareProperties) GetDeletedTimeAsTime() (*time.Time, error)
- func (o *FileShareProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *FileShareProperties) GetSnapshotTimeAsTime() (*time.Time, error)
- func (o *FileShareProperties) SetAccessTierChangeTimeAsTime(input time.Time)
- func (o *FileShareProperties) SetDeletedTimeAsTime(input time.Time)
- func (o *FileShareProperties) SetLastModifiedTimeAsTime(input time.Time)
- func (o *FileShareProperties) SetSnapshotTimeAsTime(input time.Time)
- type FileSharesClient
- func (c FileSharesClient) Create(ctx context.Context, id ShareId, input FileShare, ...) (result CreateOperationResponse, err error)
- func (c FileSharesClient) Delete(ctx context.Context, id ShareId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c FileSharesClient) Get(ctx context.Context, id ShareId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c FileSharesClient) Lease(ctx context.Context, id ShareId, input LeaseShareRequest, ...) (result LeaseOperationResponse, err error)
- func (c FileSharesClient) List(ctx context.Context, id StorageAccountId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c FileSharesClient) ListComplete(ctx context.Context, id StorageAccountId, options ListOperationOptions) (ListCompleteResult, error)
- func (c FileSharesClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- func (c FileSharesClient) Restore(ctx context.Context, id ShareId, input DeletedShare) (result RestoreOperationResponse, err error)
- func (c FileSharesClient) Update(ctx context.Context, id ShareId, input FileShare) (result UpdateOperationResponse, err error)
- type GetOperationOptions
- type GetOperationResponse
- type LeaseDuration
- type LeaseOperationOptions
- type LeaseOperationResponse
- type LeaseShareAction
- type LeaseShareRequest
- type LeaseShareResponse
- type LeaseState
- type LeaseStatus
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type RestoreOperationResponse
- type RootSquashType
- type ShareAccessTier
- type ShareId
- type SignedIdentifier
- type StorageAccountId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForEnabledProtocols ¶
func PossibleValuesForEnabledProtocols() []string
func PossibleValuesForLeaseDuration ¶
func PossibleValuesForLeaseDuration() []string
func PossibleValuesForLeaseShareAction ¶
func PossibleValuesForLeaseShareAction() []string
func PossibleValuesForLeaseState ¶
func PossibleValuesForLeaseState() []string
func PossibleValuesForLeaseStatus ¶
func PossibleValuesForLeaseStatus() []string
func PossibleValuesForRootSquashType ¶
func PossibleValuesForRootSquashType() []string
func PossibleValuesForShareAccessTier ¶
func PossibleValuesForShareAccessTier() []string
func ValidateShareID ¶
ValidateShareID checks that 'input' can be parsed as a Share ID
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type AccessPolicy ¶
type AccessPolicy struct { ExpiryTime *string `json:"expiryTime,omitempty"` Permission *string `json:"permission,omitempty"` StartTime *string `json:"startTime,omitempty"` }
func (*AccessPolicy) GetExpiryTimeAsTime ¶
func (o *AccessPolicy) GetExpiryTimeAsTime() (*time.Time, error)
func (*AccessPolicy) GetStartTimeAsTime ¶
func (o *AccessPolicy) GetStartTimeAsTime() (*time.Time, error)
func (*AccessPolicy) SetExpiryTimeAsTime ¶
func (o *AccessPolicy) SetExpiryTimeAsTime(input time.Time)
func (*AccessPolicy) SetStartTimeAsTime ¶
func (o *AccessPolicy) SetStartTimeAsTime(input time.Time)
type CreateOperationOptions ¶
type CreateOperationOptions struct {
Expand *string
}
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
type CreateOperationResponse ¶
type DeleteOperationOptions ¶
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
type DeleteOperationResponse ¶
type DeletedShare ¶
type DeletedShare struct {}
type EnabledProtocols ¶
type EnabledProtocols string
const ( EnabledProtocolsNFS EnabledProtocols = "NFS" EnabledProtocolsSMB EnabledProtocols = "SMB" )
type FileShareItem ¶
type FileShareItem struct {}
type FileShareItemOperationPredicate ¶
type FileShareItemOperationPredicate struct {}
func (FileShareItemOperationPredicate) Matches ¶
func (p FileShareItemOperationPredicate) Matches(input FileShareItem) bool
type FileShareProperties ¶
type FileShareProperties struct {}
func (*FileShareProperties) GetAccessTierChangeTimeAsTime ¶
func (o *FileShareProperties) GetAccessTierChangeTimeAsTime() (*time.Time, error)
func (*FileShareProperties) GetDeletedTimeAsTime ¶
func (o *FileShareProperties) GetDeletedTimeAsTime() (*time.Time, error)
func (*FileShareProperties) GetLastModifiedTimeAsTime ¶
func (o *FileShareProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*FileShareProperties) GetSnapshotTimeAsTime ¶
func (o *FileShareProperties) GetSnapshotTimeAsTime() (*time.Time, error)
func (*FileShareProperties) SetAccessTierChangeTimeAsTime ¶
func (o *FileShareProperties) SetAccessTierChangeTimeAsTime(input time.Time)
func (*FileShareProperties) SetDeletedTimeAsTime ¶
func (o *FileShareProperties) SetDeletedTimeAsTime(input time.Time)
func (*FileShareProperties) SetLastModifiedTimeAsTime ¶
func (o *FileShareProperties) SetLastModifiedTimeAsTime(input time.Time)
func (*FileShareProperties) SetSnapshotTimeAsTime ¶
func (o *FileShareProperties) SetSnapshotTimeAsTime(input time.Time)
type FileSharesClient ¶
type FileSharesClient struct { // contains filtered or unexported fields }
func NewFileSharesClientWithBaseURI ¶
func NewFileSharesClientWithBaseURI(endpoint string) FileSharesClient
func (FileSharesClient) Create ¶
func (c FileSharesClient) Create(ctx context.Context, id ShareId, input FileShare, options CreateOperationOptions) (result CreateOperationResponse, err error)
Create ...
func (FileSharesClient) Delete ¶
func (c FileSharesClient) Delete(ctx context.Context, id ShareId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (FileSharesClient) Get ¶
func (c FileSharesClient) Get(ctx context.Context, id ShareId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (FileSharesClient) Lease ¶
func (c FileSharesClient) Lease(ctx context.Context, id ShareId, input LeaseShareRequest, options LeaseOperationOptions) (result LeaseOperationResponse, err error)
Lease ...
func (FileSharesClient) List ¶
func (c FileSharesClient) List(ctx context.Context, id StorageAccountId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (FileSharesClient) ListComplete ¶
func (c FileSharesClient) ListComplete(ctx context.Context, id StorageAccountId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (FileSharesClient) ListCompleteMatchingPredicate ¶
func (c FileSharesClient) ListCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, options ListOperationOptions, predicate FileShareItemOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (FileSharesClient) Restore ¶
func (c FileSharesClient) Restore(ctx context.Context, id ShareId, input DeletedShare) (result RestoreOperationResponse, err error)
Restore ...
func (FileSharesClient) Update ¶
func (c FileSharesClient) Update(ctx context.Context, id ShareId, input FileShare) (result UpdateOperationResponse, err error)
Update ...
type GetOperationOptions ¶
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
type GetOperationResponse ¶
type LeaseDuration ¶
type LeaseDuration string
const ( LeaseDurationFixed LeaseDuration = "Fixed" LeaseDurationInfinite LeaseDuration = "Infinite" )
type LeaseOperationOptions ¶
type LeaseOperationOptions struct {
XMsSnapshot *string
}
func DefaultLeaseOperationOptions ¶
func DefaultLeaseOperationOptions() LeaseOperationOptions
type LeaseOperationResponse ¶
type LeaseOperationResponse struct { HttpResponse *http.Response Model *LeaseShareResponse }
type LeaseShareRequest ¶
type LeaseShareRequest struct {}
type LeaseShareResponse ¶
type LeaseShareResponse struct {}
type LeaseState ¶
type LeaseState string
const ( LeaseStateAvailable LeaseState = "Available" LeaseStateBreaking LeaseState = "Breaking" LeaseStateBroken LeaseState = "Broken" LeaseStateExpired LeaseState = "Expired" LeaseStateLeased LeaseState = "Leased" )
type LeaseStatus ¶
type LeaseStatus string
const ( LeaseStatusLocked LeaseStatus = "Locked" LeaseStatusUnlocked LeaseStatus = "Unlocked" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []FileShareItem
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]FileShareItem // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type RootSquashType ¶
type RootSquashType string
const ( RootSquashTypeAllSquash RootSquashType = "AllSquash" RootSquashTypeNoRootSquash RootSquashType = "NoRootSquash" RootSquashTypeRootSquash RootSquashType = "RootSquash" )
type ShareId ¶
type ShareId struct {}
ShareId is a struct representing the Resource ID for a Share
func NewShareID ¶
func NewShareID(subscriptionId string, resourceGroupName string, storageAccountName string, shareName string) ShareId
NewShareID returns a new ShareId struct
func ParseShareID ¶
ParseShareID parses 'input' into a ShareId
func ParseShareIDInsensitively ¶
ParseShareIDInsensitively parses 'input' case-insensitively into a ShareId note: this method should only be used for API response data and not user input
func (ShareId) Segments ¶
func (id ShareId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Share ID
type SignedIdentifier ¶
type SignedIdentifier struct { AccessPolicy *AccessPolicy `json:"accessPolicy,omitempty"` Id *string `json:"id,omitempty"` }
type StorageAccountId ¶
type StorageAccountId struct { SubscriptionId string ResourceGroupName string StorageAccountName string }
StorageAccountId is a struct representing the Resource ID for a Storage Account
func NewStorageAccountID ¶
func NewStorageAccountID(subscriptionId string, resourceGroupName string, storageAccountName string) StorageAccountId
NewStorageAccountID returns a new StorageAccountId struct
func ParseStorageAccountID ¶
func ParseStorageAccountID(input string) (*StorageAccountId, error)
ParseStorageAccountID parses 'input' into a StorageAccountId
func ParseStorageAccountIDInsensitively ¶
func ParseStorageAccountIDInsensitively(input string) (*StorageAccountId, error)
ParseStorageAccountIDInsensitively parses 'input' case-insensitively into a StorageAccountId note: this method should only be used for API response data and not user input
func (StorageAccountId) ID ¶
func (id StorageAccountId) ID() string
ID returns the formatted Storage Account ID
func (StorageAccountId) Segments ¶
func (id StorageAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Storage Account ID
func (StorageAccountId) String ¶
func (id StorageAccountId) String() string
String returns a human-readable description of this Storage Account ID
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_share.go
- id_storageaccount.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_lease_autorest.go
- method_list_autorest.go
- method_restore_autorest.go
- method_update_autorest.go
- model_accesspolicy.go
- model_deletedshare.go
- model_fileshare.go
- model_fileshareitem.go
- model_fileshareproperties.go
- model_leasesharerequest.go
- model_leaseshareresponse.go
- model_signedidentifier.go
- predicates.go
- version.go