Documentation ¶
Index ¶
- func PossibleValuesForAllowedMethods() []string
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AllowedMethods
- type CorsRule
- type CorsRules
- type ListTableServices
- type StorageAccountId
- type TableServiceProperties
- type TableServicePropertiesClient
- func (c TableServicePropertiesClient) TableServicesGetServiceProperties(ctx context.Context, id StorageAccountId) (result TableServicesGetServicePropertiesOperationResponse, err error)
- func (c TableServicePropertiesClient) TableServicesList(ctx context.Context, id StorageAccountId) (result TableServicesListOperationResponse, err error)
- func (c TableServicePropertiesClient) TableServicesSetServiceProperties(ctx context.Context, id StorageAccountId, input TableServiceProperties) (result TableServicesSetServicePropertiesOperationResponse, err error)
- type TableServicePropertiesProperties
- type TableServicesGetServicePropertiesOperationResponse
- type TableServicesListOperationResponse
- type TableServicesSetServicePropertiesOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllowedMethods ¶
func PossibleValuesForAllowedMethods() []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 ListTableServices ¶
type ListTableServices struct {
Value *[]TableServiceProperties `json:"value,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
type TableServiceProperties ¶
type TableServiceProperties struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TableServicePropertiesProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type TableServicePropertiesClient ¶
type TableServicePropertiesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewTableServicePropertiesClientWithBaseURI ¶
func NewTableServicePropertiesClientWithBaseURI(endpoint string) TableServicePropertiesClient
func (TableServicePropertiesClient) TableServicesGetServiceProperties ¶
func (c TableServicePropertiesClient) TableServicesGetServiceProperties(ctx context.Context, id StorageAccountId) (result TableServicesGetServicePropertiesOperationResponse, err error)
TableServicesGetServiceProperties ...
func (TableServicePropertiesClient) TableServicesList ¶
func (c TableServicePropertiesClient) TableServicesList(ctx context.Context, id StorageAccountId) (result TableServicesListOperationResponse, err error)
TableServicesList ...
func (TableServicePropertiesClient) TableServicesSetServiceProperties ¶
func (c TableServicePropertiesClient) TableServicesSetServiceProperties(ctx context.Context, id StorageAccountId, input TableServiceProperties) (result TableServicesSetServicePropertiesOperationResponse, err error)
TableServicesSetServiceProperties ...
type TableServicePropertiesProperties ¶
type TableServicePropertiesProperties struct {
Cors *CorsRules `json:"cors,omitempty"`
}
type TableServicesGetServicePropertiesOperationResponse ¶
type TableServicesGetServicePropertiesOperationResponse struct { HttpResponse *http.Response Model *TableServiceProperties }
type TableServicesListOperationResponse ¶
type TableServicesListOperationResponse struct { HttpResponse *http.Response Model *ListTableServices }
type TableServicesSetServicePropertiesOperationResponse ¶
type TableServicesSetServicePropertiesOperationResponse struct { HttpResponse *http.Response Model *TableServiceProperties }
Source Files ¶
- client.go
- constants.go
- id_storageaccount.go
- method_tableservicesgetserviceproperties_autorest.go
- method_tableserviceslist_autorest.go
- method_tableservicessetserviceproperties_autorest.go
- model_corsrule.go
- model_corsrules.go
- model_listtableservices.go
- model_tableserviceproperties.go
- model_tableservicepropertiesproperties.go
- version.go