Documentation ¶
Index ¶
- func ValidateBackupVaultID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNetAppAccountID(input interface{}, key string) (warnings []string, errors []error)
- type BackupVault
- type BackupVaultId
- type BackupVaultOperationPredicate
- type BackupVaultPatch
- type BackupVaultProperties
- type BackupVaultsClient
- func (c BackupVaultsClient) CreateOrUpdate(ctx context.Context, id BackupVaultId, input BackupVault) (result CreateOrUpdateOperationResponse, err error)
- func (c BackupVaultsClient) CreateOrUpdateThenPoll(ctx context.Context, id BackupVaultId, input BackupVault) error
- func (c BackupVaultsClient) Delete(ctx context.Context, id BackupVaultId) (result DeleteOperationResponse, err error)
- func (c BackupVaultsClient) DeleteThenPoll(ctx context.Context, id BackupVaultId) error
- func (c BackupVaultsClient) Get(ctx context.Context, id BackupVaultId) (result GetOperationResponse, err error)
- func (c BackupVaultsClient) ListByNetAppAccount(ctx context.Context, id NetAppAccountId) (result ListByNetAppAccountOperationResponse, err error)
- func (c BackupVaultsClient) ListByNetAppAccountComplete(ctx context.Context, id NetAppAccountId) (ListByNetAppAccountCompleteResult, error)
- func (c BackupVaultsClient) ListByNetAppAccountCompleteMatchingPredicate(ctx context.Context, id NetAppAccountId, ...) (result ListByNetAppAccountCompleteResult, err error)
- func (c BackupVaultsClient) Update(ctx context.Context, id BackupVaultId, input BackupVaultPatch) (result UpdateOperationResponse, err error)
- func (c BackupVaultsClient) UpdateThenPoll(ctx context.Context, id BackupVaultId, input BackupVaultPatch) error
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByNetAppAccountCompleteResult
- type ListByNetAppAccountCustomPager
- type ListByNetAppAccountOperationResponse
- type NetAppAccountId
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBackupVaultID ¶
ValidateBackupVaultID checks that 'input' can be parsed as a Backup Vault ID
func ValidateNetAppAccountID ¶
ValidateNetAppAccountID checks that 'input' can be parsed as a Net App Account ID
Types ¶
type BackupVault ¶
type BackupVault struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *BackupVaultProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BackupVaultId ¶
type BackupVaultId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string BackupVaultName string }
BackupVaultId is a struct representing the Resource ID for a Backup Vault
func NewBackupVaultID ¶
func NewBackupVaultID(subscriptionId string, resourceGroupName string, netAppAccountName string, backupVaultName string) BackupVaultId
NewBackupVaultID returns a new BackupVaultId struct
func ParseBackupVaultID ¶
func ParseBackupVaultID(input string) (*BackupVaultId, error)
ParseBackupVaultID parses 'input' into a BackupVaultId
func ParseBackupVaultIDInsensitively ¶
func ParseBackupVaultIDInsensitively(input string) (*BackupVaultId, error)
ParseBackupVaultIDInsensitively parses 'input' case-insensitively into a BackupVaultId note: this method should only be used for API response data and not user input
func (*BackupVaultId) FromParseResult ¶
func (id *BackupVaultId) FromParseResult(input resourceids.ParseResult) error
func (BackupVaultId) ID ¶
func (id BackupVaultId) ID() string
ID returns the formatted Backup Vault ID
func (BackupVaultId) Segments ¶
func (id BackupVaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Vault ID
func (BackupVaultId) String ¶
func (id BackupVaultId) String() string
String returns a human-readable description of this Backup Vault ID
type BackupVaultOperationPredicate ¶
func (BackupVaultOperationPredicate) Matches ¶
func (p BackupVaultOperationPredicate) Matches(input BackupVault) bool
type BackupVaultPatch ¶
type BackupVaultProperties ¶
type BackupVaultProperties struct {
ProvisioningState *string `json:"provisioningState,omitempty"`
}
type BackupVaultsClient ¶
type BackupVaultsClient struct {
Client *resourcemanager.Client
}
func NewBackupVaultsClientWithBaseURI ¶
func NewBackupVaultsClientWithBaseURI(sdkApi sdkEnv.Api) (*BackupVaultsClient, error)
func (BackupVaultsClient) CreateOrUpdate ¶
func (c BackupVaultsClient) CreateOrUpdate(ctx context.Context, id BackupVaultId, input BackupVault) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BackupVaultsClient) CreateOrUpdateThenPoll ¶
func (c BackupVaultsClient) CreateOrUpdateThenPoll(ctx context.Context, id BackupVaultId, input BackupVault) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (BackupVaultsClient) Delete ¶
func (c BackupVaultsClient) Delete(ctx context.Context, id BackupVaultId) (result DeleteOperationResponse, err error)
Delete ...
func (BackupVaultsClient) DeleteThenPoll ¶
func (c BackupVaultsClient) DeleteThenPoll(ctx context.Context, id BackupVaultId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BackupVaultsClient) Get ¶
func (c BackupVaultsClient) Get(ctx context.Context, id BackupVaultId) (result GetOperationResponse, err error)
Get ...
func (BackupVaultsClient) ListByNetAppAccount ¶
func (c BackupVaultsClient) ListByNetAppAccount(ctx context.Context, id NetAppAccountId) (result ListByNetAppAccountOperationResponse, err error)
ListByNetAppAccount ...
func (BackupVaultsClient) ListByNetAppAccountComplete ¶
func (c BackupVaultsClient) ListByNetAppAccountComplete(ctx context.Context, id NetAppAccountId) (ListByNetAppAccountCompleteResult, error)
ListByNetAppAccountComplete retrieves all the results into a single object
func (BackupVaultsClient) ListByNetAppAccountCompleteMatchingPredicate ¶
func (c BackupVaultsClient) ListByNetAppAccountCompleteMatchingPredicate(ctx context.Context, id NetAppAccountId, predicate BackupVaultOperationPredicate) (result ListByNetAppAccountCompleteResult, err error)
ListByNetAppAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BackupVaultsClient) Update ¶
func (c BackupVaultsClient) Update(ctx context.Context, id BackupVaultId, input BackupVaultPatch) (result UpdateOperationResponse, err error)
Update ...
func (BackupVaultsClient) UpdateThenPoll ¶
func (c BackupVaultsClient) UpdateThenPoll(ctx context.Context, id BackupVaultId, input BackupVaultPatch) error
UpdateThenPoll performs Update then polls until it's completed
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BackupVault }
type ListByNetAppAccountCompleteResult ¶
type ListByNetAppAccountCompleteResult struct { LatestHttpResponse *http.Response Items []BackupVault }
type ListByNetAppAccountCustomPager ¶
func (*ListByNetAppAccountCustomPager) NextPageLink ¶
func (p *ListByNetAppAccountCustomPager) NextPageLink() *odata.Link
type ListByNetAppAccountOperationResponse ¶
type ListByNetAppAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BackupVault }
type NetAppAccountId ¶
type NetAppAccountId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string }
NetAppAccountId is a struct representing the Resource ID for a Net App Account
func NewNetAppAccountID ¶
func NewNetAppAccountID(subscriptionId string, resourceGroupName string, netAppAccountName string) NetAppAccountId
NewNetAppAccountID returns a new NetAppAccountId struct
func ParseNetAppAccountID ¶
func ParseNetAppAccountID(input string) (*NetAppAccountId, error)
ParseNetAppAccountID parses 'input' into a NetAppAccountId
func ParseNetAppAccountIDInsensitively ¶
func ParseNetAppAccountIDInsensitively(input string) (*NetAppAccountId, error)
ParseNetAppAccountIDInsensitively parses 'input' case-insensitively into a NetAppAccountId note: this method should only be used for API response data and not user input
func (*NetAppAccountId) FromParseResult ¶
func (id *NetAppAccountId) FromParseResult(input resourceids.ParseResult) error
func (NetAppAccountId) ID ¶
func (id NetAppAccountId) ID() string
ID returns the formatted Net App Account ID
func (NetAppAccountId) Segments ¶
func (id NetAppAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Net App Account ID
func (NetAppAccountId) String ¶
func (id NetAppAccountId) String() string
String returns a human-readable description of this Net App Account ID