validateoperation

package
v0.20241206.1180327 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-06-01/validateoperation Documentation

The validateoperation SDK allows for interaction with Azure Resource Manager recoveryservicesbackup (API Version 2023-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicesbackup/2023-06-01/validateoperation"

Client Initialization

client := validateoperation.NewValidateOperationClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ValidateOperationClient.Trigger

ctx := context.TODO()
id := validateoperation.NewVaultID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName")

payload := validateoperation.ValidateOperationRequestResource{
	// ...
}


if err := client.TriggerThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForCopyOptions

func PossibleValuesForCopyOptions() []string

func PossibleValuesForOverwriteOptions

func PossibleValuesForOverwriteOptions() []string

func PossibleValuesForRecoveryMode

func PossibleValuesForRecoveryMode() []string

func PossibleValuesForRecoveryType

func PossibleValuesForRecoveryType() []string

func PossibleValuesForRehydrationPriority

func PossibleValuesForRehydrationPriority() []string

func PossibleValuesForRestoreRequestType

func PossibleValuesForRestoreRequestType() []string

func PossibleValuesForSQLDataDirectoryType

func PossibleValuesForSQLDataDirectoryType() []string

func PossibleValuesForTargetDiskNetworkAccessOption

func PossibleValuesForTargetDiskNetworkAccessOption() []string

func ValidateVaultID

func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)

ValidateVaultID checks that 'input' can be parsed as a Vault ID

Types

type AzureFileShareRestoreRequest

