Documentation ¶
Index ¶
- func PossibleValuesForDataPolicy() []string
- func PossibleValuesForStorageAccountStatus() []string
- func ValidateDataBoxEdgeDeviceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateStorageAccountID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DataBoxEdgeDeviceId
- type DataPolicy
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByDataBoxEdgeDeviceCompleteResult
- type ListByDataBoxEdgeDeviceCustomPager
- type ListByDataBoxEdgeDeviceOperationResponse
- type StorageAccount
- type StorageAccountId
- type StorageAccountOperationPredicate
- type StorageAccountProperties
- type StorageAccountStatus
- type StorageAccountsClient
- func (c StorageAccountsClient) CreateOrUpdate(ctx context.Context, id StorageAccountId, input StorageAccount) (result CreateOrUpdateOperationResponse, err error)
- func (c StorageAccountsClient) CreateOrUpdateThenPoll(ctx context.Context, id StorageAccountId, input StorageAccount) error
- func (c StorageAccountsClient) Delete(ctx context.Context, id StorageAccountId) (result DeleteOperationResponse, err error)
- func (c StorageAccountsClient) DeleteThenPoll(ctx context.Context, id StorageAccountId) error
- func (c StorageAccountsClient) Get(ctx context.Context, id StorageAccountId) (result GetOperationResponse, err error)
- func (c StorageAccountsClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
- func (c StorageAccountsClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
- func (c StorageAccountsClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, ...) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDataPolicy ¶
func PossibleValuesForDataPolicy() []string
func PossibleValuesForStorageAccountStatus ¶
func PossibleValuesForStorageAccountStatus() []string
func ValidateDataBoxEdgeDeviceID ¶
ValidateDataBoxEdgeDeviceID checks that 'input' can be parsed as a Data Box Edge Device ID
func ValidateStorageAccountID ¶
ValidateStorageAccountID checks that 'input' can be parsed as a Storage Account ID
Types ¶
type DataBoxEdgeDeviceId ¶
type DataBoxEdgeDeviceId struct { SubscriptionId string ResourceGroupName string DataBoxEdgeDeviceName string }
DataBoxEdgeDeviceId is a struct representing the Resource ID for a Data Box Edge Device
func NewDataBoxEdgeDeviceID ¶
func NewDataBoxEdgeDeviceID(subscriptionId string, resourceGroupName string, dataBoxEdgeDeviceName string) DataBoxEdgeDeviceId
NewDataBoxEdgeDeviceID returns a new DataBoxEdgeDeviceId struct
func ParseDataBoxEdgeDeviceID ¶
func ParseDataBoxEdgeDeviceID(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceID parses 'input' into a DataBoxEdgeDeviceId
func ParseDataBoxEdgeDeviceIDInsensitively ¶
func ParseDataBoxEdgeDeviceIDInsensitively(input string) (*DataBoxEdgeDeviceId, error)
ParseDataBoxEdgeDeviceIDInsensitively parses 'input' case-insensitively into a DataBoxEdgeDeviceId note: this method should only be used for API response data and not user input
func (*DataBoxEdgeDeviceId) FromParseResult ¶
func (id *DataBoxEdgeDeviceId) FromParseResult(input resourceids.ParseResult) error
func (DataBoxEdgeDeviceId) ID ¶
func (id DataBoxEdgeDeviceId) ID() string
ID returns the formatted Data Box Edge Device ID
func (DataBoxEdgeDeviceId) Segments ¶
func (id DataBoxEdgeDeviceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Data Box Edge Device ID
func (DataBoxEdgeDeviceId) String ¶
func (id DataBoxEdgeDeviceId) String() string
String returns a human-readable description of this Data Box Edge Device ID
type DataPolicy ¶
type DataPolicy string
const ( DataPolicyCloud DataPolicy = "Cloud" DataPolicyLocal DataPolicy = "Local" )
func (*DataPolicy) UnmarshalJSON ¶
func (s *DataPolicy) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *StorageAccount }
type ListByDataBoxEdgeDeviceCompleteResult ¶
type ListByDataBoxEdgeDeviceCompleteResult struct { LatestHttpResponse *http.Response Items []StorageAccount }
type ListByDataBoxEdgeDeviceCustomPager ¶ added in v0.20240628.1153531
func (*ListByDataBoxEdgeDeviceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByDataBoxEdgeDeviceCustomPager) NextPageLink() *odata.Link
type ListByDataBoxEdgeDeviceOperationResponse ¶
type ListByDataBoxEdgeDeviceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]StorageAccount }
type StorageAccount ¶
type StorageAccount struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties StorageAccountProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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
type StorageAccountOperationPredicate ¶
func (StorageAccountOperationPredicate) Matches ¶
func (p StorageAccountOperationPredicate) Matches(input StorageAccount) bool
type StorageAccountProperties ¶
type StorageAccountProperties struct { BlobEndpoint *string `json:"blobEndpoint,omitempty"` ContainerCount *int64 `json:"containerCount,omitempty"` DataPolicy DataPolicy `json:"dataPolicy"` Description *string `json:"description,omitempty"` StorageAccountCredentialId *string `json:"storageAccountCredentialId,omitempty"` StorageAccountStatus *StorageAccountStatus `json:"storageAccountStatus,omitempty"` }
type StorageAccountStatus ¶
type StorageAccountStatus string
const ( StorageAccountStatusNeedsAttention StorageAccountStatus = "NeedsAttention" StorageAccountStatusOK StorageAccountStatus = "OK" StorageAccountStatusOffline StorageAccountStatus = "Offline" StorageAccountStatusUnknown StorageAccountStatus = "Unknown" StorageAccountStatusUpdating StorageAccountStatus = "Updating" )
func (*StorageAccountStatus) UnmarshalJSON ¶
func (s *StorageAccountStatus) UnmarshalJSON(bytes []byte) error
type StorageAccountsClient ¶
type StorageAccountsClient struct {
Client *resourcemanager.Client
}
func NewStorageAccountsClientWithBaseURI ¶
func NewStorageAccountsClientWithBaseURI(sdkApi sdkEnv.Api) (*StorageAccountsClient, error)
func (StorageAccountsClient) CreateOrUpdate ¶
func (c StorageAccountsClient) CreateOrUpdate(ctx context.Context, id StorageAccountId, input StorageAccount) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (StorageAccountsClient) CreateOrUpdateThenPoll ¶
func (c StorageAccountsClient) CreateOrUpdateThenPoll(ctx context.Context, id StorageAccountId, input StorageAccount) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (StorageAccountsClient) Delete ¶
func (c StorageAccountsClient) Delete(ctx context.Context, id StorageAccountId) (result DeleteOperationResponse, err error)
Delete ...
func (StorageAccountsClient) DeleteThenPoll ¶
func (c StorageAccountsClient) DeleteThenPoll(ctx context.Context, id StorageAccountId) error
DeleteThenPoll performs Delete then polls until it's completed
func (StorageAccountsClient) Get ¶
func (c StorageAccountsClient) Get(ctx context.Context, id StorageAccountId) (result GetOperationResponse, err error)
Get ...
func (StorageAccountsClient) ListByDataBoxEdgeDevice ¶
func (c StorageAccountsClient) ListByDataBoxEdgeDevice(ctx context.Context, id DataBoxEdgeDeviceId) (result ListByDataBoxEdgeDeviceOperationResponse, err error)
ListByDataBoxEdgeDevice ...
func (StorageAccountsClient) ListByDataBoxEdgeDeviceComplete ¶
func (c StorageAccountsClient) ListByDataBoxEdgeDeviceComplete(ctx context.Context, id DataBoxEdgeDeviceId) (ListByDataBoxEdgeDeviceCompleteResult, error)
ListByDataBoxEdgeDeviceComplete retrieves all the results into a single object
func (StorageAccountsClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate ¶
func (c StorageAccountsClient) ListByDataBoxEdgeDeviceCompleteMatchingPredicate(ctx context.Context, id DataBoxEdgeDeviceId, predicate StorageAccountOperationPredicate) (result ListByDataBoxEdgeDeviceCompleteResult, err error)
ListByDataBoxEdgeDeviceCompleteMatchingPredicate retrieves all the results and then applies the predicate