Documentation ¶
Index ¶
- func PossibleValuesForAllowedMethods() []string
- func PossibleValuesForTableServiceName() []string
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTableServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AllowedMethods
- type CorsRule
- type CorsRules
- type ListTableServices
- type StorageAccountId
- type TableServiceId
- type TableServiceName
- type TableServiceProperties
- type TableServicePropertiesClient
- func (c TableServicePropertiesClient) TableServicesGetServiceProperties(ctx context.Context, id TableServiceId) (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 TableServiceId, 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 PossibleValuesForTableServiceName ¶
func PossibleValuesForTableServiceName() []string
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
func ValidateTableServiceID ¶
ValidateTableServiceID checks that 'input' can be parsed as a Table Service ID
Types ¶
type AllowedMethods ¶
type AllowedMethods string
const ( AllowedMethodsDELETE AllowedMethods = "DELETE" AllowedMethodsGET AllowedMethods = "GET" AllowedMethodsHEAD AllowedMethods = "HEAD" AllowedMethodsMERGE AllowedMethods = "MERGE" AllowedMethodsOPTIONS AllowedMethods = "OPTIONS" 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 TableServiceId ¶
type TableServiceId struct { SubscriptionId string ResourceGroupName string AccountName string TableServiceName TableServiceName }
TableServiceId is a struct representing the Resource ID for a Table Service
func NewTableServiceID ¶
func NewTableServiceID(subscriptionId string, resourceGroupName string, accountName string, tableServiceName TableServiceName) TableServiceId
NewTableServiceID returns a new TableServiceId struct
func ParseTableServiceID ¶
func ParseTableServiceID(input string) (*TableServiceId, error)
ParseTableServiceID parses 'input' into a TableServiceId
func ParseTableServiceIDInsensitively ¶
func ParseTableServiceIDInsensitively(input string) (*TableServiceId, error)
ParseTableServiceIDInsensitively parses 'input' case-insensitively into a TableServiceId note: this method should only be used for API response data and not user input
func (TableServiceId) ID ¶
func (id TableServiceId) ID() string
ID returns the formatted Table Service ID
func (TableServiceId) Segments ¶
func (id TableServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Table Service ID
func (TableServiceId) String ¶
func (id TableServiceId) String() string
String returns a human-readable description of this Table Service ID
type TableServiceName ¶
type TableServiceName string
const (
TableServiceNameDefault TableServiceName = "default"
)
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 TableServiceId) (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 TableServiceId, 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
- id_tableservice.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