Documentation ¶
Index ¶
- func PossibleValuesForAllowedMethods() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- type AllowedMethods
- 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) List(ctx context.Context, id commonids.StorageAccountId) (result ListOperationResponse, err error)
- func (c FileServiceClient) SetServiceProperties(ctx context.Context, id commonids.StorageAccountId, ...) (result SetServicePropertiesOperationResponse, err error)
- type FileServiceItems
- type FileServiceProperties
- type FileServicePropertiesProperties
- type GetServicePropertiesOperationResponse
- type ListOperationResponse
- 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 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 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) List ¶
func (c FileServiceClient) List(ctx context.Context, id commonids.StorageAccountId) (result ListOperationResponse, err error)
List ...
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 GetServicePropertiesOperationResponse ¶
type GetServicePropertiesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FileServiceProperties }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *FileServiceItems }
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" SkuNamePremiumZRS SkuName = "Premium_ZRS" SkuNameStandardGRS SkuName = "Standard_GRS" SkuNameStandardGZRS SkuName = "Standard_GZRS" SkuNameStandardLRS SkuName = "Standard_LRS" SkuNameStandardRAGRS SkuName = "Standard_RAGRS" SkuNameStandardRAGZRS SkuName = "Standard_RAGZRS" 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_list.go
- method_setserviceproperties.go
- model_corsrule.go
- model_corsrules.go
- model_deleteretentionpolicy.go
- model_fileserviceitems.go
- model_fileserviceproperties.go
- model_fileservicepropertiesproperties.go
- model_multichannel.go
- model_protocolsettings.go
- model_sku.go
- model_smbsetting.go
- version.go
Click to show internal directories.
Click to hide internal directories.