azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-07-10/siterecovery Index | Files | Directories

package siterecovery

import "github.com/Azure/azure-sdk-for-go/services/recoveryservices/mgmt/2018-07-10/siterecovery"

Package siterecovery implements the Azure ARM Siterecovery service API version 2018-07-10.

Index

Package Files

client.go enums.go migrationrecoverypoints.go models.go operations.go recoverypoints.go replicationalertsettings.go replicationeligibilityresults.go replicationevents.go replicationfabrics.go replicationjobs.go replicationlogicalnetworks.go replicationmigrationitems.go replicationnetworkmappings.go replicationnetworks.go replicationpolicies.go replicationprotectableitems.go replicationprotecteditems.go replicationprotectioncontainermappings.go replicationprotectioncontainers.go replicationprotectionintents.go replicationrecoveryplans.go replicationrecoveryservicesproviders.go replicationstorageclassificationmappings.go replicationstorageclassifications.go replicationvaulthealth.go replicationvaultsetting.go replicationvcenters.go supportedoperatingsystems.go targetcomputesizes.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Siterecovery
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type A2AAddDisksInput Uses

type A2AAddDisksInput struct {
    // VMDisks - The list of vm disk details.
    VMDisks *[]A2AVMDiskInputDetails `json:"vmDisks,omitempty"`
    // VMManagedDisks - The list of vm managed disk details.
    VMManagedDisks *[]A2AVMManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeAddDisksProviderSpecificInput', 'InstanceTypeA2A'
    InstanceType InstanceType `json:"instanceType,omitempty"`
}

A2AAddDisksInput a2A add disk(s) input.

func (A2AAddDisksInput) AsA2AAddDisksInput Uses

func (aadi A2AAddDisksInput) AsA2AAddDisksInput() (*A2AAddDisksInput, bool)

AsA2AAddDisksInput is the BasicAddDisksProviderSpecificInput implementation for A2AAddDisksInput.

func (A2AAddDisksInput) AsAddDisksProviderSpecificInput Uses

func (aadi A2AAddDisksInput) AsAddDisksProviderSpecificInput() (*AddDisksProviderSpecificInput, bool)

AsAddDisksProviderSpecificInput is the BasicAddDisksProviderSpecificInput implementation for A2AAddDisksInput.

func (A2AAddDisksInput) AsBasicAddDisksProviderSpecificInput Uses

func (aadi A2AAddDisksInput) AsBasicAddDisksProviderSpecificInput() (BasicAddDisksProviderSpecificInput, bool)

AsBasicAddDisksProviderSpecificInput is the BasicAddDisksProviderSpecificInput implementation for A2AAddDisksInput.

func (A2AAddDisksInput) MarshalJSON Uses

