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 DiskRestorePointListByRestorePointCustomPager
- 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) (result DiskRestorePointListByRestorePointOperationResponse, err error)
- func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointComplete(ctx context.Context, id RestorePointId) (DiskRestorePointListByRestorePointCompleteResult, error)
- func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointCompleteMatchingPredicate(ctx context.Context, id RestorePointId, ...) (result 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" )
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 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 OData *odata.OData Model *DiskRestorePoint }
type DiskRestorePointId ¶
type DiskRestorePointId struct { SubscriptionId string ResourceGroupName string RestorePointCollectionName string RestorePointName 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, restorePointName 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) FromParseResult ¶
func (id *DiskRestorePointId) FromParseResult(input resourceids.ParseResult) error
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 { LatestHttpResponse *http.Response Items []DiskRestorePoint }
type DiskRestorePointListByRestorePointCustomPager ¶
type DiskRestorePointListByRestorePointCustomPager struct {
NextLink *odata.Link `json:"nextLink"`
}
func (*DiskRestorePointListByRestorePointCustomPager) NextPageLink ¶
func (p *DiskRestorePointListByRestorePointCustomPager) NextPageLink() *odata.Link
type DiskRestorePointListByRestorePointOperationResponse ¶
type DiskRestorePointListByRestorePointOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DiskRestorePoint }
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 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 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" )
func (*EncryptionType) UnmarshalJSON ¶
func (s *EncryptionType) UnmarshalJSON(bytes []byte) error
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 IncrementalRestorePointsClient ¶
type IncrementalRestorePointsClient struct {
Client *resourcemanager.Client
}
func NewIncrementalRestorePointsClientWithBaseURI ¶
func NewIncrementalRestorePointsClientWithBaseURI(sdkApi sdkEnv.Api) (*IncrementalRestorePointsClient, error)
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) (result DiskRestorePointListByRestorePointOperationResponse, err error)
DiskRestorePointListByRestorePoint ...
func (IncrementalRestorePointsClient) DiskRestorePointListByRestorePointComplete ¶
func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointComplete(ctx context.Context, id RestorePointId) (DiskRestorePointListByRestorePointCompleteResult, error)
DiskRestorePointListByRestorePointComplete retrieves all the results into a single object
func (IncrementalRestorePointsClient) DiskRestorePointListByRestorePointCompleteMatchingPredicate ¶
func (c IncrementalRestorePointsClient) DiskRestorePointListByRestorePointCompleteMatchingPredicate(ctx context.Context, id RestorePointId, predicate DiskRestorePointOperationPredicate) (result DiskRestorePointListByRestorePointCompleteResult, err error)
DiskRestorePointListByRestorePointCompleteMatchingPredicate retrieves all the results and then applies 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" )
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 RestorePointId ¶
type RestorePointId struct { SubscriptionId string ResourceGroupName string RestorePointCollectionName string RestorePointName string }
RestorePointId is a struct representing the Resource ID for a Restore Point
func NewRestorePointID ¶
func NewRestorePointID(subscriptionId string, resourceGroupName string, restorePointCollectionName string, restorePointName 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) FromParseResult ¶
func (id *RestorePointId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_diskrestorepointgrantaccess.go
- method_diskrestorepointlistbyrestorepoint.go
- method_diskrestorepointrevokeaccess.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