storageaccounts

package
v2.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAccountID

func ValidateAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateAccountID checks that 'input' can be parsed as a Account ID

func ValidateContainerID

func ValidateContainerID(input interface{}, key string) (warnings []string, errors []error)

ValidateContainerID checks that 'input' can be parsed as a Container ID

func ValidateStorageAccountID

func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID

Types

type AccountId

type AccountId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

AccountId is a struct representing the Resource ID for a Account

func NewAccountID

func NewAccountID(subscriptionId string, resourceGroupName string, accountName string) AccountId

NewAccountID returns a new AccountId struct

func ParseAccountID

func ParseAccountID(input string) (*AccountId, error)

ParseAccountID parses 'input' into a AccountId

func ParseAccountIDInsensitively

func ParseAccountIDInsensitively(input string) (*AccountId, error)

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) ID

func (id AccountId) ID() string

ID returns the formatted Account ID

func (AccountId) Segments

func (id AccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Account ID

func (AccountId) String

func (id AccountId) String() string

String returns a human-readable description of this Account ID

type AddResponse

type AddResponse struct {
	HttpResponse *http.Response
}

type AddStorageAccountParameters

type AddStorageAccountParameters struct {
	Properties AddStorageAccountProperties `json:"properties"`
}

type AddStorageAccountProperties

type AddStorageAccountProperties struct {
	AccessKey string  `json:"accessKey"`
	Suffix    *string `json:"suffix,omitempty"`
}

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) ID

func (id ContainerId) ID() string

ID returns the formatted Container ID

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 DeleteResponse

type DeleteResponse struct {
	HttpResponse *http.Response
}

type GetResponse

type GetResponse struct {
	HttpResponse *http.Response
	Model        *StorageAccountInformation
}

type GetStorageContainerResponse

type GetStorageContainerResponse struct {
	HttpResponse *http.Response
	Model        *StorageContainer
}

type ListByAccountCompleteResult

type ListByAccountCompleteResult struct {
	Items []StorageAccountInformation
}

type ListByAccountOptions

type ListByAccountOptions struct {
	Count   *bool
	Filter  *string
	Orderby *string
	Select  *string
	Skip    *int64
	Top     *int64
}

func DefaultListByAccountOptions

func DefaultListByAccountOptions() ListByAccountOptions

type ListByAccountResponse

type ListByAccountResponse struct {
	HttpResponse *http.Response
	Model        *[]StorageAccountInformation
	// contains filtered or unexported fields
}

func (ListByAccountResponse) HasMore

func (r ListByAccountResponse) HasMore() bool

func (ListByAccountResponse) LoadMore

func (r ListByAccountResponse) LoadMore(ctx context.Context) (resp ListByAccountResponse, err error)

type ListSasTokensCompleteResult

type ListSasTokensCompleteResult struct {
	Items []SasTokenInformation
}

type ListSasTokensResponse

type ListSasTokensResponse struct {
	HttpResponse *http.Response
	Model        *[]SasTokenInformation
	// contains filtered or unexported fields
}

func (ListSasTokensResponse) HasMore

func (r ListSasTokensResponse) HasMore() bool

func (ListSasTokensResponse) LoadMore

func (r ListSasTokensResponse) LoadMore(ctx context.Context) (resp ListSasTokensResponse, err error)

type ListStorageContainersCompleteResult

type ListStorageContainersCompleteResult struct {
	Items []StorageContainer
}

type ListStorageContainersResponse

type ListStorageContainersResponse struct {
	HttpResponse *http.Response
	Model        *[]StorageContainer
	// contains filtered or unexported fields
}

func (ListStorageContainersResponse) HasMore

func (r ListStorageContainersResponse) HasMore() bool

func (ListStorageContainersResponse) LoadMore

type SasTokenInformation

type SasTokenInformation struct {
	AccessToken *string `json:"accessToken,omitempty"`
}

type SasTokenInformationPredicate

type SasTokenInformationPredicate struct {
	AccessToken *string
}

func (SasTokenInformationPredicate) Matches

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,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type StorageAccountInformationPredicate

type StorageAccountInformationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (StorageAccountInformationPredicate) Matches

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

Add ...

func (StorageAccountsClient) Delete

Delete ...

func (StorageAccountsClient) Get

Get ...

func (StorageAccountsClient) GetStorageContainer

func (c StorageAccountsClient) GetStorageContainer(ctx context.Context, id ContainerId) (result GetStorageContainerResponse, err error)

GetStorageContainer ...

func (StorageAccountsClient) ListByAccount

func (c StorageAccountsClient) ListByAccount(ctx context.Context, id AccountId, options ListByAccountOptions) (resp ListByAccountResponse, err error)

ListByAccount ...

func (StorageAccountsClient) ListByAccountComplete

ListByAccountComplete retrieves all of the results into a single object

func (StorageAccountsClient) ListByAccountCompleteMatchingPredicate

func (c StorageAccountsClient) ListByAccountCompleteMatchingPredicate(ctx context.Context, id AccountId, options ListByAccountOptions, predicate StorageAccountInformationPredicate) (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 ListSasTokensResponse, err error)

ListSasTokens ...

func (StorageAccountsClient) ListSasTokensComplete

ListSasTokensComplete retrieves all of the results into a single object

func (StorageAccountsClient) ListSasTokensCompleteMatchingPredicate

func (c StorageAccountsClient) ListSasTokensCompleteMatchingPredicate(ctx context.Context, id ContainerId, predicate SasTokenInformationPredicate) (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 ListStorageContainersResponse, err error)

ListStorageContainers ...

func (StorageAccountsClient) ListStorageContainersComplete

ListStorageContainersComplete retrieves all of the results into a single object

func (StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate

func (c StorageAccountsClient) ListStorageContainersCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, predicate StorageContainerPredicate) (resp ListStorageContainersCompleteResult, err error)

ListStorageContainersCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (StorageAccountsClient) Update

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 StorageContainerPredicate

type StorageContainerPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (StorageContainerPredicate) Matches

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 UpdateResponse

type UpdateResponse struct {
	HttpResponse *http.Response
}

type UpdateStorageAccountParameters

type UpdateStorageAccountParameters struct {
	Properties *UpdateStorageAccountProperties `json:"properties,omitempty"`
}

type UpdateStorageAccountProperties

type UpdateStorageAccountProperties struct {
	AccessKey *string `json:"accessKey,omitempty"`
	Suffix    *string `json:"suffix,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL