Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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) + type AccessPolicy struct + ExpiryTime *string + Permission *string + StartTime *string + func (o *AccessPolicy) GetExpiryTimeAsTime() (*time.Time, error) + func (o *AccessPolicy) GetStartTimeAsTime() (*time.Time, error) + func (o *AccessPolicy) SetExpiryTimeAsTime(input time.Time) + func (o *AccessPolicy) SetStartTimeAsTime(input time.Time) + type CreateOperationOptions struct + Expand *string + func DefaultCreateOperationOptions() CreateOperationOptions + func (o CreateOperationOptions) ToHeaders() *client.Headers + func (o CreateOperationOptions) ToOData() *odata.Query + func (o CreateOperationOptions) ToQuery() *client.QueryParams + type CreateOperationResponse struct + HttpResponse *http.Response + Model *FileShare + OData *odata.OData + type DeleteOperationOptions struct + Include *string + XMsSnapshot *string + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type DeletedShare struct + DeletedShareName string + DeletedShareVersion string + type EnabledProtocols string + const EnabledProtocolsNFS + const EnabledProtocolsSMB + func (s *EnabledProtocols) UnmarshalJSON(bytes []byte) error + type FileShare struct + Etag *string + Id *string + Name *string + Properties *FileShareProperties + Type *string + type FileShareItem struct + Etag *string + Id *string + Name *string + Properties *FileShareProperties + Type *string + type FileShareItemOperationPredicate struct + Etag *string + Id *string + Name *string + Type *string + func (p FileShareItemOperationPredicate) Matches(input FileShareItem) bool + type FileShareProperties struct + AccessTier *ShareAccessTier + AccessTierChangeTime *string + AccessTierStatus *string + Deleted *bool + DeletedTime *string + EnabledProtocols *EnabledProtocols + LastModifiedTime *string + LeaseDuration *LeaseDuration + LeaseState *LeaseState + LeaseStatus *LeaseStatus + Metadata *map[string]string + RemainingRetentionDays *int64 + RootSquash *RootSquashType + ShareQuota *int64 + ShareUsageBytes *int64 + SignedIdentifiers *[]SignedIdentifier + SnapshotTime *string + Version *string + 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 struct + Client *resourcemanager.Client + func NewFileSharesClientWithBaseURI(sdkApi sdkEnv.Api) (*FileSharesClient, error) + 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 commonids.StorageAccountId, ...) (result ListOperationResponse, err error) + func (c FileSharesClient) ListComplete(ctx context.Context, id commonids.StorageAccountId, ...) (ListCompleteResult, error) + func (c FileSharesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, ...) (result 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 struct + Expand *string + XMsSnapshot *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *FileShare + OData *odata.OData + type LeaseDuration string + const LeaseDurationFixed + const LeaseDurationInfinite + func (s *LeaseDuration) UnmarshalJSON(bytes []byte) error + type LeaseOperationOptions struct + XMsSnapshot *string + func DefaultLeaseOperationOptions() LeaseOperationOptions + func (o LeaseOperationOptions) ToHeaders() *client.Headers + func (o LeaseOperationOptions) ToOData() *odata.Query + func (o LeaseOperationOptions) ToQuery() *client.QueryParams + type LeaseOperationResponse struct + HttpResponse *http.Response + Model *LeaseShareResponse + OData *odata.OData + type LeaseShareAction string + const LeaseShareActionAcquire + const LeaseShareActionBreak + const LeaseShareActionChange + const LeaseShareActionRelease + const LeaseShareActionRenew + func (s *LeaseShareAction) UnmarshalJSON(bytes []byte) error + type LeaseShareRequest struct + Action LeaseShareAction + BreakPeriod *int64 + LeaseDuration *int64 + LeaseId *string + ProposedLeaseId *string + type LeaseShareResponse struct + LeaseId *string + LeaseTimeSeconds *string + type LeaseState string + const LeaseStateAvailable + const LeaseStateBreaking + const LeaseStateBroken + const LeaseStateExpired + const LeaseStateLeased + func (s *LeaseState) UnmarshalJSON(bytes []byte) error + type LeaseStatus string + const LeaseStatusLocked + const LeaseStatusUnlocked + func (s *LeaseStatus) UnmarshalJSON(bytes []byte) error + type ListCompleteResult struct + Items []FileShareItem + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Expand *string + Filter *string + Maxpagesize *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]FileShareItem + OData *odata.OData + type RestoreOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type RootSquashType string + const RootSquashTypeAllSquash + const RootSquashTypeNoRootSquash + const RootSquashTypeRootSquash + func (s *RootSquashType) UnmarshalJSON(bytes []byte) error + type ShareAccessTier string + const ShareAccessTierCool + const ShareAccessTierHot + const ShareAccessTierPremium + const ShareAccessTierTransactionOptimized + func (s *ShareAccessTier) UnmarshalJSON(bytes []byte) error + type ShareId struct + ResourceGroupName string + ShareName string + StorageAccountName string + SubscriptionId string + func NewShareID(subscriptionId string, resourceGroupName string, storageAccountName string, ...) ShareId + func ParseShareID(input string) (*ShareId, error) + func ParseShareIDInsensitively(input string) (*ShareId, error) + func (id *ShareId) FromParseResult(input resourceids.ParseResult) error + func (id ShareId) ID() string + func (id ShareId) Segments() []resourceids.Segment + func (id ShareId) String() string + type SignedIdentifier struct + AccessPolicy *AccessPolicy + Id *string + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *FileShare + OData *odata.OData