Documentation ¶
Index ¶
- func PossibleValuesForAllowedMethods() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AllowedMethods
- type CorsRule
- type CorsRules
- type DeleteRetentionPolicy
- type FileServiceClient
- func (c FileServiceClient) GetServiceProperties(ctx context.Context, id StorageAccountId) (result GetServicePropertiesOperationResponse, err error)
- func (c FileServiceClient) List(ctx context.Context, id StorageAccountId) (result ListOperationResponse, err error)
- func (c FileServiceClient) SetServiceProperties(ctx context.Context, id StorageAccountId, input FileServiceProperties) (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
- type StorageAccountId
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
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type AllowedMethods ¶
type AllowedMethods string
const ( AllowedMethodsDELETE AllowedMethods = "DELETE" AllowedMethodsGET AllowedMethods = "GET" AllowedMethodsHEAD AllowedMethods = "HEAD" AllowedMethodsMERGE AllowedMethods = "MERGE" AllowedMethodsOPTIONS AllowedMethods = "OPTIONS" AllowedMethodsPATCH AllowedMethods = "PATCH" AllowedMethodsPOST AllowedMethods = "POST" AllowedMethodsPUT AllowedMethods = "PUT" )
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 ¶
func NewFileServiceClientWithBaseURI ¶
func NewFileServiceClientWithBaseURI(endpoint string) FileServiceClient
func (FileServiceClient) GetServiceProperties ¶
func (c FileServiceClient) GetServiceProperties(ctx context.Context, id StorageAccountId) (result GetServicePropertiesOperationResponse, err error)
GetServiceProperties ...
func (FileServiceClient) List ¶
func (c FileServiceClient) List(ctx context.Context, id StorageAccountId) (result ListOperationResponse, err error)
List ...
func (FileServiceClient) SetServiceProperties ¶
func (c FileServiceClient) SetServiceProperties(ctx context.Context, id 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"` Sku *Sku `json:"sku"` Type *string `json:"type,omitempty"` }
type FileServicePropertiesProperties ¶
type FileServicePropertiesProperties struct { Cors *CorsRules `json:"cors"` ProtocolSettings *ProtocolSettings `json:"protocolSettings"` }
type GetServicePropertiesOperationResponse ¶
type GetServicePropertiesOperationResponse struct { HttpResponse *http.Response Model *FileServiceProperties }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *FileServiceItems }
type Multichannel ¶
type Multichannel struct {
Enabled *bool `json:"enabled,omitempty"`
}
type ProtocolSettings ¶
type ProtocolSettings struct {
Smb *SmbSetting `json:"smb"`
}
type SetServicePropertiesOperationResponse ¶
type SetServicePropertiesOperationResponse struct { HttpResponse *http.Response 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" )
type SmbSetting ¶
type SmbSetting struct { AuthenticationMethods *string `json:"authenticationMethods,omitempty"` ChannelEncryption *string `json:"channelEncryption,omitempty"` KerberosTicketEncryption *string `json:"kerberosTicketEncryption,omitempty"` Multichannel *Multichannel `json:"multichannel"` Versions *string `json:"versions,omitempty"` }
type StorageAccountId ¶
StorageAccountId is a struct representing the Resource ID for a Storage Account
func NewStorageAccountID ¶
func NewStorageAccountID(subscriptionId string, resourceGroupName string, accountName 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
Source Files ¶
- client.go
- constants.go
- id_storageaccount.go
- method_getserviceproperties_autorest.go
- method_list_autorest.go
- method_setserviceproperties_autorest.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