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) (result ListOperationResponse, err error)
- func (c SnapshotsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result 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, ...) (result 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, ...) (result 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 ListCompleteResult ¶
type ListOperationResponse ¶
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, snapshotName 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) FromParseResult ¶
func (id *SnapshotId) FromParseResult(input resourceids.ParseResult) error
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 (
SnapshotTypeNodePool SnapshotType = "NodePool"
)
func (*SnapshotType) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *SnapshotType) UnmarshalJSON(bytes []byte) error
type SnapshotsClient ¶
type SnapshotsClient struct {
Client *resourcemanager.Client
}
func NewSnapshotsClientWithBaseURI ¶
func NewSnapshotsClientWithBaseURI(sdkApi sdkEnv.Api) (*SnapshotsClient, error)
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) (result ListOperationResponse, err error)
List ...
func (SnapshotsClient) ListByResourceGroup ¶
func (c SnapshotsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (SnapshotsClient) ListByResourceGroupComplete ¶
func (c SnapshotsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (SnapshotsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c SnapshotsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate SnapshotOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SnapshotsClient) ListComplete ¶
func (c SnapshotsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SnapshotsClient) ListCompleteMatchingPredicate ¶
func (c SnapshotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate SnapshotOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SnapshotsClient) UpdateTags ¶
func (c SnapshotsClient) UpdateTags(ctx context.Context, id SnapshotId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...