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 ¶
ValidateSnapshotPolicyID checks that 'input' can be parsed as a Snapshot Policy ID
Types ¶
type DailySchedule ¶
type HourlySchedule ¶
type MonthlySchedule ¶
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) 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 OData *odata.OData Model *SnapshotPolicy }
type SnapshotPoliciesGetOperationResponse ¶
type SnapshotPoliciesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SnapshotPolicy }
type SnapshotPoliciesList ¶
type SnapshotPoliciesList struct {
Value *[]SnapshotPolicy `json:"value,omitempty"`
}
type SnapshotPoliciesListOperationResponse ¶
type SnapshotPoliciesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SnapshotPoliciesList }
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 *resourcemanager.Client
}
func NewSnapshotPolicyClientWithBaseURI ¶
func NewSnapshotPolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*SnapshotPolicyClient, error)
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 ¶
type SnapshotPolicyId struct { SubscriptionId string ResourceGroupName string NetAppAccountName string SnapshotPolicyName string }
SnapshotPolicyId is a struct representing the Resource ID for a Snapshot Policy
func NewSnapshotPolicyID ¶
func NewSnapshotPolicyID(subscriptionId string, resourceGroupName string, netAppAccountName string, snapshotPolicyName string) SnapshotPolicyId
NewSnapshotPolicyID returns a new SnapshotPolicyId struct
func ParseSnapshotPolicyID ¶
func ParseSnapshotPolicyID(input string) (*SnapshotPolicyId, error)
ParseSnapshotPolicyID parses 'input' into a SnapshotPolicyId
func ParseSnapshotPolicyIDInsensitively ¶
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 ¶
func (id SnapshotPolicyId) ID() string
ID returns the formatted Snapshot Policy ID
func (SnapshotPolicyId) Segments ¶
func (id SnapshotPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Snapshot Policy ID
func (SnapshotPolicyId) String ¶
func (id SnapshotPolicyId) String() string
String returns a human-readable description of this Snapshot Policy ID
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_snapshotpolicy.go
- method_snapshotpoliciescreate.go
- method_snapshotpoliciesdelete.go
- method_snapshotpoliciesget.go
- method_snapshotpolicieslist.go
- method_snapshotpoliciesupdate.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