Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForProvisioningStates() []string + func ValidateSnapshotID(input interface{}, key string) (warnings []string, errors []error) + func ValidateVolumeGroupID(input interface{}, key string) (warnings []string, errors []error) + type ProvisioningStates string + const ProvisioningStatesCanceled + const ProvisioningStatesCreating + const ProvisioningStatesDeleting + const ProvisioningStatesFailed + const ProvisioningStatesInvalid + const ProvisioningStatesPending + const ProvisioningStatesSucceeded + const ProvisioningStatesUpdating + func (s *ProvisioningStates) UnmarshalJSON(bytes []byte) error + type Snapshot struct + Id *string + Name *string + Properties SnapshotProperties + SystemData *systemdata.SystemData + Type *string + type SnapshotCreationData struct + SourceId string + type SnapshotId struct + ElasticSanName string + ResourceGroupName string + SnapshotName string + SubscriptionId string + VolumeGroupName string + func NewSnapshotID(subscriptionId string, resourceGroupName string, elasticSanName string, ...) SnapshotId + func ParseSnapshotID(input string) (*SnapshotId, error) + func ParseSnapshotIDInsensitively(input string) (*SnapshotId, error) + func (id *SnapshotId) FromParseResult(input resourceids.ParseResult) error + func (id SnapshotId) ID() string + func (id SnapshotId) Segments() []resourceids.Segment + func (id SnapshotId) String() string + type SnapshotOperationPredicate struct + Id *string + Name *string + Type *string + func (p SnapshotOperationPredicate) Matches(input Snapshot) bool + type SnapshotProperties struct + CreationData SnapshotCreationData + ProvisioningState *ProvisioningStates + SourceVolumeSizeGiB *int64 + VolumeName *string + type SnapshotsClient struct + Client *resourcemanager.Client + func NewSnapshotsClientWithBaseURI(sdkApi sdkEnv.Api) (*SnapshotsClient, error) + func (c SnapshotsClient) VolumeSnapshotsCreate(ctx context.Context, id SnapshotId, input Snapshot) (result VolumeSnapshotsCreateOperationResponse, err error) + func (c SnapshotsClient) VolumeSnapshotsCreateThenPoll(ctx context.Context, id SnapshotId, input Snapshot) error + func (c SnapshotsClient) VolumeSnapshotsDelete(ctx context.Context, id SnapshotId) (result VolumeSnapshotsDeleteOperationResponse, err error) + func (c SnapshotsClient) VolumeSnapshotsDeleteThenPoll(ctx context.Context, id SnapshotId) error + func (c SnapshotsClient) VolumeSnapshotsGet(ctx context.Context, id SnapshotId) (result VolumeSnapshotsGetOperationResponse, err error) + func (c SnapshotsClient) VolumeSnapshotsListByVolumeGroup(ctx context.Context, id VolumeGroupId, ...) (result VolumeSnapshotsListByVolumeGroupOperationResponse, err error) + func (c SnapshotsClient) VolumeSnapshotsListByVolumeGroupComplete(ctx context.Context, id VolumeGroupId, ...) (VolumeSnapshotsListByVolumeGroupCompleteResult, error) + func (c SnapshotsClient) VolumeSnapshotsListByVolumeGroupCompleteMatchingPredicate(ctx context.Context, id VolumeGroupId, ...) (result VolumeSnapshotsListByVolumeGroupCompleteResult, err error) + type VolumeGroupId struct + ElasticSanName string + ResourceGroupName string + SubscriptionId string + VolumeGroupName string + func NewVolumeGroupID(subscriptionId string, resourceGroupName string, elasticSanName string, ...) VolumeGroupId + func ParseVolumeGroupID(input string) (*VolumeGroupId, error) + func ParseVolumeGroupIDInsensitively(input string) (*VolumeGroupId, error) + func (id *VolumeGroupId) FromParseResult(input resourceids.ParseResult) error + func (id VolumeGroupId) ID() string + func (id VolumeGroupId) Segments() []resourceids.Segment + func (id VolumeGroupId) String() string + type VolumeSnapshotsCreateOperationResponse struct + HttpResponse *http.Response + Model *Snapshot + OData *odata.OData + Poller pollers.Poller + type VolumeSnapshotsDeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type VolumeSnapshotsGetOperationResponse struct + HttpResponse *http.Response + Model *Snapshot + OData *odata.OData + type VolumeSnapshotsListByVolumeGroupCompleteResult struct + Items []Snapshot + LatestHttpResponse *http.Response + type VolumeSnapshotsListByVolumeGroupCustomPager struct + NextLink *odata.Link + func (p *VolumeSnapshotsListByVolumeGroupCustomPager) NextPageLink() *odata.Link + type VolumeSnapshotsListByVolumeGroupOperationOptions struct + Filter *string + func DefaultVolumeSnapshotsListByVolumeGroupOperationOptions() VolumeSnapshotsListByVolumeGroupOperationOptions + func (o VolumeSnapshotsListByVolumeGroupOperationOptions) ToHeaders() *client.Headers + func (o VolumeSnapshotsListByVolumeGroupOperationOptions) ToOData() *odata.Query + func (o VolumeSnapshotsListByVolumeGroupOperationOptions) ToQuery() *client.QueryParams + type VolumeSnapshotsListByVolumeGroupOperationResponse struct + HttpResponse *http.Response + Model *[]Snapshot + OData *odata.OData