Documentation ¶
Index ¶
- func ValidateNetAppAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSnapshotPoliciesID(input interface{}, key string) (warnings []string, errors []error)
- type DailySchedule
- type HourlySchedule
- type MonthlySchedule
- type NetAppAccountId
- type SnapshotPoliciesCreateOperationResponse
- type SnapshotPoliciesDeleteOperationResponse
- type SnapshotPoliciesGetOperationResponse
- type SnapshotPoliciesId
- type SnapshotPoliciesList
- type SnapshotPoliciesListOperationResponse
- type SnapshotPoliciesUpdateOperationResponse
- type SnapshotPolicy
- type SnapshotPolicyClient
- func (c SnapshotPolicyClient) SnapshotPoliciesCreate(ctx context.Context, id SnapshotPoliciesId, input SnapshotPolicy) (result SnapshotPoliciesCreateOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesDelete(ctx context.Context, id SnapshotPoliciesId) (result SnapshotPoliciesDeleteOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesDeleteThenPoll(ctx context.Context, id SnapshotPoliciesId) error
- func (c SnapshotPolicyClient) SnapshotPoliciesGet(ctx context.Context, id SnapshotPoliciesId) (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 SnapshotPoliciesId, input SnapshotPolicyPatch) (result SnapshotPoliciesUpdateOperationResponse, err error)
- func (c SnapshotPolicyClient) SnapshotPoliciesUpdateThenPoll(ctx context.Context, id SnapshotPoliciesId, input SnapshotPolicyPatch) error
- 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 ValidateSnapshotPoliciesID ¶
ValidateSnapshotPoliciesID checks that 'input' can be parsed as a Snapshot Policies 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 SnapshotPoliciesId ¶
type SnapshotPoliciesId struct { SubscriptionId string ResourceGroupName string AccountName string SnapshotPolicyName string }
SnapshotPoliciesId is a struct representing the Resource ID for a Snapshot Policies
func NewSnapshotPoliciesID ¶
func NewSnapshotPoliciesID(subscriptionId string, resourceGroupName string, accountName string, snapshotPolicyName string) SnapshotPoliciesId
NewSnapshotPoliciesID returns a new SnapshotPoliciesId struct
func ParseSnapshotPoliciesID ¶
func ParseSnapshotPoliciesID(input string) (*SnapshotPoliciesId, error)
ParseSnapshotPoliciesID parses 'input' into a SnapshotPoliciesId
func ParseSnapshotPoliciesIDInsensitively ¶
func ParseSnapshotPoliciesIDInsensitively(input string) (*SnapshotPoliciesId, error)
ParseSnapshotPoliciesIDInsensitively parses 'input' case-insensitively into a SnapshotPoliciesId note: this method should only be used for API response data and not user input
func (SnapshotPoliciesId) ID ¶
func (id SnapshotPoliciesId) ID() string
ID returns the formatted Snapshot Policies ID
func (SnapshotPoliciesId) Segments ¶
func (id SnapshotPoliciesId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Snapshot Policies ID
func (SnapshotPoliciesId) String ¶
func (id SnapshotPoliciesId) String() string
String returns a human-readable description of this Snapshot Policies ID
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 SnapshotPoliciesId, input SnapshotPolicy) (result SnapshotPoliciesCreateOperationResponse, err error)
SnapshotPoliciesCreate ...
func (SnapshotPolicyClient) SnapshotPoliciesDelete ¶
func (c SnapshotPolicyClient) SnapshotPoliciesDelete(ctx context.Context, id SnapshotPoliciesId) (result SnapshotPoliciesDeleteOperationResponse, err error)
SnapshotPoliciesDelete ...
func (SnapshotPolicyClient) SnapshotPoliciesDeleteThenPoll ¶
func (c SnapshotPolicyClient) SnapshotPoliciesDeleteThenPoll(ctx context.Context, id SnapshotPoliciesId) error
SnapshotPoliciesDeleteThenPoll performs SnapshotPoliciesDelete then polls until it's completed
func (SnapshotPolicyClient) SnapshotPoliciesGet ¶
func (c SnapshotPolicyClient) SnapshotPoliciesGet(ctx context.Context, id SnapshotPoliciesId) (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 SnapshotPoliciesId, input SnapshotPolicyPatch) (result SnapshotPoliciesUpdateOperationResponse, err error)
SnapshotPoliciesUpdate ...
func (SnapshotPolicyClient) SnapshotPoliciesUpdateThenPoll ¶
func (c SnapshotPolicyClient) SnapshotPoliciesUpdateThenPoll(ctx context.Context, id SnapshotPoliciesId, input SnapshotPolicyPatch) error
SnapshotPoliciesUpdateThenPoll performs SnapshotPoliciesUpdate then polls until it's completed
type SnapshotPolicyPatch ¶
type SnapshotPolicyPatch struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *SnapshotPolicyProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SnapshotPolicyProperties ¶
type SnapshotPolicyProperties struct { DailySchedule *DailySchedule `json:"dailySchedule,omitempty"` Enabled *bool `json:"enabled,omitempty"` HourlySchedule *HourlySchedule `json:"hourlySchedule,omitempty"` MonthlySchedule *MonthlySchedule `json:"monthlySchedule,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` WeeklySchedule *WeeklySchedule `json:"weeklySchedule,omitempty"` }
Source Files ¶
- client.go
- id_netappaccount.go
- id_snapshotpolicies.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