Documentation ¶
Index ¶
- func ValidateBackupPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNetAppAccountID(input interface{}, key string) (warnings []string, errors []error)
- type BackupPoliciesCreateOperationResponse
- type BackupPoliciesDeleteOperationResponse
- type BackupPoliciesGetOperationResponse
- type BackupPoliciesList
- type BackupPoliciesListOperationResponse
- type BackupPoliciesUpdateOperationResponse
- type BackupPolicy
- type BackupPolicyClient
- func (c BackupPolicyClient) BackupPoliciesCreate(ctx context.Context, id BackupPolicyId, input BackupPolicy) (result BackupPoliciesCreateOperationResponse, err error)
- func (c BackupPolicyClient) BackupPoliciesCreateThenPoll(ctx context.Context, id BackupPolicyId, input BackupPolicy) error
- func (c BackupPolicyClient) BackupPoliciesDelete(ctx context.Context, id BackupPolicyId) (result BackupPoliciesDeleteOperationResponse, err error)
- func (c BackupPolicyClient) BackupPoliciesDeleteThenPoll(ctx context.Context, id BackupPolicyId) error
- func (c BackupPolicyClient) BackupPoliciesGet(ctx context.Context, id BackupPolicyId) (result BackupPoliciesGetOperationResponse, err error)
- func (c BackupPolicyClient) BackupPoliciesList(ctx context.Context, id NetAppAccountId) (result BackupPoliciesListOperationResponse, err error)
- func (c BackupPolicyClient) BackupPoliciesUpdate(ctx context.Context, id BackupPolicyId, input BackupPolicyPatch) (result BackupPoliciesUpdateOperationResponse, err error)
- func (c BackupPolicyClient) BackupPoliciesUpdateThenPoll(ctx context.Context, id BackupPolicyId, input BackupPolicyPatch) error
- type BackupPolicyId
- type BackupPolicyPatch
- type BackupPolicyProperties
- type NetAppAccountId
- type VolumeBackups
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBackupPolicyID ¶
ValidateBackupPolicyID checks that 'input' can be parsed as a Backup Policy ID
func ValidateNetAppAccountID ¶
ValidateNetAppAccountID checks that 'input' can be parsed as a Net App Account ID
Types ¶
type BackupPoliciesCreateOperationResponse ¶
type BackupPoliciesCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type BackupPoliciesDeleteOperationResponse ¶
type BackupPoliciesDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type BackupPoliciesGetOperationResponse ¶
type BackupPoliciesGetOperationResponse struct { HttpResponse *http.Response Model *BackupPolicy }
type BackupPoliciesList ¶
type BackupPoliciesList struct {
Value *[]BackupPolicy `json:"value,omitempty"`
}
type BackupPoliciesListOperationResponse ¶
type BackupPoliciesListOperationResponse struct { HttpResponse *http.Response Model *BackupPoliciesList }
type BackupPoliciesUpdateOperationResponse ¶
type BackupPoliciesUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type BackupPolicy ¶
type BackupPolicy struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties BackupPolicyProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BackupPolicyClient ¶
func NewBackupPolicyClientWithBaseURI ¶
func NewBackupPolicyClientWithBaseURI(endpoint string) BackupPolicyClient
func (BackupPolicyClient) BackupPoliciesCreate ¶
func (c BackupPolicyClient) BackupPoliciesCreate(ctx context.Context, id BackupPolicyId, input BackupPolicy) (result BackupPoliciesCreateOperationResponse, err error)
BackupPoliciesCreate ...
func (BackupPolicyClient) BackupPoliciesCreateThenPoll ¶
func (c BackupPolicyClient) BackupPoliciesCreateThenPoll(ctx context.Context, id BackupPolicyId, input BackupPolicy) error
BackupPoliciesCreateThenPoll performs BackupPoliciesCreate then polls until it's completed
func (BackupPolicyClient) BackupPoliciesDelete ¶
func (c BackupPolicyClient) BackupPoliciesDelete(ctx context.Context, id BackupPolicyId) (result BackupPoliciesDeleteOperationResponse, err error)
BackupPoliciesDelete ...
func (BackupPolicyClient) BackupPoliciesDeleteThenPoll ¶
func (c BackupPolicyClient) BackupPoliciesDeleteThenPoll(ctx context.Context, id BackupPolicyId) error
BackupPoliciesDeleteThenPoll performs BackupPoliciesDelete then polls until it's completed
func (BackupPolicyClient) BackupPoliciesGet ¶
func (c BackupPolicyClient) BackupPoliciesGet(ctx context.Context, id BackupPolicyId) (result BackupPoliciesGetOperationResponse, err error)
BackupPoliciesGet ...
func (BackupPolicyClient) BackupPoliciesList ¶
func (c BackupPolicyClient) BackupPoliciesList(ctx context.Context, id NetAppAccountId) (result BackupPoliciesListOperationResponse, err error)
BackupPoliciesList ...
func (BackupPolicyClient) BackupPoliciesUpdate ¶
func (c BackupPolicyClient) BackupPoliciesUpdate(ctx context.Context, id BackupPolicyId, input BackupPolicyPatch) (result BackupPoliciesUpdateOperationResponse, err error)
BackupPoliciesUpdate ...
func (BackupPolicyClient) BackupPoliciesUpdateThenPoll ¶
func (c BackupPolicyClient) BackupPoliciesUpdateThenPoll(ctx context.Context, id BackupPolicyId, input BackupPolicyPatch) error
BackupPoliciesUpdateThenPoll performs BackupPoliciesUpdate then polls until it's completed
type BackupPolicyId ¶
type BackupPolicyId struct { SubscriptionId string ResourceGroupName string AccountName string BackupPolicyName string }
BackupPolicyId is a struct representing the Resource ID for a Backup Policy
func NewBackupPolicyID ¶
func NewBackupPolicyID(subscriptionId string, resourceGroupName string, accountName string, backupPolicyName string) BackupPolicyId
NewBackupPolicyID returns a new BackupPolicyId struct
func ParseBackupPolicyID ¶
func ParseBackupPolicyID(input string) (*BackupPolicyId, error)
ParseBackupPolicyID parses 'input' into a BackupPolicyId
func ParseBackupPolicyIDInsensitively ¶
func ParseBackupPolicyIDInsensitively(input string) (*BackupPolicyId, error)
ParseBackupPolicyIDInsensitively parses 'input' case-insensitively into a BackupPolicyId note: this method should only be used for API response data and not user input
func (BackupPolicyId) ID ¶
func (id BackupPolicyId) ID() string
ID returns the formatted Backup Policy ID
func (BackupPolicyId) Segments ¶
func (id BackupPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Backup Policy ID
func (BackupPolicyId) String ¶
func (id BackupPolicyId) String() string
String returns a human-readable description of this Backup Policy ID
type BackupPolicyPatch ¶
type BackupPolicyProperties ¶
type BackupPolicyProperties struct { BackupPolicyId *string `json:"backupPolicyId,omitempty"` DailyBackupsToKeep *int64 `json:"dailyBackupsToKeep,omitempty"` Enabled *bool `json:"enabled,omitempty"` MonthlyBackupsToKeep *int64 `json:"monthlyBackupsToKeep,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` VolumeBackups *[]VolumeBackups `json:"volumeBackups,omitempty"` VolumesAssigned *int64 `json:"volumesAssigned,omitempty"` WeeklyBackupsToKeep *int64 `json:"weeklyBackupsToKeep,omitempty"` }
type NetAppAccountId ¶
NetAppAccountId is a struct representing the Resource ID for a Net App Account
func NewNetAppAccountID ¶
func NewNetAppAccountID(subscriptionId string, resourceGroupName string, accountName 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) 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
type VolumeBackups ¶
Source Files ¶
- client.go
- id_backuppolicy.go
- id_netappaccount.go
- method_backuppoliciescreate_autorest.go
- method_backuppoliciesdelete_autorest.go
- method_backuppoliciesget_autorest.go
- method_backuppolicieslist_autorest.go
- method_backuppoliciesupdate_autorest.go
- model_backuppolicieslist.go
- model_backuppolicy.go
- model_backuppolicypatch.go
- model_backuppolicyproperties.go
- model_volumebackups.go
- version.go