Documentation
¶
Index ¶
- func ValidateNetAppAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSnapshotPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type DailySchedule
- type HourlySchedule
- type MonthlySchedule
- type NetAppAccountId
- type SnapshotPoliciesCreateOperationResponse
- type SnapshotPoliciesDeleteOperationResponse
- type SnapshotPoliciesGetOperationResponse
- type SnapshotPoliciesList
- type SnapshotPoliciesListOperationResponse
- type SnapshotPoliciesUpdateOperationResponse
- type SnapshotPolicy
- type SnapshotPolicyClient
- func (c SnapshotPolicyClient) SnapshotPoliciesCreate(ctx context.Context, id SnapshotPolicyId, input SnapshotPolicy) (result SnapshotPoliciesCreateOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesDelete(ctx context.Context, id SnapshotPolicyId) (result SnapshotPoliciesDeleteOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesDeleteThenPoll(ctx context.Context, id SnapshotPolicyId) error
- func (c SnapshotPolicyClient) SnapshotPoliciesGet(ctx context.Context, id SnapshotPolicyId) (result SnapshotPoliciesGetOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesList(ctx context.Context, id NetAppAccountId) (result SnapshotPoliciesListOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesUpdate(ctx context.Context, id SnapshotPolicyId, input SnapshotPolicyPatch) (result SnapshotPoliciesUpdateOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesUpdateThenPoll(ctx context.Context, id SnapshotPolicyId, input SnapshotPolicyPatch) error
- type SnapshotPolicyId
- type SnapshotPolicyPatch
- type SnapshotPolicyProperties
- type WeeklySchedule
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateNetAppAccountID ¶
ValidateNetAppAccountID checks that 'input' can be parsed as a Net App Account ID
func ValidateSnapshotPolicyID ¶ added in v0.20220907.1111434
ValidateSnapshotPolicyID checks that 'input' can be parsed as a Snapshot Policy ID
Types ¶
type DailySchedule ¶
type HourlySchedule ¶
type MonthlySchedule ¶
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 SnapshotPoliciesCreateOperationResponse ¶
type SnapshotPoliciesCreateOperationResponse struct { HttpResponse *http.Response Model *SnapshotPolicy }
type SnapshotPoliciesDeleteOperationResponse ¶
type SnapshotPoliciesDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SnapshotPoliciesGetOperationResponse ¶
type SnapshotPoliciesGetOperationResponse struct { HttpResponse *http.Response Model *SnapshotPolicy }
type SnapshotPoliciesList ¶
type SnapshotPoliciesList struct {
Value *[]SnapshotPolicy `json:"value,omitempty"`
}
type SnapshotPoliciesListOperationResponse ¶
type SnapshotPoliciesListOperationResponse struct { HttpResponse *http.Response Model *SnapshotPoliciesList }
type SnapshotPoliciesUpdateOperationResponse ¶
type SnapshotPoliciesUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SnapshotPolicy ¶
type SnapshotPolicy struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties SnapshotPolicyProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SnapshotPolicyClient ¶
type SnapshotPolicyClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSnapshotPolicyClientWithBaseURI ¶
func NewSnapshotPolicyClientWithBaseURI(endpoint string) SnapshotPolicyClient
func (SnapshotPolicyClient) SnapshotPoliciesCreate ¶
func (c SnapshotPolicyClient) SnapshotPoliciesCreate(ctx context.Context, id SnapshotPolicyId, input SnapshotPolicy) (result SnapshotPoliciesCreateOperationResponse, err error)
SnapshotPoliciesCreate ...
func (SnapshotPolicyClient) SnapshotPoliciesDelete ¶
func (c SnapshotPolicyClient) SnapshotPoliciesDelete(ctx context.Context, id SnapshotPolicyId) (result SnapshotPoliciesDeleteOperationResponse, err error)
SnapshotPoliciesDelete ...
func (SnapshotPolicyClient) SnapshotPoliciesDeleteThenPoll ¶
func (c SnapshotPolicyClient) SnapshotPoliciesDeleteThenPoll(ctx context.Context, id SnapshotPolicyId) error
SnapshotPoliciesDeleteThenPoll performs SnapshotPoliciesDelete then polls until it's completed
func (SnapshotPolicyClient) SnapshotPoliciesGet ¶
func (c SnapshotPolicyClient) SnapshotPoliciesGet(ctx context.Context, id SnapshotPolicyId) (result SnapshotPoliciesGetOperationResponse, err error)
SnapshotPoliciesGet ...
func (SnapshotPolicyClient) SnapshotPoliciesList ¶
func (c SnapshotPolicyClient) SnapshotPoliciesList(ctx context.Context, id NetAppAccountId) (result SnapshotPoliciesListOperationResponse, err error)
SnapshotPoliciesList ...
func (SnapshotPolicyClient) SnapshotPoliciesUpdate ¶
func (c SnapshotPolicyClient) SnapshotPoliciesUpdate(ctx context.Context, id SnapshotPolicyId, input SnapshotPolicyPatch) (result SnapshotPoliciesUpdateOperationResponse, err error)
SnapshotPoliciesUpdate ...
func (SnapshotPolicyClient) SnapshotPoliciesUpdateThenPoll ¶
func (c SnapshotPolicyClient) SnapshotPoliciesUpdateThenPoll(ctx context.Context, id SnapshotPolicyId, input SnapshotPolicyPatch) error
SnapshotPoliciesUpdateThenPoll performs SnapshotPoliciesUpdate then polls until it's completed
type SnapshotPolicyId ¶ added in v0.20220907.1111434
type SnapshotPolicyId struct { SubscriptionId string ResourceGroupName string AccountName string SnapshotPolicyName string }
SnapshotPolicyId is a struct representing the Resource ID for a Snapshot Policy
func NewSnapshotPolicyID ¶ added in v0.20220907.1111434
func NewSnapshotPolicyID(subscriptionId string, resourceGroupName string, accountName string, snapshotPolicyName string) SnapshotPolicyId
NewSnapshotPolicyID returns a new SnapshotPolicyId struct
func ParseSnapshotPolicyID ¶ added in v0.20220907.1111434
func ParseSnapshotPolicyID(input string) (*SnapshotPolicyId, error)
ParseSnapshotPolicyID parses 'input' into a SnapshotPolicyId
func ParseSnapshotPolicyIDInsensitively ¶ added in v0.20220907.1111434
func ParseSnapshotPolicyIDInsensitively(input string) (*SnapshotPolicyId, error)
ParseSnapshotPolicyIDInsensitively parses 'input' case-insensitively into a SnapshotPolicyId note: this method should only be used for API response data and not user input
func (SnapshotPolicyId) ID ¶ added in v0.20220907.1111434
func (id SnapshotPolicyId) ID() string
ID returns the formatted Snapshot Policy ID
func (SnapshotPolicyId) Segments ¶ added in v0.20220907.1111434
func (id SnapshotPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Snapshot Policy ID
func (SnapshotPolicyId) String ¶ added in v0.20220907.1111434
func (id SnapshotPolicyId) String() string
String returns a human-readable description of this Snapshot Policy ID
type SnapshotPolicyPatch ¶
type SnapshotPolicyProperties ¶
type SnapshotPolicyProperties struct { DailySchedule *DailySchedule `json:"dailySchedule"` Enabled *bool `json:"enabled,omitempty"` HourlySchedule *HourlySchedule `json:"hourlySchedule"` MonthlySchedule *MonthlySchedule `json:"monthlySchedule"` ProvisioningState *string `json:"provisioningState,omitempty"` WeeklySchedule *WeeklySchedule `json:"weeklySchedule"` }
Source Files
¶
- client.go
- id_netappaccount.go
- id_snapshotpolicy.go
- method_snapshotpoliciescreate_autorest.go
- method_snapshotpoliciesdelete_autorest.go
- method_snapshotpoliciesget_autorest.go
- method_snapshotpolicieslist_autorest.go
- method_snapshotpoliciesupdate_autorest.go
- model_dailyschedule.go
- model_hourlyschedule.go
- model_monthlyschedule.go
- model_snapshotpolicieslist.go
- model_snapshotpolicy.go
- model_snapshotpolicypatch.go
- model_snapshotpolicyproperties.go
- model_weeklyschedule.go
- version.go