func (aadi A2AAddDisksInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AAddDisksInput.

type A2AApplyRecoveryPointInput Uses

type A2AApplyRecoveryPointInput struct {
    // InstanceType - Possible values include: 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeApplyRecoveryPointProviderSpecificInput', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageRcm'
    InstanceType InstanceTypeBasicApplyRecoveryPointProviderSpecificInput `json:"instanceType,omitempty"`
}

A2AApplyRecoveryPointInput applyRecoveryPoint input specific to A2A provider.

func (A2AApplyRecoveryPointInput) AsA2AApplyRecoveryPointInput Uses

func (aarpi A2AApplyRecoveryPointInput) AsA2AApplyRecoveryPointInput() (*A2AApplyRecoveryPointInput, bool)

AsA2AApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsApplyRecoveryPointProviderSpecificInput Uses

func (aarpi A2AApplyRecoveryPointInput) AsApplyRecoveryPointProviderSpecificInput() (*ApplyRecoveryPointProviderSpecificInput, bool)

AsApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecificInput Uses

func (aarpi A2AApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecificInput() (BasicApplyRecoveryPointProviderSpecificInput, bool)

AsBasicApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsHyperVReplicaAzureApplyRecoveryPointInput Uses

func (aarpi A2AApplyRecoveryPointInput) AsHyperVReplicaAzureApplyRecoveryPointInput() (*HyperVReplicaAzureApplyRecoveryPointInput, bool)

AsHyperVReplicaAzureApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsInMageAzureV2ApplyRecoveryPointInput Uses

func (aarpi A2AApplyRecoveryPointInput) AsInMageAzureV2ApplyRecoveryPointInput() (*InMageAzureV2ApplyRecoveryPointInput, bool)

AsInMageAzureV2ApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsInMageRcmApplyRecoveryPointInput Uses

func (aarpi A2AApplyRecoveryPointInput) AsInMageRcmApplyRecoveryPointInput() (*InMageRcmApplyRecoveryPointInput, bool)

AsInMageRcmApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) MarshalJSON Uses

func (aarpi A2AApplyRecoveryPointInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AApplyRecoveryPointInput.

type A2AContainerCreationInput Uses

type A2AContainerCreationInput struct {
    // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeSixcSevendaFourFiveFiveFiveZeroSixfFourThreeffAOneSixaEightebOneZeroOneaebbSevenZero'
    InstanceType InstanceTypeBasicReplicationProviderSpecificContainerCreationInput `json:"instanceType,omitempty"`
}

A2AContainerCreationInput a2A cloud creation input.

func (A2AContainerCreationInput) AsA2AContainerCreationInput Uses

func (acci A2AContainerCreationInput) AsA2AContainerCreationInput() (*A2AContainerCreationInput, bool)

AsA2AContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for A2AContainerCreationInput.

func (A2AContainerCreationInput) AsBasicReplicationProviderSpecificContainerCreationInput Uses

func (acci A2AContainerCreationInput) AsBasicReplicationProviderSpecificContainerCreationInput() (BasicReplicationProviderSpecificContainerCreationInput, bool)

AsBasicReplicationProviderSpecificContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for A2AContainerCreationInput.

func (A2AContainerCreationInput) AsReplicationProviderSpecificContainerCreationInput Uses

func (acci A2AContainerCreationInput) AsReplicationProviderSpecificContainerCreationInput() (*ReplicationProviderSpecificContainerCreationInput, bool)

AsReplicationProviderSpecificContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for A2AContainerCreationInput.

func (A2AContainerCreationInput) AsVMwareCbtContainerCreationInput Uses

func (acci A2AContainerCreationInput) AsVMwareCbtContainerCreationInput() (*VMwareCbtContainerCreationInput, bool)

AsVMwareCbtContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for A2AContainerCreationInput.

func (A2AContainerCreationInput) MarshalJSON Uses

func (acci A2AContainerCreationInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AContainerCreationInput.

type A2AContainerMappingInput Uses

type A2AContainerMappingInput struct {
    // AgentAutoUpdateStatus - A value indicating whether the auto update is enabled. Possible values include: 'Disabled', 'Enabled'
    AgentAutoUpdateStatus AgentAutoUpdateStatus `json:"agentAutoUpdateStatus,omitempty"`
    // AutomationAccountArmID - The automation account arm id.
    AutomationAccountArmID *string `json:"automationAccountArmId,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificContainerMappingInputInstanceTypeReplicationProviderSpecificContainerMappingInput', 'InstanceTypeBasicReplicationProviderSpecificContainerMappingInputInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificContainerMappingInputInstanceTypeVMwareCbt'
    InstanceType InstanceTypeBasicReplicationProviderSpecificContainerMappingInput `json:"instanceType,omitempty"`
}

A2AContainerMappingInput a2A container mapping input.

func (A2AContainerMappingInput) AsA2AContainerMappingInput Uses

func (acmi A2AContainerMappingInput) AsA2AContainerMappingInput() (*A2AContainerMappingInput, bool)

AsA2AContainerMappingInput is the BasicReplicationProviderSpecificContainerMappingInput implementation for A2AContainerMappingInput.

func (A2AContainerMappingInput) AsBasicReplicationProviderSpecificContainerMappingInput Uses

func (acmi A2AContainerMappingInput) AsBasicReplicationProviderSpecificContainerMappingInput() (BasicReplicationProviderSpecificContainerMappingInput, bool)

AsBasicReplicationProviderSpecificContainerMappingInput is the BasicReplicationProviderSpecificContainerMappingInput implementation for A2AContainerMappingInput.

func (A2AContainerMappingInput) AsReplicationProviderSpecificContainerMappingInput Uses

func (acmi A2AContainerMappingInput) AsReplicationProviderSpecificContainerMappingInput() (*ReplicationProviderSpecificContainerMappingInput, bool)

AsReplicationProviderSpecificContainerMappingInput is the BasicReplicationProviderSpecificContainerMappingInput implementation for A2AContainerMappingInput.

func (A2AContainerMappingInput) AsVMwareCbtContainerMappingInput Uses

func (acmi A2AContainerMappingInput) AsVMwareCbtContainerMappingInput() (*VMwareCbtContainerMappingInput, bool)

AsVMwareCbtContainerMappingInput is the BasicReplicationProviderSpecificContainerMappingInput implementation for A2AContainerMappingInput.

func (A2AContainerMappingInput) MarshalJSON Uses

func (acmi A2AContainerMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AContainerMappingInput.

type A2ACreateProtectionIntentInput Uses

type A2ACreateProtectionIntentInput struct {
    // FabricObjectID - The fabric specific object Id of the virtual machine.
    FabricObjectID *string `json:"fabricObjectId,omitempty"`
    // PrimaryLocation - The primary location for the virtual machine.
    PrimaryLocation *string `json:"primaryLocation,omitempty"`
    // RecoveryLocation - The recovery location for the virtual machine.
    RecoveryLocation *string `json:"recoveryLocation,omitempty"`
    // RecoverySubscriptionID - The recovery subscription Id of the virtual machine.
    RecoverySubscriptionID *string `json:"recoverySubscriptionId,omitempty"`
    // RecoveryAvailabilityType - The recovery availability type of the virtual machine. Possible values include: 'Single', 'AvailabilitySet', 'AvailabilityZone'
    RecoveryAvailabilityType A2ARecoveryAvailabilityType `json:"recoveryAvailabilityType,omitempty"`
    // ProtectionProfileCustomInput - The protection profile custom inputs.
    ProtectionProfileCustomInput BasicProtectionProfileCustomDetails `json:"protectionProfileCustomInput,omitempty"`
    // RecoveryResourceGroupID - The recovery resource group Id. Valid for V2 scenarios.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // PrimaryStagingStorageAccountCustomInput - The primary staging storage account input.
    PrimaryStagingStorageAccountCustomInput BasicStorageAccountCustomDetails `json:"primaryStagingStorageAccountCustomInput,omitempty"`
    // RecoveryAvailabilitySetCustomInput - The recovery availability set input.
    RecoveryAvailabilitySetCustomInput BasicRecoveryAvailabilitySetCustomDetails `json:"recoveryAvailabilitySetCustomInput,omitempty"`
    // RecoveryVirtualNetworkCustomInput - The recovery virtual network input.
    RecoveryVirtualNetworkCustomInput BasicRecoveryVirtualNetworkCustomDetails `json:"recoveryVirtualNetworkCustomInput,omitempty"`
    // RecoveryProximityPlacementGroupCustomInput - The recovery proximity placement group custom input.
    RecoveryProximityPlacementGroupCustomInput BasicRecoveryProximityPlacementGroupCustomDetails `json:"recoveryProximityPlacementGroupCustomInput,omitempty"`
    // AutoProtectionOfDataDisk - A value indicating whether the auto protection is enabled. Possible values include: 'AutoProtectionOfDataDiskDisabled', 'AutoProtectionOfDataDiskEnabled'
    AutoProtectionOfDataDisk AutoProtectionOfDataDisk `json:"autoProtectionOfDataDisk,omitempty"`
    // VMDisks - The list of vm disk inputs.
    VMDisks *[]A2AProtectionIntentDiskInputDetails `json:"vmDisks,omitempty"`
    // VMManagedDisks - The list of vm managed disk inputs.
    VMManagedDisks *[]A2AProtectionIntentManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`
    // MultiVMGroupName - The multi vm group name.
    MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
    // MultiVMGroupID - The multi vm group id.
    MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
    // RecoveryBootDiagStorageAccount - The boot diagnostic storage account.
    RecoveryBootDiagStorageAccount BasicStorageAccountCustomDetails `json:"recoveryBootDiagStorageAccount,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information (for two pass flows).
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
    // RecoveryAvailabilityZone - The recovery availability zone.
    RecoveryAvailabilityZone *string `json:"recoveryAvailabilityZone,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicCreateProtectionIntentProviderSpecificDetailsInstanceTypeCreateProtectionIntentProviderSpecificDetails', 'InstanceTypeBasicCreateProtectionIntentProviderSpecificDetailsInstanceTypeA2A'
    InstanceType InstanceTypeBasicCreateProtectionIntentProviderSpecificDetails `json:"instanceType,omitempty"`
}

A2ACreateProtectionIntentInput a2A create protection intent input.

func (A2ACreateProtectionIntentInput) AsA2ACreateProtectionIntentInput Uses

func (acpii A2ACreateProtectionIntentInput) AsA2ACreateProtectionIntentInput() (*A2ACreateProtectionIntentInput, bool)

AsA2ACreateProtectionIntentInput is the BasicCreateProtectionIntentProviderSpecificDetails implementation for A2ACreateProtectionIntentInput.

func (A2ACreateProtectionIntentInput) AsBasicCreateProtectionIntentProviderSpecificDetails Uses

func (acpii A2ACreateProtectionIntentInput) AsBasicCreateProtectionIntentProviderSpecificDetails() (BasicCreateProtectionIntentProviderSpecificDetails, bool)

AsBasicCreateProtectionIntentProviderSpecificDetails is the BasicCreateProtectionIntentProviderSpecificDetails implementation for A2ACreateProtectionIntentInput.

func (A2ACreateProtectionIntentInput) AsCreateProtectionIntentProviderSpecificDetails Uses

func (acpii A2ACreateProtectionIntentInput) AsCreateProtectionIntentProviderSpecificDetails() (*CreateProtectionIntentProviderSpecificDetails, bool)

AsCreateProtectionIntentProviderSpecificDetails is the BasicCreateProtectionIntentProviderSpecificDetails implementation for A2ACreateProtectionIntentInput.

func (A2ACreateProtectionIntentInput) MarshalJSON Uses

func (acpii A2ACreateProtectionIntentInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2ACreateProtectionIntentInput.

func (*A2ACreateProtectionIntentInput) UnmarshalJSON Uses

func (acpii *A2ACreateProtectionIntentInput) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for A2ACreateProtectionIntentInput struct.

type A2AEnableProtectionInput Uses

type A2AEnableProtectionInput struct {
    // FabricObjectID - The fabric specific object Id of the virtual machine.
    FabricObjectID *string `json:"fabricObjectId,omitempty"`
    // RecoveryContainerID - The recovery container Id.
    RecoveryContainerID *string `json:"recoveryContainerId,omitempty"`
    // RecoveryResourceGroupID - The recovery resource group Id. Valid for V2 scenarios.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // RecoveryCloudServiceID - The recovery cloud service Id. Valid for V1 scenarios.
    RecoveryCloudServiceID *string `json:"recoveryCloudServiceId,omitempty"`
    // RecoveryAvailabilitySetID - The recovery availability set Id.
    RecoveryAvailabilitySetID *string `json:"recoveryAvailabilitySetId,omitempty"`
    // RecoveryProximityPlacementGroupID - The recovery proximity placement group Id.
    RecoveryProximityPlacementGroupID *string `json:"recoveryProximityPlacementGroupId,omitempty"`
    // VMDisks - The list of vm disk details.
    VMDisks *[]A2AVMDiskInputDetails `json:"vmDisks,omitempty"`
    // VMManagedDisks - The list of vm managed disk details.
    VMManagedDisks *[]A2AVMManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`
    // MultiVMGroupName - The multi vm group name.
    MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
    // RecoveryBootDiagStorageAccountID - The boot diagnostic storage account.
    RecoveryBootDiagStorageAccountID *string `json:"recoveryBootDiagStorageAccountId,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information.
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
    // RecoveryAvailabilityZone - The recovery availability zone.
    RecoveryAvailabilityZone *string `json:"recoveryAvailabilityZone,omitempty"`
    // RecoveryAzureNetworkID - The recovery Azure virtual network ARM id.
    RecoveryAzureNetworkID *string `json:"recoveryAzureNetworkId,omitempty"`
    // RecoverySubnetName - The recovery subnet name.
    RecoverySubnetName *string `json:"recoverySubnetName,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageRcm', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan'
    InstanceType InstanceTypeBasicEnableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

A2AEnableProtectionInput a2A enable protection input.

func (A2AEnableProtectionInput) AsA2AEnableProtectionInput Uses

func (aepi A2AEnableProtectionInput) AsA2AEnableProtectionInput() (*A2AEnableProtectionInput, bool)

AsA2AEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput Uses

func (aepi A2AEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput() (BasicEnableProtectionProviderSpecificInput, bool)

AsBasicEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsEnableProtectionProviderSpecificInput Uses

func (aepi A2AEnableProtectionInput) AsEnableProtectionProviderSpecificInput() (*EnableProtectionProviderSpecificInput, bool)

AsEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput Uses

func (aepi A2AEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput() (*HyperVReplicaAzureEnableProtectionInput, bool)

AsHyperVReplicaAzureEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsInMageAzureV2EnableProtectionInput Uses

func (aepi A2AEnableProtectionInput) AsInMageAzureV2EnableProtectionInput() (*InMageAzureV2EnableProtectionInput, bool)

AsInMageAzureV2EnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsInMageEnableProtectionInput Uses

func (aepi A2AEnableProtectionInput) AsInMageEnableProtectionInput() (*InMageEnableProtectionInput, bool)

AsInMageEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsInMageRcmEnableProtectionInput Uses

func (aepi A2AEnableProtectionInput) AsInMageRcmEnableProtectionInput() (*InMageRcmEnableProtectionInput, bool)

AsInMageRcmEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsSanEnableProtectionInput Uses

func (aepi A2AEnableProtectionInput) AsSanEnableProtectionInput() (*SanEnableProtectionInput, bool)

AsSanEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) MarshalJSON Uses

func (aepi A2AEnableProtectionInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AEnableProtectionInput.

type A2AEventDetails Uses

type A2AEventDetails struct {
    // ProtectedItemName - The protected item arm name.
    ProtectedItemName *string `json:"protectedItemName,omitempty"`
    // FabricObjectID - The azure vm arm id.
    FabricObjectID *string `json:"fabricObjectId,omitempty"`
    // FabricName - Fabric arm name.
    FabricName *string `json:"fabricName,omitempty"`
    // FabricLocation - The fabric location.
    FabricLocation *string `json:"fabricLocation,omitempty"`
    // RemoteFabricName - Remote fabric arm name.
    RemoteFabricName *string `json:"remoteFabricName,omitempty"`
    // RemoteFabricLocation - Remote fabric location.
    RemoteFabricLocation *string `json:"remoteFabricLocation,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeEventProviderSpecificDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicEventProviderSpecificDetailsInstanceTypeInMageRcm'
    InstanceType InstanceTypeBasicEventProviderSpecificDetails `json:"instanceType,omitempty"`
}

A2AEventDetails model class for event details of a A2A event.

func (A2AEventDetails) AsA2AEventDetails Uses

func (aed A2AEventDetails) AsA2AEventDetails() (*A2AEventDetails, bool)

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsBasicEventProviderSpecificDetails Uses

func (aed A2AEventDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool)

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsEventProviderSpecificDetails Uses

func (aed A2AEventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplica2012EventDetails Uses

func (aed A2AEventDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplica2012R2EventDetails Uses

func (aed A2AEventDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplicaAzureEventDetails Uses

func (aed A2AEventDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplicaBaseEventDetails Uses

func (aed A2AEventDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsInMageAzureV2EventDetails Uses

func (aed A2AEventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsInMageRcmEventDetails Uses

func (aed A2AEventDetails) AsInMageRcmEventDetails() (*InMageRcmEventDetails, bool)

AsInMageRcmEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) MarshalJSON Uses

func (aed A2AEventDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AEventDetails.

type A2AFailoverProviderInput Uses

type A2AFailoverProviderInput struct {
    // RecoveryPointID - The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.
    RecoveryPointID *string `json:"recoveryPointId,omitempty"`
    // CloudServiceCreationOption - A value indicating whether to use recovery cloud service for TFO or not.
    CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage'
    InstanceType InstanceTypeBasicProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

A2AFailoverProviderInput a2A provider specific input for failover.

func (A2AFailoverProviderInput) AsA2AFailoverProviderInput Uses

func (afpi A2AFailoverProviderInput) AsA2AFailoverProviderInput() (*A2AFailoverProviderInput, bool)

AsA2AFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsBasicProviderSpecificFailoverInput Uses

func (afpi A2AFailoverProviderInput) AsBasicProviderSpecificFailoverInput() (BasicProviderSpecificFailoverInput, bool)

AsBasicProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput Uses

func (afpi A2AFailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput() (*HyperVReplicaAzureFailbackProviderInput, bool)

AsHyperVReplicaAzureFailbackProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput Uses

func (afpi A2AFailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput() (*HyperVReplicaAzureFailoverProviderInput, bool)

AsHyperVReplicaAzureFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsInMageAzureV2FailoverProviderInput Uses

func (afpi A2AFailoverProviderInput) AsInMageAzureV2FailoverProviderInput() (*InMageAzureV2FailoverProviderInput, bool)

AsInMageAzureV2FailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsInMageFailoverProviderInput Uses

func (afpi A2AFailoverProviderInput) AsInMageFailoverProviderInput() (*InMageFailoverProviderInput, bool)

AsInMageFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsProviderSpecificFailoverInput Uses

func (afpi A2AFailoverProviderInput) AsProviderSpecificFailoverInput() (*ProviderSpecificFailoverInput, bool)

AsProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) MarshalJSON Uses

func (afpi A2AFailoverProviderInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AFailoverProviderInput.

type A2APolicyCreationInput Uses

type A2APolicyCreationInput struct {
    // RecoveryPointHistory - The duration in minutes until which the recovery points need to be stored.
    RecoveryPointHistory *int32 `json:"recoveryPointHistory,omitempty"`
    // CrashConsistentFrequencyInMinutes - The crash consistent snapshot frequency (in minutes).
    CrashConsistentFrequencyInMinutes *int32 `json:"crashConsistentFrequencyInMinutes,omitempty"`
    // AppConsistentFrequencyInMinutes - The app consistent snapshot frequency (in minutes).
    AppConsistentFrequencyInMinutes *int32 `json:"appConsistentFrequencyInMinutes,omitempty"`
    // MultiVMSyncStatus - A value indicating whether multi-VM sync has to be enabled. Value should be 'Enabled' or 'Disabled'. Possible values include: 'Enable', 'Disable'
    MultiVMSyncStatus SetMultiVMSyncStatus `json:"multiVmSyncStatus,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageRcm', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
    InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

A2APolicyCreationInput a2A Policy creation input.

func (A2APolicyCreationInput) AsA2APolicyCreationInput Uses

func (apci A2APolicyCreationInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsBasicPolicyProviderSpecificInput Uses

func (apci A2APolicyCreationInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsHyperVReplicaAzurePolicyInput Uses

func (apci A2APolicyCreationInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsHyperVReplicaBluePolicyInput Uses

func (apci A2APolicyCreationInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsHyperVReplicaPolicyInput Uses

func (apci A2APolicyCreationInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsInMageAzureV2PolicyInput Uses

func (apci A2APolicyCreationInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsInMagePolicyInput Uses

func (apci A2APolicyCreationInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsInMageRcmPolicyCreationInput Uses

func (apci A2APolicyCreationInput) AsInMageRcmPolicyCreationInput() (*InMageRcmPolicyCreationInput, bool)

AsInMageRcmPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsPolicyProviderSpecificInput Uses

func (apci A2APolicyCreationInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsVMwareCbtPolicyCreationInput Uses

func (apci A2APolicyCreationInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) MarshalJSON Uses

func (apci A2APolicyCreationInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2APolicyCreationInput.

type A2APolicyDetails Uses

type A2APolicyDetails struct {
    // RecoveryPointThresholdInMinutes - The recovery point threshold in minutes.
    RecoveryPointThresholdInMinutes *int32 `json:"recoveryPointThresholdInMinutes,omitempty"`
    // RecoveryPointHistory - The duration in minutes until which the recovery points need to be stored.
    RecoveryPointHistory *int32 `json:"recoveryPointHistory,omitempty"`
    // AppConsistentFrequencyInMinutes - The app consistent snapshot frequency in minutes.
    AppConsistentFrequencyInMinutes *int32 `json:"appConsistentFrequencyInMinutes,omitempty"`
    // MultiVMSyncStatus - A value indicating whether multi-VM sync has to be enabled.
    MultiVMSyncStatus *string `json:"multiVmSyncStatus,omitempty"`
    // CrashConsistentFrequencyInMinutes - The crash consistent snapshot frequency in minutes.
    CrashConsistentFrequencyInMinutes *int32 `json:"crashConsistentFrequencyInMinutes,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageRcm', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
    InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

A2APolicyDetails a2A specific policy details.

func (A2APolicyDetails) AsA2APolicyDetails Uses

func (apd A2APolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsBasicPolicyProviderSpecificDetails Uses

func (apd A2APolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaAzurePolicyDetails Uses

func (apd A2APolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaBasePolicyDetails Uses

func (apd A2APolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaBluePolicyDetails Uses

func (apd A2APolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaPolicyDetails Uses

func (apd A2APolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsInMageAzureV2PolicyDetails Uses

func (apd A2APolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsInMageBasePolicyDetails Uses

func (apd A2APolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsInMagePolicyDetails Uses

func (apd A2APolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsInMageRcmPolicyDetails Uses

func (apd A2APolicyDetails) AsInMageRcmPolicyDetails() (*InMageRcmPolicyDetails, bool)

AsInMageRcmPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsPolicyProviderSpecificDetails Uses

func (apd A2APolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsRcmAzureMigrationPolicyDetails Uses

func (apd A2APolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsVmwareCbtPolicyDetails Uses

func (apd A2APolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) MarshalJSON Uses

func (apd A2APolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2APolicyDetails.

type A2AProtectedDiskDetails Uses

type A2AProtectedDiskDetails struct {
    // DiskURI - The disk uri.
    DiskURI *string `json:"diskUri,omitempty"`
    // RecoveryAzureStorageAccountID - The recovery disk storage account.
    RecoveryAzureStorageAccountID *string `json:"recoveryAzureStorageAccountId,omitempty"`
    // PrimaryDiskAzureStorageAccountID - The primary disk storage account.
    PrimaryDiskAzureStorageAccountID *string `json:"primaryDiskAzureStorageAccountId,omitempty"`
    // RecoveryDiskURI - Recovery disk uri.
    RecoveryDiskURI *string `json:"recoveryDiskUri,omitempty"`
    // DiskName - The disk name.
    DiskName *string `json:"diskName,omitempty"`
    // DiskCapacityInBytes - The disk capacity in bytes.
    DiskCapacityInBytes *int64 `json:"diskCapacityInBytes,omitempty"`
    // PrimaryStagingAzureStorageAccountID - The primary staging storage account.
    PrimaryStagingAzureStorageAccountID *string `json:"primaryStagingAzureStorageAccountId,omitempty"`
    // DiskType - The type of disk.
    DiskType *string `json:"diskType,omitempty"`
    // ResyncRequired - A value indicating whether resync is required for this disk.
    ResyncRequired *bool `json:"resyncRequired,omitempty"`
    // MonitoringPercentageCompletion - The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.
    MonitoringPercentageCompletion *int32 `json:"monitoringPercentageCompletion,omitempty"`
    // MonitoringJobType - The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.
    MonitoringJobType *string `json:"monitoringJobType,omitempty"`
    // DataPendingInStagingStorageAccountInMB - The data pending for replication in MB at staging account.
    DataPendingInStagingStorageAccountInMB *float64 `json:"dataPendingInStagingStorageAccountInMB,omitempty"`
    // DataPendingAtSourceAgentInMB - The data pending at source virtual machine in MB.
    DataPendingAtSourceAgentInMB *float64 `json:"dataPendingAtSourceAgentInMB,omitempty"`
    // DiskState - The disk state.
    DiskState *string `json:"diskState,omitempty"`
    // AllowedDiskLevelOperation - The disk level operations list.
    AllowedDiskLevelOperation *[]string `json:"allowedDiskLevelOperation,omitempty"`
    // IsDiskEncrypted - A value indicating whether vm has encrypted os disk or not.
    IsDiskEncrypted *bool `json:"isDiskEncrypted,omitempty"`
    // SecretIdentifier - The secret URL / identifier (BEK).
    SecretIdentifier *string `json:"secretIdentifier,omitempty"`
    // DekKeyVaultArmID - The KeyVault resource id for secret (BEK).
    DekKeyVaultArmID *string `json:"dekKeyVaultArmId,omitempty"`
    // IsDiskKeyEncrypted - A value indicating whether disk key got encrypted or not.
    IsDiskKeyEncrypted *bool `json:"isDiskKeyEncrypted,omitempty"`
    // KeyIdentifier - The key URL / identifier (KEK).
    KeyIdentifier *string `json:"keyIdentifier,omitempty"`
    // KekKeyVaultArmID - The KeyVault resource id for key (KEK).
    KekKeyVaultArmID *string `json:"kekKeyVaultArmId,omitempty"`
}

A2AProtectedDiskDetails a2A protected disk details.

type A2AProtectedManagedDiskDetails Uses

type A2AProtectedManagedDiskDetails struct {
    // DiskID - The managed disk Arm id.
    DiskID *string `json:"diskId,omitempty"`
    // RecoveryResourceGroupID - The recovery disk resource group Arm Id.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // RecoveryTargetDiskID - Recovery target disk Arm Id.
    RecoveryTargetDiskID *string `json:"recoveryTargetDiskId,omitempty"`
    // RecoveryReplicaDiskID - Recovery replica disk Arm Id.
    RecoveryReplicaDiskID *string `json:"recoveryReplicaDiskId,omitempty"`
    // RecoveryReplicaDiskAccountType - The replica disk type. Its an optional value and will be same as source disk type if not user provided.
    RecoveryReplicaDiskAccountType *string `json:"recoveryReplicaDiskAccountType,omitempty"`
    // RecoveryTargetDiskAccountType - The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.
    RecoveryTargetDiskAccountType *string `json:"recoveryTargetDiskAccountType,omitempty"`
    // RecoveryDiskEncryptionSetID - The recovery disk encryption set Id.
    RecoveryDiskEncryptionSetID *string `json:"recoveryDiskEncryptionSetId,omitempty"`
    // DiskName - The disk name.
    DiskName *string `json:"diskName,omitempty"`
    // DiskCapacityInBytes - The disk capacity in bytes.
    DiskCapacityInBytes *int64 `json:"diskCapacityInBytes,omitempty"`
    // PrimaryStagingAzureStorageAccountID - The primary staging storage account.
    PrimaryStagingAzureStorageAccountID *string `json:"primaryStagingAzureStorageAccountId,omitempty"`
    // DiskType - The type of disk.
    DiskType *string `json:"diskType,omitempty"`
    // ResyncRequired - A value indicating whether resync is required for this disk.
    ResyncRequired *bool `json:"resyncRequired,omitempty"`
    // MonitoringPercentageCompletion - The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.
    MonitoringPercentageCompletion *int32 `json:"monitoringPercentageCompletion,omitempty"`
    // MonitoringJobType - The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.
    MonitoringJobType *string `json:"monitoringJobType,omitempty"`
    // DataPendingInStagingStorageAccountInMB - The data pending for replication in MB at staging account.
    DataPendingInStagingStorageAccountInMB *float64 `json:"dataPendingInStagingStorageAccountInMB,omitempty"`
    // DataPendingAtSourceAgentInMB - The data pending at source virtual machine in MB.
    DataPendingAtSourceAgentInMB *float64 `json:"dataPendingAtSourceAgentInMB,omitempty"`
    // DiskState - The disk state.
    DiskState *string `json:"diskState,omitempty"`
    // AllowedDiskLevelOperation - The disk level operations list.
    AllowedDiskLevelOperation *[]string `json:"allowedDiskLevelOperation,omitempty"`
    // IsDiskEncrypted - A value indicating whether vm has encrypted os disk or not.
    IsDiskEncrypted *bool `json:"isDiskEncrypted,omitempty"`
    // SecretIdentifier - The secret URL / identifier (BEK).
    SecretIdentifier *string `json:"secretIdentifier,omitempty"`
    // DekKeyVaultArmID - The KeyVault resource id for secret (BEK).
    DekKeyVaultArmID *string `json:"dekKeyVaultArmId,omitempty"`
    // IsDiskKeyEncrypted - A value indicating whether disk key got encrypted or not.
    IsDiskKeyEncrypted *bool `json:"isDiskKeyEncrypted,omitempty"`
    // KeyIdentifier - The key URL / identifier (KEK).
    KeyIdentifier *string `json:"keyIdentifier,omitempty"`
    // KekKeyVaultArmID - The KeyVault resource id for key (KEK).
    KekKeyVaultArmID *string `json:"kekKeyVaultArmId,omitempty"`
    // FailoverDiskName - The failover name for the managed disk.
    FailoverDiskName *string `json:"failoverDiskName,omitempty"`
    // TfoDiskName - The test failover name for the managed disk.
    TfoDiskName *string `json:"tfoDiskName,omitempty"`
}

A2AProtectedManagedDiskDetails a2A protected managed disk details.

type A2AProtectionContainerMappingDetails Uses

type A2AProtectionContainerMappingDetails struct {
    // AgentAutoUpdateStatus - A value indicating whether the auto update is enabled. Possible values include: 'Disabled', 'Enabled'
    AgentAutoUpdateStatus AgentAutoUpdateStatus `json:"agentAutoUpdateStatus,omitempty"`
    // AutomationAccountArmID - The automation account arm id.
    AutomationAccountArmID *string `json:"automationAccountArmId,omitempty"`
    // ScheduleName - The schedule arm name.
    ScheduleName *string `json:"scheduleName,omitempty"`
    // JobScheduleName - The job schedule arm name.
    JobScheduleName *string `json:"jobScheduleName,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicProtectionContainerMappingProviderSpecificDetailsInstanceTypeProtectionContainerMappingProviderSpecificDetails', 'InstanceTypeBasicProtectionContainerMappingProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicProtectionContainerMappingProviderSpecificDetailsInstanceTypeVMwareCbt'
    InstanceType InstanceTypeBasicProtectionContainerMappingProviderSpecificDetails `json:"instanceType,omitempty"`
}

A2AProtectionContainerMappingDetails a2A provider specific settings.

func (A2AProtectionContainerMappingDetails) AsA2AProtectionContainerMappingDetails Uses

func (apcmd A2AProtectionContainerMappingDetails) AsA2AProtectionContainerMappingDetails() (*A2AProtectionContainerMappingDetails, bool)

AsA2AProtectionContainerMappingDetails is the BasicProtectionContainerMappingProviderSpecificDetails implementation for A2AProtectionContainerMappingDetails.

func (A2AProtectionContainerMappingDetails) AsBasicProtectionContainerMappingProviderSpecificDetails Uses

func (apcmd A2AProtectionContainerMappingDetails) AsBasicProtectionContainerMappingProviderSpecificDetails() (BasicProtectionContainerMappingProviderSpecificDetails, bool)

AsBasicProtectionContainerMappingProviderSpecificDetails is the BasicProtectionContainerMappingProviderSpecificDetails implementation for A2AProtectionContainerMappingDetails.

func (A2AProtectionContainerMappingDetails) AsProtectionContainerMappingProviderSpecificDetails Uses

func (apcmd A2AProtectionContainerMappingDetails) AsProtectionContainerMappingProviderSpecificDetails() (*ProtectionContainerMappingProviderSpecificDetails, bool)

AsProtectionContainerMappingProviderSpecificDetails is the BasicProtectionContainerMappingProviderSpecificDetails implementation for A2AProtectionContainerMappingDetails.

func (A2AProtectionContainerMappingDetails) AsVMwareCbtProtectionContainerMappingDetails Uses

func (apcmd A2AProtectionContainerMappingDetails) AsVMwareCbtProtectionContainerMappingDetails() (*VMwareCbtProtectionContainerMappingDetails, bool)

AsVMwareCbtProtectionContainerMappingDetails is the BasicProtectionContainerMappingProviderSpecificDetails implementation for A2AProtectionContainerMappingDetails.

func (A2AProtectionContainerMappingDetails) MarshalJSON Uses

func (apcmd A2AProtectionContainerMappingDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AProtectionContainerMappingDetails.

type A2AProtectionIntentDiskInputDetails Uses

type A2AProtectionIntentDiskInputDetails struct {
    // DiskURI - The disk Uri.
    DiskURI *string `json:"diskUri,omitempty"`
    // RecoveryAzureStorageAccountCustomInput - The recovery VHD storage account input.
    RecoveryAzureStorageAccountCustomInput BasicStorageAccountCustomDetails `json:"recoveryAzureStorageAccountCustomInput,omitempty"`
    // PrimaryStagingStorageAccountCustomInput - The primary staging storage account input.
    PrimaryStagingStorageAccountCustomInput BasicStorageAccountCustomDetails `json:"primaryStagingStorageAccountCustomInput,omitempty"`
}

A2AProtectionIntentDiskInputDetails azure VM disk input details.

func (*A2AProtectionIntentDiskInputDetails) UnmarshalJSON Uses

func (apidid *A2AProtectionIntentDiskInputDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for A2AProtectionIntentDiskInputDetails struct.

type A2AProtectionIntentManagedDiskInputDetails Uses

type A2AProtectionIntentManagedDiskInputDetails struct {
    // DiskID - The disk Id.
    DiskID *string `json:"diskId,omitempty"`
    // PrimaryStagingStorageAccountCustomInput - The primary staging storage account input.
    PrimaryStagingStorageAccountCustomInput BasicStorageAccountCustomDetails `json:"primaryStagingStorageAccountCustomInput,omitempty"`
    // RecoveryResourceGroupCustomInput - The recovery resource group input.
    RecoveryResourceGroupCustomInput BasicRecoveryResourceGroupCustomDetails `json:"recoveryResourceGroupCustomInput,omitempty"`
    // RecoveryReplicaDiskAccountType - The replica disk type. Its an optional value and will be same as source disk type if not user provided.
    RecoveryReplicaDiskAccountType *string `json:"recoveryReplicaDiskAccountType,omitempty"`
    // RecoveryTargetDiskAccountType - The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.
    RecoveryTargetDiskAccountType *string `json:"recoveryTargetDiskAccountType,omitempty"`
    // RecoveryDiskEncryptionSetID - The recovery disk encryption set Id.
    RecoveryDiskEncryptionSetID *string `json:"recoveryDiskEncryptionSetId,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information (for one / single pass flows).
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
}

A2AProtectionIntentManagedDiskInputDetails azure VM managed disk input details.

func (*A2AProtectionIntentManagedDiskInputDetails) UnmarshalJSON Uses

func (apimdid *A2AProtectionIntentManagedDiskInputDetails) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for A2AProtectionIntentManagedDiskInputDetails struct.

type A2ARecoveryAvailabilityType Uses

type A2ARecoveryAvailabilityType string

A2ARecoveryAvailabilityType enumerates the values for a2a recovery availability type.

const (
    // AvailabilitySet ...
    AvailabilitySet A2ARecoveryAvailabilityType = "AvailabilitySet"
    // AvailabilityZone ...
    AvailabilityZone A2ARecoveryAvailabilityType = "AvailabilityZone"
    // Single ...
    Single A2ARecoveryAvailabilityType = "Single"
)

func PossibleA2ARecoveryAvailabilityTypeValues Uses

func PossibleA2ARecoveryAvailabilityTypeValues() []A2ARecoveryAvailabilityType

PossibleA2ARecoveryAvailabilityTypeValues returns an array of possible values for the A2ARecoveryAvailabilityType const type.

type A2ARecoveryPointDetails Uses

type A2ARecoveryPointDetails struct {
    // RecoveryPointSyncType - A value indicating whether the recovery point is multi VM consistent. Possible values include: 'MultiVMSyncRecoveryPoint', 'PerVMRecoveryPoint'
    RecoveryPointSyncType RecoveryPointSyncType `json:"recoveryPointSyncType,omitempty"`
    // Disks - List of disk ids representing a recovery point.
    Disks *[]string `json:"disks,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicProviderSpecificRecoveryPointDetailsInstanceTypeProviderSpecificRecoveryPointDetails', 'InstanceTypeBasicProviderSpecificRecoveryPointDetailsInstanceTypeA2A', 'InstanceTypeBasicProviderSpecificRecoveryPointDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificRecoveryPointDetailsInstanceTypeInMageRcm'
    InstanceType InstanceTypeBasicProviderSpecificRecoveryPointDetails `json:"instanceType,omitempty"`
}

A2ARecoveryPointDetails a2A provider specific recovery point details.

func (A2ARecoveryPointDetails) AsA2ARecoveryPointDetails Uses

func (arpd A2ARecoveryPointDetails) AsA2ARecoveryPointDetails() (*A2ARecoveryPointDetails, bool)

AsA2ARecoveryPointDetails is the BasicProviderSpecificRecoveryPointDetails implementation for A2ARecoveryPointDetails.

func (A2ARecoveryPointDetails) AsBasicProviderSpecificRecoveryPointDetails Uses

func (arpd A2ARecoveryPointDetails) AsBasicProviderSpecificRecoveryPointDetails() (BasicProviderSpecificRecoveryPointDetails, bool)

AsBasicProviderSpecificRecoveryPointDetails is the BasicProviderSpecificRecoveryPointDetails implementation for A2ARecoveryPointDetails.

func (A2ARecoveryPointDetails) AsInMageAzureV2RecoveryPointDetails Uses

func (arpd A2ARecoveryPointDetails) AsInMageAzureV2RecoveryPointDetails() (*InMageAzureV2RecoveryPointDetails, bool)

AsInMageAzureV2RecoveryPointDetails is the BasicProviderSpecificRecoveryPointDetails implementation for A2ARecoveryPointDetails.

func (A2ARecoveryPointDetails) AsInMageRcmRecoveryPointDetails Uses

func (arpd A2ARecoveryPointDetails) AsInMageRcmRecoveryPointDetails() (*InMageRcmRecoveryPointDetails, bool)

AsInMageRcmRecoveryPointDetails is the BasicProviderSpecificRecoveryPointDetails implementation for A2ARecoveryPointDetails.

func (A2ARecoveryPointDetails) AsProviderSpecificRecoveryPointDetails Uses

func (arpd A2ARecoveryPointDetails) AsProviderSpecificRecoveryPointDetails() (*ProviderSpecificRecoveryPointDetails, bool)

AsProviderSpecificRecoveryPointDetails is the BasicProviderSpecificRecoveryPointDetails implementation for A2ARecoveryPointDetails.

func (A2ARecoveryPointDetails) MarshalJSON Uses

func (arpd A2ARecoveryPointDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2ARecoveryPointDetails.

type A2ARemoveDisksInput Uses

type A2ARemoveDisksInput struct {
    // VMDisksUris - The list of vm disk vhd URIs.
    VMDisksUris *[]string `json:"vmDisksUris,omitempty"`
    // VMManagedDisksIds - The list of vm managed disk Ids.
    VMManagedDisksIds *[]string `json:"vmManagedDisksIds,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicRemoveDisksProviderSpecificInputInstanceTypeRemoveDisksProviderSpecificInput', 'InstanceTypeBasicRemoveDisksProviderSpecificInputInstanceTypeA2A'
    InstanceType InstanceTypeBasicRemoveDisksProviderSpecificInput `json:"instanceType,omitempty"`
}

A2ARemoveDisksInput a2A remove disk(s) input.

func (A2ARemoveDisksInput) AsA2ARemoveDisksInput Uses

func (ardi A2ARemoveDisksInput) AsA2ARemoveDisksInput() (*A2ARemoveDisksInput, bool)

AsA2ARemoveDisksInput is the BasicRemoveDisksProviderSpecificInput implementation for A2ARemoveDisksInput.

func (A2ARemoveDisksInput) AsBasicRemoveDisksProviderSpecificInput Uses

func (ardi A2ARemoveDisksInput) AsBasicRemoveDisksProviderSpecificInput() (BasicRemoveDisksProviderSpecificInput, bool)

AsBasicRemoveDisksProviderSpecificInput is the BasicRemoveDisksProviderSpecificInput implementation for A2ARemoveDisksInput.

func (A2ARemoveDisksInput) AsRemoveDisksProviderSpecificInput Uses

func (ardi A2ARemoveDisksInput) AsRemoveDisksProviderSpecificInput() (*RemoveDisksProviderSpecificInput, bool)

AsRemoveDisksProviderSpecificInput is the BasicRemoveDisksProviderSpecificInput implementation for A2ARemoveDisksInput.

func (A2ARemoveDisksInput) MarshalJSON Uses

func (ardi A2ARemoveDisksInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2ARemoveDisksInput.

type A2AReplicationDetails Uses

type A2AReplicationDetails struct {
    // FabricObjectID - The fabric specific object Id of the virtual machine.
    FabricObjectID *string `json:"fabricObjectId,omitempty"`
    // InitialPrimaryFabricLocation - READ-ONLY; The initial primary fabric location.
    InitialPrimaryFabricLocation *string `json:"initialPrimaryFabricLocation,omitempty"`
    // InitialRecoveryFabricLocation - READ-ONLY; The initial recovery fabric location.
    InitialRecoveryFabricLocation *string `json:"initialRecoveryFabricLocation,omitempty"`
    // InitialPrimaryZone - READ-ONLY; The initial primary availability zone.
    InitialPrimaryZone *string `json:"initialPrimaryZone,omitempty"`
    // InitialRecoveryZone - READ-ONLY; The initial recovery availability zone.
    InitialRecoveryZone *string `json:"initialRecoveryZone,omitempty"`
    // MultiVMGroupID - The multi vm group Id.
    MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
    // MultiVMGroupName - The multi vm group name.
    MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
    // MultiVMGroupCreateOption - Whether Multi VM group is auto created or specified by user. Possible values include: 'AutoCreated', 'UserSpecified'
    MultiVMGroupCreateOption MultiVMGroupCreateOption `json:"multiVmGroupCreateOption,omitempty"`
    // ManagementID - The management Id.
    ManagementID *string `json:"managementId,omitempty"`
    // ProtectedDisks - The list of protected disks.
    ProtectedDisks *[]A2AProtectedDiskDetails `json:"protectedDisks,omitempty"`
    // UnprotectedDisks - The list of unprotected disks.
    UnprotectedDisks *[]A2AUnprotectedDiskDetails `json:"unprotectedDisks,omitempty"`
    // ProtectedManagedDisks - The list of protected managed disks.
    ProtectedManagedDisks *[]A2AProtectedManagedDiskDetails `json:"protectedManagedDisks,omitempty"`
    // RecoveryBootDiagStorageAccountID - The recovery boot diagnostic storage account Arm Id.
    RecoveryBootDiagStorageAccountID *string `json:"recoveryBootDiagStorageAccountId,omitempty"`
    // PrimaryFabricLocation - Primary fabric location.
    PrimaryFabricLocation *string `json:"primaryFabricLocation,omitempty"`
    // RecoveryFabricLocation - The recovery fabric location.
    RecoveryFabricLocation *string `json:"recoveryFabricLocation,omitempty"`
    // OsType - The type of operating system.
    OsType *string `json:"osType,omitempty"`
    // RecoveryAzureVMSize - The size of recovery virtual machine.
    RecoveryAzureVMSize *string `json:"recoveryAzureVMSize,omitempty"`
    // RecoveryAzureVMName - The name of recovery virtual machine.
    RecoveryAzureVMName *string `json:"recoveryAzureVMName,omitempty"`
    // RecoveryAzureResourceGroupID - The recovery resource group.
    RecoveryAzureResourceGroupID *string `json:"recoveryAzureResourceGroupId,omitempty"`
    // RecoveryCloudService - The recovery cloud service.
    RecoveryCloudService *string `json:"recoveryCloudService,omitempty"`
    // RecoveryAvailabilitySet - The recovery availability set.
    RecoveryAvailabilitySet *string `json:"recoveryAvailabilitySet,omitempty"`
    // SelectedRecoveryAzureNetworkID - The recovery virtual network.
    SelectedRecoveryAzureNetworkID *string `json:"selectedRecoveryAzureNetworkId,omitempty"`
    // SelectedTfoAzureNetworkID - The test failover virtual network.
    SelectedTfoAzureNetworkID *string `json:"selectedTfoAzureNetworkId,omitempty"`
    // VMNics - The virtual machine nic details.
    VMNics *[]VMNicDetails `json:"vmNics,omitempty"`
    // VMSyncedConfigDetails - The synced configuration details.
    VMSyncedConfigDetails *AzureToAzureVMSyncedConfigDetails `json:"vmSyncedConfigDetails,omitempty"`
    // MonitoringPercentageCompletion - The percentage of the monitoring job. The type of the monitoring job is defined by MonitoringJobType property.
    MonitoringPercentageCompletion *int32 `json:"monitoringPercentageCompletion,omitempty"`
    // MonitoringJobType - The type of the monitoring job. The progress is contained in MonitoringPercentageCompletion property.
    MonitoringJobType *string `json:"monitoringJobType,omitempty"`
    // LastHeartbeat - The last heartbeat received from the source server.
    LastHeartbeat *date.Time `json:"lastHeartbeat,omitempty"`
    // AgentVersion - The agent version.
    AgentVersion *string `json:"agentVersion,omitempty"`
    // IsReplicationAgentUpdateRequired - A value indicating whether replication agent update is required.
    IsReplicationAgentUpdateRequired *bool `json:"isReplicationAgentUpdateRequired,omitempty"`
    // RecoveryFabricObjectID - The recovery fabric object Id.
    RecoveryFabricObjectID *string `json:"recoveryFabricObjectId,omitempty"`
    // VMProtectionState - The protection state for the vm.
    VMProtectionState *string `json:"vmProtectionState,omitempty"`
    // VMProtectionStateDescription - The protection state description for the vm.
    VMProtectionStateDescription *string `json:"vmProtectionStateDescription,omitempty"`
    // LifecycleID - An id associated with the PE that survives actions like switch protection which change the backing PE/CPE objects internally.The lifecycle id gets carried forward to have a link/continuity in being able to have an Id that denotes the "same" protected item even though other internal Ids/ARM Id might be changing.
    LifecycleID *string `json:"lifecycleId,omitempty"`
    // TestFailoverRecoveryFabricObjectID - The test failover fabric object Id.
    TestFailoverRecoveryFabricObjectID *string `json:"testFailoverRecoveryFabricObjectId,omitempty"`
    // RpoInSeconds - The last RPO value in seconds.
    RpoInSeconds *int64 `json:"rpoInSeconds,omitempty"`
    // LastRpoCalculatedTime - The time (in UTC) when the last RPO value was calculated by Protection Service.
    LastRpoCalculatedTime *date.Time `json:"lastRpoCalculatedTime,omitempty"`
    // RecoveryAvailabilityZone - The recovery availability zone.
    RecoveryAvailabilityZone *string `json:"recoveryAvailabilityZone,omitempty"`
    // VMEncryptionType - READ-ONLY; The encryption type of the VM. Possible values include: 'NotEncrypted', 'OnePassEncrypted', 'TwoPassEncrypted'
    VMEncryptionType VMEncryptionType `json:"vmEncryptionType,omitempty"`
    // TfoAzureVMName - The test failover VM name.
    TfoAzureVMName *string `json:"tfoAzureVMName,omitempty"`
    // RecoveryProximityPlacementGroupID - The recovery proximity placement group Id.
    RecoveryProximityPlacementGroupID *string `json:"recoveryProximityPlacementGroupId,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageRcm', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage'
    InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

A2AReplicationDetails a2A provider specific settings.

func (A2AReplicationDetails) AsA2AReplicationDetails Uses

func (ard A2AReplicationDetails) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsBasicReplicationProviderSpecificSettings Uses

func (ard A2AReplicationDetails) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaAzureReplicationDetails Uses

func (ard A2AReplicationDetails) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaBaseReplicationDetails Uses

func (ard A2AReplicationDetails) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaBlueReplicationDetails Uses

func (ard A2AReplicationDetails) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaReplicationDetails Uses

func (ard A2AReplicationDetails) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsInMageAzureV2ReplicationDetails Uses

func (ard A2AReplicationDetails) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsInMageRcmReplicationDetails Uses

func (ard A2AReplicationDetails) AsInMageRcmReplicationDetails() (*InMageRcmReplicationDetails, bool)

AsInMageRcmReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsInMageReplicationDetails Uses

func (ard A2AReplicationDetails) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsReplicationProviderSpecificSettings Uses

func (ard A2AReplicationDetails) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) MarshalJSON Uses

func (ard A2AReplicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AReplicationDetails.

type A2AReplicationIntentDetails Uses

type A2AReplicationIntentDetails struct {
    // FabricObjectID - The fabric specific object Id of the virtual machine.
    FabricObjectID *string `json:"fabricObjectId,omitempty"`
    // PolicyID - The ID of Policy governing this PE.
    PolicyID *string `json:"policyId,omitempty"`
    // PrimaryLocation - The primary location for the virtual machine.
    PrimaryLocation *string `json:"primaryLocation,omitempty"`
    // RecoveryLocation - The recovery location for the virtual machine.
    RecoveryLocation *string `json:"recoveryLocation,omitempty"`
    // RecoverySubscriptionID - The recovery subscription Id of the virtual machine.
    RecoverySubscriptionID *string `json:"recoverySubscriptionId,omitempty"`
    // PrimaryFabricFriendlyName - The recovery fabric Name.
    PrimaryFabricFriendlyName *string `json:"primaryFabricFriendlyName,omitempty"`
    // RecoveryFabricFriendlyName - The recovery fabric Name.
    RecoveryFabricFriendlyName *string `json:"recoveryFabricFriendlyName,omitempty"`
    // PrimaryContainerFriendlyName - The primary container Name.
    PrimaryContainerFriendlyName *string `json:"primaryContainerFriendlyName,omitempty"`
    // RecoveryContainerFriendlyName - The recovery container Name.
    RecoveryContainerFriendlyName *string `json:"recoveryContainerFriendlyName,omitempty"`
    // RecoveryAvailabilityType - The recovery availability type of the virtual machine.
    RecoveryAvailabilityType *string `json:"recoveryAvailabilityType,omitempty"`
    // VMDisks - The list of vm disk details.
    VMDisks *[]A2AVMDiskDetails `json:"vmDisks,omitempty"`
    // VMManagedDisks - The list of vm managed disk details.
    VMManagedDisks *[]A2AVMManagedDiskDetails `json:"vmManagedDisks,omitempty"`
    // RecoveryResourceGroupID - The recovery resource group id.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // RecoveryAvailabilitySetID - The recovery availability set Id.
    RecoveryAvailabilitySetID *string `json:"recoveryAvailabilitySetId,omitempty"`
    // RecoveryVirtualNetworkID - The recovery virtual network Id.
    RecoveryVirtualNetworkID *string `json:"recoveryVirtualNetworkId,omitempty"`
    // RecoveryProximityPlacementGroupID - The recovery proximity placement group custom details.
    RecoveryProximityPlacementGroupID *string `json:"recoveryProximityPlacementGroupId,omitempty"`
    // AutoProtectionOfDataDiskStatus - A value indicating whether the auto protection is enabled. Possible values include: 'AutoProtectionOfDataDiskStatusDisabled', 'AutoProtectionOfDataDiskStatusEnabled'
    AutoProtectionOfDataDiskStatus AutoProtectionOfDataDiskStatus `json:"autoProtectionOfDataDiskStatus,omitempty"`
    // MultiVMGroupName - The multi vm group name.
    MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
    // MultiVMGroupID - The multi vm group id.
    MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
    // RecoveryBootDiagStorageAccountID - The boot diagnostic storage account.
    RecoveryBootDiagStorageAccountID *string `json:"recoveryBootDiagStorageAccountId,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information (for two pass flows).
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
    // RecoveryAvailabilityZone - The recovery availability zone.
    RecoveryAvailabilityZone *string `json:"recoveryAvailabilityZone,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProtectionIntentProviderSpecificSettingsInstanceTypeReplicationProtectionIntentProviderSpecificSettings', 'InstanceTypeBasicReplicationProtectionIntentProviderSpecificSettingsInstanceTypeA2A'
    InstanceType InstanceTypeBasicReplicationProtectionIntentProviderSpecificSettings `json:"instanceType,omitempty"`
}

A2AReplicationIntentDetails a2A provider specific settings.

func (A2AReplicationIntentDetails) AsA2AReplicationIntentDetails Uses

func (arid A2AReplicationIntentDetails) AsA2AReplicationIntentDetails() (*A2AReplicationIntentDetails, bool)

AsA2AReplicationIntentDetails is the BasicReplicationProtectionIntentProviderSpecificSettings implementation for A2AReplicationIntentDetails.

func (A2AReplicationIntentDetails) AsBasicReplicationProtectionIntentProviderSpecificSettings Uses

func (arid A2AReplicationIntentDetails) AsBasicReplicationProtectionIntentProviderSpecificSettings() (BasicReplicationProtectionIntentProviderSpecificSettings, bool)

AsBasicReplicationProtectionIntentProviderSpecificSettings is the BasicReplicationProtectionIntentProviderSpecificSettings implementation for A2AReplicationIntentDetails.

func (A2AReplicationIntentDetails) AsReplicationProtectionIntentProviderSpecificSettings Uses

func (arid A2AReplicationIntentDetails) AsReplicationProtectionIntentProviderSpecificSettings() (*ReplicationProtectionIntentProviderSpecificSettings, bool)

AsReplicationProtectionIntentProviderSpecificSettings is the BasicReplicationProtectionIntentProviderSpecificSettings implementation for A2AReplicationIntentDetails.

func (A2AReplicationIntentDetails) MarshalJSON Uses

func (arid A2AReplicationIntentDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AReplicationIntentDetails.

type A2AReprotectInput Uses

type A2AReprotectInput struct {
    // RecoveryContainerID - The recovery container Id.
    RecoveryContainerID *string `json:"recoveryContainerId,omitempty"`
    // VMDisks - The list of vm disk details.
    VMDisks *[]A2AVMDiskInputDetails `json:"vmDisks,omitempty"`
    // RecoveryResourceGroupID - The recovery resource group Id. Valid for V2 scenarios.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // RecoveryCloudServiceID - The recovery cloud service Id. Valid for V1 scenarios.
    RecoveryCloudServiceID *string `json:"recoveryCloudServiceId,omitempty"`
    // RecoveryAvailabilitySetID - The recovery availability set.
    RecoveryAvailabilitySetID *string `json:"recoveryAvailabilitySetId,omitempty"`
    // PolicyID - The Policy Id.
    PolicyID *string `json:"policyId,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeReverseReplicationProviderSpecificInput', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage'
    InstanceType InstanceTypeBasicReverseReplicationProviderSpecificInput `json:"instanceType,omitempty"`
}

A2AReprotectInput azure specific reprotect input.

func (A2AReprotectInput) AsA2AReprotectInput Uses

func (ari A2AReprotectInput) AsA2AReprotectInput() (*A2AReprotectInput, bool)

AsA2AReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsBasicReverseReplicationProviderSpecificInput Uses

func (ari A2AReprotectInput) AsBasicReverseReplicationProviderSpecificInput() (BasicReverseReplicationProviderSpecificInput, bool)

AsBasicReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsHyperVReplicaAzureReprotectInput Uses

func (ari A2AReprotectInput) AsHyperVReplicaAzureReprotectInput() (*HyperVReplicaAzureReprotectInput, bool)

AsHyperVReplicaAzureReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsInMageAzureV2ReprotectInput Uses

func (ari A2AReprotectInput) AsInMageAzureV2ReprotectInput() (*InMageAzureV2ReprotectInput, bool)

AsInMageAzureV2ReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsInMageReprotectInput Uses

func (ari A2AReprotectInput) AsInMageReprotectInput() (*InMageReprotectInput, bool)

AsInMageReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsReverseReplicationProviderSpecificInput Uses

func (ari A2AReprotectInput) AsReverseReplicationProviderSpecificInput() (*ReverseReplicationProviderSpecificInput, bool)

AsReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) MarshalJSON Uses

func (ari A2AReprotectInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AReprotectInput.

type A2ARpRecoveryPointType Uses

type A2ARpRecoveryPointType string

A2ARpRecoveryPointType enumerates the values for a2a rp recovery point type.

const (
    // Latest ...
    Latest A2ARpRecoveryPointType = "Latest"
    // LatestApplicationConsistent ...
    LatestApplicationConsistent A2ARpRecoveryPointType = "LatestApplicationConsistent"
    // LatestCrashConsistent ...
    LatestCrashConsistent A2ARpRecoveryPointType = "LatestCrashConsistent"
    // LatestProcessed ...
    LatestProcessed A2ARpRecoveryPointType = "LatestProcessed"
)

func PossibleA2ARpRecoveryPointTypeValues Uses

func PossibleA2ARpRecoveryPointTypeValues() []A2ARpRecoveryPointType

PossibleA2ARpRecoveryPointTypeValues returns an array of possible values for the A2ARpRecoveryPointType const type.

type A2ASwitchProtectionInput Uses

type A2ASwitchProtectionInput struct {
    // RecoveryContainerID - The recovery container Id.
    RecoveryContainerID *string `json:"recoveryContainerId,omitempty"`
    // VMDisks - The list of vm disk details.
    VMDisks *[]A2AVMDiskInputDetails `json:"vmDisks,omitempty"`
    // VMManagedDisks - The list of vm managed disk details.
    VMManagedDisks *[]A2AVMManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`
    // RecoveryResourceGroupID - The recovery resource group Id. Valid for V2 scenarios.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // RecoveryCloudServiceID - The recovery cloud service Id. Valid for V1 scenarios.
    RecoveryCloudServiceID *string `json:"recoveryCloudServiceId,omitempty"`
    // RecoveryAvailabilitySetID - The recovery availability set.
    RecoveryAvailabilitySetID *string `json:"recoveryAvailabilitySetId,omitempty"`
    // RecoveryProximityPlacementGroupID - The recovery proximity placement group Id.
    RecoveryProximityPlacementGroupID *string `json:"recoveryProximityPlacementGroupId,omitempty"`
    // PolicyID - The Policy Id.
    PolicyID *string `json:"policyId,omitempty"`
    // RecoveryBootDiagStorageAccountID - The boot diagnostic storage account.
    RecoveryBootDiagStorageAccountID *string `json:"recoveryBootDiagStorageAccountId,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information.
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeSwitchProtectionProviderSpecificInput', 'InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeA2A'
    InstanceType InstanceTypeBasicSwitchProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

A2ASwitchProtectionInput a2A specific switch protection input.

func (A2ASwitchProtectionInput) AsA2ASwitchProtectionInput Uses

func (aspi A2ASwitchProtectionInput) AsA2ASwitchProtectionInput() (*A2ASwitchProtectionInput, bool)

AsA2ASwitchProtectionInput is the BasicSwitchProtectionProviderSpecificInput implementation for A2ASwitchProtectionInput.

func (A2ASwitchProtectionInput) AsBasicSwitchProtectionProviderSpecificInput Uses

func (aspi A2ASwitchProtectionInput) AsBasicSwitchProtectionProviderSpecificInput() (BasicSwitchProtectionProviderSpecificInput, bool)

AsBasicSwitchProtectionProviderSpecificInput is the BasicSwitchProtectionProviderSpecificInput implementation for A2ASwitchProtectionInput.

func (A2ASwitchProtectionInput) AsSwitchProtectionProviderSpecificInput Uses

func (aspi A2ASwitchProtectionInput) AsSwitchProtectionProviderSpecificInput() (*SwitchProtectionProviderSpecificInput, bool)

AsSwitchProtectionProviderSpecificInput is the BasicSwitchProtectionProviderSpecificInput implementation for A2ASwitchProtectionInput.

func (A2ASwitchProtectionInput) MarshalJSON Uses

func (aspi A2ASwitchProtectionInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2ASwitchProtectionInput.

type A2ATestFailoverInput Uses

type A2ATestFailoverInput struct {
    // RecoveryPointID - The recovery point id to be passed to test failover to a particular recovery point. In case of latest recovery point, null should be passed.
    RecoveryPointID *string `json:"recoveryPointId,omitempty"`
    // CloudServiceCreationOption - A value indicating whether to use recovery cloud service for TFO or not.
    CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicTestFailoverProviderSpecificInputInstanceTypeTestFailoverProviderSpecificInput', 'InstanceTypeBasicTestFailoverProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicTestFailoverProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicTestFailoverProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicTestFailoverProviderSpecificInputInstanceTypeInMageRcm', 'InstanceTypeBasicTestFailoverProviderSpecificInputInstanceTypeInMage'
    InstanceType InstanceTypeBasicTestFailoverProviderSpecificInput `json:"instanceType,omitempty"`
}

A2ATestFailoverInput a2A provider specific input for test failover.

func (A2ATestFailoverInput) AsA2ATestFailoverInput Uses

func (atfi A2ATestFailoverInput) AsA2ATestFailoverInput() (*A2ATestFailoverInput, bool)

AsA2ATestFailoverInput is the BasicTestFailoverProviderSpecificInput implementation for A2ATestFailoverInput.

func (A2ATestFailoverInput) AsBasicTestFailoverProviderSpecificInput Uses

func (atfi A2ATestFailoverInput) AsBasicTestFailoverProviderSpecificInput() (BasicTestFailoverProviderSpecificInput, bool)

AsBasicTestFailoverProviderSpecificInput is the BasicTestFailoverProviderSpecificInput implementation for A2ATestFailoverInput.

func (A2ATestFailoverInput) AsHyperVReplicaAzureTestFailoverInput Uses

func (atfi A2ATestFailoverInput) AsHyperVReplicaAzureTestFailoverInput() (*HyperVReplicaAzureTestFailoverInput, bool)

AsHyperVReplicaAzureTestFailoverInput is the BasicTestFailoverProviderSpecificInput implementation for A2ATestFailoverInput.

func (A2ATestFailoverInput) AsInMageAzureV2TestFailoverInput Uses

func (atfi A2ATestFailoverInput) AsInMageAzureV2TestFailoverInput() (*InMageAzureV2TestFailoverInput, bool)

AsInMageAzureV2TestFailoverInput is the BasicTestFailoverProviderSpecificInput implementation for A2ATestFailoverInput.

func (A2ATestFailoverInput) AsInMageRcmTestFailoverInput Uses

func (atfi A2ATestFailoverInput) AsInMageRcmTestFailoverInput() (*InMageRcmTestFailoverInput, bool)

AsInMageRcmTestFailoverInput is the BasicTestFailoverProviderSpecificInput implementation for A2ATestFailoverInput.

func (A2ATestFailoverInput) AsInMageTestFailoverInput Uses

func (atfi A2ATestFailoverInput) AsInMageTestFailoverInput() (*InMageTestFailoverInput, bool)

AsInMageTestFailoverInput is the BasicTestFailoverProviderSpecificInput implementation for A2ATestFailoverInput.

func (A2ATestFailoverInput) AsTestFailoverProviderSpecificInput Uses

func (atfi A2ATestFailoverInput) AsTestFailoverProviderSpecificInput() (*TestFailoverProviderSpecificInput, bool)

AsTestFailoverProviderSpecificInput is the BasicTestFailoverProviderSpecificInput implementation for A2ATestFailoverInput.

func (A2ATestFailoverInput) MarshalJSON Uses

func (atfi A2ATestFailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2ATestFailoverInput.

type A2AUnplannedFailoverInput Uses

type A2AUnplannedFailoverInput struct {
    // RecoveryPointID - The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed.
    RecoveryPointID *string `json:"recoveryPointId,omitempty"`
    // CloudServiceCreationOption - A value indicating whether to use recovery cloud service for failover or not.
    CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicUnplannedFailoverProviderSpecificInputInstanceTypeUnplannedFailoverProviderSpecificInput', 'InstanceTypeBasicUnplannedFailoverProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicUnplannedFailoverProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicUnplannedFailoverProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicUnplannedFailoverProviderSpecificInputInstanceTypeInMageRcm', 'InstanceTypeBasicUnplannedFailoverProviderSpecificInputInstanceTypeInMage'
    InstanceType InstanceTypeBasicUnplannedFailoverProviderSpecificInput `json:"instanceType,omitempty"`
}

A2AUnplannedFailoverInput a2A provider specific input for unplanned failover.

func (A2AUnplannedFailoverInput) AsA2AUnplannedFailoverInput Uses

func (aufi A2AUnplannedFailoverInput) AsA2AUnplannedFailoverInput() (*A2AUnplannedFailoverInput, bool)

AsA2AUnplannedFailoverInput is the BasicUnplannedFailoverProviderSpecificInput implementation for A2AUnplannedFailoverInput.

func (A2AUnplannedFailoverInput) AsBasicUnplannedFailoverProviderSpecificInput Uses

func (aufi A2AUnplannedFailoverInput) AsBasicUnplannedFailoverProviderSpecificInput() (BasicUnplannedFailoverProviderSpecificInput, bool)

AsBasicUnplannedFailoverProviderSpecificInput is the BasicUnplannedFailoverProviderSpecificInput implementation for A2AUnplannedFailoverInput.

func (A2AUnplannedFailoverInput) AsHyperVReplicaAzureUnplannedFailoverInput Uses

func (aufi A2AUnplannedFailoverInput) AsHyperVReplicaAzureUnplannedFailoverInput() (*HyperVReplicaAzureUnplannedFailoverInput, bool)

AsHyperVReplicaAzureUnplannedFailoverInput is the BasicUnplannedFailoverProviderSpecificInput implementation for A2AUnplannedFailoverInput.

func (A2AUnplannedFailoverInput) AsInMageAzureV2UnplannedFailoverInput Uses

func (aufi A2AUnplannedFailoverInput) AsInMageAzureV2UnplannedFailoverInput() (*InMageAzureV2UnplannedFailoverInput, bool)

AsInMageAzureV2UnplannedFailoverInput is the BasicUnplannedFailoverProviderSpecificInput implementation for A2AUnplannedFailoverInput.

func (A2AUnplannedFailoverInput) AsInMageRcmUnplannedFailoverInput Uses

func (aufi A2AUnplannedFailoverInput) AsInMageRcmUnplannedFailoverInput() (*InMageRcmUnplannedFailoverInput, bool)

AsInMageRcmUnplannedFailoverInput is the BasicUnplannedFailoverProviderSpecificInput implementation for A2AUnplannedFailoverInput.

func (A2AUnplannedFailoverInput) AsInMageUnplannedFailoverInput Uses

func (aufi A2AUnplannedFailoverInput) AsInMageUnplannedFailoverInput() (*InMageUnplannedFailoverInput, bool)

AsInMageUnplannedFailoverInput is the BasicUnplannedFailoverProviderSpecificInput implementation for A2AUnplannedFailoverInput.

func (A2AUnplannedFailoverInput) AsUnplannedFailoverProviderSpecificInput Uses

func (aufi A2AUnplannedFailoverInput) AsUnplannedFailoverProviderSpecificInput() (*UnplannedFailoverProviderSpecificInput, bool)

AsUnplannedFailoverProviderSpecificInput is the BasicUnplannedFailoverProviderSpecificInput implementation for A2AUnplannedFailoverInput.

func (A2AUnplannedFailoverInput) MarshalJSON Uses

func (aufi A2AUnplannedFailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AUnplannedFailoverInput.

type A2AUnprotectedDiskDetails Uses

type A2AUnprotectedDiskDetails struct {
    // DiskLunID - The source lun Id for the data disk.
    DiskLunID *int32 `json:"diskLunId,omitempty"`
}

A2AUnprotectedDiskDetails a2A unprotected disk details.

type A2AUpdateContainerMappingInput Uses

type A2AUpdateContainerMappingInput struct {
    // AgentAutoUpdateStatus - A value indicating whether the auto update is enabled. Possible values include: 'Disabled', 'Enabled'
    AgentAutoUpdateStatus AgentAutoUpdateStatus `json:"agentAutoUpdateStatus,omitempty"`
    // AutomationAccountArmID - The automation account arm id.
    AutomationAccountArmID *string `json:"automationAccountArmId,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificUpdateContainerMappingInputInstanceTypeReplicationProviderSpecificUpdateContainerMappingInput', 'InstanceTypeBasicReplicationProviderSpecificUpdateContainerMappingInputInstanceTypeA2A'
    InstanceType InstanceTypeBasicReplicationProviderSpecificUpdateContainerMappingInput `json:"instanceType,omitempty"`
}

A2AUpdateContainerMappingInput a2A update protection container mapping.

func (A2AUpdateContainerMappingInput) AsA2AUpdateContainerMappingInput Uses

func (aucmi A2AUpdateContainerMappingInput) AsA2AUpdateContainerMappingInput() (*A2AUpdateContainerMappingInput, bool)

AsA2AUpdateContainerMappingInput is the BasicReplicationProviderSpecificUpdateContainerMappingInput implementation for A2AUpdateContainerMappingInput.

func (A2AUpdateContainerMappingInput) AsBasicReplicationProviderSpecificUpdateContainerMappingInput Uses

func (aucmi A2AUpdateContainerMappingInput) AsBasicReplicationProviderSpecificUpdateContainerMappingInput() (BasicReplicationProviderSpecificUpdateContainerMappingInput, bool)

AsBasicReplicationProviderSpecificUpdateContainerMappingInput is the BasicReplicationProviderSpecificUpdateContainerMappingInput implementation for A2AUpdateContainerMappingInput.

func (A2AUpdateContainerMappingInput) AsReplicationProviderSpecificUpdateContainerMappingInput Uses

func (aucmi A2AUpdateContainerMappingInput) AsReplicationProviderSpecificUpdateContainerMappingInput() (*ReplicationProviderSpecificUpdateContainerMappingInput, bool)

AsReplicationProviderSpecificUpdateContainerMappingInput is the BasicReplicationProviderSpecificUpdateContainerMappingInput implementation for A2AUpdateContainerMappingInput.

func (A2AUpdateContainerMappingInput) MarshalJSON Uses

func (aucmi A2AUpdateContainerMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AUpdateContainerMappingInput.

type A2AUpdateReplicationProtectedItemInput Uses

type A2AUpdateReplicationProtectedItemInput struct {
    // RecoveryCloudServiceID - The target cloud service ARM Id (for V1).
    RecoveryCloudServiceID *string `json:"recoveryCloudServiceId,omitempty"`
    // RecoveryResourceGroupID - The target resource group ARM Id (for V2).
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // ManagedDiskUpdateDetails - Managed disk update details.
    ManagedDiskUpdateDetails *[]A2AVMManagedDiskUpdateDetails `json:"managedDiskUpdateDetails,omitempty"`
    // RecoveryBootDiagStorageAccountID - The boot diagnostic storage account.
    RecoveryBootDiagStorageAccountID *string `json:"recoveryBootDiagStorageAccountId,omitempty"`
    // DiskEncryptionInfo - The recovery os disk encryption information.
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
    // RecoveryProximityPlacementGroupID - The recovery proximity placement group Id.
    RecoveryProximityPlacementGroupID *string `json:"recoveryProximityPlacementGroupId,omitempty"`
    // TfoAzureVMName - The user given name for test failover VM.
    TfoAzureVMName *string `json:"tfoAzureVMName,omitempty"`
    // InstanceType - Possible values include: 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeUpdateReplicationProtectedItemProviderInput', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeA2A', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageRcm'
    InstanceType InstanceTypeBasicUpdateReplicationProtectedItemProviderInput `json:"instanceType,omitempty"`
}

A2AUpdateReplicationProtectedItemInput inMage Azure V2 input to update replication protected item.

func (A2AUpdateReplicationProtectedItemInput) AsA2AUpdateReplicationProtectedItemInput Uses

func (aurpii A2AUpdateReplicationProtectedItemInput) AsA2AUpdateReplicationProtectedItemInput() (*A2AUpdateReplicationProtectedItemInput, bool)

AsA2AUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsBasicUpdateReplicationProtectedItemProviderInput Uses

func (aurpii A2AUpdateReplicationProtectedItemInput) AsBasicUpdateReplicationProtectedItemProviderInput() (BasicUpdateReplicationProtectedItemProviderInput, bool)

AsBasicUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput Uses

func (aurpii A2AUpdateReplicationProtectedItemInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput() (*HyperVReplicaAzureUpdateReplicationProtectedItemInput, bool)

AsHyperVReplicaAzureUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsInMageAzureV2UpdateReplicationProtectedItemInput Uses

func (aurpii A2AUpdateReplicationProtectedItemInput) AsInMageAzureV2UpdateReplicationProtectedItemInput() (*InMageAzureV2UpdateReplicationProtectedItemInput, bool)

AsInMageAzureV2UpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsInMageRcmUpdateReplicationProtectedItemInput Uses

func (aurpii A2AUpdateReplicationProtectedItemInput) AsInMageRcmUpdateReplicationProtectedItemInput() (*InMageRcmUpdateReplicationProtectedItemInput, bool)

AsInMageRcmUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsUpdateReplicationProtectedItemProviderInput Uses

func (aurpii A2AUpdateReplicationProtectedItemInput) AsUpdateReplicationProtectedItemProviderInput() (*UpdateReplicationProtectedItemProviderInput, bool)

AsUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) MarshalJSON Uses

func (aurpii A2AUpdateReplicationProtectedItemInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for A2AUpdateReplicationProtectedItemInput.

type A2AVMDiskDetails Uses

type A2AVMDiskDetails struct {
    // DiskURI - The disk Uri.
    DiskURI *string `json:"diskUri,omitempty"`
    // RecoveryAzureStorageAccountID - The recovery VHD storage account Id.
    RecoveryAzureStorageAccountID *string `json:"recoveryAzureStorageAccountId,omitempty"`
    // PrimaryStagingAzureStorageAccountID - The primary staging storage account Id.
    PrimaryStagingAzureStorageAccountID *string `json:"primaryStagingAzureStorageAccountId,omitempty"`
}

A2AVMDiskDetails azure VM disk details.

type A2AVMDiskInputDetails Uses

type A2AVMDiskInputDetails struct {
    // DiskURI - The disk Uri.
    DiskURI *string `json:"diskUri,omitempty"`
    // RecoveryAzureStorageAccountID - The recovery VHD storage account Id.
    RecoveryAzureStorageAccountID *string `json:"recoveryAzureStorageAccountId,omitempty"`
    // PrimaryStagingAzureStorageAccountID - The primary staging storage account Id.
    PrimaryStagingAzureStorageAccountID *string `json:"primaryStagingAzureStorageAccountId,omitempty"`
}

A2AVMDiskInputDetails azure VM disk input details.

type A2AVMManagedDiskDetails Uses

type A2AVMManagedDiskDetails struct {
    // DiskID - The disk Id.
    DiskID *string `json:"diskId,omitempty"`
    // PrimaryStagingAzureStorageAccountID - The primary staging storage account Arm Id.
    PrimaryStagingAzureStorageAccountID *string `json:"primaryStagingAzureStorageAccountId,omitempty"`
    // RecoveryResourceGroupID - The target resource group Arm Id.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // RecoveryReplicaDiskAccountType - The replica disk type.
    RecoveryReplicaDiskAccountType *string `json:"recoveryReplicaDiskAccountType,omitempty"`
    // RecoveryTargetDiskAccountType - The target disk type after failover.
    RecoveryTargetDiskAccountType *string `json:"recoveryTargetDiskAccountType,omitempty"`
    // RecoveryDiskEncryptionSetID - The recovery disk encryption set Id.
    RecoveryDiskEncryptionSetID *string `json:"recoveryDiskEncryptionSetId,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information (for one / single pass flows).
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
}

A2AVMManagedDiskDetails azure VM managed disk input details.

type A2AVMManagedDiskInputDetails Uses

type A2AVMManagedDiskInputDetails struct {
    // DiskID - The disk Id.
    DiskID *string `json:"diskId,omitempty"`
    // PrimaryStagingAzureStorageAccountID - The primary staging storage account Arm Id.
    PrimaryStagingAzureStorageAccountID *string `json:"primaryStagingAzureStorageAccountId,omitempty"`
    // RecoveryResourceGroupID - The target resource group Arm Id.
    RecoveryResourceGroupID *string `json:"recoveryResourceGroupId,omitempty"`
    // RecoveryReplicaDiskAccountType - The replica disk type. Its an optional value and will be same as source disk type if not user provided.
    RecoveryReplicaDiskAccountType *string `json:"recoveryReplicaDiskAccountType,omitempty"`
    // RecoveryTargetDiskAccountType - The target disk type after failover. Its an optional value and will be same as source disk type if not user provided.
    RecoveryTargetDiskAccountType *string `json:"recoveryTargetDiskAccountType,omitempty"`
    // RecoveryDiskEncryptionSetID - The recovery disk encryption set Id.
    RecoveryDiskEncryptionSetID *string `json:"recoveryDiskEncryptionSetId,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information (for one / single pass flows).
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
}

A2AVMManagedDiskInputDetails azure VM managed disk input details.

type A2AVMManagedDiskUpdateDetails Uses

type A2AVMManagedDiskUpdateDetails struct {
    // DiskID - The disk Id.
    DiskID *string `json:"diskId,omitempty"`
    // RecoveryTargetDiskAccountType - The target disk type before failover.
    RecoveryTargetDiskAccountType *string `json:"recoveryTargetDiskAccountType,omitempty"`
    // RecoveryReplicaDiskAccountType - The replica disk type before failover.
    RecoveryReplicaDiskAccountType *string `json:"recoveryReplicaDiskAccountType,omitempty"`
    // DiskEncryptionInfo - The recovery disk encryption information (for one / single pass flows).
    DiskEncryptionInfo *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
    // FailoverDiskName - The target disk name for unplanned failover operation.
    FailoverDiskName *string `json:"failoverDiskName,omitempty"`
    // TfoDiskName - The target disk name for test failover operation.
    TfoDiskName *string `json:"tfoDiskName,omitempty"`
}

A2AVMManagedDiskUpdateDetails azure VM managed disk update input details.

type ASRTask Uses

type ASRTask struct {
    // TaskID - The Id.
    TaskID *string `json:"taskId,omitempty"`
    // Name - The unique Task name.
    Name *string `json:"name,omitempty"`
    // StartTime - The start time.
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - The end time.
    EndTime *date.Time `json:"endTime,omitempty"`
    // AllowedActions - The state/actions applicable on this task.
    AllowedActions *[]string `json:"allowedActions,omitempty"`
    // FriendlyName - The name.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // State - The State. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.
    State *string `json:"state,omitempty"`
    // StateDescription - The description of the task state. For example - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.
    StateDescription *string `json:"stateDescription,omitempty"`
    // TaskType - The type of task. Details in CustomDetails property depend on this type.
    TaskType *string `json:"taskType,omitempty"`
    // CustomDetails - The custom task details based on the task type.
    CustomDetails BasicTaskTypeDetails `json:"customDetails,omitempty"`
    // GroupTaskCustomDetails - The custom task details based on the task type, if the task type is GroupTaskDetails or one of the types derived from it.
    GroupTaskCustomDetails BasicGroupTaskDetails `json:"groupTaskCustomDetails,omitempty"`
    // Errors - The task error details.
    Errors *[]JobErrorDetails `json:"errors,omitempty"`
}

ASRTask task of the Job.

func (*ASRTask) UnmarshalJSON Uses

func (at *ASRTask) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ASRTask struct.

type AddDisksInput Uses

type AddDisksInput struct {
    // Properties - Add disks input properties.
    Properties *AddDisksInputProperties `json:"properties,omitempty"`
}

AddDisksInput input for add disk(s) operation.

type AddDisksInputProperties Uses

type AddDisksInputProperties struct {
    // ProviderSpecificDetails - The ReplicationProviderInput. For HyperVReplicaAzure provider, it will be AzureEnableProtectionInput object. For San provider, it will be SanEnableProtectionInput object. For HyperVReplicaAzure provider, it can be null.
    ProviderSpecificDetails BasicAddDisksProviderSpecificInput `json:"providerSpecificDetails,omitempty"`
}

AddDisksInputProperties add Disks input properties.

func (*AddDisksInputProperties) UnmarshalJSON Uses

func (adip *AddDisksInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AddDisksInputProperties struct.

type AddDisksProviderSpecificInput Uses

type AddDisksProviderSpecificInput struct {
    // InstanceType - Possible values include: 'InstanceTypeAddDisksProviderSpecificInput', 'InstanceTypeA2A'
    InstanceType InstanceType `json:"instanceType,omitempty"`
}

AddDisksProviderSpecificInput add Disks provider specific input.

func (AddDisksProviderSpecificInput) AsA2AAddDisksInput Uses

func (adpsi AddDisksProviderSpecificInput) AsA2AAddDisksInput() (*A2AAddDisksInput, bool)

AsA2AAddDisksInput is the BasicAddDisksProviderSpecificInput implementation for AddDisksProviderSpecificInput.

func (AddDisksProviderSpecificInput) AsAddDisksProviderSpecificInput Uses

func (adpsi AddDisksProviderSpecificInput) AsAddDisksProviderSpecificInput() (*AddDisksProviderSpecificInput, bool)

AsAddDisksProviderSpecificInput is the BasicAddDisksProviderSpecificInput implementation for AddDisksProviderSpecificInput.

func (AddDisksProviderSpecificInput) AsBasicAddDisksProviderSpecificInput Uses

func (adpsi AddDisksProviderSpecificInput) AsBasicAddDisksProviderSpecificInput() (BasicAddDisksProviderSpecificInput, bool)

AsBasicAddDisksProviderSpecificInput is the BasicAddDisksProviderSpecificInput implementation for AddDisksProviderSpecificInput.

func (AddDisksProviderSpecificInput) MarshalJSON Uses

func (adpsi AddDisksProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddDisksProviderSpecificInput.

type AddRecoveryServicesProviderInput Uses

type AddRecoveryServicesProviderInput struct {
    // Properties - The properties of an add provider request.
    Properties *AddRecoveryServicesProviderInputProperties `json:"properties,omitempty"`
}

AddRecoveryServicesProviderInput input required to add a provider.

type AddRecoveryServicesProviderInputProperties Uses

type AddRecoveryServicesProviderInputProperties struct {
    // MachineName - The name of the machine where the provider is getting added.
    MachineName *string `json:"machineName,omitempty"`
    // MachineID - The Id of the machine where the provider is getting added.
    MachineID *string `json:"machineId,omitempty"`
    // AuthenticationIdentityInput - The identity provider input for DRA authentication.
    AuthenticationIdentityInput *IdentityProviderInput `json:"authenticationIdentityInput,omitempty"`
    // ResourceAccessIdentityInput - The identity provider input for resource access.
    ResourceAccessIdentityInput *IdentityProviderInput `json:"resourceAccessIdentityInput,omitempty"`
    // DataPlaneAuthenticationIdentityInput - The identity provider input for data plane authentication.
    DataPlaneAuthenticationIdentityInput *IdentityProviderInput `json:"dataPlaneAuthenticationIdentityInput,omitempty"`
}

AddRecoveryServicesProviderInputProperties the properties of an add provider request.

type AddVCenterRequest Uses

type AddVCenterRequest struct {
    // Properties - The properties of an add vCenter request.
    Properties *AddVCenterRequestProperties `json:"properties,omitempty"`
}

AddVCenterRequest input required to add vCenter.

type AddVCenterRequestProperties Uses

type AddVCenterRequestProperties struct {
    // FriendlyName - The friendly name of the vCenter.
    FriendlyName *string `json:"friendlyName,omitempty"`
    // IPAddress - The IP address of the vCenter to be discovered.
    IPAddress *string `json:"ipAddress,omitempty"`
    // ProcessServerID - The process server Id from where the discovery is orchestrated.
    ProcessServerID *string `json:"processServerId,omitempty"`
    // Port - The port number for discovery.
    Port *string `json:"port,omitempty"`
    // RunAsAccountID - The account Id which has privileges to discover the vCenter.
    RunAsAccountID *string `json:"runAsAccountId,omitempty"`
}

AddVCenterRequestProperties the properties of an add vCenter request.

type AgentAutoUpdateStatus Uses

type AgentAutoUpdateStatus string

AgentAutoUpdateStatus enumerates the values for agent auto update status.

const (
    // Disabled ...
    Disabled AgentAutoUpdateStatus = "Disabled"
    // Enabled ...
    Enabled AgentAutoUpdateStatus = "Enabled"
)

func PossibleAgentAutoUpdateStatusValues Uses

func PossibleAgentAutoUpdateStatusValues() []AgentAutoUpdateStatus

PossibleAgentAutoUpdateStatusValues returns an array of possible values for the AgentAutoUpdateStatus const type.

type AgentDetails Uses

type AgentDetails struct {
    // AgentID - READ-ONLY; The Id of the agent running on the server.
    AgentID *string `json:"agentId,omitempty"`
    // MachineID - READ-ONLY; The Id of the machine to which the agent is registered.
    MachineID *string `json:"machineId,omitempty"`
    // BiosID - READ-ONLY; The machine BIOS Id.
    BiosID *string `json:"biosId,omitempty"`
    // Fqdn - READ-ONLY; The machine FQDN.
    Fqdn *string `json:"fqdn,omitempty"`
    // Disks - READ-ONLY; The details of agent disks.
    Disks *[]AgentDiskDetails `json:"disks,omitempty"`
}

AgentDetails agent details.

type AgentDiskDetails Uses

type AgentDiskDetails struct {
    // DiskID - READ-ONLY; The disk Id.
    DiskID *string `json:"diskId,omitempty"`
    // DiskName - READ-ONLY; The disk name.
    DiskName *string `json:"diskName,omitempty"`
    // IsOSDisk - READ-ONLY; A value indicating whether the disk is the OS disk.
    IsOSDisk *string `json:"isOSDisk,omitempty"`
    // CapacityInBytes - READ-ONLY; The disk capacity in bytes.
    CapacityInBytes *int64 `json:"capacityInBytes,omitempty"`
    // LunID - READ-ONLY; The lun of disk.
    LunID *int32 `json:"lunId,omitempty"`
}

AgentDiskDetails agent disk details.

type AgentUpgradeBlockedReason Uses

type AgentUpgradeBlockedReason string

AgentUpgradeBlockedReason enumerates the values for agent upgrade blocked reason.

const (
    // AgentNoHeartbeat ...
    AgentNoHeartbeat AgentUpgradeBlockedReason = "AgentNoHeartbeat"
    // AlreadyOnLatestVersion ...
    AlreadyOnLatestVersion AgentUpgradeBlockedReason = "AlreadyOnLatestVersion"
    // DistroIsNotReported ...
    DistroIsNotReported AgentUpgradeBlockedReason = "DistroIsNotReported"
    // DistroNotSupportedForUpgrade ...
    DistroNotSupportedForUpgrade AgentUpgradeBlockedReason = "DistroNotSupportedForUpgrade"
    // IncompatibleApplianceVersion ...
    IncompatibleApplianceVersion AgentUpgradeBlockedReason = "IncompatibleApplianceVersion"
    // InvalidAgentVersion ...
    InvalidAgentVersion AgentUpgradeBlockedReason = "InvalidAgentVersion"
    // InvalidDriverVersion ...
    InvalidDriverVersion AgentUpgradeBlockedReason = "InvalidDriverVersion"
    // MissingUpgradePath ...
    MissingUpgradePath AgentUpgradeBlockedReason = "MissingUpgradePath"
    // NotProtected ...
    NotProtected AgentUpgradeBlockedReason = "NotProtected"
    // ProcessServerNoHeartbeat ...
    ProcessServerNoHeartbeat AgentUpgradeBlockedReason = "ProcessServerNoHeartbeat"
    // RcmProxyNoHeartbeat ...
    RcmProxyNoHeartbeat AgentUpgradeBlockedReason = "RcmProxyNoHeartbeat"
    // RebootRequired ...
    RebootRequired AgentUpgradeBlockedReason = "RebootRequired"
    // Unknown ...
    Unknown AgentUpgradeBlockedReason = "Unknown"
    // UnsupportedProtectionScenario ...
    UnsupportedProtectionScenario AgentUpgradeBlockedReason = "UnsupportedProtectionScenario"
)

func PossibleAgentUpgradeBlockedReasonValues Uses

func PossibleAgentUpgradeBlockedReasonValues() []AgentUpgradeBlockedReason

PossibleAgentUpgradeBlockedReasonValues returns an array of possible values for the AgentUpgradeBlockedReason const type.

type AgentVersionStatus Uses

type AgentVersionStatus string

AgentVersionStatus enumerates the values for agent version status.

const (
    // Deprecated ...
    Deprecated AgentVersionStatus = "Deprecated"
    // NotSupported ...
    NotSupported AgentVersionStatus = "NotSupported"
    // SecurityUpdateRequired ...
    SecurityUpdateRequired AgentVersionStatus = "SecurityUpdateRequired"
    // Supported ...
    Supported AgentVersionStatus = "Supported"
    // UpdateRequired ...
    UpdateRequired AgentVersionStatus = "UpdateRequired"
)

func PossibleAgentVersionStatusValues Uses

func PossibleAgentVersionStatusValues() []AgentVersionStatus

PossibleAgentVersionStatusValues returns an array of possible values for the AgentVersionStatus const type.

type Alert Uses

type Alert struct {
    autorest.Response `json:"-"`
    // Properties - Alert related data.
    Properties *AlertProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Resource Id
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Resource Name
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Resource Type
    Type *string `json:"type,omitempty"`
    // Location - Resource Location
    Location *string `json:"location,omitempty"`
}

Alert implements the Alert class.

func (Alert) MarshalJSON Uses

func (a Alert) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Alert.

type AlertCollection Uses

type AlertCollection struct {
    autorest.Response `json:"-"`
    // Value - The list of alerts.
    Value *[]Alert `json:"value,omitempty"`
    // NextLink - The value of next link.
    NextLink *string `json:"nextLink,omitempty"`
}

AlertCollection collection of alerts.

func (AlertCollection) IsEmpty Uses

func (ac AlertCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AlertCollectionIterator Uses

type AlertCollectionIterator struct {
    // contains filtered or unexported fields
}

AlertCollectionIterator provides access to a complete listing of Alert values.

func NewAlertCollectionIterator Uses

func NewAlertCollectionIterator(page AlertCollectionPage) AlertCollectionIterator

Creates a new instance of the AlertCollectionIterator type.

func (*AlertCollectionIterator) Next Uses

func (iter *AlertCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertCollectionIterator) NextWithContext Uses

func (iter *AlertCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AlertCollectionIterator) NotDone Uses

func (iter AlertCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AlertCollectionIterator) Response Uses

func (iter AlertCollectionIterator) Response() AlertCollection

Response returns the raw server response from the last page request.

func (AlertCollectionIterator) Value Uses

func (iter AlertCollectionIterator) Value() Alert

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AlertCollectionPage Uses

type AlertCollectionPage struct {
    // contains filtered or unexported fields
}

AlertCollectionPage contains a page of Alert values.

func NewAlertCollectionPage Uses

func NewAlertCollectionPage(cur AlertCollection, getNextPage func(context.Context, AlertCollection) (AlertCollection, error)) AlertCollectionPage

Creates a new instance of the AlertCollectionPage type.

func (*AlertCollectionPage) Next Uses

func (page *AlertCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AlertCollectionPage) NextWithContext Uses

func (page *AlertCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AlertCollectionPage) NotDone Uses

func (page AlertCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AlertCollectionPage) Response Uses

func (page AlertCollectionPage) Response() AlertCollection

Response returns the raw server response from the last page request.

func (AlertCollectionPage) Values Uses

func (page AlertCollectionPage) Values() []Alert

Values returns the slice of values for the current page or nil if there are no values.

type AlertProperties Uses

type AlertProperties struct {
    // SendToOwners - A value indicating whether to send email to subscription administrator.
    SendToOwners *string `json:"sendToOwners,omitempty"`
    // CustomEmailAddresses - The custom email address for sending emails.
    CustomEmailAddresses *[]string `json:"customEmailAddresses,omitempty"`
    // Locale - The locale for the email notification.
    Locale *string `json:"locale,omitempty"`
}

AlertProperties the properties of an alert.

type AlternateLocationRecoveryOption Uses

type AlternateLocationRecoveryOption string

AlternateLocationRecoveryOption enumerates the values for alternate location recovery option.

const (
    // CreateVMIfNotFound ...
    CreateVMIfNotFound AlternateLocationRecoveryOption = "CreateVmIfNotFound"
    // NoAction ...
    NoAction AlternateLocationRecoveryOption = "NoAction"
)

func PossibleAlternateLocationRecoveryOptionValues Uses

func PossibleAlternateLocationRecoveryOptionValues() []AlternateLocationRecoveryOption

PossibleAlternateLocationRecoveryOptionValues returns an array of possible values for the AlternateLocationRecoveryOption const type.

type ApplyRecoveryPointInput Uses

type ApplyRecoveryPointInput struct {
    // Properties - The input properties to apply recovery point.
    Properties *ApplyRecoveryPointInputProperties `json:"properties,omitempty"`
}

ApplyRecoveryPointInput input to apply recovery point.

type ApplyRecoveryPointInputProperties Uses

type ApplyRecoveryPointInputProperties struct {
    // RecoveryPointID - The recovery point Id.
    RecoveryPointID *string `json:"recoveryPointId,omitempty"`
    // ProviderSpecificDetails - Provider specific input for applying recovery point.
    ProviderSpecificDetails BasicApplyRecoveryPointProviderSpecificInput `json:"providerSpecificDetails,omitempty"`
}

ApplyRecoveryPointInputProperties input properties to apply recovery point.

func (*ApplyRecoveryPointInputProperties) UnmarshalJSON Uses

func (arpip *ApplyRecoveryPointInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplyRecoveryPointInputProperties struct.

type ApplyRecoveryPointProviderSpecificInput Uses

type ApplyRecoveryPointProviderSpecificInput struct {
    // InstanceType - Possible values include: 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeApplyRecoveryPointProviderSpecificInput', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageRcm'
    InstanceType InstanceTypeBasicApplyRecoveryPointProviderSpecificInput `json:"instanceType,omitempty"`
}

ApplyRecoveryPointProviderSpecificInput provider specific input for apply recovery point.

func (ApplyRecoveryPointProviderSpecificInput) AsA2AApplyRecoveryPointInput Uses

func (arppsi ApplyRecoveryPointProviderSpecificInput) AsA2AApplyRecoveryPointInput() (*A2AApplyRecoveryPointInput, bool)

AsA2AApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsApplyRecoveryPointProviderSpecificInput Uses

func (arppsi ApplyRecoveryPointProviderSpecificInput) AsApplyRecoveryPointProviderSpecificInput() (*ApplyRecoveryPointProviderSpecificInput, bool)

AsApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsBasicApplyRecoveryPointProviderSpecificInput Uses

func (arppsi ApplyRecoveryPointProviderSpecificInput) AsBasicApplyRecoveryPointProviderSpecificInput() (BasicApplyRecoveryPointProviderSpecificInput, bool)

AsBasicApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsHyperVReplicaAzureApplyRecoveryPointInput Uses

func (arppsi ApplyRecoveryPointProviderSpecificInput) AsHyperVReplicaAzureApplyRecoveryPointInput() (*HyperVReplicaAzureApplyRecoveryPointInput, bool)

AsHyperVReplicaAzureApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsInMageAzureV2ApplyRecoveryPointInput Uses

func (arppsi ApplyRecoveryPointProviderSpecificInput) AsInMageAzureV2ApplyRecoveryPointInput() (*InMageAzureV2ApplyRecoveryPointInput, bool)

AsInMageAzureV2ApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsInMageRcmApplyRecoveryPointInput Uses

func (arppsi ApplyRecoveryPointProviderSpecificInput) AsInMageRcmApplyRecoveryPointInput() (*InMageRcmApplyRecoveryPointInput, bool)

AsInMageRcmApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) MarshalJSON Uses

func (arppsi ApplyRecoveryPointProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplyRecoveryPointProviderSpecificInput.

type AsrJobDetails Uses

type AsrJobDetails struct {
    // AffectedObjectDetails - The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details.
    AffectedObjectDetails map[string]*string `json:"affectedObjectDetails"`
    // InstanceType - Possible values include: 'InstanceTypeJobDetails', 'InstanceTypeAsrJobDetails', 'InstanceTypeExportJobDetails', 'InstanceTypeFailoverJobDetails', 'InstanceTypeSwitchProtectionJobDetails', 'InstanceTypeTestFailoverJobDetails'
    InstanceType InstanceTypeBasicJobDetails `json:"instanceType,omitempty"`
}

AsrJobDetails this class represents job details based on specific job type.

func (AsrJobDetails) AsAsrJobDetails Uses

func (ajd AsrJobDetails) AsAsrJobDetails() (*AsrJobDetails, bool)

AsAsrJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsBasicJobDetails Uses

func (ajd AsrJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)

AsBasicJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsExportJobDetails Uses

func (ajd AsrJobDetails) AsExportJobDetails() (*ExportJobDetails, bool)

AsExportJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsFailoverJobDetails Uses

func (ajd AsrJobDetails) AsFailoverJobDetails() (*FailoverJobDetails, bool)

AsFailoverJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsJobDetails Uses

func (ajd AsrJobDetails) AsJobDetails() (*JobDetails, bool)

AsJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsSwitchProtectionJobDetails Uses

func (ajd AsrJobDetails) AsSwitchProtectionJobDetails() (*SwitchProtectionJobDetails, bool)

AsSwitchProtectionJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsTestFailoverJobDetails Uses

func (ajd AsrJobDetails) AsTestFailoverJobDetails() (*TestFailoverJobDetails, bool)

AsTestFailoverJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) MarshalJSON Uses

func (ajd AsrJobDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AsrJobDetails.

type AutoProtectionOfDataDisk Uses

type AutoProtectionOfDataDisk string

AutoProtectionOfDataDisk enumerates the values for auto protection of data disk.

const (
    // AutoProtectionOfDataDiskDisabled ...
    AutoProtectionOfDataDiskDisabled AutoProtectionOfDataDisk = "Disabled"
    // AutoProtectionOfDataDiskEnabled ...
    AutoProtectionOfDataDiskEnabled AutoProtectionOfDataDisk = "Enabled"
)

func PossibleAutoProtectionOfDataDiskValues Uses

func PossibleAutoProtectionOfDataDiskValues() []AutoProtectionOfDataDisk

PossibleAutoProtectionOfDataDiskValues returns an array of possible values for the AutoProtectionOfDataDisk const type.

type AutoProtectionOfDataDiskStatus Uses

type AutoProtectionOfDataDiskStatus string

AutoProtectionOfDataDiskStatus enumerates the values for auto protection of data disk status.

const (
    // AutoProtectionOfDataDiskStatusDisabled ...
    AutoProtectionOfDataDiskStatusDisabled AutoProtectionOfDataDiskStatus = "Disabled"
    // AutoProtectionOfDataDiskStatusEnabled ...
    AutoProtectionOfDataDiskStatusEnabled AutoProtectionOfDataDiskStatus = "Enabled"
)

func PossibleAutoProtectionOfDataDiskStatusValues Uses

func PossibleAutoProtectionOfDataDiskStatusValues() []AutoProtectionOfDataDiskStatus

PossibleAutoProtectionOfDataDiskStatusValues returns an array of possible values for the AutoProtectionOfDataDiskStatus const type.

type AutomationRunbookTaskDetails Uses

type AutomationRunbookTaskDetails struct {
    // Name - The recovery plan task name.
    Name *string `json:"name,omitempty"`
    // CloudServiceName - The cloud service of the automation runbook account.
    CloudServiceName *string `json:"cloudServiceName,omitempty"`
    // SubscriptionID - The subscription Id of the automation runbook account.
    SubscriptionID *string `json:"subscriptionId,omitempty"`
    // AccountName - The automation account name of the runbook.
    AccountName *string `json:"accountName,omitempty"`
    // RunbookID - The runbook Id.
    RunbookID *string `json:"runbookId,omitempty"`
    // RunbookName - The runbook name.
    RunbookName *string `json:"runbookName,omitempty"`
    // JobID - The job Id of the runbook execution.
    JobID *string `json:"jobId,omitempty"`
    // JobOutput