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 ListByAccountCustomPager
- type ListByAccountOperationOptions
- type ListByAccountOperationResponse
- type ListSasTokensCompleteResult
- type ListSasTokensCustomPager
- type ListSasTokensOperationResponse
- type ListStorageContainersCompleteResult
- type ListStorageContainersCustomPager
- 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) (result 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, ...) (result ListByAccountCompleteResult, err error)
- func (c StorageAccountsClient) ListSasTokens(ctx context.Context, id ContainerId) (result ListSasTokensOperationResponse, err error)
- func (c StorageAccountsClient) ListSasTokensComplete(ctx context.Context, id ContainerId) (ListSasTokensCompleteResult, error)
- func (c StorageAccountsClient) ListSasTokensCompleteMatchingPredicate(ctx context.Context, id ContainerId, ...) (result ListSasTokensCompleteResult, err error)
- func (c StorageAccountsClient) ListStorageContainers(ctx context.Context, id StorageAccountId) (result ListStorageContainersOperationResponse, err error)
- func (c StorageAccountsClient) ListStorageContainersComplete(ctx context.Context, id StorageAccountId) (ListStorageContainersCompleteResult, error)
- func (c StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, ...) (result 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) FromParseResult ¶
func (id *AccountId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *ContainerId) FromParseResult(input resourceids.ParseResult) error
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 OData *odata.OData Model *StorageAccountInformation }
type GetStorageContainerOperationResponse ¶
type GetStorageContainerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StorageContainer }
type ListByAccountCompleteResult ¶
type ListByAccountCompleteResult struct { LatestHttpResponse *http.Response Items []StorageAccountInformation }
type ListByAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByAccountCustomPager) NextPageLink() *odata.Link
type ListByAccountOperationOptions ¶
type ListByAccountOperationOptions struct { Count *bool Filter *string Orderby *string Select *string Skip *int64 Top *int64 }
func DefaultListByAccountOperationOptions ¶
func DefaultListByAccountOperationOptions() ListByAccountOperationOptions
func (ListByAccountOperationOptions) ToHeaders ¶
func (o ListByAccountOperationOptions) ToHeaders() *client.Headers
func (ListByAccountOperationOptions) ToOData ¶
func (o ListByAccountOperationOptions) ToOData() *odata.Query
func (ListByAccountOperationOptions) ToQuery ¶
func (o ListByAccountOperationOptions) ToQuery() *client.QueryParams
type ListByAccountOperationResponse ¶
type ListByAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StorageAccountInformation }
type ListSasTokensCompleteResult ¶
type ListSasTokensCompleteResult struct { LatestHttpResponse *http.Response Items []SasTokenInformation }
type ListSasTokensCustomPager ¶ added in v0.20240628.1153531
func (*ListSasTokensCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListSasTokensCustomPager) NextPageLink() *odata.Link
type ListSasTokensOperationResponse ¶
type ListSasTokensOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SasTokenInformation }
type ListStorageContainersCompleteResult ¶
type ListStorageContainersCompleteResult struct { LatestHttpResponse *http.Response Items []StorageContainer }
type ListStorageContainersCustomPager ¶ added in v0.20240628.1153531
func (*ListStorageContainersCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListStorageContainersCustomPager) NextPageLink() *odata.Link
type ListStorageContainersOperationResponse ¶
type ListStorageContainersOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StorageContainer }
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) FromParseResult ¶
func (id *StorageAccountId) FromParseResult(input resourceids.ParseResult) error
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,omitempty"` 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 *resourcemanager.Client
}
func NewStorageAccountsClientWithBaseURI ¶
func NewStorageAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*StorageAccountsClient, error)
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) (result ListByAccountOperationResponse, err error)
ListByAccount ...
func (StorageAccountsClient) ListByAccountComplete ¶
func (c StorageAccountsClient) ListByAccountComplete(ctx context.Context, id AccountId, options ListByAccountOperationOptions) (ListByAccountCompleteResult, error)
ListByAccountComplete retrieves all the results into a single object
func (StorageAccountsClient) ListByAccountCompleteMatchingPredicate ¶
func (c StorageAccountsClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, options ListByAccountOperationOptions, predicate StorageAccountInformationOperationPredicate) (result ListByAccountCompleteResult, err error)
ListByAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StorageAccountsClient) ListSasTokens ¶
func (c StorageAccountsClient) ListSasTokens(ctx context.Context, id ContainerId) (result ListSasTokensOperationResponse, err error)
ListSasTokens ...
func (StorageAccountsClient) ListSasTokensComplete ¶
func (c StorageAccountsClient) ListSasTokensComplete(ctx context.Context, id ContainerId) (ListSasTokensCompleteResult, error)
ListSasTokensComplete retrieves all the results into a single object
func (StorageAccountsClient) ListSasTokensCompleteMatchingPredicate ¶
func (c StorageAccountsClient) ListSasTokensCompleteMatchingPredicate(ctx context.Context, id ContainerId, predicate SasTokenInformationOperationPredicate) (result ListSasTokensCompleteResult, err error)
ListSasTokensCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (StorageAccountsClient) ListStorageContainers ¶
func (c StorageAccountsClient) ListStorageContainers(ctx context.Context, id StorageAccountId) (result ListStorageContainersOperationResponse, err error)
ListStorageContainers ...
func (StorageAccountsClient) ListStorageContainersComplete ¶
func (c StorageAccountsClient) ListStorageContainersComplete(ctx context.Context, id StorageAccountId) (ListStorageContainersCompleteResult, error)
ListStorageContainersComplete retrieves all the results into a single object
func (StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate ¶
func (c StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, predicate StorageContainerOperationPredicate) (result ListStorageContainersCompleteResult, err error)
ListStorageContainersCompleteMatchingPredicate retrieves all the results and then applies 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,omitempty"` 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,omitempty"`
}
Source Files ¶
- client.go
- id_account.go
- id_container.go
- id_storageaccount.go
- method_add.go
- method_delete.go
- method_get.go
- method_getstoragecontainer.go
- method_listbyaccount.go
- method_listsastokens.go
- method_liststoragecontainers.go
- method_update.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