Documentation ¶
Index ¶
- func PossibleValuesForAccessLevel() []string
- func PossibleValuesForArchitecture() []string
- func PossibleValuesForCopyCompletionErrorReason() []string
- func PossibleValuesForDataAccessAuthMode() []string
- func PossibleValuesForDiskCreateOption() []string
- func PossibleValuesForDiskSecurityTypes() []string
- func PossibleValuesForDiskState() []string
- func PossibleValuesForEncryptionType() []string
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForNetworkAccessPolicy() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForSnapshotStorageAccountTypes() []string
- func ValidateSnapshotID(input interface{}, key string) (warnings []string, errors []error)
- type AccessLevel
- type AccessUri
- type Architecture
- type CopyCompletionError
- type CopyCompletionErrorReason
- type CreateOrUpdateOperationResponse
- type CreationData
- type DataAccessAuthMode
- type DeleteOperationResponse
- type DiskCreateOption
- type DiskSecurityProfile
- type DiskSecurityTypes
- type DiskState
- type Encryption
- type EncryptionSettingsCollection
- type EncryptionSettingsElement
- type EncryptionType
- type GetOperationResponse
- type GrantAccessData
- type GrantAccessOperationResponse
- type HyperVGeneration
- type ImageDiskReference
- type KeyVaultAndKeyReference
- type KeyVaultAndSecretReference
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type NetworkAccessPolicy
- type OperatingSystemTypes
- type PublicNetworkAccess
- type PurchasePlan
- type RevokeAccessOperationResponse
- type Snapshot
- type SnapshotId
- type SnapshotOperationPredicate
- type SnapshotProperties
- type SnapshotSku
- type SnapshotStorageAccountTypes
- type SnapshotUpdate
- type SnapshotUpdateProperties
- type SnapshotsClient
- func (c SnapshotsClient) CreateOrUpdate(ctx context.Context, id SnapshotId, input Snapshot) (result CreateOrUpdateOperationResponse, err error)
- func (c SnapshotsClient) CreateOrUpdateThenPoll(ctx context.Context, id SnapshotId, input Snapshot) error
- func (c SnapshotsClient) Delete(ctx context.Context, id SnapshotId) (result DeleteOperationResponse, err error)
- func (c SnapshotsClient) DeleteThenPoll(ctx context.Context, id SnapshotId) error
- func (c SnapshotsClient) Get(ctx context.Context, id SnapshotId) (result GetOperationResponse, err error)
- func (c SnapshotsClient) GrantAccess(ctx context.Context, id SnapshotId, input GrantAccessData) (result GrantAccessOperationResponse, err error)
- func (c SnapshotsClient) GrantAccessThenPoll(ctx context.Context, id SnapshotId, input GrantAccessData) 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) RevokeAccess(ctx context.Context, id SnapshotId) (result RevokeAccessOperationResponse, err error)
- func (c SnapshotsClient) RevokeAccessThenPoll(ctx context.Context, id SnapshotId) error
- func (c SnapshotsClient) Update(ctx context.Context, id SnapshotId, input SnapshotUpdate) (result UpdateOperationResponse, err error)
- func (c SnapshotsClient) UpdateThenPoll(ctx context.Context, id SnapshotId, input SnapshotUpdate) error
- type SourceVault
- type SupportedCapabilities
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessLevel ¶
func PossibleValuesForAccessLevel() []string
func PossibleValuesForArchitecture ¶
func PossibleValuesForArchitecture() []string
func PossibleValuesForCopyCompletionErrorReason ¶
func PossibleValuesForCopyCompletionErrorReason() []string
func PossibleValuesForDataAccessAuthMode ¶
func PossibleValuesForDataAccessAuthMode() []string
func PossibleValuesForDiskCreateOption ¶
func PossibleValuesForDiskCreateOption() []string
func PossibleValuesForDiskSecurityTypes ¶
func PossibleValuesForDiskSecurityTypes() []string
func PossibleValuesForDiskState ¶
func PossibleValuesForDiskState() []string
func PossibleValuesForEncryptionType ¶
func PossibleValuesForEncryptionType() []string
func PossibleValuesForHyperVGeneration ¶
func PossibleValuesForHyperVGeneration() []string
func PossibleValuesForNetworkAccessPolicy ¶
func PossibleValuesForNetworkAccessPolicy() []string
func PossibleValuesForOperatingSystemTypes ¶
func PossibleValuesForOperatingSystemTypes() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForSnapshotStorageAccountTypes ¶
func PossibleValuesForSnapshotStorageAccountTypes() []string
func ValidateSnapshotID ¶
ValidateSnapshotID checks that 'input' can be parsed as a Snapshot ID
Types ¶
type AccessLevel ¶
type AccessLevel string
const ( AccessLevelNone AccessLevel = "None" AccessLevelRead AccessLevel = "Read" AccessLevelWrite AccessLevel = "Write" )
func (*AccessLevel) UnmarshalJSON ¶
func (s *AccessLevel) UnmarshalJSON(bytes []byte) error
type Architecture ¶
type Architecture string
const ( ArchitectureArmSixFour Architecture = "Arm64" ArchitectureXSixFour Architecture = "x64" )
func (*Architecture) UnmarshalJSON ¶
func (s *Architecture) UnmarshalJSON(bytes []byte) error
type CopyCompletionError ¶
type CopyCompletionError struct { ErrorCode CopyCompletionErrorReason `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
type CopyCompletionErrorReason ¶
type CopyCompletionErrorReason string
const (
CopyCompletionErrorReasonCopySourceNotFound CopyCompletionErrorReason = "CopySourceNotFound"
)
func (*CopyCompletionErrorReason) UnmarshalJSON ¶
func (s *CopyCompletionErrorReason) UnmarshalJSON(bytes []byte) error
type CreationData ¶
type CreationData struct { CreateOption DiskCreateOption `json:"createOption"` GalleryImageReference *ImageDiskReference `json:"galleryImageReference,omitempty"` ImageReference *ImageDiskReference `json:"imageReference,omitempty"` LogicalSectorSize *int64 `json:"logicalSectorSize,omitempty"` SecurityDataUri *string `json:"securityDataUri,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` SourceUniqueId *string `json:"sourceUniqueId,omitempty"` SourceUri *string `json:"sourceUri,omitempty"` StorageAccountId *string `json:"storageAccountId,omitempty"` UploadSizeBytes *int64 `json:"uploadSizeBytes,omitempty"` }
type DataAccessAuthMode ¶
type DataAccessAuthMode string
const ( DataAccessAuthModeAzureActiveDirectory DataAccessAuthMode = "AzureActiveDirectory" DataAccessAuthModeNone DataAccessAuthMode = "None" )
func (*DataAccessAuthMode) UnmarshalJSON ¶
func (s *DataAccessAuthMode) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DiskCreateOption ¶
type DiskCreateOption string
const ( DiskCreateOptionAttach DiskCreateOption = "Attach" DiskCreateOptionCopy DiskCreateOption = "Copy" DiskCreateOptionCopyStart DiskCreateOption = "CopyStart" DiskCreateOptionEmpty DiskCreateOption = "Empty" DiskCreateOptionFromImage DiskCreateOption = "FromImage" DiskCreateOptionImport DiskCreateOption = "Import" DiskCreateOptionImportSecure DiskCreateOption = "ImportSecure" DiskCreateOptionRestore DiskCreateOption = "Restore" DiskCreateOptionUpload DiskCreateOption = "Upload" DiskCreateOptionUploadPreparedSecure DiskCreateOption = "UploadPreparedSecure" )
func (*DiskCreateOption) UnmarshalJSON ¶
func (s *DiskCreateOption) UnmarshalJSON(bytes []byte) error
type DiskSecurityProfile ¶
type DiskSecurityProfile struct { SecureVMDiskEncryptionSetId *string `json:"secureVMDiskEncryptionSetId,omitempty"` SecurityType *DiskSecurityTypes `json:"securityType,omitempty"` }
type DiskSecurityTypes ¶
type DiskSecurityTypes string
const ( DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithCustomerKey" DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithPlatformKey" DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey DiskSecurityTypes = "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey" DiskSecurityTypesTrustedLaunch DiskSecurityTypes = "TrustedLaunch" )
func (*DiskSecurityTypes) UnmarshalJSON ¶
func (s *DiskSecurityTypes) UnmarshalJSON(bytes []byte) error
type DiskState ¶
type DiskState string
const ( DiskStateActiveSAS DiskState = "ActiveSAS" DiskStateActiveSASFrozen DiskState = "ActiveSASFrozen" DiskStateActiveUpload DiskState = "ActiveUpload" DiskStateAttached DiskState = "Attached" DiskStateFrozen DiskState = "Frozen" DiskStateReadyToUpload DiskState = "ReadyToUpload" DiskStateReserved DiskState = "Reserved" DiskStateUnattached DiskState = "Unattached" )
func (*DiskState) UnmarshalJSON ¶
type Encryption ¶
type Encryption struct { DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` Type *EncryptionType `json:"type,omitempty"` }
type EncryptionSettingsCollection ¶
type EncryptionSettingsCollection struct { Enabled bool `json:"enabled"` EncryptionSettings *[]EncryptionSettingsElement `json:"encryptionSettings,omitempty"` EncryptionSettingsVersion *string `json:"encryptionSettingsVersion,omitempty"` }
type EncryptionSettingsElement ¶
type EncryptionSettingsElement struct { DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"` KeyEncryptionKey *KeyVaultAndKeyReference `json:"keyEncryptionKey,omitempty"` }
type EncryptionType ¶
type EncryptionType string
const ( EncryptionTypeEncryptionAtRestWithCustomerKey EncryptionType = "EncryptionAtRestWithCustomerKey" EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys EncryptionType = "EncryptionAtRestWithPlatformAndCustomerKeys" EncryptionTypeEncryptionAtRestWithPlatformKey EncryptionType = "EncryptionAtRestWithPlatformKey" )
func (*EncryptionType) UnmarshalJSON ¶
func (s *EncryptionType) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GrantAccessData ¶
type GrantAccessData struct { Access AccessLevel `json:"access"` DurationInSeconds int64 `json:"durationInSeconds"` GetSecureVMGuestStateSAS *bool `json:"getSecureVMGuestStateSAS,omitempty"` }
type HyperVGeneration ¶
type HyperVGeneration string
const ( HyperVGenerationVOne HyperVGeneration = "V1" HyperVGenerationVTwo HyperVGeneration = "V2" )
func (*HyperVGeneration) UnmarshalJSON ¶
func (s *HyperVGeneration) UnmarshalJSON(bytes []byte) error
type ImageDiskReference ¶
type KeyVaultAndKeyReference ¶
type KeyVaultAndKeyReference struct { KeyURL string `json:"keyUrl"` SourceVault SourceVault `json:"sourceVault"` }
type KeyVaultAndSecretReference ¶
type KeyVaultAndSecretReference struct { SecretURL string `json:"secretUrl"` SourceVault SourceVault `json:"sourceVault"` }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type NetworkAccessPolicy ¶
type NetworkAccessPolicy string
const ( NetworkAccessPolicyAllowAll NetworkAccessPolicy = "AllowAll" NetworkAccessPolicyAllowPrivate NetworkAccessPolicy = "AllowPrivate" NetworkAccessPolicyDenyAll NetworkAccessPolicy = "DenyAll" )
func (*NetworkAccessPolicy) UnmarshalJSON ¶
func (s *NetworkAccessPolicy) UnmarshalJSON(bytes []byte) error
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
func (*OperatingSystemTypes) UnmarshalJSON ¶
func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type PurchasePlan ¶
type Snapshot ¶
type Snapshot struct { ExtendedLocation *edgezones.Model `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` ManagedBy *string `json:"managedBy,omitempty"` Name *string `json:"name,omitempty"` Properties *SnapshotProperties `json:"properties,omitempty"` Sku *SnapshotSku `json:"sku,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 ¶
type SnapshotOperationPredicate struct { Id *string Location *string ManagedBy *string Name *string Type *string }
func (SnapshotOperationPredicate) Matches ¶
func (p SnapshotOperationPredicate) Matches(input Snapshot) bool
type SnapshotProperties ¶
type SnapshotProperties struct { CompletionPercent *float64 `json:"completionPercent,omitempty"` CopyCompletionError *CopyCompletionError `json:"copyCompletionError,omitempty"` CreationData CreationData `json:"creationData"` DataAccessAuthMode *DataAccessAuthMode `json:"dataAccessAuthMode,omitempty"` DiskAccessId *string `json:"diskAccessId,omitempty"` DiskSizeBytes *int64 `json:"diskSizeBytes,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` DiskState *DiskState `json:"diskState,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"` HyperVGeneration *HyperVGeneration `json:"hyperVGeneration,omitempty"` Incremental *bool `json:"incremental,omitempty"` NetworkAccessPolicy *NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"` OsType *OperatingSystemTypes `json:"osType,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"` SecurityProfile *DiskSecurityProfile `json:"securityProfile,omitempty"` SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"` SupportsHibernation *bool `json:"supportsHibernation,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` UniqueId *string `json:"uniqueId,omitempty"` }
func (*SnapshotProperties) GetTimeCreatedAsTime ¶
func (o *SnapshotProperties) GetTimeCreatedAsTime() (*time.Time, error)
func (*SnapshotProperties) SetTimeCreatedAsTime ¶
func (o *SnapshotProperties) SetTimeCreatedAsTime(input time.Time)
type SnapshotSku ¶
type SnapshotSku struct { Name *SnapshotStorageAccountTypes `json:"name,omitempty"` Tier *string `json:"tier,omitempty"` }
type SnapshotStorageAccountTypes ¶
type SnapshotStorageAccountTypes string
const ( SnapshotStorageAccountTypesPremiumLRS SnapshotStorageAccountTypes = "Premium_LRS" SnapshotStorageAccountTypesStandardLRS SnapshotStorageAccountTypes = "Standard_LRS" SnapshotStorageAccountTypesStandardZRS SnapshotStorageAccountTypes = "Standard_ZRS" )
func (*SnapshotStorageAccountTypes) UnmarshalJSON ¶
func (s *SnapshotStorageAccountTypes) UnmarshalJSON(bytes []byte) error
type SnapshotUpdate ¶
type SnapshotUpdate struct { Properties *SnapshotUpdateProperties `json:"properties,omitempty"` Sku *SnapshotSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type SnapshotUpdateProperties ¶
type SnapshotUpdateProperties struct { DataAccessAuthMode *DataAccessAuthMode `json:"dataAccessAuthMode,omitempty"` DiskAccessId *string `json:"diskAccessId,omitempty"` DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"` NetworkAccessPolicy *NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"` OsType *OperatingSystemTypes `json:"osType,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"` SupportsHibernation *bool `json:"supportsHibernation,omitempty"` }
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) CreateOrUpdateThenPoll ¶
func (c SnapshotsClient) CreateOrUpdateThenPoll(ctx context.Context, id SnapshotId, input Snapshot) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SnapshotsClient) Delete ¶
func (c SnapshotsClient) Delete(ctx context.Context, id SnapshotId) (result DeleteOperationResponse, err error)
Delete ...
func (SnapshotsClient) DeleteThenPoll ¶
func (c SnapshotsClient) DeleteThenPoll(ctx context.Context, id SnapshotId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SnapshotsClient) Get ¶
func (c SnapshotsClient) Get(ctx context.Context, id SnapshotId) (result GetOperationResponse, err error)
Get ...
func (SnapshotsClient) GrantAccess ¶
func (c SnapshotsClient) GrantAccess(ctx context.Context, id SnapshotId, input GrantAccessData) (result GrantAccessOperationResponse, err error)
GrantAccess ...
func (SnapshotsClient) GrantAccessThenPoll ¶
func (c SnapshotsClient) GrantAccessThenPoll(ctx context.Context, id SnapshotId, input GrantAccessData) error
GrantAccessThenPoll performs GrantAccess then polls until it's completed
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) RevokeAccess ¶
func (c SnapshotsClient) RevokeAccess(ctx context.Context, id SnapshotId) (result RevokeAccessOperationResponse, err error)
RevokeAccess ...
func (SnapshotsClient) RevokeAccessThenPoll ¶
func (c SnapshotsClient) RevokeAccessThenPoll(ctx context.Context, id SnapshotId) error
RevokeAccessThenPoll performs RevokeAccess then polls until it's completed
func (SnapshotsClient) Update ¶
func (c SnapshotsClient) Update(ctx context.Context, id SnapshotId, input SnapshotUpdate) (result UpdateOperationResponse, err error)
Update ...
func (SnapshotsClient) UpdateThenPoll ¶
func (c SnapshotsClient) UpdateThenPoll(ctx context.Context, id SnapshotId, input SnapshotUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type SourceVault ¶
type SourceVault struct {
Id *string `json:"id,omitempty"`
}
type SupportedCapabilities ¶
type SupportedCapabilities struct { AcceleratedNetwork *bool `json:"acceleratedNetwork,omitempty"` Architecture *Architecture `json:"architecture,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_snapshot.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_grantaccess.go
- method_list.go
- method_listbyresourcegroup.go
- method_revokeaccess.go
- method_update.go
- model_accessuri.go
- model_copycompletionerror.go
- model_creationdata.go
- model_disksecurityprofile.go
- model_encryption.go
- model_encryptionsettingscollection.go
- model_encryptionsettingselement.go
- model_grantaccessdata.go
- model_imagediskreference.go
- model_keyvaultandkeyreference.go
- model_keyvaultandsecretreference.go
- model_purchaseplan.go
- model_snapshot.go
- model_snapshotproperties.go
- model_snapshotsku.go
- model_snapshotupdate.go
- model_snapshotupdateproperties.go
- model_sourcevault.go
- model_supportedcapabilities.go
- predicates.go
- version.go