type AzureFileShareRestoreRequest struct {
	CopyOptions        *CopyOptions          `json:"copyOptions,omitempty"`
	RecoveryType       *RecoveryType         `json:"recoveryType,omitempty"`
	RestoreFileSpecs   *[]RestoreFileSpecs   `json:"restoreFileSpecs,omitempty"`
	RestoreRequestType *RestoreRequestType   `json:"restoreRequestType,omitempty"`
	SourceResourceId   *string               `json:"sourceResourceId,omitempty"`
	TargetDetails      *TargetAFSRestoreInfo `json:"targetDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureFileShareRestoreRequest) MarshalJSON

func (s AzureFileShareRestoreRequest) MarshalJSON() ([]byte, error)

func (AzureFileShareRestoreRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadPointInTimeRestoreRequest

type AzureWorkloadPointInTimeRestoreRequest struct {
	PointInTime                        *string                             `json:"pointInTime,omitempty"`
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadPointInTimeRestoreRequest) MarshalJSON

func (s AzureWorkloadPointInTimeRestoreRequest) MarshalJSON() ([]byte, error)

func (AzureWorkloadPointInTimeRestoreRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadRestoreRequest

type AzureWorkloadRestoreRequest struct {
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadRestoreRequest) MarshalJSON

func (s AzureWorkloadRestoreRequest) MarshalJSON() ([]byte, error)

func (AzureWorkloadRestoreRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSAPHanaPointInTimeRestoreRequest

type AzureWorkloadSAPHanaPointInTimeRestoreRequest struct {
	PointInTime                        *string                             `json:"pointInTime,omitempty"`
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSAPHanaPointInTimeRestoreRequest) MarshalJSON

func (AzureWorkloadSAPHanaPointInTimeRestoreRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest

type AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest struct {
	PointInTime                        *string                             `json:"pointInTime,omitempty"`
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryPointRehydrationInfo       *RecoveryPointRehydrationInfo       `json:"recoveryPointRehydrationInfo,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) MarshalJSON

func (AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSAPHanaRestoreRequest

type AzureWorkloadSAPHanaRestoreRequest struct {
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSAPHanaRestoreRequest) MarshalJSON

func (s AzureWorkloadSAPHanaRestoreRequest) MarshalJSON() ([]byte, error)

func (AzureWorkloadSAPHanaRestoreRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSAPHanaRestoreWithRehydrateRequest

type AzureWorkloadSAPHanaRestoreWithRehydrateRequest struct {
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryPointRehydrationInfo       *RecoveryPointRehydrationInfo       `json:"recoveryPointRehydrationInfo,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSAPHanaRestoreWithRehydrateRequest) MarshalJSON

func (AzureWorkloadSAPHanaRestoreWithRehydrateRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSQLPointInTimeRestoreRequest

type AzureWorkloadSQLPointInTimeRestoreRequest struct {
	AlternateDirectoryPaths            *[]SQLDataDirectoryMapping          `json:"alternateDirectoryPaths,omitempty"`
	IsNonRecoverable                   *bool                               `json:"isNonRecoverable,omitempty"`
	PointInTime                        *string                             `json:"pointInTime,omitempty"`
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	ShouldUseAlternateTargetLocation   *bool                               `json:"shouldUseAlternateTargetLocation,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSQLPointInTimeRestoreRequest) MarshalJSON

func (AzureWorkloadSQLPointInTimeRestoreRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest

type AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest struct {
	AlternateDirectoryPaths            *[]SQLDataDirectoryMapping          `json:"alternateDirectoryPaths,omitempty"`
	IsNonRecoverable                   *bool                               `json:"isNonRecoverable,omitempty"`
	PointInTime                        *string                             `json:"pointInTime,omitempty"`
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryPointRehydrationInfo       *RecoveryPointRehydrationInfo       `json:"recoveryPointRehydrationInfo,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	ShouldUseAlternateTargetLocation   *bool                               `json:"shouldUseAlternateTargetLocation,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) MarshalJSON

func (AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSQLRestoreRequest

type AzureWorkloadSQLRestoreRequest struct {
	AlternateDirectoryPaths            *[]SQLDataDirectoryMapping          `json:"alternateDirectoryPaths,omitempty"`
	IsNonRecoverable                   *bool                               `json:"isNonRecoverable,omitempty"`
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	ShouldUseAlternateTargetLocation   *bool                               `json:"shouldUseAlternateTargetLocation,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSQLRestoreRequest) MarshalJSON

func (s AzureWorkloadSQLRestoreRequest) MarshalJSON() ([]byte, error)

func (AzureWorkloadSQLRestoreRequest) RestoreRequest added in v0.20240920.1135249

type AzureWorkloadSQLRestoreWithRehydrateRequest

type AzureWorkloadSQLRestoreWithRehydrateRequest struct {
	AlternateDirectoryPaths            *[]SQLDataDirectoryMapping          `json:"alternateDirectoryPaths,omitempty"`
	IsNonRecoverable                   *bool                               `json:"isNonRecoverable,omitempty"`
	PropertyBag                        *map[string]string                  `json:"propertyBag,omitempty"`
	RecoveryMode                       *RecoveryMode                       `json:"recoveryMode,omitempty"`
	RecoveryPointRehydrationInfo       *RecoveryPointRehydrationInfo       `json:"recoveryPointRehydrationInfo,omitempty"`
	RecoveryType                       *RecoveryType                       `json:"recoveryType,omitempty"`
	ShouldUseAlternateTargetLocation   *bool                               `json:"shouldUseAlternateTargetLocation,omitempty"`
	SnapshotRestoreParameters          *SnapshotRestoreParameters          `json:"snapshotRestoreParameters,omitempty"`
	SourceResourceId                   *string                             `json:"sourceResourceId,omitempty"`
	TargetInfo                         *TargetRestoreInfo                  `json:"targetInfo,omitempty"`
	TargetResourceGroupName            *string                             `json:"targetResourceGroupName,omitempty"`
	TargetVirtualMachineId             *string                             `json:"targetVirtualMachineId,omitempty"`
	UserAssignedManagedIdentityDetails *UserAssignedManagedIdentityDetails `json:"userAssignedManagedIdentityDetails,omitempty"`

	ObjectType string `json:"objectType"`
}

func (AzureWorkloadSQLRestoreWithRehydrateRequest) MarshalJSON

func (AzureWorkloadSQLRestoreWithRehydrateRequest) RestoreRequest added in v0.20240920.1135249

type BaseRestoreRequestImpl added in v0.20240920.1135249

type BaseRestoreRequestImpl struct {
	ObjectType string `json:"objectType"`
}

func (BaseRestoreRequestImpl) RestoreRequest added in v0.20240920.1135249

type BaseValidateOperationRequestImpl added in v0.20240920.1135249

type BaseValidateOperationRequestImpl struct {
	ObjectType string `json:"objectType"`
}

func (BaseValidateOperationRequestImpl) ValidateOperationRequest added in v0.20240920.1135249

type CopyOptions

type CopyOptions string
const (
	CopyOptionsCreateCopy     CopyOptions = "CreateCopy"
	CopyOptionsFailOnConflict CopyOptions = "FailOnConflict"
	CopyOptionsInvalid        CopyOptions = "Invalid"
	CopyOptionsOverwrite      CopyOptions = "Overwrite"
	CopyOptionsSkip           CopyOptions = "Skip"
)

type EncryptionDetails

type EncryptionDetails struct {
	EncryptionEnabled *bool   `json:"encryptionEnabled,omitempty"`
	KekURL            *string `json:"kekUrl,omitempty"`
	KekVaultId        *string `json:"kekVaultId,omitempty"`
	SecretKeyURL      *string `json:"secretKeyUrl,omitempty"`
	SecretKeyVaultId  *string `json:"secretKeyVaultId,omitempty"`
}

type ExtendedLocation

type ExtendedLocation struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type IaasVMRestoreRequest

type IaasVMRestoreRequest struct {
	AffinityGroup                   *string                          `json:"affinityGroup,omitempty"`
	CreateNewCloudService           *bool                            `json:"createNewCloudService,omitempty"`
	DiskEncryptionSetId             *string                          `json:"diskEncryptionSetId,omitempty"`
	EncryptionDetails               *EncryptionDetails               `json:"encryptionDetails,omitempty"`
	ExtendedLocation                *ExtendedLocation                `json:"extendedLocation,omitempty"`
	IdentityBasedRestoreDetails     *IdentityBasedRestoreDetails     `json:"identityBasedRestoreDetails,omitempty"`
	IdentityInfo                    *IdentityInfo                    `json:"identityInfo,omitempty"`
	OriginalStorageAccountOption    *bool                            `json:"originalStorageAccountOption,omitempty"`
	RecoveryPointId                 *string                          `json:"recoveryPointId,omitempty"`
	RecoveryType                    *RecoveryType                    `json:"recoveryType,omitempty"`
	Region                          *string                          `json:"region,omitempty"`
	RestoreDiskLunList              *[]int64                         `json:"restoreDiskLunList,omitempty"`
	RestoreWithManagedDisks         *bool                            `json:"restoreWithManagedDisks,omitempty"`
	SecuredVMDetails                *SecuredVMDetails                `json:"securedVMDetails,omitempty"`
	SourceResourceId                *string                          `json:"sourceResourceId,omitempty"`
	StorageAccountId                *string                          `json:"storageAccountId,omitempty"`
	SubnetId                        *string                          `json:"subnetId,omitempty"`
	TargetDiskNetworkAccessSettings *TargetDiskNetworkAccessSettings `json:"targetDiskNetworkAccessSettings,omitempty"`
	TargetDomainNameId              *string                          `json:"targetDomainNameId,omitempty"`
	TargetResourceGroupId           *string                          `json:"targetResourceGroupId,omitempty"`
	TargetVirtualMachineId          *string                          `json:"targetVirtualMachineId,omitempty"`
	VirtualNetworkId                *string                          `json:"virtualNetworkId,omitempty"`
	Zones                           *zones.Schema                    `json:"zones,omitempty"`

	ObjectType string `json:"objectType"`
}

func (IaasVMRestoreRequest) MarshalJSON

func (s IaasVMRestoreRequest) MarshalJSON() ([]byte, error)

func (IaasVMRestoreRequest) RestoreRequest added in v0.20240920.1135249

func (s IaasVMRestoreRequest) RestoreRequest() BaseRestoreRequestImpl

type IaasVMRestoreWithRehydrationRequest

type IaasVMRestoreWithRehydrationRequest struct {
	AffinityGroup                   *string                          `json:"affinityGroup,omitempty"`
	CreateNewCloudService           *bool                            `json:"createNewCloudService,omitempty"`
	DiskEncryptionSetId             *string                          `json:"diskEncryptionSetId,omitempty"`
	EncryptionDetails               *EncryptionDetails               `json:"encryptionDetails,omitempty"`
	ExtendedLocation                *ExtendedLocation                `json:"extendedLocation,omitempty"`
	IdentityBasedRestoreDetails     *IdentityBasedRestoreDetails     `json:"identityBasedRestoreDetails,omitempty"`
	IdentityInfo                    *IdentityInfo                    `json:"identityInfo,omitempty"`
	OriginalStorageAccountOption    *bool                            `json:"originalStorageAccountOption,omitempty"`
	RecoveryPointId                 *string                          `json:"recoveryPointId,omitempty"`
	RecoveryPointRehydrationInfo    *RecoveryPointRehydrationInfo    `json:"recoveryPointRehydrationInfo,omitempty"`
	RecoveryType                    *RecoveryType                    `json:"recoveryType,omitempty"`
	Region                          *string                          `json:"region,omitempty"`
	RestoreDiskLunList              *[]int64                         `json:"restoreDiskLunList,omitempty"`
	RestoreWithManagedDisks         *bool                            `json:"restoreWithManagedDisks,omitempty"`
	SecuredVMDetails                *SecuredVMDetails                `json:"securedVMDetails,omitempty"`
	SourceResourceId                *string                          `json:"sourceResourceId,omitempty"`
	StorageAccountId                *string                          `json:"storageAccountId,omitempty"`
	SubnetId                        *string                          `json:"subnetId,omitempty"`
	TargetDiskNetworkAccessSettings *TargetDiskNetworkAccessSettings `json:"targetDiskNetworkAccessSettings,omitempty"`
	TargetDomainNameId              *string                          `json:"targetDomainNameId,omitempty"`
	TargetResourceGroupId           *string                          `json:"targetResourceGroupId,omitempty"`
	TargetVirtualMachineId          *string                          `json:"targetVirtualMachineId,omitempty"`
	VirtualNetworkId                *string                          `json:"virtualNetworkId,omitempty"`
	Zones                           *zones.Schema                    `json:"zones,omitempty"`

	ObjectType string `json:"objectType"`
}

func (IaasVMRestoreWithRehydrationRequest) MarshalJSON

func (s IaasVMRestoreWithRehydrationRequest) MarshalJSON() ([]byte, error)

func (IaasVMRestoreWithRehydrationRequest) RestoreRequest added in v0.20240920.1135249

type IdentityBasedRestoreDetails

type IdentityBasedRestoreDetails struct {
	ObjectType             *string `json:"objectType,omitempty"`
	TargetStorageAccountId *string `json:"targetStorageAccountId,omitempty"`
}

type IdentityInfo

type IdentityInfo struct {
	IsSystemAssignedIdentity  *bool   `json:"isSystemAssignedIdentity,omitempty"`
	ManagedIdentityResourceId *string `json:"managedIdentityResourceId,omitempty"`
}

type OverwriteOptions

type OverwriteOptions string
const (
	OverwriteOptionsFailOnConflict OverwriteOptions = "FailOnConflict"
	OverwriteOptionsInvalid        OverwriteOptions = "Invalid"
	OverwriteOptionsOverwrite      OverwriteOptions = "Overwrite"
)

type RawRestoreRequestImpl

type RawRestoreRequestImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawRestoreRequestImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawRestoreRequestImpl) RestoreRequest added in v0.20240920.1135249

func (s RawRestoreRequestImpl) RestoreRequest() BaseRestoreRequestImpl

type RawValidateOperationRequestImpl

type RawValidateOperationRequestImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawValidateOperationRequestImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawValidateOperationRequestImpl) ValidateOperationRequest added in v0.20240920.1135249

type RecoveryMode

type RecoveryMode string
const (
	RecoveryModeFileRecovery             RecoveryMode = "FileRecovery"
	RecoveryModeInvalid                  RecoveryMode = "Invalid"
	RecoveryModeRecoveryUsingSnapshot    RecoveryMode = "RecoveryUsingSnapshot"
	RecoveryModeSnapshotAttach           RecoveryMode = "SnapshotAttach"
	RecoveryModeSnapshotAttachAndRecover RecoveryMode = "SnapshotAttachAndRecover"
	RecoveryModeWorkloadRecovery         RecoveryMode = "WorkloadRecovery"
)

type RecoveryPointRehydrationInfo

type RecoveryPointRehydrationInfo struct {
	RehydrationPriority          *RehydrationPriority `json:"rehydrationPriority,omitempty"`
	RehydrationRetentionDuration *string              `json:"rehydrationRetentionDuration,omitempty"`
}

type RecoveryType

type RecoveryType string
const (
	RecoveryTypeAlternateLocation RecoveryType = "AlternateLocation"
	RecoveryTypeInvalid           RecoveryType = "Invalid"
	RecoveryTypeOffline           RecoveryType = "Offline"
	RecoveryTypeOriginalLocation  RecoveryType = "OriginalLocation"
	RecoveryTypeRestoreDisks      RecoveryType = "RestoreDisks"
)

type RehydrationPriority

type RehydrationPriority string
const (
	RehydrationPriorityHigh     RehydrationPriority = "High"
	RehydrationPriorityStandard RehydrationPriority = "Standard"
)

type RestoreFileSpecs

type RestoreFileSpecs struct {
	FileSpecType     *string `json:"fileSpecType,omitempty"`
	Path             *string `json:"path,omitempty"`
	TargetFolderPath *string `json:"targetFolderPath,omitempty"`
}

type RestoreRequest

type RestoreRequest interface {
	RestoreRequest() BaseRestoreRequestImpl
}

func UnmarshalRestoreRequestImplementation added in v0.20240920.1135249

func UnmarshalRestoreRequestImplementation(input []byte) (RestoreRequest, error)

type RestoreRequestType

type RestoreRequestType string
const (
	RestoreRequestTypeFullShareRestore RestoreRequestType = "FullShareRestore"
	RestoreRequestTypeInvalid          RestoreRequestType = "Invalid"
	RestoreRequestTypeItemLevelRestore RestoreRequestType = "ItemLevelRestore"
)

type SQLDataDirectoryMapping

type SQLDataDirectoryMapping struct {
	MappingType       *SQLDataDirectoryType `json:"mappingType,omitempty"`
	SourceLogicalName *string               `json:"sourceLogicalName,omitempty"`
	SourcePath        *string               `json:"sourcePath,omitempty"`
	TargetPath        *string               `json:"targetPath,omitempty"`
}

type SQLDataDirectoryType

type SQLDataDirectoryType string
const (
	SQLDataDirectoryTypeData    SQLDataDirectoryType = "Data"
	SQLDataDirectoryTypeInvalid SQLDataDirectoryType = "Invalid"
	SQLDataDirectoryTypeLog     SQLDataDirectoryType = "Log"
)

type SecuredVMDetails

type SecuredVMDetails struct {
	SecuredVMOsDiskEncryptionSetId *string `json:"securedVMOsDiskEncryptionSetId,omitempty"`
}

type SnapshotRestoreParameters

type SnapshotRestoreParameters struct {
	LogPointInTimeForDBRecovery *string `json:"logPointInTimeForDBRecovery,omitempty"`
	SkipAttachAndMount          *bool   `json:"skipAttachAndMount,omitempty"`
}

type TargetAFSRestoreInfo

type TargetAFSRestoreInfo struct {
	Name             *string `json:"name,omitempty"`
	TargetResourceId *string `json:"targetResourceId,omitempty"`
}

type TargetDiskNetworkAccessOption

type TargetDiskNetworkAccessOption string
const (
	TargetDiskNetworkAccessOptionEnablePrivateAccessForAllDisks TargetDiskNetworkAccessOption = "EnablePrivateAccessForAllDisks"
	TargetDiskNetworkAccessOptionEnablePublicAccessForAllDisks  TargetDiskNetworkAccessOption = "EnablePublicAccessForAllDisks"
	TargetDiskNetworkAccessOptionSameAsOnSourceDisks            TargetDiskNetworkAccessOption = "SameAsOnSourceDisks"
)

type TargetDiskNetworkAccessSettings

type TargetDiskNetworkAccessSettings struct {
	TargetDiskAccessId            *string                        `json:"targetDiskAccessId,omitempty"`
	TargetDiskNetworkAccessOption *TargetDiskNetworkAccessOption `json:"targetDiskNetworkAccessOption,omitempty"`
}

type TargetRestoreInfo

type TargetRestoreInfo struct {
	ContainerId                   *string           `json:"containerId,omitempty"`
	DatabaseName                  *string           `json:"databaseName,omitempty"`
	OverwriteOption               *OverwriteOptions `json:"overwriteOption,omitempty"`
	TargetDirectoryForFileRestore *string           `json:"targetDirectoryForFileRestore,omitempty"`
}

type TriggerOperationResponse

type TriggerOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type UserAssignedIdentityProperties

type UserAssignedIdentityProperties struct {
	ClientId    *string `json:"clientId,omitempty"`
	PrincipalId *string `json:"principalId,omitempty"`
}

type UserAssignedManagedIdentityDetails

type UserAssignedManagedIdentityDetails struct {
	IdentityArmId                  *string                         `json:"identityArmId,omitempty"`
	IdentityName                   *string                         `json:"identityName,omitempty"`
	UserAssignedIdentityProperties *UserAssignedIdentityProperties `json:"userAssignedIdentityProperties,omitempty"`
}

type ValidateIaasVMRestoreOperationRequest

type ValidateIaasVMRestoreOperationRequest struct {
	RestoreRequest RestoreRequest `json:"restoreRequest"`

	ObjectType string `json:"objectType"`
}

func (ValidateIaasVMRestoreOperationRequest) MarshalJSON

func (s ValidateIaasVMRestoreOperationRequest) MarshalJSON() ([]byte, error)

func (*ValidateIaasVMRestoreOperationRequest) UnmarshalJSON

func (s *ValidateIaasVMRestoreOperationRequest) UnmarshalJSON(bytes []byte) error

func (ValidateIaasVMRestoreOperationRequest) ValidateOperationRequest added in v0.20240920.1135249

type ValidateOperationClient

type ValidateOperationClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewValidateOperationClientWithBaseURI

func NewValidateOperationClientWithBaseURI(endpoint string) ValidateOperationClient

func (ValidateOperationClient) Trigger

Trigger ...

func (ValidateOperationClient) TriggerThenPoll

TriggerThenPoll performs Trigger then polls until it's completed

type ValidateOperationRequest

type ValidateOperationRequest interface {
	ValidateOperationRequest() BaseValidateOperationRequestImpl
}

func UnmarshalValidateOperationRequestImplementation added in v0.20240920.1135249

func UnmarshalValidateOperationRequestImplementation(input []byte) (ValidateOperationRequest, error)

type ValidateOperationRequestResource

type ValidateOperationRequestResource struct {
	Id         string                   `json:"id"`
	Properties ValidateOperationRequest `json:"properties"`
}

func (*ValidateOperationRequestResource) UnmarshalJSON

func (s *ValidateOperationRequestResource) UnmarshalJSON(bytes []byte) error

type ValidateRestoreOperationRequest

type ValidateRestoreOperationRequest struct {
	RestoreRequest RestoreRequest `json:"restoreRequest"`

	ObjectType string `json:"objectType"`
}

func (ValidateRestoreOperationRequest) MarshalJSON

func (s ValidateRestoreOperationRequest) MarshalJSON() ([]byte, error)

func (*ValidateRestoreOperationRequest) UnmarshalJSON

func (s *ValidateRestoreOperationRequest) UnmarshalJSON(bytes []byte) error

func (ValidateRestoreOperationRequest) ValidateOperationRequest added in v0.20240920.1135249

type VaultId

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID

func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId

NewVaultID returns a new VaultId struct

func ParseVaultID

func ParseVaultID(input string) (*VaultId, error)

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively

func ParseVaultIDInsensitively(input string) (*VaultId, error)

ParseVaultIDInsensitively parses 'input' case-insensitively into a VaultId note: this method should only be used for API response data and not user input

func (*VaultId) FromParseResult

func (id *VaultId) FromParseResult(input resourceids.ParseResult) error

func (VaultId) ID

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments

func (id VaultId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Vault ID

func (VaultId) String

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL