Documentation
¶
Index ¶
- func PossibleValuesForAllowedMethods() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- type AccountLimits
- type AccountUsage
- type AccountUsageElements
- type AllowedMethods
- type BurstingConstants
- type CorsRule
- type CorsRules
- type DeleteRetentionPolicy
- type FileServiceClient
- func (c FileServiceClient) GetServiceProperties(ctx context.Context, id commonids.StorageAccountId) (result GetServicePropertiesOperationResponse, err error)
- func (c FileServiceClient) GetServiceUsage(ctx context.Context, id commonids.StorageAccountId) (result GetServiceUsageOperationResponse, err error)
- func (c FileServiceClient) List(ctx context.Context, id commonids.StorageAccountId) (result ListOperationResponse, err error)
- func (c FileServiceClient) ListServiceUsages(ctx context.Context, id commonids.StorageAccountId, ...) (result ListServiceUsagesOperationResponse, err error)
- func (c FileServiceClient) ListServiceUsagesComplete(ctx context.Context, id commonids.StorageAccountId, ...) (ListServiceUsagesCompleteResult, error)
- func (c FileServiceClient) ListServiceUsagesCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, ...) (result ListServiceUsagesCompleteResult, err error)
- func (c FileServiceClient) SetServiceProperties(ctx context.Context, id commonids.StorageAccountId, ...) (result SetServicePropertiesOperationResponse, err error)
- type FileServiceItems
- type FileServiceProperties
- type FileServicePropertiesProperties
- type FileServiceUsage
- type FileServiceUsageOperationPredicate
- type FileServiceUsageProperties
- type FileShareLimits
- type FileShareRecommendations
- type GetServicePropertiesOperationResponse
- type GetServiceUsageOperationResponse
- type ListOperationResponse
- type ListServiceUsagesCompleteResult
- type ListServiceUsagesCustomPager
- type ListServiceUsagesOperationOptions
- type ListServiceUsagesOperationResponse
- type Multichannel
- type ProtocolSettings
- type SetServicePropertiesOperationResponse
- type Sku
- type SkuName
- type SkuTier
- type SmbSetting
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllowedMethods ¶
func PossibleValuesForAllowedMethods() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
Types ¶
type AccountLimits ¶
type AccountUsage ¶
type AccountUsage struct {}
type AccountUsageElements ¶
type AllowedMethods ¶
type AllowedMethods string
const ( AllowedMethodsCONNECT AllowedMethods = "CONNECT" AllowedMethodsDELETE AllowedMethods = "DELETE" AllowedMethodsGET AllowedMethods = "GET" AllowedMethodsHEAD AllowedMethods = "HEAD" AllowedMethodsMERGE AllowedMethods = "MERGE" AllowedMethodsOPTIONS AllowedMethods = "OPTIONS" AllowedMethodsPATCH AllowedMethods = "PATCH" AllowedMethodsPOST AllowedMethods = "POST" AllowedMethodsPUT AllowedMethods = "PUT" AllowedMethodsTRACE AllowedMethods = "TRACE" )
func (*AllowedMethods) UnmarshalJSON ¶
func (s *AllowedMethods) UnmarshalJSON(bytes []byte) error
type BurstingConstants ¶
type CorsRule ¶
type CorsRule struct { AllowedHeaders []string `json:"allowedHeaders"` AllowedMethods []AllowedMethods `json:"allowedMethods"` AllowedOrigins []string `json:"allowedOrigins"` ExposedHeaders []string `json:"exposedHeaders"` MaxAgeInSeconds int64 `json:"maxAgeInSeconds"` }
type DeleteRetentionPolicy ¶
type FileServiceClient ¶
type FileServiceClient struct {
Client *resourcemanager.Client
}
func NewFileServiceClientWithBaseURI ¶
func NewFileServiceClientWithBaseURI(sdkApi sdkEnv.Api) (*FileServiceClient, error)
func (FileServiceClient) GetServiceProperties ¶
func (c FileServiceClient) GetServiceProperties(ctx context.Context, id commonids.StorageAccountId) (result GetServicePropertiesOperationResponse, err error)
GetServiceProperties ...
func (FileServiceClient) GetServiceUsage ¶
func (c FileServiceClient) GetServiceUsage(ctx context.Context, id commonids.StorageAccountId) (result GetServiceUsageOperationResponse, err error)
GetServiceUsage ...
func (FileServiceClient) List ¶
func (c FileServiceClient) List(ctx context.Context, id commonids.StorageAccountId) (result ListOperationResponse, err error)
List ...
func (FileServiceClient) ListServiceUsages ¶
func (c FileServiceClient) ListServiceUsages(ctx context.Context, id commonids.StorageAccountId, options ListServiceUsagesOperationOptions) (result ListServiceUsagesOperationResponse, err error)
ListServiceUsages ...
func (FileServiceClient) ListServiceUsagesComplete ¶
func (c FileServiceClient) ListServiceUsagesComplete(ctx context.Context, id commonids.StorageAccountId, options ListServiceUsagesOperationOptions) (ListServiceUsagesCompleteResult, error)
ListServiceUsagesComplete retrieves all the results into a single object
func (FileServiceClient) ListServiceUsagesCompleteMatchingPredicate ¶
func (c FileServiceClient) ListServiceUsagesCompleteMatchingPredicate(ctx context.Context, id commonids.StorageAccountId, options ListServiceUsagesOperationOptions, predicate FileServiceUsageOperationPredicate) (result ListServiceUsagesCompleteResult, err error)
ListServiceUsagesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (FileServiceClient) SetServiceProperties ¶
func (c FileServiceClient) SetServiceProperties(ctx context.Context, id commonids.StorageAccountId, input FileServiceProperties) (result SetServicePropertiesOperationResponse, err error)
SetServiceProperties ...
type FileServiceItems ¶
type FileServiceItems struct {
Value *[]FileServiceProperties `json:"value,omitempty"`
}
type FileServiceProperties ¶
type FileServiceProperties struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *FileServicePropertiesProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Type *string `json:"type,omitempty"` }
type FileServicePropertiesProperties ¶
type FileServicePropertiesProperties struct { Cors *CorsRules `json:"cors,omitempty"` ProtocolSettings *ProtocolSettings `json:"protocolSettings,omitempty"` }
type FileServiceUsage ¶
type FileServiceUsage struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *FileServiceUsageProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type FileServiceUsageOperationPredicate ¶
func (FileServiceUsageOperationPredicate) Matches ¶
func (p FileServiceUsageOperationPredicate) Matches(input FileServiceUsage) bool
type FileServiceUsageProperties ¶
type FileServiceUsageProperties struct { BurstingConstants *BurstingConstants `json:"burstingConstants,omitempty"` StorageAccountLimits *AccountLimits `json:"storageAccountLimits,omitempty"` StorageAccountUsage *AccountUsage `json:"storageAccountUsage,omitempty"` }
type FileShareLimits ¶
type FileShareLimits struct {}
type FileShareRecommendations ¶
type FileShareRecommendations struct {}
type GetServicePropertiesOperationResponse ¶
type GetServicePropertiesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FileServiceProperties }
type GetServiceUsageOperationResponse ¶
type GetServiceUsageOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FileServiceUsage }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FileServiceItems }
type ListServiceUsagesCompleteResult ¶
type ListServiceUsagesCompleteResult struct { LatestHttpResponse *http.Response Items []FileServiceUsage }
type ListServiceUsagesCustomPager ¶
func (*ListServiceUsagesCustomPager) NextPageLink ¶
func (p *ListServiceUsagesCustomPager) NextPageLink() *odata.Link
type ListServiceUsagesOperationOptions ¶
type ListServiceUsagesOperationOptions struct {
Maxpagesize *int64
}
func DefaultListServiceUsagesOperationOptions ¶
func DefaultListServiceUsagesOperationOptions() ListServiceUsagesOperationOptions
func (ListServiceUsagesOperationOptions) ToHeaders ¶
func (o ListServiceUsagesOperationOptions) ToHeaders() *client.Headers
func (ListServiceUsagesOperationOptions) ToOData ¶
func (o ListServiceUsagesOperationOptions) ToOData() *odata.Query
func (ListServiceUsagesOperationOptions) ToQuery ¶
func (o ListServiceUsagesOperationOptions) ToQuery() *client.QueryParams
type ListServiceUsagesOperationResponse ¶
type ListServiceUsagesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]FileServiceUsage }
type Multichannel ¶
type Multichannel struct {
Enabled *bool `json:"enabled,omitempty"`
}
type ProtocolSettings ¶
type ProtocolSettings struct {
Smb *SmbSetting `json:"smb,omitempty"`
}
type SetServicePropertiesOperationResponse ¶
type SetServicePropertiesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FileServiceProperties }
type SkuName ¶
type SkuName string
const ( SkuNamePremiumLRS SkuName = "Premium_LRS" SkuNamePremiumVTwoLRS SkuName = "PremiumV2_LRS" SkuNamePremiumVTwoZRS SkuName = "PremiumV2_ZRS" SkuNamePremiumZRS SkuName = "Premium_ZRS" SkuNameStandardGRS SkuName = "Standard_GRS" SkuNameStandardGZRS SkuName = "Standard_GZRS" SkuNameStandardLRS SkuName = "Standard_LRS" SkuNameStandardRAGRS SkuName = "Standard_RAGRS" SkuNameStandardRAGZRS SkuName = "Standard_RAGZRS" SkuNameStandardVTwoGRS SkuName = "StandardV2_GRS" SkuNameStandardVTwoGZRS SkuName = "StandardV2_GZRS" SkuNameStandardVTwoLRS SkuName = "StandardV2_LRS" SkuNameStandardVTwoZRS SkuName = "StandardV2_ZRS" SkuNameStandardZRS SkuName = "Standard_ZRS" )
func (*SkuName) UnmarshalJSON ¶
type SmbSetting ¶
type SmbSetting struct { AuthenticationMethods *string `json:"authenticationMethods,omitempty"` ChannelEncryption *string `json:"channelEncryption,omitempty"` KerberosTicketEncryption *string `json:"kerberosTicketEncryption,omitempty"` Multichannel *Multichannel `json:"multichannel,omitempty"` Versions *string `json:"versions,omitempty"` }
Source Files
¶
- client.go
- constants.go
- method_getserviceproperties.go
- method_getserviceusage.go
- method_list.go
- method_listserviceusages.go
- method_setserviceproperties.go
- model_accountlimits.go
- model_accountusage.go
- model_accountusageelements.go
- model_burstingconstants.go
- model_corsrule.go
- model_corsrules.go
- model_deleteretentionpolicy.go
- model_fileserviceitems.go
- model_fileserviceproperties.go
- model_fileservicepropertiesproperties.go
- model_fileserviceusage.go
- model_fileserviceusageproperties.go
- model_filesharelimits.go
- model_filesharerecommendations.go
- model_multichannel.go
- model_protocolsettings.go
- model_sku.go
- model_smbsetting.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.