Documentation ¶
Index ¶
- func PossibleValuesForAzureContainerDataFormat() []string
- func PossibleValuesForContainerStatus() []string
- func ValidateContainerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AzureContainerDataFormat
- type Container
- type ContainerId
- type ContainerOperationPredicate
- type ContainerProperties
- type ContainerStatus
- type ContainersClient
- func (c ContainersClient) CreateOrUpdate(ctx context.Context, id ContainerId, input Container) (result CreateOrUpdateOperationResponse, err error)
- func (c ContainersClient) CreateOrUpdateThenPoll(ctx context.Context, id ContainerId, input Container) error
- func (c ContainersClient) Delete(ctx context.Context, id ContainerId) (result DeleteOperationResponse, err error)
- func (c ContainersClient) DeleteThenPoll(ctx context.Context, id ContainerId) error
- func (c ContainersClient) Get(ctx context.Context, id ContainerId) (result GetOperationResponse, err error)
- func (c ContainersClient) ListByStorageAccount(ctx context.Context, id StorageAccountId) (result ListByStorageAccountOperationResponse, err error)
- func (c ContainersClient) ListByStorageAccountComplete(ctx context.Context, id StorageAccountId) (ListByStorageAccountCompleteResult, error)
- func (c ContainersClient) ListByStorageAccountCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, ...) (result ListByStorageAccountCompleteResult, err error)
- func (c ContainersClient) Refresh(ctx context.Context, id ContainerId) (result RefreshOperationResponse, err error)
- func (c ContainersClient) RefreshThenPoll(ctx context.Context, id ContainerId) error
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByStorageAccountCompleteResult
- type ListByStorageAccountCustomPager
- type ListByStorageAccountOperationResponse
- type RefreshDetails
- type RefreshOperationResponse
- type StorageAccountId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAzureContainerDataFormat ¶
func PossibleValuesForAzureContainerDataFormat() []string
func PossibleValuesForContainerStatus ¶
func PossibleValuesForContainerStatus() []string
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 AzureContainerDataFormat ¶
type AzureContainerDataFormat string
const ( AzureContainerDataFormatAzureFile AzureContainerDataFormat = "AzureFile" AzureContainerDataFormatBlockBlob AzureContainerDataFormat = "BlockBlob" AzureContainerDataFormatPageBlob AzureContainerDataFormat = "PageBlob" )
func (*AzureContainerDataFormat) UnmarshalJSON ¶
func (s *AzureContainerDataFormat) UnmarshalJSON(bytes []byte) error
type Container ¶
type Container struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties ContainerProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ContainerId ¶
type ContainerId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string StorageAccountName string ContainerName string }
ContainerId is a struct representing the Resource ID for a Container
func NewContainerID ¶
func NewContainerID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName 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 ContainerOperationPredicate ¶
func (ContainerOperationPredicate) Matches ¶
func (p ContainerOperationPredicate) Matches(input Container) bool
type ContainerProperties ¶
type ContainerProperties struct { ContainerStatus *ContainerStatus `json:"containerStatus,omitempty"` CreatedDateTime *string `json:"createdDateTime,omitempty"` DataFormat AzureContainerDataFormat `json:"dataFormat"` RefreshDetails *RefreshDetails `json:"refreshDetails,omitempty"` }
func (*ContainerProperties) GetCreatedDateTimeAsTime ¶
func (o *ContainerProperties) GetCreatedDateTimeAsTime() (*time.Time, error)
func (*ContainerProperties) SetCreatedDateTimeAsTime ¶
func (o *ContainerProperties) SetCreatedDateTimeAsTime(input time.Time)
type ContainerStatus ¶
type ContainerStatus string
const ( ContainerStatusNeedsAttention ContainerStatus = "NeedsAttention" ContainerStatusOK ContainerStatus = "OK" ContainerStatusOffline ContainerStatus = "Offline" ContainerStatusUnknown ContainerStatus = "Unknown" ContainerStatusUpdating ContainerStatus = "Updating" )
func (*ContainerStatus) UnmarshalJSON ¶
func (s *ContainerStatus) UnmarshalJSON(bytes []byte) error
type ContainersClient ¶
type ContainersClient struct {
Client *resourcemanager.Client
}
func NewContainersClientWithBaseURI ¶
func NewContainersClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainersClient, error)
func (ContainersClient) CreateOrUpdate ¶
func (c ContainersClient) CreateOrUpdate(ctx context.Context, id ContainerId, input Container) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ContainersClient) CreateOrUpdateThenPoll ¶
func (c ContainersClient) CreateOrUpdateThenPoll(ctx context.Context, id ContainerId, input Container) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ContainersClient) Delete ¶
func (c ContainersClient) Delete(ctx context.Context, id ContainerId) (result DeleteOperationResponse, err error)
Delete ...
func (ContainersClient) DeleteThenPoll ¶
func (c ContainersClient) DeleteThenPoll(ctx context.Context, id ContainerId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ContainersClient) Get ¶
func (c ContainersClient) Get(ctx context.Context, id ContainerId) (result GetOperationResponse, err error)
Get ...
func (ContainersClient) ListByStorageAccount ¶
func (c ContainersClient) ListByStorageAccount(ctx context.Context, id StorageAccountId) (result ListByStorageAccountOperationResponse, err error)
ListByStorageAccount ...
func (ContainersClient) ListByStorageAccountComplete ¶
func (c ContainersClient) ListByStorageAccountComplete(ctx context.Context, id StorageAccountId) (ListByStorageAccountCompleteResult, error)
ListByStorageAccountComplete retrieves all the results into a single object
func (ContainersClient) ListByStorageAccountCompleteMatchingPredicate ¶
func (c ContainersClient) ListByStorageAccountCompleteMatchingPredicate(ctx context.Context, id StorageAccountId, predicate ContainerOperationPredicate) (result ListByStorageAccountCompleteResult, err error)
ListByStorageAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ContainersClient) Refresh ¶
func (c ContainersClient) Refresh(ctx context.Context, id ContainerId) (result RefreshOperationResponse, err error)
Refresh ...
func (ContainersClient) RefreshThenPoll ¶
func (c ContainersClient) RefreshThenPoll(ctx context.Context, id ContainerId) error
RefreshThenPoll performs Refresh then polls until it's completed
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByStorageAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByStorageAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByStorageAccountCustomPager) NextPageLink() *odata.Link
type RefreshDetails ¶
type RefreshDetails struct { ErrorManifestFile *string `json:"errorManifestFile,omitempty"` InProgressRefreshJobId *string `json:"inProgressRefreshJobId,omitempty"` LastCompletedRefreshJobTimeInUTC *string `json:"lastCompletedRefreshJobTimeInUTC,omitempty"` LastJob *string `json:"lastJob,omitempty"` }
func (*RefreshDetails) GetLastCompletedRefreshJobTimeInUTCAsTime ¶
func (o *RefreshDetails) GetLastCompletedRefreshJobTimeInUTCAsTime() (*time.Time, error)
func (*RefreshDetails) SetLastCompletedRefreshJobTimeInUTCAsTime ¶
func (o *RefreshDetails) SetLastCompletedRefreshJobTimeInUTCAsTime(input time.Time)
type StorageAccountId ¶
type StorageAccountId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string StorageAccountName string }
StorageAccountId is a struct representing the Resource ID for a Storage Account
func NewStorageAccountID ¶
func NewStorageAccountID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName 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