Documentation ¶
Index ¶
- func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateContainerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AccountId
- type AddOperationResponse
- type AddStorageAccountParameters
- type AddStorageAccountProperties
- type ContainerId
- type DeleteOperationResponse
- type GetOperationResponse
- type GetStorageContainerOperationResponse
- type ListByAccountCompleteResult
- type ListByAccountOperationOptions
- type ListByAccountOperationResponse
- type ListSasTokensCompleteResult
- type ListSasTokensOperationResponse
- type ListStorageContainersCompleteResult
- type ListStorageContainersOperationResponse
- type SasTokenInformation
- type SasTokenInformationOperationPredicate
- type StorageAccountId
- type StorageAccountInformation
- type StorageAccountInformationOperationPredicate
- type StorageAccountInformationProperties
- type StorageAccountsClient
- func (c StorageAccountsClient) Add(ctx context.Context, id StorageAccountId, input AddStorageAccountParameters) (result AddOperationResponse, err error)
- func (c StorageAccountsClient) Delete(ctx context.Context, id StorageAccountId) (result DeleteOperationResponse, err error)
- func (c StorageAccountsClient) Get(ctx context.Context, id StorageAccountId) (result GetOperationResponse, err error)
- func (c StorageAccountsClient) GetStorageContainer(ctx context.Context, id ContainerId) (result GetStorageContainerOperationResponse, err error)
- func (c StorageAccountsClient) ListByAccount(ctx context.Context, id AccountId, options ListByAccountOperationOptions) (resp ListByAccountOperationResponse, err error)
- func (c StorageAccountsClient) ListByAccountComplete(ctx context.Context, id AccountId, options ListByAccountOperationOptions) (ListByAccountCompleteResult, error)
- func (c StorageAccountsClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, options ListByAccountOperationOptions, ...) (resp ListByAccountCompleteResult, err error)
- func (c StorageAccountsClient) ListSasTokens(ctx context.Context, id ContainerId) (resp ListSasTokensOperationResponse, err error)
- func (c StorageAccountsClient) ListSasTokensComplete(ctx context.Context, id ContainerId) (ListSasTokensCompleteResult, error)
- func (c StorageAccountsClient) ListSasTokensCompleteMatchingPredicate(ctx context.Context, id ContainerId, ...) (resp ListSasTokensCompleteResult, err error)
- func (c StorageAccountsClient) ListStorageContainers(ctx context.Context, id StorageAccountId) (resp ListStorageContainersOperationResponse, err error)
- func (c StorageAccountsClient) ListStorageContainersComplete(ctx context.Context, id StorageAccountId) (ListStorageContainersCompleteResult, error)
- func (c StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, ...) (resp ListStorageContainersCompleteResult, err error)
- func (c StorageAccountsClient) Update(ctx context.Context, id StorageAccountId, input UpdateStorageAccountParameters) (result UpdateOperationResponse, err error)
- type StorageContainer
- type StorageContainerOperationPredicate
- type StorageContainerProperties
- type UpdateOperationResponse
- type UpdateStorageAccountParameters
- type UpdateStorageAccountProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateAccountID ¶
ValidateAccountID checks that 'input' can be parsed as a Account ID
func ValidateContainerID ¶
ValidateContainerID checks that 'input' can be parsed as a Container ID
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type AccountId ¶
AccountId is a struct representing the Resource ID for a Account
func NewAccountID ¶
NewAccountID returns a new AccountId struct
func ParseAccountID ¶
ParseAccountID parses 'input' into a AccountId
func ParseAccountIDInsensitively ¶
ParseAccountIDInsensitively parses 'input' case-insensitively into a AccountId note: this method should only be used for API response data and not user input
func (AccountId) Segments ¶
func (id AccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Account ID
type AddOperationResponse ¶
type AddStorageAccountParameters ¶
type AddStorageAccountParameters struct {
Properties AddStorageAccountProperties `json:"properties"`
}
type ContainerId ¶
type ContainerId struct { SubscriptionId string ResourceGroupName string AccountName string StorageAccountName string ContainerName string }
ContainerId is a struct representing the Resource ID for a Container
func NewContainerID ¶
func NewContainerID(subscriptionId string, resourceGroupName string, accountName string, storageAccountName string, containerName string) ContainerId
NewContainerID returns a new ContainerId struct
func ParseContainerID ¶
func ParseContainerID(input string) (*ContainerId, error)
ParseContainerID parses 'input' into a ContainerId
func ParseContainerIDInsensitively ¶
func ParseContainerIDInsensitively(input string) (*ContainerId, error)
ParseContainerIDInsensitively parses 'input' case-insensitively into a ContainerId note: this method should only be used for API response data and not user input
func (ContainerId) Segments ¶
func (id ContainerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Container ID
func (ContainerId) String ¶
func (id ContainerId) String() string
String returns a human-readable description of this Container ID
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *StorageAccountInformation }
type GetStorageContainerOperationResponse ¶
type GetStorageContainerOperationResponse struct { HttpResponse *http.Response Model *StorageContainer }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct {
Items []StorageAccountInformation
}
type ListByAccountOperationOptions ¶
type ListByAccountOperationOptions struct { Count *bool Filter *string Orderby *string Select *string Skip *int64 Top *int64 }
func DefaultListByAccountOperationOptions ¶
func DefaultListByAccountOperationOptions() ListByAccountOperationOptions
type ListByAccountOperationResponse ¶
type ListByAccountOperationResponse struct { HttpResponse *http.Response Model *[]StorageAccountInformation // contains filtered or unexported fields }
func (ListByAccountOperationResponse) HasMore ¶
func (r ListByAccountOperationResponse) HasMore() bool
func (ListByAccountOperationResponse) LoadMore ¶
func (r ListByAccountOperationResponse) LoadMore(ctx context.Context) (resp ListByAccountOperationResponse, err error)
type ListSasTokensCompleteResult ¶
type ListSasTokensCompleteResult struct {
Items []SasTokenInformation
}
type ListSasTokensOperationResponse ¶
type ListSasTokensOperationResponse struct { HttpResponse *http.Response Model *[]SasTokenInformation // contains filtered or unexported fields }
func (ListSasTokensOperationResponse) HasMore ¶
func (r ListSasTokensOperationResponse) HasMore() bool
func (ListSasTokensOperationResponse) LoadMore ¶
func (r ListSasTokensOperationResponse) LoadMore(ctx context.Context) (resp ListSasTokensOperationResponse, err error)
type ListStorageContainersCompleteResult ¶
type ListStorageContainersCompleteResult struct {
Items []StorageContainer
}
type ListStorageContainersOperationResponse ¶
type ListStorageContainersOperationResponse struct { HttpResponse *http.Response Model *[]StorageContainer // contains filtered or unexported fields }
func (ListStorageContainersOperationResponse) HasMore ¶
func (r ListStorageContainersOperationResponse) HasMore() bool
func (ListStorageContainersOperationResponse) LoadMore ¶
func (r ListStorageContainersOperationResponse) LoadMore(ctx context.Context) (resp ListStorageContainersOperationResponse, err error)
type SasTokenInformation ¶
type SasTokenInformation struct {
AccessToken *string `json:"accessToken,omitempty"`
}
type SasTokenInformationOperationPredicate ¶
type SasTokenInformationOperationPredicate struct {
AccessToken *string
}
func (SasTokenInformationOperationPredicate) Matches ¶
func (p SasTokenInformationOperationPredicate) Matches(input SasTokenInformation) bool
type StorageAccountId ¶
type StorageAccountId struct { SubscriptionId string ResourceGroupName string AccountName string StorageAccountName string }
StorageAccountId is a struct representing the Resource ID for a Storage Account
func NewStorageAccountID ¶
func NewStorageAccountID(subscriptionId string, resourceGroupName string, accountName string, storageAccountName 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 StorageAccountInformation ¶
type StorageAccountInformation struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StorageAccountInformationProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type StorageAccountInformationOperationPredicate ¶
func (StorageAccountInformationOperationPredicate) Matches ¶
func (p StorageAccountInformationOperationPredicate) Matches(input StorageAccountInformation) bool
type StorageAccountInformationProperties ¶
type StorageAccountInformationProperties struct {
Suffix *string `json:"suffix,omitempty"`
}
type StorageAccountsClient ¶
type StorageAccountsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewStorageAccountsClientWithBaseURI ¶
func NewStorageAccountsClientWithBaseURI(endpoint string) StorageAccountsClient
func (StorageAccountsClient) Add ¶
func (c StorageAccountsClient) Add(ctx context.Context, id StorageAccountId, input AddStorageAccountParameters) (result AddOperationResponse, err error)
Add ...
func (StorageAccountsClient) Delete ¶
func (c StorageAccountsClient) Delete(ctx context.Context, id StorageAccountId) (result DeleteOperationResponse, err error)
Delete ...
func (StorageAccountsClient) Get ¶
func (c StorageAccountsClient) Get(ctx context.Context, id StorageAccountId) (result GetOperationResponse, err error)
Get ...
func (StorageAccountsClient) GetStorageContainer ¶
func (c StorageAccountsClient) GetStorageContainer(ctx context.Context, id ContainerId) (result GetStorageContainerOperationResponse, err error)
GetStorageContainer ...
func (StorageAccountsClient) ListByAccount ¶
func (c StorageAccountsClient) ListByAccount(ctx context.Context, id AccountId, options ListByAccountOperationOptions) (resp ListByAccountOperationResponse, err error)
ListByAccount ...
func (StorageAccountsClient) ListByAccountComplete ¶
func (c StorageAccountsClient) ListByAccountComplete(ctx context.Context, id AccountId, options ListByAccountOperationOptions) (ListByAccountCompleteResult, error)
ListByAccountComplete retrieves all of the results into a single object
func (StorageAccountsClient) ListByAccountCompleteMatchingPredicate ¶
func (c StorageAccountsClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, options ListByAccountOperationOptions, predicate StorageAccountInformationOperationPredicate) (resp ListByAccountCompleteResult, err error)
ListByAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (StorageAccountsClient) ListSasTokens ¶
func (c StorageAccountsClient) ListSasTokens(ctx context.Context, id ContainerId) (resp ListSasTokensOperationResponse, err error)
ListSasTokens ...
func (StorageAccountsClient) ListSasTokensComplete ¶
func (c StorageAccountsClient) ListSasTokensComplete(ctx context.Context, id ContainerId) (ListSasTokensCompleteResult, error)
ListSasTokensComplete retrieves all of the results into a single object
func (StorageAccountsClient) ListSasTokensCompleteMatchingPredicate ¶
func (c StorageAccountsClient) ListSasTokensCompleteMatchingPredicate(ctx context.Context, id ContainerId, predicate SasTokenInformationOperationPredicate) (resp ListSasTokensCompleteResult, err error)
ListSasTokensCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (StorageAccountsClient) ListStorageContainers ¶
func (c StorageAccountsClient) ListStorageContainers(ctx context.Context, id StorageAccountId) (resp ListStorageContainersOperationResponse, err error)
ListStorageContainers ...
func (StorageAccountsClient) ListStorageContainersComplete ¶
func (c StorageAccountsClient) ListStorageContainersComplete(ctx context.Context, id StorageAccountId) (ListStorageContainersCompleteResult, error)
ListStorageContainersComplete retrieves all of the results into a single object
func (StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate ¶
func (c StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, predicate StorageContainerOperationPredicate) (resp ListStorageContainersCompleteResult, err error)
ListStorageContainersCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (StorageAccountsClient) Update ¶
func (c StorageAccountsClient) Update(ctx context.Context, id StorageAccountId, input UpdateStorageAccountParameters) (result UpdateOperationResponse, err error)
Update ...
type StorageContainer ¶
type StorageContainer struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *StorageContainerProperties `json:"properties"` Type *string `json:"type,omitempty"` }
type StorageContainerOperationPredicate ¶
func (StorageContainerOperationPredicate) Matches ¶
func (p StorageContainerOperationPredicate) Matches(input StorageContainer) bool
type StorageContainerProperties ¶
type StorageContainerProperties struct {
LastModifiedTime *string `json:"lastModifiedTime,omitempty"`
}
func (*StorageContainerProperties) GetLastModifiedTimeAsTime ¶
func (o *StorageContainerProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*StorageContainerProperties) SetLastModifiedTimeAsTime ¶
func (o *StorageContainerProperties) SetLastModifiedTimeAsTime(input time.Time)
type UpdateOperationResponse ¶
type UpdateStorageAccountParameters ¶
type UpdateStorageAccountParameters struct {
Properties *UpdateStorageAccountProperties `json:"properties"`
}
Source Files ¶
- client.go
- id_account.go
- id_container.go
- id_storageaccount.go
- method_add_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_getstoragecontainer_autorest.go
- method_listbyaccount_autorest.go
- method_listsastokens_autorest.go
- method_liststoragecontainers_autorest.go
- method_update_autorest.go
- model_addstorageaccountparameters.go
- model_addstorageaccountproperties.go
- model_sastokeninformation.go
- model_storageaccountinformation.go
- model_storageaccountinformationproperties.go
- model_storagecontainer.go
- model_storagecontainerproperties.go
- model_updatestorageaccountparameters.go
- model_updatestorageaccountproperties.go
- predicates.go
- version.go