Documentation ¶
Index ¶
- func PossibleValuesForAccessLevel() []string
- func PossibleValuesForArchitecture() []string
- func PossibleValuesForDiskSecurityTypes() []string
- func PossibleValuesForEncryptionType() []string
- func PossibleValuesForHyperVGeneration() []string
- func PossibleValuesForNetworkAccessPolicy() []string
- func PossibleValuesForOperatingSystemTypes() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func ValidateDiskRestorePointID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRestorePointID(input interface{}, key string) (warnings []string, errors []error)
- type AccessLevel
- type AccessUri
- type Architecture
- type DiskRestorePoint
- type DiskRestorePointGetOperationResponse
- type DiskRestorePointGrantAccessOperationResponse
- type DiskRestorePointId
- type DiskRestorePointListByRestorePointCompleteResult
- type DiskRestorePointListByRestorePointOperationResponse
- type DiskRestorePointOperationPredicate
- type DiskRestorePointProperties
- type DiskRestorePointRevokeAccessOperationResponse
- type DiskSecurityProfile
- type DiskSecurityTypes
- type Encryption
- type EncryptionType
- type GrantAccessData
- type HyperVGeneration
- type IncrementalRestorePointsClient
- func (c IncrementalRestorePointsClient) DiskRestorePointGet(ctx context.Context, id DiskRestorePointId) (result DiskRestorePointGetOperationResponse, err error)
- func (c IncrementalRestorePointsClient) DiskRestorePointGrantAccess(ctx context.Context, id DiskRestorePointId, input GrantAccessData) (result DiskRestorePointGrantAccessOperationResponse, err error)
- func (c IncrementalRestorePointsClient) DiskRestorePointGrantAccessThenPoll(ctx context.Context, id DiskRestorePointId, input GrantAccessData) error
- func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePoint(ctx context.Context, id RestorePointId) (resp DiskRestorePointListByRestorePointOperationResponse, err error)
- func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointComplete(ctx context.Context, id RestorePointId) (DiskRestorePointListByRestorePointCompleteResult, error)
- func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointCompleteMatchingPredicate(ctx context.Context, id RestorePointId, ...) (resp DiskRestorePointListByRestorePointCompleteResult, err error)
- func (c IncrementalRestorePointsClient) DiskRestorePointRevokeAccess(ctx context.Context, id DiskRestorePointId) (result DiskRestorePointRevokeAccessOperationResponse, err error)
- func (c IncrementalRestorePointsClient) DiskRestorePointRevokeAccessThenPoll(ctx context.Context, id DiskRestorePointId) error
- type NetworkAccessPolicy
- type OperatingSystemTypes
- type PublicNetworkAccess
- type PurchasePlan
- type RestorePointId
- type SupportedCapabilities
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessLevel ¶
func PossibleValuesForAccessLevel() []string
func PossibleValuesForArchitecture ¶
func PossibleValuesForArchitecture() []string
func PossibleValuesForDiskSecurityTypes ¶
func PossibleValuesForDiskSecurityTypes() []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 ValidateDiskRestorePointID ¶
ValidateDiskRestorePointID checks that 'input' can be parsed as a Disk Restore Point ID
func ValidateRestorePointID ¶
ValidateRestorePointID checks that 'input' can be parsed as a Restore Point ID
Types ¶
type AccessLevel ¶
type AccessLevel string
const ( AccessLevelNone AccessLevel = "None" AccessLevelRead AccessLevel = "Read" AccessLevelWrite AccessLevel = "Write" )
type Architecture ¶
type Architecture string
const ( ArchitectureArmSixFour Architecture = "Arm64" ArchitectureXSixFour Architecture = "x64" )
type DiskRestorePoint ¶
type DiskRestorePoint struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *DiskRestorePointProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type DiskRestorePointGetOperationResponse ¶
type DiskRestorePointGetOperationResponse struct { HttpResponse *http.Response Model *DiskRestorePoint }
type DiskRestorePointGrantAccessOperationResponse ¶
type DiskRestorePointGrantAccessOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DiskRestorePointId ¶
type DiskRestorePointId struct { SubscriptionId string ResourceGroupName string RestorePointCollectionName string VmRestorePointName string DiskRestorePointName string }
DiskRestorePointId is a struct representing the Resource ID for a Disk Restore Point
func NewDiskRestorePointID ¶
func NewDiskRestorePointID(subscriptionId string, resourceGroupName string, restorePointCollectionName string, vmRestorePointName string, diskRestorePointName string) DiskRestorePointId
NewDiskRestorePointID returns a new DiskRestorePointId struct
func ParseDiskRestorePointID ¶
func ParseDiskRestorePointID(input string) (*DiskRestorePointId, error)
ParseDiskRestorePointID parses 'input' into a DiskRestorePointId
func ParseDiskRestorePointIDInsensitively ¶
func ParseDiskRestorePointIDInsensitively(input string) (*DiskRestorePointId, error)
ParseDiskRestorePointIDInsensitively parses 'input' case-insensitively into a DiskRestorePointId note: this method should only be used for API response data and not user input
func (DiskRestorePointId) ID ¶
func (id DiskRestorePointId) ID() string
ID returns the formatted Disk Restore Point ID
func (DiskRestorePointId) Segments ¶
func (id DiskRestorePointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Disk Restore Point ID
func (DiskRestorePointId) String ¶
func (id DiskRestorePointId) String() string
String returns a human-readable description of this Disk Restore Point ID
type DiskRestorePointListByRestorePointCompleteResult ¶
type DiskRestorePointListByRestorePointCompleteResult struct {
Items []DiskRestorePoint
}
type DiskRestorePointListByRestorePointOperationResponse ¶
type DiskRestorePointListByRestorePointOperationResponse struct { HttpResponse *http.Response Model *[]DiskRestorePoint // contains filtered or unexported fields }
func (DiskRestorePointListByRestorePointOperationResponse) HasMore ¶
func (r DiskRestorePointListByRestorePointOperationResponse) HasMore() bool
func (DiskRestorePointListByRestorePointOperationResponse) LoadMore ¶
func (r DiskRestorePointListByRestorePointOperationResponse) LoadMore(ctx context.Context) (resp DiskRestorePointListByRestorePointOperationResponse, err error)
type DiskRestorePointOperationPredicate ¶
func (DiskRestorePointOperationPredicate) Matches ¶
func (p DiskRestorePointOperationPredicate) Matches(input DiskRestorePoint) bool
type DiskRestorePointProperties ¶
type DiskRestorePointProperties struct { CompletionPercent *float64 `json:"completionPercent,omitempty"` DiskAccessId *string `json:"diskAccessId,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` FamilyId *string `json:"familyId,omitempty"` HyperVGeneration *HyperVGeneration `json:"hyperVGeneration,omitempty"` NetworkAccessPolicy *NetworkAccessPolicy `json:"networkAccessPolicy,omitempty"` OsType *OperatingSystemTypes `json:"osType,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` PurchasePlan *PurchasePlan `json:"purchasePlan,omitempty"` ReplicationState *string `json:"replicationState,omitempty"` SecurityProfile *DiskSecurityProfile `json:"securityProfile,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` SourceResourceLocation *string `json:"sourceResourceLocation,omitempty"` SourceUniqueId *string `json:"sourceUniqueId,omitempty"` SupportedCapabilities *SupportedCapabilities `json:"supportedCapabilities,omitempty"` SupportsHibernation *bool `json:"supportsHibernation,omitempty"` TimeCreated *string `json:"timeCreated,omitempty"` }
func (*DiskRestorePointProperties) GetTimeCreatedAsTime ¶
func (o *DiskRestorePointProperties) GetTimeCreatedAsTime() (*time.Time, error)
func (*DiskRestorePointProperties) SetTimeCreatedAsTime ¶
func (o *DiskRestorePointProperties) SetTimeCreatedAsTime(input time.Time)
type DiskRestorePointRevokeAccessOperationResponse ¶
type DiskRestorePointRevokeAccessOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
type Encryption ¶
type Encryption struct { DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"` Type *EncryptionType `json:"type,omitempty"` }
type EncryptionType ¶
type EncryptionType string
const ( EncryptionTypeEncryptionAtRestWithCustomerKey EncryptionType = "EncryptionAtRestWithCustomerKey" EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys EncryptionType = "EncryptionAtRestWithPlatformAndCustomerKeys" EncryptionTypeEncryptionAtRestWithPlatformKey EncryptionType = "EncryptionAtRestWithPlatformKey" )
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" )
type IncrementalRestorePointsClient ¶
type IncrementalRestorePointsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewIncrementalRestorePointsClientWithBaseURI ¶
func NewIncrementalRestorePointsClientWithBaseURI(endpoint string) IncrementalRestorePointsClient
func (IncrementalRestorePointsClient) DiskRestorePointGet ¶
func (c IncrementalRestorePointsClient) DiskRestorePointGet(ctx context.Context, id DiskRestorePointId) (result DiskRestorePointGetOperationResponse, err error)
DiskRestorePointGet ...
func (IncrementalRestorePointsClient) DiskRestorePointGrantAccess ¶
func (c IncrementalRestorePointsClient) DiskRestorePointGrantAccess(ctx context.Context, id DiskRestorePointId, input GrantAccessData) (result DiskRestorePointGrantAccessOperationResponse, err error)
DiskRestorePointGrantAccess ...
func (IncrementalRestorePointsClient) DiskRestorePointGrantAccessThenPoll ¶
func (c IncrementalRestorePointsClient) DiskRestorePointGrantAccessThenPoll(ctx context.Context, id DiskRestorePointId, input GrantAccessData) error
DiskRestorePointGrantAccessThenPoll performs DiskRestorePointGrantAccess then polls until it's completed
func (IncrementalRestorePointsClient) DiskRestorePointListByRestorePoint ¶
func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePoint(ctx context.Context, id RestorePointId) (resp DiskRestorePointListByRestorePointOperationResponse, err error)
DiskRestorePointListByRestorePoint ...
func (IncrementalRestorePointsClient) DiskRestorePointListByRestorePointComplete ¶
func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointComplete(ctx context.Context, id RestorePointId) (DiskRestorePointListByRestorePointCompleteResult, error)
DiskRestorePointListByRestorePointComplete retrieves all of the results into a single object
func (IncrementalRestorePointsClient) DiskRestorePointListByRestorePointCompleteMatchingPredicate ¶
func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointCompleteMatchingPredicate(ctx context.Context, id RestorePointId, predicate DiskRestorePointOperationPredicate) (resp DiskRestorePointListByRestorePointCompleteResult, err error)
DiskRestorePointListByRestorePointCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (IncrementalRestorePointsClient) DiskRestorePointRevokeAccess ¶
func (c IncrementalRestorePointsClient) DiskRestorePointRevokeAccess(ctx context.Context, id DiskRestorePointId) (result DiskRestorePointRevokeAccessOperationResponse, err error)
DiskRestorePointRevokeAccess ...
func (IncrementalRestorePointsClient) DiskRestorePointRevokeAccessThenPoll ¶
func (c IncrementalRestorePointsClient) DiskRestorePointRevokeAccessThenPoll(ctx context.Context, id DiskRestorePointId) error
DiskRestorePointRevokeAccessThenPoll performs DiskRestorePointRevokeAccess then polls until it's completed
type NetworkAccessPolicy ¶
type NetworkAccessPolicy string
const ( NetworkAccessPolicyAllowAll NetworkAccessPolicy = "AllowAll" NetworkAccessPolicyAllowPrivate NetworkAccessPolicy = "AllowPrivate" NetworkAccessPolicyDenyAll NetworkAccessPolicy = "DenyAll" )
type OperatingSystemTypes ¶
type OperatingSystemTypes string
const ( OperatingSystemTypesLinux OperatingSystemTypes = "Linux" OperatingSystemTypesWindows OperatingSystemTypes = "Windows" )
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
type PurchasePlan ¶
type RestorePointId ¶
type RestorePointId struct { SubscriptionId string ResourceGroupName string RestorePointCollectionName string VmRestorePointName string }
RestorePointId is a struct representing the Resource ID for a Restore Point
func NewRestorePointID ¶
func NewRestorePointID(subscriptionId string, resourceGroupName string, restorePointCollectionName string, vmRestorePointName string) RestorePointId
NewRestorePointID returns a new RestorePointId struct
func ParseRestorePointID ¶
func ParseRestorePointID(input string) (*RestorePointId, error)
ParseRestorePointID parses 'input' into a RestorePointId
func ParseRestorePointIDInsensitively ¶
func ParseRestorePointIDInsensitively(input string) (*RestorePointId, error)
ParseRestorePointIDInsensitively parses 'input' case-insensitively into a RestorePointId note: this method should only be used for API response data and not user input
func (RestorePointId) ID ¶
func (id RestorePointId) ID() string
ID returns the formatted Restore Point ID
func (RestorePointId) Segments ¶
func (id RestorePointId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Restore Point ID
func (RestorePointId) String ¶
func (id RestorePointId) String() string
String returns a human-readable description of this Restore Point ID
type SupportedCapabilities ¶
type SupportedCapabilities struct { AcceleratedNetwork *bool `json:"acceleratedNetwork,omitempty"` Architecture *Architecture `json:"architecture,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_diskrestorepoint.go
- id_restorepoint.go
- method_diskrestorepointget_autorest.go
- method_diskrestorepointgrantaccess_autorest.go
- method_diskrestorepointlistbyrestorepoint_autorest.go
- method_diskrestorepointrevokeaccess_autorest.go
- model_accessuri.go
- model_diskrestorepoint.go
- model_diskrestorepointproperties.go
- model_disksecurityprofile.go
- model_encryption.go
- model_grantaccessdata.go
- model_purchaseplan.go
- model_supportedcapabilities.go
- predicates.go
- version.go