Documentation ¶
Index ¶
- func PossibleValuesForOSSKU() []string
- func PossibleValuesForOSType() []string
- func PossibleValuesForSnapshotType() []string
- func ValidateSnapshotID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type CreationData
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type OSSKU
- type OSType
- type Snapshot
- type SnapshotId
- type SnapshotOperationPredicate
- type SnapshotProperties
- type SnapshotType
- type SnapshotsClient
- func (c SnapshotsClient) CreateOrUpdate(ctx context.Context, id SnapshotId, input Snapshot) (result CreateOrUpdateOperationResponse, err error)
- func (c SnapshotsClient) Delete(ctx context.Context, id SnapshotId) (result DeleteOperationResponse, err error)
- func (c SnapshotsClient) Get(ctx context.Context, id SnapshotId) (result GetOperationResponse, err error)
- func (c SnapshotsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c SnapshotsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c SnapshotsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c SnapshotsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c SnapshotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
- func (c SnapshotsClient) UpdateTags(ctx context.Context, id SnapshotId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOSSKU ¶
func PossibleValuesForOSSKU() []string
func PossibleValuesForOSType ¶
func PossibleValuesForOSType() []string
func PossibleValuesForSnapshotType ¶
func PossibleValuesForSnapshotType() []string
func ValidateSnapshotID ¶
ValidateSnapshotID checks that 'input' can be parsed as a Snapshot ID
Types ¶
type CreationData ¶
type CreationData struct {
SourceResourceId *string `json:"sourceResourceId,omitempty"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Snapshot
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Snapshot // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Snapshot
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Snapshot // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type Snapshot ¶
type Snapshot struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *SnapshotProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SnapshotId ¶
SnapshotId is a struct representing the Resource ID for a Snapshot
func NewSnapshotID ¶
func NewSnapshotID(subscriptionId string, resourceGroupName string, resourceName string) SnapshotId
NewSnapshotID returns a new SnapshotId struct
func ParseSnapshotID ¶
func ParseSnapshotID(input string) (*SnapshotId, error)
ParseSnapshotID parses 'input' into a SnapshotId
func ParseSnapshotIDInsensitively ¶
func ParseSnapshotIDInsensitively(input string) (*SnapshotId, error)
ParseSnapshotIDInsensitively parses 'input' case-insensitively into a SnapshotId note: this method should only be used for API response data and not user input
func (SnapshotId) Segments ¶
func (id SnapshotId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Snapshot ID
func (SnapshotId) String ¶
func (id SnapshotId) String() string
String returns a human-readable description of this Snapshot ID
type SnapshotOperationPredicate ¶
func (SnapshotOperationPredicate) Matches ¶
func (p SnapshotOperationPredicate) Matches(input Snapshot) bool
type SnapshotProperties ¶
type SnapshotProperties struct { CreationData *CreationData `json:"creationData,omitempty"` EnableFIPS *bool `json:"enableFIPS,omitempty"` KubernetesVersion *string `json:"kubernetesVersion,omitempty"` NodeImageVersion *string `json:"nodeImageVersion,omitempty"` OsSku *OSSKU `json:"osSku,omitempty"` OsType *OSType `json:"osType,omitempty"` SnapshotType *SnapshotType `json:"snapshotType,omitempty"` VmSize *string `json:"vmSize,omitempty"` }
type SnapshotType ¶
type SnapshotType string
const ( SnapshotTypeManagedCluster SnapshotType = "ManagedCluster" SnapshotTypeNodePool SnapshotType = "NodePool" )
type SnapshotsClient ¶
func NewSnapshotsClientWithBaseURI ¶
func NewSnapshotsClientWithBaseURI(endpoint string) SnapshotsClient
func (SnapshotsClient) CreateOrUpdate ¶
func (c SnapshotsClient) CreateOrUpdate(ctx context.Context, id SnapshotId, input Snapshot) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SnapshotsClient) Delete ¶
func (c SnapshotsClient) Delete(ctx context.Context, id SnapshotId) (result DeleteOperationResponse, err error)
Delete ...
func (SnapshotsClient) Get ¶
func (c SnapshotsClient) Get(ctx context.Context, id SnapshotId) (result GetOperationResponse, err error)
Get ...
func (SnapshotsClient) List ¶
func (c SnapshotsClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (SnapshotsClient) ListByResourceGroup ¶
func (c SnapshotsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (SnapshotsClient) ListByResourceGroupComplete ¶
func (c SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (SnapshotsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c SnapshotsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SnapshotOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SnapshotsClient) ListComplete ¶
func (c SnapshotsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SnapshotsClient) ListCompleteMatchingPredicate ¶
func (c SnapshotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SnapshotOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SnapshotsClient) UpdateTags ¶
func (c SnapshotsClient) UpdateTags(ctx context.Context, id SnapshotId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type TagsObject ¶
Source Files ¶
- client.go
- constants.go
- id_snapshot.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_updatetags_autorest.go
- model_creationdata.go
- model_snapshot.go
- model_snapshotproperties.go
- model_tagsobject.go
- predicates.go
- version.go