Documentation ¶
Index ¶
- func PossibleValuesForAllowedMethods() []string
- func PossibleValuesForName() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- type AllowedMethods
- type BlobServiceClient
- func (c BlobServiceClient) GetServiceProperties(ctx context.Context, id commonids.StorageAccountId) (result GetServicePropertiesOperationResponse, err error)
- func (c BlobServiceClient) List(ctx context.Context, id commonids.StorageAccountId) (result ListOperationResponse, err error)
- func (c BlobServiceClient) SetServiceProperties(ctx context.Context, id commonids.StorageAccountId, ...) (result SetServicePropertiesOperationResponse, err error)
- type BlobServiceItems
- type BlobServiceProperties
- type BlobServicePropertiesProperties
- type ChangeFeed
- type CorsRule
- type CorsRules
- type DeleteRetentionPolicy
- type GetServicePropertiesOperationResponse
- type LastAccessTimeTrackingPolicy
- type ListOperationResponse
- type Name
- type RestorePolicyProperties
- func (o *RestorePolicyProperties) GetLastEnabledTimeAsTime() (*time.Time, error)
- func (o *RestorePolicyProperties) GetMinRestoreTimeAsTime() (*time.Time, error)
- func (o *RestorePolicyProperties) SetLastEnabledTimeAsTime(input time.Time)
- func (o *RestorePolicyProperties) SetMinRestoreTimeAsTime(input time.Time)
- type SetServicePropertiesOperationResponse
- type Sku
- type SkuName
- type SkuTier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllowedMethods ¶
func PossibleValuesForAllowedMethods() []string
func PossibleValuesForName ¶
func PossibleValuesForName() []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 BlobServiceClient ¶
type BlobServiceClient struct {
Client *resourcemanager.Client
}
func NewBlobServiceClientWithBaseURI ¶
func NewBlobServiceClientWithBaseURI(sdkApi sdkEnv.Api) (*BlobServiceClient, error)
func (BlobServiceClient) GetServiceProperties ¶
func (c BlobServiceClient) GetServiceProperties(ctx context.Context, id commonids.StorageAccountId) (result GetServicePropertiesOperationResponse, err error)
GetServiceProperties ...
func (BlobServiceClient) List ¶
func (c BlobServiceClient) List(ctx context.Context, id commonids.StorageAccountId) (result ListOperationResponse, err error)
List ...
func (BlobServiceClient) SetServiceProperties ¶
func (c BlobServiceClient) SetServiceProperties(ctx context.Context, id commonids.StorageAccountId, input BlobServiceProperties) (result SetServicePropertiesOperationResponse, err error)
SetServiceProperties ...
type BlobServiceItems ¶
type BlobServiceItems struct {
Value *[]BlobServiceProperties `json:"value,omitempty"`
}
type BlobServiceProperties ¶
type BlobServiceProperties struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BlobServicePropertiesProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Type *string `json:"type,omitempty"` }
type BlobServicePropertiesProperties ¶
type BlobServicePropertiesProperties struct { AutomaticSnapshotPolicyEnabled *bool `json:"automaticSnapshotPolicyEnabled,omitempty"` ChangeFeed *ChangeFeed `json:"changeFeed,omitempty"` ContainerDeleteRetentionPolicy *DeleteRetentionPolicy `json:"containerDeleteRetentionPolicy,omitempty"` Cors *CorsRules `json:"cors,omitempty"` DefaultServiceVersion *string `json:"defaultServiceVersion,omitempty"` DeleteRetentionPolicy *DeleteRetentionPolicy `json:"deleteRetentionPolicy,omitempty"` IsVersioningEnabled *bool `json:"isVersioningEnabled,omitempty"` LastAccessTimeTrackingPolicy *LastAccessTimeTrackingPolicy `json:"lastAccessTimeTrackingPolicy,omitempty"` RestorePolicy *RestorePolicyProperties `json:"restorePolicy,omitempty"` }
type ChangeFeed ¶
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 GetServicePropertiesOperationResponse ¶
type GetServicePropertiesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BlobServiceProperties }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BlobServiceItems }
type Name ¶
type Name string
const (
NameAccessTimeTracking Name = "AccessTimeTracking"
)
func (*Name) UnmarshalJSON ¶
type RestorePolicyProperties ¶
type RestorePolicyProperties struct { Days *int64 `json:"days,omitempty"` Enabled bool `json:"enabled"` LastEnabledTime *string `json:"lastEnabledTime,omitempty"` MinRestoreTime *string `json:"minRestoreTime,omitempty"` }
func (*RestorePolicyProperties) GetLastEnabledTimeAsTime ¶
func (o *RestorePolicyProperties) GetLastEnabledTimeAsTime() (*time.Time, error)
func (*RestorePolicyProperties) GetMinRestoreTimeAsTime ¶
func (o *RestorePolicyProperties) GetMinRestoreTimeAsTime() (*time.Time, error)
func (*RestorePolicyProperties) SetLastEnabledTimeAsTime ¶
func (o *RestorePolicyProperties) SetLastEnabledTimeAsTime(input time.Time)
func (*RestorePolicyProperties) SetMinRestoreTimeAsTime ¶
func (o *RestorePolicyProperties) SetMinRestoreTimeAsTime(input time.Time)
type SetServicePropertiesOperationResponse ¶
type SetServicePropertiesOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BlobServiceProperties }
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 ¶
Source Files ¶
- client.go
- constants.go
- method_getserviceproperties.go
- method_list.go
- method_setserviceproperties.go
- model_blobserviceitems.go
- model_blobserviceproperties.go
- model_blobservicepropertiesproperties.go
- model_changefeed.go
- model_corsrule.go
- model_corsrules.go
- model_deleteretentionpolicy.go
- model_lastaccesstimetrackingpolicy.go
- model_restorepolicyproperties.go
- model_sku.go
- version.go
Click to show internal directories.
Click to hide internal directories.