siterecovery

package
v57.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 10 Imported by: 117

Documentation

Overview

Package siterecovery implements the Azure ARM Siterecovery service API version 2016-08-10.

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type A2AApplyRecoveryPointInput

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

A2AApplyRecoveryPointInput applyRecoveryPoint input specific to A2A provider.

func (A2AApplyRecoveryPointInput) AsA2AApplyRecoveryPointInput

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

AsA2AApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsApplyRecoveryPointProviderSpecificInput

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

AsApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecificInput

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

AsBasicApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsHyperVReplicaAzureApplyRecoveryPointInput

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

AsHyperVReplicaAzureApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) AsInMageAzureV2ApplyRecoveryPointInput

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

AsInMageAzureV2ApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for A2AApplyRecoveryPointInput.

func (A2AApplyRecoveryPointInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AApplyRecoveryPointInput.

type A2AContainerCreationInput

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

A2AContainerCreationInput a2A cloud creation input.

func (A2AContainerCreationInput) AsA2AContainerCreationInput

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

AsA2AContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for A2AContainerCreationInput.

func (A2AContainerCreationInput) AsBasicReplicationProviderSpecificContainerCreationInput

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

AsBasicReplicationProviderSpecificContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for A2AContainerCreationInput.

func (A2AContainerCreationInput) AsReplicationProviderSpecificContainerCreationInput

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

AsReplicationProviderSpecificContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for A2AContainerCreationInput.

func (A2AContainerCreationInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AContainerCreationInput.

type A2AEnableProtectionInput

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"`
	// 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: 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicEnableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

A2AEnableProtectionInput a2A enable protection input.

func (A2AEnableProtectionInput) AsA2AEnableProtectionInput

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

AsA2AEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput

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

AsBasicEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsEnableProtectionProviderSpecificInput

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

AsEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput

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

AsHyperVReplicaAzureEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsInMageAzureV2EnableProtectionInput

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

AsInMageAzureV2EnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsInMageEnableProtectionInput

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

AsInMageEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) AsSanEnableProtectionInput

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

AsSanEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for A2AEnableProtectionInput.

func (A2AEnableProtectionInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AEnableProtectionInput.

type A2AEventDetails

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: 'InstanceTypeEventProviderSpecificDetails', 'InstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeHyperVReplica2012', 'InstanceTypeHyperVReplica2012R2', 'InstanceTypeHyperVReplicaAzure', 'InstanceTypeA2A', 'InstanceTypeInMageAzureV2'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

A2AEventDetails model class for event details of a A2A event.

func (A2AEventDetails) AsA2AEventDetails

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

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsBasicEventProviderSpecificDetails

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

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsEventProviderSpecificDetails

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

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplica2012EventDetails

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

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplica2012R2EventDetails

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

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplicaAzureEventDetails

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

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsHyperVReplicaBaseEventDetails

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

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) AsInMageAzureV2EventDetails

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

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for A2AEventDetails.

func (A2AEventDetails) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AEventDetails.

type A2AFailoverProviderInput

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', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

A2AFailoverProviderInput a2A provider specific input for failover.

func (A2AFailoverProviderInput) AsA2AFailoverProviderInput

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

AsA2AFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsBasicProviderSpecificFailoverInput

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

AsBasicProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput

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

AsHyperVReplicaAzureFailbackProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput

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

AsHyperVReplicaAzureFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsInMageAzureV2FailoverProviderInput

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

AsInMageAzureV2FailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsInMageFailoverProviderInput

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

AsInMageFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) AsProviderSpecificFailoverInput

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

AsProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for A2AFailoverProviderInput.

func (A2AFailoverProviderInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AFailoverProviderInput.

type A2APolicyCreationInput

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', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

A2APolicyCreationInput a2A Policy creation input.

func (A2APolicyCreationInput) AsA2APolicyCreationInput

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

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsBasicPolicyProviderSpecificInput

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

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsHyperVReplicaAzurePolicyInput

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

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsHyperVReplicaBluePolicyInput

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

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsHyperVReplicaPolicyInput

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

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsInMageAzureV2PolicyInput

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

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsInMagePolicyInput

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

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsPolicyProviderSpecificInput

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

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) AsVMwareCbtPolicyCreationInput

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

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for A2APolicyCreationInput.

func (A2APolicyCreationInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2APolicyCreationInput.

type A2APolicyDetails

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', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

A2APolicyDetails a2A specific policy details.

func (A2APolicyDetails) AsA2APolicyDetails

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

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsBasicPolicyProviderSpecificDetails

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

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaAzurePolicyDetails

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

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaBasePolicyDetails

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

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaBluePolicyDetails

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

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsHyperVReplicaPolicyDetails

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

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsInMageAzureV2PolicyDetails

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

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsInMageBasePolicyDetails

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

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsInMagePolicyDetails

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

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsPolicyProviderSpecificDetails

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

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsRcmAzureMigrationPolicyDetails

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

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) AsVmwareCbtPolicyDetails

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

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for A2APolicyDetails.

func (A2APolicyDetails) MarshalJSON

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

MarshalJSON is the custom marshaler for A2APolicyDetails.

type A2AProtectedDiskDetails

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"`
}

A2AProtectedDiskDetails a2A protected disk details.

type A2AProtectedManagedDiskDetails

type A2AProtectedManagedDiskDetails struct {
	// DiskID - The managed disk Arm id.
	DiskID *string `json:"diskId,omitempty"`
	// RecoveryAzureResourceGroupID - The recovery disk resource group Arm Id.
	RecoveryAzureResourceGroupID *string `json:"recoveryAzureResourceGroupId,omitempty"`
	// RecoveryDiskID - Recovery disk Arm Id.
	RecoveryDiskID *string `json:"recoveryDiskId,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"`
}

A2AProtectedManagedDiskDetails a2A protected managed disk details.

type A2AReplicationDetails

type A2AReplicationDetails struct {
	// FabricObjectID - The fabric specific object Id of the virtual machine.
	FabricObjectID *string `json:"fabricObjectId,omitempty"`
	// MultiVMGroupID - The multi vm group Id.
	MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
	// MultiVMGroupName - The multi vm group name.
	MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
	// ManagementID - The management Id.
	ManagementID *string `json:"managementId,omitempty"`
	// ProtectedDisks - The list of protected disks.
	ProtectedDisks *[]A2AProtectedDiskDetails `json:"protectedDisks,omitempty"`
	// ProtectedManagedDisks - The list of protected managed disks.
	ProtectedManagedDisks *[]A2AProtectedManagedDiskDetails `json:"protectedManagedDisks,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"`
	// 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

A2AReplicationDetails a2A provider specific settings.

func (A2AReplicationDetails) AsA2AReplicationDetails

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

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsBasicReplicationProviderSpecificSettings

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

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaAzureReplicationDetails

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

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaBaseReplicationDetails

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

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaBlueReplicationDetails

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

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsHyperVReplicaReplicationDetails

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

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsInMageAzureV2ReplicationDetails

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

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsInMageReplicationDetails

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

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) AsReplicationProviderSpecificSettings

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

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for A2AReplicationDetails.

func (A2AReplicationDetails) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AReplicationDetails.

type A2AReprotectInput

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', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicReverseReplicationProviderSpecificInput `json:"instanceType,omitempty"`
}

A2AReprotectInput azure specific reprotect input.

func (A2AReprotectInput) AsA2AReprotectInput

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

AsA2AReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsBasicReverseReplicationProviderSpecificInput

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

AsBasicReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsHyperVReplicaAzureReprotectInput

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

AsHyperVReplicaAzureReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsInMageAzureV2ReprotectInput

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

AsInMageAzureV2ReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsInMageReprotectInput

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

AsInMageReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) AsReverseReplicationProviderSpecificInput

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

AsReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for A2AReprotectInput.

func (A2AReprotectInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AReprotectInput.

type A2ARpRecoveryPointType

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

func PossibleA2ARpRecoveryPointTypeValues() []A2ARpRecoveryPointType

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

type A2ASwitchProtectionInput

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"`
	// PolicyID - The Policy Id.
	PolicyID *string `json:"policyId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeSwitchProtectionProviderSpecificInput', 'InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicSwitchProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

A2ASwitchProtectionInput a2A specific switch protection input.

func (A2ASwitchProtectionInput) AsA2ASwitchProtectionInput

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

AsA2ASwitchProtectionInput is the BasicSwitchProtectionProviderSpecificInput implementation for A2ASwitchProtectionInput.

func (A2ASwitchProtectionInput) AsBasicSwitchProtectionProviderSpecificInput

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

AsBasicSwitchProtectionProviderSpecificInput is the BasicSwitchProtectionProviderSpecificInput implementation for A2ASwitchProtectionInput.

func (A2ASwitchProtectionInput) AsSwitchProtectionProviderSpecificInput

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

AsSwitchProtectionProviderSpecificInput is the BasicSwitchProtectionProviderSpecificInput implementation for A2ASwitchProtectionInput.

func (A2ASwitchProtectionInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2ASwitchProtectionInput.

type A2AUpdateReplicationProtectedItemInput

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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeUpdateReplicationProtectedItemProviderInput', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicUpdateReplicationProtectedItemProviderInput `json:"instanceType,omitempty"`
}

A2AUpdateReplicationProtectedItemInput inMage Azure V2 input to update replication protected item.

func (A2AUpdateReplicationProtectedItemInput) AsA2AUpdateReplicationProtectedItemInput

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

AsA2AUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsBasicUpdateReplicationProtectedItemProviderInput

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

AsBasicUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput

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

AsHyperVReplicaAzureUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsInMageAzureV2UpdateReplicationProtectedItemInput

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

AsInMageAzureV2UpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) AsUpdateReplicationProtectedItemProviderInput

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

AsUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for A2AUpdateReplicationProtectedItemInput.

func (A2AUpdateReplicationProtectedItemInput) MarshalJSON

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

MarshalJSON is the custom marshaler for A2AUpdateReplicationProtectedItemInput.

type A2AVMDiskInputDetails

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 A2AVMManagedDiskInputDetails

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"`
}

A2AVMManagedDiskInputDetails azure VM managed disk input details.

type ARMException

type ARMException struct {
	// Code - Gets HTTP status code for the error.
	Code *string `json:"code,omitempty"`
	// Message - Gets exception message.
	Message *string `json:"message,omitempty"`
	// Target - Gets exception target.
	Target *string `json:"target,omitempty"`
	// Details - Gets service based error details.
	Details *[]ARMExceptionDetails `json:"details,omitempty"`
	// Innererror - Gets private data for service debugging.
	Innererror *ARMInnerError `json:"innererror,omitempty"`
}

ARMException ARM inner exception class.

type ARMExceptionDetails

type ARMExceptionDetails struct {
	// Code - Gets service error code.
	Code *string `json:"code,omitempty"`
	// Message - Gets error message.
	Message *string `json:"message,omitempty"`
	// PossibleCauses - Gets possible cause for error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// RecommendedAction - Gets recommended action for the error.
	RecommendedAction *string `json:"recommendedAction,omitempty"`
	// ClientRequestID - Gets the client request Id for the session.
	ClientRequestID *string `json:"clientRequestId,omitempty"`
	// ActivityID - Gets the activity Id for the session.
	ActivityID *string `json:"activityId,omitempty"`
	// Target - Gets exception target.
	Target *string `json:"target,omitempty"`
}

ARMExceptionDetails service based exception details.

type ARMInnerError

type ARMInnerError struct {
	// Trace - Gets complete stack trace of the exception.
	Trace *string `json:"trace,omitempty"`
	// Source - Gets exception source.
	Source *string `json:"source,omitempty"`
	// MethodStatus - Gets data related to method which threw the exception.
	MethodStatus *MethodCallStatus `json:"methodStatus,omitempty"`
	// CloudID - Gets cloud Id in exception.
	CloudID *string `json:"cloudId,omitempty"`
	// HVHostID - Gets hyperV host ID.
	HVHostID *string `json:"hVHostId,omitempty"`
	// HVClusterID - Gets hyperV cluster Id.
	HVClusterID *string `json:"hVClusterId,omitempty"`
	// NetworkID - Gets network Id.
	NetworkID *string `json:"networkId,omitempty"`
	// VMID - Gets Vm Id.
	VMID *string `json:"vmId,omitempty"`
	// FabricID - Gets Fabric Id.
	FabricID *string `json:"fabricId,omitempty"`
	// LiveID - Gets Live Id of the caller.
	LiveID *string `json:"liveId,omitempty"`
	// ContainerID - Gets container Id of the caller.
	ContainerID *string `json:"containerId,omitempty"`
	// ResourceID - Gets resource id used in the call.
	ResourceID *string `json:"resourceId,omitempty"`
	// ResourceName - Gets caller resource name.
	ResourceName *string `json:"resourceName,omitempty"`
	// SubscriptionID - Gets subscription Id.
	SubscriptionID *string `json:"subscriptionId,omitempty"`
	// SerializedSRSLogContext - Gets serialized SRS log context.
	SerializedSRSLogContext *string `json:"serializedSRSLogContext,omitempty"`
}

ARMInnerError ARM internal error class for providing additional debug data.

type ASRTask

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

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

UnmarshalJSON is the custom unmarshaler for ASRTask struct.

type AddVCenterRequest

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

AddVCenterRequest input required to add vCenter.

type AddVCenterRequestProperties

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 Alert

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

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

MarshalJSON is the custom marshaler for Alert.

type AlertCollection

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

func (ac AlertCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AlertCollectionIterator

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

AlertCollectionIterator provides access to a complete listing of Alert values.

func NewAlertCollectionIterator

func NewAlertCollectionIterator(page AlertCollectionPage) AlertCollectionIterator

Creates a new instance of the AlertCollectionIterator type.

func (*AlertCollectionIterator) Next

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

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

func (iter AlertCollectionIterator) NotDone() bool

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

func (AlertCollectionIterator) Response

func (iter AlertCollectionIterator) Response() AlertCollection

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

func (AlertCollectionIterator) Value

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

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

AlertCollectionPage contains a page of Alert values.

func NewAlertCollectionPage

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

Creates a new instance of the AlertCollectionPage type.

func (*AlertCollectionPage) Next

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

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

func (page AlertCollectionPage) NotDone() bool

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

func (AlertCollectionPage) Response

func (page AlertCollectionPage) Response() AlertCollection

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

func (AlertCollectionPage) Values

func (page AlertCollectionPage) Values() []Alert

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

type AlertProperties

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

type AlternateLocationRecoveryOption string

AlternateLocationRecoveryOption enumerates the values for alternate location recovery option.

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

func PossibleAlternateLocationRecoveryOptionValues

func PossibleAlternateLocationRecoveryOptionValues() []AlternateLocationRecoveryOption

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

type ApplyRecoveryPointInput

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

ApplyRecoveryPointInput input to apply recovery point.

type ApplyRecoveryPointInputProperties

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

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

UnmarshalJSON is the custom unmarshaler for ApplyRecoveryPointInputProperties struct.

type ApplyRecoveryPointProviderSpecificInput

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

ApplyRecoveryPointProviderSpecificInput provider specific input for apply recovery point.

func (ApplyRecoveryPointProviderSpecificInput) AsA2AApplyRecoveryPointInput

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

AsA2AApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsApplyRecoveryPointProviderSpecificInput

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

AsApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsBasicApplyRecoveryPointProviderSpecificInput

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

AsBasicApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsHyperVReplicaAzureApplyRecoveryPointInput

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

AsHyperVReplicaAzureApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) AsInMageAzureV2ApplyRecoveryPointInput

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

AsInMageAzureV2ApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for ApplyRecoveryPointProviderSpecificInput.

func (ApplyRecoveryPointProviderSpecificInput) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplyRecoveryPointProviderSpecificInput.

type AsrJobDetails

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', 'InstanceTypeTestFailoverJobDetails', 'InstanceTypeFailoverJobDetails', 'InstanceTypeExportJobDetails', 'InstanceTypeSwitchProtectionJobDetails'
	InstanceType InstanceTypeBasicJobDetails `json:"instanceType,omitempty"`
}

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

func (AsrJobDetails) AsAsrJobDetails

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

AsAsrJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsBasicJobDetails

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

AsBasicJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsExportJobDetails

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

AsExportJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsFailoverJobDetails

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

AsFailoverJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsJobDetails

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

AsJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsSwitchProtectionJobDetails

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

AsSwitchProtectionJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) AsTestFailoverJobDetails

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

AsTestFailoverJobDetails is the BasicJobDetails implementation for AsrJobDetails.

func (AsrJobDetails) MarshalJSON

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

MarshalJSON is the custom marshaler for AsrJobDetails.

type AutomationRunbookTaskDetails

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 - The execution output of the runbook.
	JobOutput *string `json:"jobOutput,omitempty"`
	// IsPrimarySideScript - A value indicating whether it is a primary side script or not.
	IsPrimarySideScript *bool `json:"isPrimarySideScript,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

AutomationRunbookTaskDetails this class represents the task details for an automation runbook.

func (AutomationRunbookTaskDetails) AsAutomationRunbookTaskDetails

func (artd AutomationRunbookTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsBasicTaskTypeDetails

func (artd AutomationRunbookTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsConsistencyCheckTaskDetails

func (artd AutomationRunbookTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsFabricReplicationGroupTaskDetails

func (artd AutomationRunbookTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsJobTaskDetails

func (artd AutomationRunbookTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsManualActionTaskDetails

func (artd AutomationRunbookTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsScriptActionTaskDetails

func (artd AutomationRunbookTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsTaskTypeDetails

func (artd AutomationRunbookTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsVMNicUpdatesTaskDetails

func (artd AutomationRunbookTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) AsVirtualMachineTaskDetails

func (artd AutomationRunbookTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for AutomationRunbookTaskDetails.

func (AutomationRunbookTaskDetails) MarshalJSON

func (artd AutomationRunbookTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutomationRunbookTaskDetails.

type AzureFabricCreationInput

type AzureFabricCreationInput struct {
	// Location - The Location.
	Location *string `json:"location,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreationInput', 'InstanceTypeAzure', 'InstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificCreationInput `json:"instanceType,omitempty"`
}

AzureFabricCreationInput fabric provider specific settings.

func (AzureFabricCreationInput) AsAzureFabricCreationInput

func (afci AzureFabricCreationInput) AsAzureFabricCreationInput() (*AzureFabricCreationInput, bool)

AsAzureFabricCreationInput is the BasicFabricSpecificCreationInput implementation for AzureFabricCreationInput.

func (AzureFabricCreationInput) AsBasicFabricSpecificCreationInput

func (afci AzureFabricCreationInput) AsBasicFabricSpecificCreationInput() (BasicFabricSpecificCreationInput, bool)

AsBasicFabricSpecificCreationInput is the BasicFabricSpecificCreationInput implementation for AzureFabricCreationInput.

func (AzureFabricCreationInput) AsFabricSpecificCreationInput

func (afci AzureFabricCreationInput) AsFabricSpecificCreationInput() (*FabricSpecificCreationInput, bool)

AsFabricSpecificCreationInput is the BasicFabricSpecificCreationInput implementation for AzureFabricCreationInput.

func (AzureFabricCreationInput) AsVMwareV2FabricCreationInput

func (afci AzureFabricCreationInput) AsVMwareV2FabricCreationInput() (*VMwareV2FabricCreationInput, bool)

AsVMwareV2FabricCreationInput is the BasicFabricSpecificCreationInput implementation for AzureFabricCreationInput.

func (AzureFabricCreationInput) MarshalJSON

func (afci AzureFabricCreationInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFabricCreationInput.

type AzureFabricSpecificDetails

type AzureFabricSpecificDetails struct {
	// Location - The Location for the Azure fabric.
	Location *string `json:"location,omitempty"`
	// ContainerIds - The container Ids for the Azure fabric.
	ContainerIds *[]string `json:"containerIds,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificDetails `json:"instanceType,omitempty"`
}

AzureFabricSpecificDetails azure Fabric Specific Details.

func (AzureFabricSpecificDetails) AsAzureFabricSpecificDetails

func (afsd AzureFabricSpecificDetails) AsAzureFabricSpecificDetails() (*AzureFabricSpecificDetails, bool)

AsAzureFabricSpecificDetails is the BasicFabricSpecificDetails implementation for AzureFabricSpecificDetails.

func (AzureFabricSpecificDetails) AsBasicFabricSpecificDetails

func (afsd AzureFabricSpecificDetails) AsBasicFabricSpecificDetails() (BasicFabricSpecificDetails, bool)

AsBasicFabricSpecificDetails is the BasicFabricSpecificDetails implementation for AzureFabricSpecificDetails.

func (AzureFabricSpecificDetails) AsFabricSpecificDetails

func (afsd AzureFabricSpecificDetails) AsFabricSpecificDetails() (*FabricSpecificDetails, bool)

AsFabricSpecificDetails is the BasicFabricSpecificDetails implementation for AzureFabricSpecificDetails.

func (AzureFabricSpecificDetails) AsHyperVSiteDetails

func (afsd AzureFabricSpecificDetails) AsHyperVSiteDetails() (*HyperVSiteDetails, bool)

AsHyperVSiteDetails is the BasicFabricSpecificDetails implementation for AzureFabricSpecificDetails.

func (AzureFabricSpecificDetails) AsVMwareDetails

func (afsd AzureFabricSpecificDetails) AsVMwareDetails() (*VMwareDetails, bool)

AsVMwareDetails is the BasicFabricSpecificDetails implementation for AzureFabricSpecificDetails.

func (AzureFabricSpecificDetails) AsVMwareV2FabricSpecificDetails

func (afsd AzureFabricSpecificDetails) AsVMwareV2FabricSpecificDetails() (*VMwareV2FabricSpecificDetails, bool)

AsVMwareV2FabricSpecificDetails is the BasicFabricSpecificDetails implementation for AzureFabricSpecificDetails.

func (AzureFabricSpecificDetails) AsVmmDetails

func (afsd AzureFabricSpecificDetails) AsVmmDetails() (*VmmDetails, bool)

AsVmmDetails is the BasicFabricSpecificDetails implementation for AzureFabricSpecificDetails.

func (AzureFabricSpecificDetails) MarshalJSON

func (afsd AzureFabricSpecificDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureFabricSpecificDetails.

type AzureToAzureCreateNetworkMappingInput

type AzureToAzureCreateNetworkMappingInput struct {
	// PrimaryNetworkID - The primary azure vnet Id.
	PrimaryNetworkID *string `json:"primaryNetworkId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreateNetworkMappingInput', 'InstanceTypeAzureToAzure', 'InstanceTypeVmmToAzure', 'InstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificCreateNetworkMappingInput `json:"instanceType,omitempty"`
}

AzureToAzureCreateNetworkMappingInput create network mappings input properties/behavior specific to Azure to Azure Network mapping.

func (AzureToAzureCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput

func (atacnmi AzureToAzureCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput() (*AzureToAzureCreateNetworkMappingInput, bool)

AsAzureToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for AzureToAzureCreateNetworkMappingInput.

func (AzureToAzureCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput

func (atacnmi AzureToAzureCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput() (BasicFabricSpecificCreateNetworkMappingInput, bool)

AsBasicFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for AzureToAzureCreateNetworkMappingInput.

func (AzureToAzureCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput

func (atacnmi AzureToAzureCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput() (*FabricSpecificCreateNetworkMappingInput, bool)

AsFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for AzureToAzureCreateNetworkMappingInput.

func (AzureToAzureCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput

func (atacnmi AzureToAzureCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput() (*VmmToAzureCreateNetworkMappingInput, bool)

AsVmmToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for AzureToAzureCreateNetworkMappingInput.

func (AzureToAzureCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput

func (atacnmi AzureToAzureCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput() (*VmmToVmmCreateNetworkMappingInput, bool)

AsVmmToVmmCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for AzureToAzureCreateNetworkMappingInput.

func (AzureToAzureCreateNetworkMappingInput) MarshalJSON

func (atacnmi AzureToAzureCreateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureToAzureCreateNetworkMappingInput.

type AzureToAzureNetworkMappingSettings

type AzureToAzureNetworkMappingSettings struct {
	// PrimaryFabricLocation - The primary fabric location.
	PrimaryFabricLocation *string `json:"primaryFabricLocation,omitempty"`
	// RecoveryFabricLocation - The recovery fabric location.
	RecoveryFabricLocation *string `json:"recoveryFabricLocation,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeNetworkMappingFabricSpecificSettings', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeAzureToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicNetworkMappingFabricSpecificSettings `json:"instanceType,omitempty"`
}

AzureToAzureNetworkMappingSettings a2A Network Mapping fabric specific settings.

func (AzureToAzureNetworkMappingSettings) AsAzureToAzureNetworkMappingSettings

func (atanms AzureToAzureNetworkMappingSettings) AsAzureToAzureNetworkMappingSettings() (*AzureToAzureNetworkMappingSettings, bool)

AsAzureToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for AzureToAzureNetworkMappingSettings.

func (AzureToAzureNetworkMappingSettings) AsBasicNetworkMappingFabricSpecificSettings

func (atanms AzureToAzureNetworkMappingSettings) AsBasicNetworkMappingFabricSpecificSettings() (BasicNetworkMappingFabricSpecificSettings, bool)

AsBasicNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for AzureToAzureNetworkMappingSettings.

func (AzureToAzureNetworkMappingSettings) AsNetworkMappingFabricSpecificSettings

func (atanms AzureToAzureNetworkMappingSettings) AsNetworkMappingFabricSpecificSettings() (*NetworkMappingFabricSpecificSettings, bool)

AsNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for AzureToAzureNetworkMappingSettings.

func (AzureToAzureNetworkMappingSettings) AsVmmToAzureNetworkMappingSettings

func (atanms AzureToAzureNetworkMappingSettings) AsVmmToAzureNetworkMappingSettings() (*VmmToAzureNetworkMappingSettings, bool)

AsVmmToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for AzureToAzureNetworkMappingSettings.

func (AzureToAzureNetworkMappingSettings) AsVmmToVmmNetworkMappingSettings

func (atanms AzureToAzureNetworkMappingSettings) AsVmmToVmmNetworkMappingSettings() (*VmmToVmmNetworkMappingSettings, bool)

AsVmmToVmmNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for AzureToAzureNetworkMappingSettings.

func (AzureToAzureNetworkMappingSettings) MarshalJSON

func (atanms AzureToAzureNetworkMappingSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureToAzureNetworkMappingSettings.

type AzureToAzureUpdateNetworkMappingInput

type AzureToAzureUpdateNetworkMappingInput struct {
	// PrimaryNetworkID - The primary azure vnet Id.
	PrimaryNetworkID *string `json:"primaryNetworkId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeFabricSpecificUpdateNetworkMappingInput', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeAzureToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput `json:"instanceType,omitempty"`
}

AzureToAzureUpdateNetworkMappingInput updates network mappings input.

func (AzureToAzureUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput

func (ataunmi AzureToAzureUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput() (*AzureToAzureUpdateNetworkMappingInput, bool)

AsAzureToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for AzureToAzureUpdateNetworkMappingInput.

func (AzureToAzureUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput

func (ataunmi AzureToAzureUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput() (BasicFabricSpecificUpdateNetworkMappingInput, bool)

AsBasicFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for AzureToAzureUpdateNetworkMappingInput.

func (AzureToAzureUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput

func (ataunmi AzureToAzureUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput() (*FabricSpecificUpdateNetworkMappingInput, bool)

AsFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for AzureToAzureUpdateNetworkMappingInput.

func (AzureToAzureUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput

func (ataunmi AzureToAzureUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput() (*VmmToAzureUpdateNetworkMappingInput, bool)

AsVmmToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for AzureToAzureUpdateNetworkMappingInput.

func (AzureToAzureUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput

func (ataunmi AzureToAzureUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput() (*VmmToVmmUpdateNetworkMappingInput, bool)

AsVmmToVmmUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for AzureToAzureUpdateNetworkMappingInput.

func (AzureToAzureUpdateNetworkMappingInput) MarshalJSON

func (ataunmi AzureToAzureUpdateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureToAzureUpdateNetworkMappingInput.

type AzureToAzureVMSyncedConfigDetails

type AzureToAzureVMSyncedConfigDetails struct {
	// Tags - The Azure VM tags.
	Tags map[string]*string `json:"tags"`
	// RoleAssignments - The Azure role assignments.
	RoleAssignments *[]RoleAssignment `json:"roleAssignments,omitempty"`
	// InputEndpoints - The Azure VM input endpoints.
	InputEndpoints *[]InputEndpoint `json:"inputEndpoints,omitempty"`
}

AzureToAzureVMSyncedConfigDetails azure to Azure VM synced configuration details.

func (AzureToAzureVMSyncedConfigDetails) MarshalJSON

func (atavscd AzureToAzureVMSyncedConfigDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureToAzureVMSyncedConfigDetails.

type AzureVMDiskDetails

type AzureVMDiskDetails struct {
	// VhdType - VHD type.
	VhdType *string `json:"vhdType,omitempty"`
	// VhdID - The VHD id.
	VhdID *string `json:"vhdId,omitempty"`
	// VhdName - VHD name.
	VhdName *string `json:"vhdName,omitempty"`
	// MaxSizeMB - Max side in MB.
	MaxSizeMB *string `json:"maxSizeMB,omitempty"`
	// TargetDiskLocation - Blob uri of the Azure disk.
	TargetDiskLocation *string `json:"targetDiskLocation,omitempty"`
	// TargetDiskName - The target Azure disk name.
	TargetDiskName *string `json:"targetDiskName,omitempty"`
	// LunID - Ordinal\LunId of the disk for the Azure VM.
	LunID *string `json:"lunId,omitempty"`
}

AzureVMDiskDetails disk details for E2A provider.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI           string
	SubscriptionID    string
	ResourceGroupName string
	ResourceName      string
}

BaseClient is the base client for Siterecovery.

func New

func New(subscriptionID string, resourceGroupName string, resourceName string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicApplyRecoveryPointProviderSpecificInput

type BasicApplyRecoveryPointProviderSpecificInput interface {
	AsHyperVReplicaAzureApplyRecoveryPointInput() (*HyperVReplicaAzureApplyRecoveryPointInput, bool)
	AsInMageAzureV2ApplyRecoveryPointInput() (*InMageAzureV2ApplyRecoveryPointInput, bool)
	AsA2AApplyRecoveryPointInput() (*A2AApplyRecoveryPointInput, bool)
	AsApplyRecoveryPointProviderSpecificInput() (*ApplyRecoveryPointProviderSpecificInput, bool)
}

BasicApplyRecoveryPointProviderSpecificInput provider specific input for apply recovery point.

type BasicConfigurationSettings

type BasicConfigurationSettings interface {
	AsHyperVVirtualMachineDetails() (*HyperVVirtualMachineDetails, bool)
	AsVMwareVirtualMachineDetails() (*VMwareVirtualMachineDetails, bool)
	AsReplicationGroupDetails() (*ReplicationGroupDetails, bool)
	AsConfigurationSettings() (*ConfigurationSettings, bool)
}

BasicConfigurationSettings replication provider specific settings.

type BasicDisableProtectionProviderSpecificInput

type BasicDisableProtectionProviderSpecificInput interface {
	AsInMageDisableProtectionProviderSpecificInput() (*InMageDisableProtectionProviderSpecificInput, bool)
	AsDisableProtectionProviderSpecificInput() (*DisableProtectionProviderSpecificInput, bool)
}

BasicDisableProtectionProviderSpecificInput disable protection provider specific input.

type BasicEnableProtectionProviderSpecificInput

type BasicEnableProtectionProviderSpecificInput interface {
	AsHyperVReplicaAzureEnableProtectionInput() (*HyperVReplicaAzureEnableProtectionInput, bool)
	AsSanEnableProtectionInput() (*SanEnableProtectionInput, bool)
	AsInMageAzureV2EnableProtectionInput() (*InMageAzureV2EnableProtectionInput, bool)
	AsInMageEnableProtectionInput() (*InMageEnableProtectionInput, bool)
	AsA2AEnableProtectionInput() (*A2AEnableProtectionInput, bool)
	AsEnableProtectionProviderSpecificInput() (*EnableProtectionProviderSpecificInput, bool)
}

BasicEnableProtectionProviderSpecificInput enable protection provider specific input.

type BasicEventProviderSpecificDetails

type BasicEventProviderSpecificDetails interface {
	AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)
	AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)
	AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)
	AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)
	AsA2AEventDetails() (*A2AEventDetails, bool)
	AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)
	AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)
}

BasicEventProviderSpecificDetails model class for provider specific details for an event.

type BasicEventSpecificDetails

type BasicEventSpecificDetails interface {
	AsJobStatusEventDetails() (*JobStatusEventDetails, bool)
	AsEventSpecificDetails() (*EventSpecificDetails, bool)
}

BasicEventSpecificDetails model class for event specific details for an event.

type BasicFabricSpecificCreateNetworkMappingInput

type BasicFabricSpecificCreateNetworkMappingInput interface {
	AsAzureToAzureCreateNetworkMappingInput() (*AzureToAzureCreateNetworkMappingInput, bool)
	AsVmmToAzureCreateNetworkMappingInput() (*VmmToAzureCreateNetworkMappingInput, bool)
	AsVmmToVmmCreateNetworkMappingInput() (*VmmToVmmCreateNetworkMappingInput, bool)
	AsFabricSpecificCreateNetworkMappingInput() (*FabricSpecificCreateNetworkMappingInput, bool)
}

BasicFabricSpecificCreateNetworkMappingInput input details specific to fabrics during Network Mapping.

type BasicFabricSpecificCreationInput

type BasicFabricSpecificCreationInput interface {
	AsAzureFabricCreationInput() (*AzureFabricCreationInput, bool)
	AsVMwareV2FabricCreationInput() (*VMwareV2FabricCreationInput, bool)
	AsFabricSpecificCreationInput() (*FabricSpecificCreationInput, bool)
}

BasicFabricSpecificCreationInput fabric provider specific settings.

type BasicFabricSpecificDetails

type BasicFabricSpecificDetails interface {
	AsAzureFabricSpecificDetails() (*AzureFabricSpecificDetails, bool)
	AsVmmDetails() (*VmmDetails, bool)
	AsHyperVSiteDetails() (*HyperVSiteDetails, bool)
	AsVMwareDetails() (*VMwareDetails, bool)
	AsVMwareV2FabricSpecificDetails() (*VMwareV2FabricSpecificDetails, bool)
	AsFabricSpecificDetails() (*FabricSpecificDetails, bool)
}

BasicFabricSpecificDetails fabric specific details.

type BasicFabricSpecificUpdateNetworkMappingInput

type BasicFabricSpecificUpdateNetworkMappingInput interface {
	AsAzureToAzureUpdateNetworkMappingInput() (*AzureToAzureUpdateNetworkMappingInput, bool)
	AsVmmToAzureUpdateNetworkMappingInput() (*VmmToAzureUpdateNetworkMappingInput, bool)
	AsVmmToVmmUpdateNetworkMappingInput() (*VmmToVmmUpdateNetworkMappingInput, bool)
	AsFabricSpecificUpdateNetworkMappingInput() (*FabricSpecificUpdateNetworkMappingInput, bool)
}

BasicFabricSpecificUpdateNetworkMappingInput input details specific to fabrics during Network Mapping.

type BasicGroupTaskDetails

type BasicGroupTaskDetails interface {
	AsInlineWorkflowTaskDetails() (*InlineWorkflowTaskDetails, bool)
	AsRecoveryPlanGroupTaskDetails() (*RecoveryPlanGroupTaskDetails, bool)
	AsRecoveryPlanShutdownGroupTaskDetails() (*RecoveryPlanShutdownGroupTaskDetails, bool)
	AsGroupTaskDetails() (*GroupTaskDetails, bool)
}

BasicGroupTaskDetails this class represents the group task details when parent child relationship exists in the drill down.

type BasicJobDetails

type BasicJobDetails interface {
	AsAsrJobDetails() (*AsrJobDetails, bool)
	AsTestFailoverJobDetails() (*TestFailoverJobDetails, bool)
	AsFailoverJobDetails() (*FailoverJobDetails, bool)
	AsExportJobDetails() (*ExportJobDetails, bool)
	AsSwitchProtectionJobDetails() (*SwitchProtectionJobDetails, bool)
	AsJobDetails() (*JobDetails, bool)
}

BasicJobDetails job details based on specific job type.

type BasicNetworkMappingFabricSpecificSettings

type BasicNetworkMappingFabricSpecificSettings interface {
	AsAzureToAzureNetworkMappingSettings() (*AzureToAzureNetworkMappingSettings, bool)
	AsVmmToAzureNetworkMappingSettings() (*VmmToAzureNetworkMappingSettings, bool)
	AsVmmToVmmNetworkMappingSettings() (*VmmToVmmNetworkMappingSettings, bool)
	AsNetworkMappingFabricSpecificSettings() (*NetworkMappingFabricSpecificSettings, bool)
}

BasicNetworkMappingFabricSpecificSettings network Mapping fabric specific settings.

type BasicPolicyProviderSpecificDetails

type BasicPolicyProviderSpecificDetails interface {
	AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)
	AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)
	AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)
	AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)
	AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)
	AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)
	AsInMagePolicyDetails() (*InMagePolicyDetails, bool)
	AsA2APolicyDetails() (*A2APolicyDetails, bool)
	AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)
	AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)
	AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)
}

BasicPolicyProviderSpecificDetails base class for Provider specific details for policies.

type BasicPolicyProviderSpecificInput

type BasicPolicyProviderSpecificInput interface {
	AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)
	AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)
	AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)
	AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)
	AsInMagePolicyInput() (*InMagePolicyInput, bool)
	AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)
	AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)
	AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)
}

BasicPolicyProviderSpecificInput base class for provider specific input

type BasicProviderSpecificFailoverInput

type BasicProviderSpecificFailoverInput interface {
	AsHyperVReplicaAzureFailoverProviderInput() (*HyperVReplicaAzureFailoverProviderInput, bool)
	AsHyperVReplicaAzureFailbackProviderInput() (*HyperVReplicaAzureFailbackProviderInput, bool)
	AsInMageAzureV2FailoverProviderInput() (*InMageAzureV2FailoverProviderInput, bool)
	AsInMageFailoverProviderInput() (*InMageFailoverProviderInput, bool)
	AsA2AFailoverProviderInput() (*A2AFailoverProviderInput, bool)
	AsProviderSpecificFailoverInput() (*ProviderSpecificFailoverInput, bool)
}

BasicProviderSpecificFailoverInput provider specific failover input.

type BasicRecoveryPlanActionDetails

type BasicRecoveryPlanActionDetails interface {
	AsRecoveryPlanScriptActionDetails() (*RecoveryPlanScriptActionDetails, bool)
	AsRecoveryPlanAutomationRunbookActionDetails() (*RecoveryPlanAutomationRunbookActionDetails, bool)
	AsRecoveryPlanManualActionDetails() (*RecoveryPlanManualActionDetails, bool)
	AsRecoveryPlanActionDetails() (*RecoveryPlanActionDetails, bool)
}

BasicRecoveryPlanActionDetails recovery plan action custom details.

type BasicRecoveryPlanProviderSpecificFailoverInput

type BasicRecoveryPlanProviderSpecificFailoverInput interface {
	AsRecoveryPlanHyperVReplicaAzureFailoverInput() (*RecoveryPlanHyperVReplicaAzureFailoverInput, bool)
	AsRecoveryPlanHyperVReplicaAzureFailbackInput() (*RecoveryPlanHyperVReplicaAzureFailbackInput, bool)
	AsRecoveryPlanInMageAzureV2FailoverInput() (*RecoveryPlanInMageAzureV2FailoverInput, bool)
	AsRecoveryPlanInMageFailoverInput() (*RecoveryPlanInMageFailoverInput, bool)
	AsRecoveryPlanA2AFailoverInput() (*RecoveryPlanA2AFailoverInput, bool)
	AsRecoveryPlanProviderSpecificFailoverInput() (*RecoveryPlanProviderSpecificFailoverInput, bool)
}

BasicRecoveryPlanProviderSpecificFailoverInput recovery plan provider specific failover input base class.

type BasicReplicationProviderSpecificContainerCreationInput

type BasicReplicationProviderSpecificContainerCreationInput interface {
	AsA2AContainerCreationInput() (*A2AContainerCreationInput, bool)
	AsReplicationProviderSpecificContainerCreationInput() (*ReplicationProviderSpecificContainerCreationInput, bool)
}

BasicReplicationProviderSpecificContainerCreationInput provider specific input for container creation operation.

type BasicReplicationProviderSpecificSettings

type BasicReplicationProviderSpecificSettings interface {
	AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)
	AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)
	AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)
	AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)
	AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)
	AsInMageReplicationDetails() (*InMageReplicationDetails, bool)
	AsA2AReplicationDetails() (*A2AReplicationDetails, bool)
	AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)
}

BasicReplicationProviderSpecificSettings replication provider specific settings.

type BasicReverseReplicationProviderSpecificInput

type BasicReverseReplicationProviderSpecificInput interface {
	AsHyperVReplicaAzureReprotectInput() (*HyperVReplicaAzureReprotectInput, bool)
	AsInMageAzureV2ReprotectInput() (*InMageAzureV2ReprotectInput, bool)
	AsInMageReprotectInput() (*InMageReprotectInput, bool)
	AsA2AReprotectInput() (*A2AReprotectInput, bool)
	AsReverseReplicationProviderSpecificInput() (*ReverseReplicationProviderSpecificInput, bool)
}

BasicReverseReplicationProviderSpecificInput provider specific reverse replication input.

type BasicSwitchProtectionProviderSpecificInput

type BasicSwitchProtectionProviderSpecificInput interface {
	AsA2ASwitchProtectionInput() (*A2ASwitchProtectionInput, bool)
	AsSwitchProtectionProviderSpecificInput() (*SwitchProtectionProviderSpecificInput, bool)
}

BasicSwitchProtectionProviderSpecificInput provider specific switch protection input.

type BasicTaskTypeDetails

type BasicTaskTypeDetails interface {
	AsJobTaskDetails() (*JobTaskDetails, bool)
	AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)
	AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)
	AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)
	AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)
	AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)
	AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)
	AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)
	AsTaskTypeDetails() (*TaskTypeDetails, bool)
}

BasicTaskTypeDetails task details based on specific task type.

type BasicUpdateReplicationProtectedItemProviderInput

type BasicUpdateReplicationProtectedItemProviderInput interface {
	AsHyperVReplicaAzureUpdateReplicationProtectedItemInput() (*HyperVReplicaAzureUpdateReplicationProtectedItemInput, bool)
	AsInMageAzureV2UpdateReplicationProtectedItemInput() (*InMageAzureV2UpdateReplicationProtectedItemInput, bool)
	AsA2AUpdateReplicationProtectedItemInput() (*A2AUpdateReplicationProtectedItemInput, bool)
	AsUpdateReplicationProtectedItemProviderInput() (*UpdateReplicationProtectedItemProviderInput, bool)
}

BasicUpdateReplicationProtectedItemProviderInput update replication protected item provider specific input.

type ConfigurationSettings

type ConfigurationSettings struct {
	// InstanceType - Possible values include: 'InstanceTypeConfigurationSettings', 'InstanceTypeHyperVVirtualMachine', 'InstanceTypeVMwareVirtualMachine', 'InstanceTypeReplicationGroupDetails'
	InstanceType InstanceTypeBasicConfigurationSettings `json:"instanceType,omitempty"`
}

ConfigurationSettings replication provider specific settings.

func (ConfigurationSettings) AsBasicConfigurationSettings

func (cs ConfigurationSettings) AsBasicConfigurationSettings() (BasicConfigurationSettings, bool)

AsBasicConfigurationSettings is the BasicConfigurationSettings implementation for ConfigurationSettings.

func (ConfigurationSettings) AsConfigurationSettings

func (cs ConfigurationSettings) AsConfigurationSettings() (*ConfigurationSettings, bool)

AsConfigurationSettings is the BasicConfigurationSettings implementation for ConfigurationSettings.

func (ConfigurationSettings) AsHyperVVirtualMachineDetails

func (cs ConfigurationSettings) AsHyperVVirtualMachineDetails() (*HyperVVirtualMachineDetails, bool)

AsHyperVVirtualMachineDetails is the BasicConfigurationSettings implementation for ConfigurationSettings.

func (ConfigurationSettings) AsReplicationGroupDetails

func (cs ConfigurationSettings) AsReplicationGroupDetails() (*ReplicationGroupDetails, bool)

AsReplicationGroupDetails is the BasicConfigurationSettings implementation for ConfigurationSettings.

func (ConfigurationSettings) AsVMwareVirtualMachineDetails

func (cs ConfigurationSettings) AsVMwareVirtualMachineDetails() (*VMwareVirtualMachineDetails, bool)

AsVMwareVirtualMachineDetails is the BasicConfigurationSettings implementation for ConfigurationSettings.

func (ConfigurationSettings) MarshalJSON

func (cs ConfigurationSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationSettings.

type ConfigureAlertRequest

type ConfigureAlertRequest struct {
	// Properties - The properties of a configure alert request.
	Properties *ConfigureAlertRequestProperties `json:"properties,omitempty"`
}

ConfigureAlertRequest request to configure alerts for the system.

type ConfigureAlertRequestProperties

type ConfigureAlertRequestProperties 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"`
}

ConfigureAlertRequestProperties properties of a configure alert request.

type ConsistencyCheckTaskDetails

type ConsistencyCheckTaskDetails struct {
	// VMDetails - The list of inconsistent Vm details.
	VMDetails *[]InconsistentVMDetails `json:"vmDetails,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

ConsistencyCheckTaskDetails this class contains monitoring details of all the inconsistent Protected Entities in Vmm.

func (ConsistencyCheckTaskDetails) AsAutomationRunbookTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsBasicTaskTypeDetails

func (cctd ConsistencyCheckTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsConsistencyCheckTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsFabricReplicationGroupTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsJobTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsManualActionTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsScriptActionTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsTaskTypeDetails

func (cctd ConsistencyCheckTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsVMNicUpdatesTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) AsVirtualMachineTaskDetails

func (cctd ConsistencyCheckTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for ConsistencyCheckTaskDetails.

func (ConsistencyCheckTaskDetails) MarshalJSON

func (cctd ConsistencyCheckTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConsistencyCheckTaskDetails.

type CreateNetworkMappingInput

type CreateNetworkMappingInput struct {
	// Properties - Input properties for creating network mapping.
	Properties *CreateNetworkMappingInputProperties `json:"properties,omitempty"`
}

CreateNetworkMappingInput create network mappings input.

type CreateNetworkMappingInputProperties

type CreateNetworkMappingInputProperties struct {
	// RecoveryFabricName - Recovery fabric Name.
	RecoveryFabricName *string `json:"recoveryFabricName,omitempty"`
	// RecoveryNetworkID - Recovery network Id.
	RecoveryNetworkID *string `json:"recoveryNetworkId,omitempty"`
	// FabricSpecificDetails - Fabric specific input properties.
	FabricSpecificDetails BasicFabricSpecificCreateNetworkMappingInput `json:"fabricSpecificDetails,omitempty"`
}

CreateNetworkMappingInputProperties common input details for network mapping operation.

func (*CreateNetworkMappingInputProperties) UnmarshalJSON

func (cnmip *CreateNetworkMappingInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateNetworkMappingInputProperties struct.

type CreatePolicyInput

type CreatePolicyInput struct {
	// Properties - Policy creation properties.
	Properties *CreatePolicyInputProperties `json:"properties,omitempty"`
}

CreatePolicyInput protection profile input.

type CreatePolicyInputProperties

type CreatePolicyInputProperties struct {
	// ProviderSpecificInput - The ReplicationProviderSettings.
	ProviderSpecificInput BasicPolicyProviderSpecificInput `json:"providerSpecificInput,omitempty"`
}

CreatePolicyInputProperties policy creation properties.

func (*CreatePolicyInputProperties) UnmarshalJSON

func (cpip *CreatePolicyInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreatePolicyInputProperties struct.

type CreateProtectionContainerInput

type CreateProtectionContainerInput struct {
	// Properties - Create protection container input properties.
	Properties *CreateProtectionContainerInputProperties `json:"properties,omitempty"`
}

CreateProtectionContainerInput create protection container input.

type CreateProtectionContainerInputProperties

type CreateProtectionContainerInputProperties struct {
	// ProviderSpecificInput - Provider specific inputs for container creation.
	ProviderSpecificInput *[]BasicReplicationProviderSpecificContainerCreationInput `json:"providerSpecificInput,omitempty"`
}

CreateProtectionContainerInputProperties create protection container input properties.

func (*CreateProtectionContainerInputProperties) UnmarshalJSON

func (cpcip *CreateProtectionContainerInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CreateProtectionContainerInputProperties struct.

type CreateProtectionContainerMappingInput

type CreateProtectionContainerMappingInput struct {
	// Properties - Configure protection input properties.
	Properties *CreateProtectionContainerMappingInputProperties `json:"properties,omitempty"`
}

CreateProtectionContainerMappingInput configure pairing input.

type CreateProtectionContainerMappingInputProperties

type CreateProtectionContainerMappingInputProperties struct {
	// TargetProtectionContainerID - The target unique protection container name.
	TargetProtectionContainerID *string `json:"targetProtectionContainerId,omitempty"`
	// PolicyID - Applicable policy.
	PolicyID *string `json:"PolicyId,omitempty"`
	// ProviderSpecificInput - Provider specific input for pairing.
	ProviderSpecificInput *ReplicationProviderSpecificContainerMappingInput `json:"providerSpecificInput,omitempty"`
}

CreateProtectionContainerMappingInputProperties configure pairing input properties.

type CreateRecoveryPlanInput

type CreateRecoveryPlanInput struct {
	// Properties - Recovery plan creation properties.
	Properties *CreateRecoveryPlanInputProperties `json:"properties,omitempty"`
}

CreateRecoveryPlanInput create recovery plan input class.

type CreateRecoveryPlanInputProperties

type CreateRecoveryPlanInputProperties struct {
	// PrimaryFabricID - The primary fabric Id.
	PrimaryFabricID *string `json:"primaryFabricId,omitempty"`
	// RecoveryFabricID - The recovery fabric Id.
	RecoveryFabricID *string `json:"recoveryFabricId,omitempty"`
	// FailoverDeploymentModel - The failover deployment model. Possible values include: 'NotApplicable', 'Classic', 'ResourceManager'
	FailoverDeploymentModel FailoverDeploymentModel `json:"failoverDeploymentModel,omitempty"`
	// Groups - The recovery plan groups.
	Groups *[]RecoveryPlanGroup `json:"groups,omitempty"`
}

CreateRecoveryPlanInputProperties recovery plan creation properties.

type CurrentScenarioDetails

type CurrentScenarioDetails struct {
	// ScenarioName - Scenario name.
	ScenarioName *string `json:"scenarioName,omitempty"`
	// JobID - ARM Id of the job being executed.
	JobID *string `json:"jobId,omitempty"`
	// StartTime - Start time of the workflow.
	StartTime *date.Time `json:"startTime,omitempty"`
}

CurrentScenarioDetails current scenario details of the protected entity.

type DataStore

type DataStore struct {
	// SymbolicName - The symbolic name of data store.
	SymbolicName *string `json:"symbolicName,omitempty"`
	// UUID - The uuid of data store.
	UUID *string `json:"uuid,omitempty"`
	// Capacity - The capacity of data store in GBs.
	Capacity *string `json:"capacity,omitempty"`
	// FreeSpace - The free space of data store in GBs.
	FreeSpace *string `json:"freeSpace,omitempty"`
	// Type - The type of data store.
	Type *string `json:"type,omitempty"`
}

DataStore the data store details of the MT.

type DataSyncStatus

type DataSyncStatus string

DataSyncStatus enumerates the values for data sync status.

const (
	// ForDownTime ...
	ForDownTime DataSyncStatus = "ForDownTime"
	// ForSynchronization ...
	ForSynchronization DataSyncStatus = "ForSynchronization"
)

func PossibleDataSyncStatusValues

func PossibleDataSyncStatusValues() []DataSyncStatus

PossibleDataSyncStatusValues returns an array of possible values for the DataSyncStatus const type.

type DisableProtectionInput

type DisableProtectionInput struct {
	// Properties - Disable protection input properties.
	Properties *DisableProtectionInputProperties `json:"properties,omitempty"`
}

DisableProtectionInput disable protection input.

type DisableProtectionInputProperties

type DisableProtectionInputProperties struct {
	// DisableProtectionReason - Disable protection reason. It can have values NotSpecified/MigrationComplete. Possible values include: 'NotSpecified', 'MigrationComplete'
	DisableProtectionReason DisableProtectionReason `json:"disableProtectionReason,omitempty"`
	// ReplicationProviderInput - Replication provider specific input.
	ReplicationProviderInput BasicDisableProtectionProviderSpecificInput `json:"replicationProviderInput,omitempty"`
}

DisableProtectionInputProperties disable protection input properties.

func (*DisableProtectionInputProperties) UnmarshalJSON

func (dpip *DisableProtectionInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DisableProtectionInputProperties struct.

type DisableProtectionProviderSpecificInput

type DisableProtectionProviderSpecificInput struct {
	// InstanceType - Possible values include: 'InstanceTypeDisableProtectionProviderSpecificInput', 'InstanceTypeInMage'
	InstanceType InstanceTypeBasicDisableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

DisableProtectionProviderSpecificInput disable protection provider specific input.

func (DisableProtectionProviderSpecificInput) AsBasicDisableProtectionProviderSpecificInput

func (dppsi DisableProtectionProviderSpecificInput) AsBasicDisableProtectionProviderSpecificInput() (BasicDisableProtectionProviderSpecificInput, bool)

AsBasicDisableProtectionProviderSpecificInput is the BasicDisableProtectionProviderSpecificInput implementation for DisableProtectionProviderSpecificInput.

func (DisableProtectionProviderSpecificInput) AsDisableProtectionProviderSpecificInput

func (dppsi DisableProtectionProviderSpecificInput) AsDisableProtectionProviderSpecificInput() (*DisableProtectionProviderSpecificInput, bool)

AsDisableProtectionProviderSpecificInput is the BasicDisableProtectionProviderSpecificInput implementation for DisableProtectionProviderSpecificInput.

func (DisableProtectionProviderSpecificInput) AsInMageDisableProtectionProviderSpecificInput

func (dppsi DisableProtectionProviderSpecificInput) AsInMageDisableProtectionProviderSpecificInput() (*InMageDisableProtectionProviderSpecificInput, bool)

AsInMageDisableProtectionProviderSpecificInput is the BasicDisableProtectionProviderSpecificInput implementation for DisableProtectionProviderSpecificInput.

func (DisableProtectionProviderSpecificInput) MarshalJSON

func (dppsi DisableProtectionProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DisableProtectionProviderSpecificInput.

type DisableProtectionReason

type DisableProtectionReason string

DisableProtectionReason enumerates the values for disable protection reason.

const (
	// MigrationComplete ...
	MigrationComplete DisableProtectionReason = "MigrationComplete"
	// NotSpecified ...
	NotSpecified DisableProtectionReason = "NotSpecified"
)

func PossibleDisableProtectionReasonValues

func PossibleDisableProtectionReasonValues() []DisableProtectionReason

PossibleDisableProtectionReasonValues returns an array of possible values for the DisableProtectionReason const type.

type DiscoverProtectableItemRequest

type DiscoverProtectableItemRequest struct {
	// Properties - The properties of a discover protectable item request.
	Properties *DiscoverProtectableItemRequestProperties `json:"properties,omitempty"`
}

DiscoverProtectableItemRequest request to add a physical machine as a protectable item in a container.

type DiscoverProtectableItemRequestProperties

type DiscoverProtectableItemRequestProperties struct {
	// FriendlyName - The friendly name of the physical machine.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// IPAddress - The IP address of the physical machine to be discovered.
	IPAddress *string `json:"ipAddress,omitempty"`
	// OsType - The OS type on the physical machine.
	OsType *string `json:"osType,omitempty"`
}

DiscoverProtectableItemRequestProperties discover protectable item properties.

type DiskDetails

type DiskDetails struct {
	// MaxSizeMB - The hard disk max size in MB.
	MaxSizeMB *int64 `json:"maxSizeMB,omitempty"`
	// VhdType - The type of the volume.
	VhdType *string `json:"vhdType,omitempty"`
	// VhdID - The VHD Id.
	VhdID *string `json:"vhdId,omitempty"`
	// VhdName - The VHD name.
	VhdName *string `json:"vhdName,omitempty"`
}

DiskDetails on-prem disk details data.

type DiskVolumeDetails

type DiskVolumeDetails struct {
	// Label - The volume label.
	Label *string `json:"label,omitempty"`
	// Name - The volume name.
	Name *string `json:"name,omitempty"`
}

DiskVolumeDetails volume details.

type Display

type Display struct {
	// Provider - The provider. The localized friendly form of the resource provider name – it is expected to also include the publisher/company responsible. It should use Title Casing and begin with "Microsoft" for 1st party services. e.g. "Microsoft Monitoring Insights" or "Microsoft Compute."
	Provider *string `json:"provider,omitempty"`
	// Resource - The resource. The localized friendly form of the resource related to this action/operation – it should match the public documentation for the resource provider. It should use Title Casing. This value should be unique for a particular URL type (e.g. nested types should *not* reuse their parent’s display.resource field). e.g. "Virtual Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes" or "Scheduler Jobs"
	Resource *string `json:"resource,omitempty"`
	// Operation - The operation. The localized friendly name for the operation, as it should be shown to the user. It should be concise (to fit in drop downs) but clear (i.e. self-documenting). It should use Title Casing. Prescriptive guidance: Read Create or Update Delete 'ActionName'
	Operation *string `json:"operation,omitempty"`
	// Description - The description. The localized friendly description for the operation, as it should be shown to the user. It should be thorough, yet concise – it will be used in tool tips and detailed views. Prescriptive guidance for namespaces: Read any 'display.provider' resource Create or Update any 'display.provider' resource Delete any 'display.provider' resource Perform any other action on any 'display.provider' resource Prescriptive guidance for namespaces: Read any 'display.resource' Create or Update any 'display.resource' Delete any 'display.resource' 'ActionName' any 'display.resources'
	Description *string `json:"description,omitempty"`
}

Display contains the localized display information for this particular operation / action. These value will be used by several clients for (1) custom role definitions for RBAC; (2) complex query filters for the event service; and (3) audit history / records for management operations.

type EnableProtectionInput

type EnableProtectionInput struct {
	// Properties - Enable protection input properties.
	Properties *EnableProtectionInputProperties `json:"properties,omitempty"`
}

EnableProtectionInput enable protection input.

type EnableProtectionInputProperties

type EnableProtectionInputProperties struct {
	// PolicyID - The Policy Id.
	PolicyID *string `json:"policyId,omitempty"`
	// ProtectableItemID - The protectable item Id.
	ProtectableItemID *string `json:"protectableItemId,omitempty"`
	// 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 BasicEnableProtectionProviderSpecificInput `json:"providerSpecificDetails,omitempty"`
}

EnableProtectionInputProperties enable protection input properties.

func (*EnableProtectionInputProperties) UnmarshalJSON

func (epip *EnableProtectionInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EnableProtectionInputProperties struct.

type EnableProtectionProviderSpecificInput

type EnableProtectionProviderSpecificInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicEnableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

EnableProtectionProviderSpecificInput enable protection provider specific input.

func (EnableProtectionProviderSpecificInput) AsA2AEnableProtectionInput

func (eppsi EnableProtectionProviderSpecificInput) AsA2AEnableProtectionInput() (*A2AEnableProtectionInput, bool)

AsA2AEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for EnableProtectionProviderSpecificInput.

func (EnableProtectionProviderSpecificInput) AsBasicEnableProtectionProviderSpecificInput

func (eppsi EnableProtectionProviderSpecificInput) AsBasicEnableProtectionProviderSpecificInput() (BasicEnableProtectionProviderSpecificInput, bool)

AsBasicEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for EnableProtectionProviderSpecificInput.

func (EnableProtectionProviderSpecificInput) AsEnableProtectionProviderSpecificInput

func (eppsi EnableProtectionProviderSpecificInput) AsEnableProtectionProviderSpecificInput() (*EnableProtectionProviderSpecificInput, bool)

AsEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for EnableProtectionProviderSpecificInput.

func (EnableProtectionProviderSpecificInput) AsHyperVReplicaAzureEnableProtectionInput

func (eppsi EnableProtectionProviderSpecificInput) AsHyperVReplicaAzureEnableProtectionInput() (*HyperVReplicaAzureEnableProtectionInput, bool)

AsHyperVReplicaAzureEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for EnableProtectionProviderSpecificInput.

func (EnableProtectionProviderSpecificInput) AsInMageAzureV2EnableProtectionInput

func (eppsi EnableProtectionProviderSpecificInput) AsInMageAzureV2EnableProtectionInput() (*InMageAzureV2EnableProtectionInput, bool)

AsInMageAzureV2EnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for EnableProtectionProviderSpecificInput.

func (EnableProtectionProviderSpecificInput) AsInMageEnableProtectionInput

func (eppsi EnableProtectionProviderSpecificInput) AsInMageEnableProtectionInput() (*InMageEnableProtectionInput, bool)

AsInMageEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for EnableProtectionProviderSpecificInput.

func (EnableProtectionProviderSpecificInput) AsSanEnableProtectionInput

func (eppsi EnableProtectionProviderSpecificInput) AsSanEnableProtectionInput() (*SanEnableProtectionInput, bool)

AsSanEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for EnableProtectionProviderSpecificInput.

func (EnableProtectionProviderSpecificInput) MarshalJSON

func (eppsi EnableProtectionProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnableProtectionProviderSpecificInput.

type EncryptionDetails

type EncryptionDetails struct {
	// KekState - The key encryption key state for the Vmm.
	KekState *string `json:"kekState,omitempty"`
	// KekCertThumbprint - The key encryption key certificate thumbprint.
	KekCertThumbprint *string `json:"kekCertThumbprint,omitempty"`
	// KekCertExpiryDate - The key encryption key certificate expiry date.
	KekCertExpiryDate *date.Time `json:"kekCertExpiryDate,omitempty"`
}

EncryptionDetails encryption details for the fabric.

type Event

type Event struct {
	autorest.Response `json:"-"`
	// Properties - Event related data.
	Properties *EventProperties `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"`
}

Event implements the Event class.

func (Event) MarshalJSON

func (e Event) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Event.

type EventCollection

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

EventCollection collection of fabric details.

func (EventCollection) IsEmpty

func (ec EventCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventCollectionIterator

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

EventCollectionIterator provides access to a complete listing of Event values.

func NewEventCollectionIterator

func NewEventCollectionIterator(page EventCollectionPage) EventCollectionIterator

Creates a new instance of the EventCollectionIterator type.

func (*EventCollectionIterator) Next

func (iter *EventCollectionIterator) 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 (*EventCollectionIterator) NextWithContext

func (iter *EventCollectionIterator) 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 (EventCollectionIterator) NotDone

func (iter EventCollectionIterator) NotDone() bool

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

func (EventCollectionIterator) Response

func (iter EventCollectionIterator) Response() EventCollection

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

func (EventCollectionIterator) Value

func (iter EventCollectionIterator) Value() Event

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

type EventCollectionPage

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

EventCollectionPage contains a page of Event values.

func NewEventCollectionPage

func NewEventCollectionPage(cur EventCollection, getNextPage func(context.Context, EventCollection) (EventCollection, error)) EventCollectionPage

Creates a new instance of the EventCollectionPage type.

func (*EventCollectionPage) Next

func (page *EventCollectionPage) 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 (*EventCollectionPage) NextWithContext

func (page *EventCollectionPage) 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 (EventCollectionPage) NotDone

func (page EventCollectionPage) NotDone() bool

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

func (EventCollectionPage) Response

func (page EventCollectionPage) Response() EventCollection

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

func (EventCollectionPage) Values

func (page EventCollectionPage) Values() []Event

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

type EventProperties

type EventProperties struct {
	// EventCode - The Id of the monitoring event.
	EventCode *string `json:"eventCode,omitempty"`
	// Description - The event name.
	Description *string `json:"description,omitempty"`
	// EventType - The type of the event. for example: VM Health, Server Health, Job Failure etc.
	EventType *string `json:"eventType,omitempty"`
	// AffectedObjectFriendlyName - The friendly name of the source of the event on which it is raised (for example, VM, VMM etc).
	AffectedObjectFriendlyName *string `json:"affectedObjectFriendlyName,omitempty"`
	// Severity - The severity of the event.
	Severity *string `json:"severity,omitempty"`
	// TimeOfOccurrence - The time of occurrence of the event.
	TimeOfOccurrence *date.Time `json:"timeOfOccurrence,omitempty"`
	// FabricID - The ARM ID of the fabric.
	FabricID *string `json:"fabricId,omitempty"`
	// ProviderSpecificDetails - The provider specific settings.
	ProviderSpecificDetails BasicEventProviderSpecificDetails `json:"providerSpecificDetails,omitempty"`
	// EventSpecificDetails - The event specific settings.
	EventSpecificDetails BasicEventSpecificDetails `json:"eventSpecificDetails,omitempty"`
	// HealthErrors - The list of errors / warnings capturing details associated with the issue(s).
	HealthErrors *[]HealthError `json:"healthErrors,omitempty"`
}

EventProperties the properties of a monitoring event.

func (*EventProperties) UnmarshalJSON

func (ep *EventProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EventProperties struct.

type EventProviderSpecificDetails

type EventProviderSpecificDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeEventProviderSpecificDetails', 'InstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeHyperVReplica2012', 'InstanceTypeHyperVReplica2012R2', 'InstanceTypeHyperVReplicaAzure', 'InstanceTypeA2A', 'InstanceTypeInMageAzureV2'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

EventProviderSpecificDetails model class for provider specific details for an event.

func (EventProviderSpecificDetails) AsA2AEventDetails

func (epsd EventProviderSpecificDetails) AsA2AEventDetails() (*A2AEventDetails, bool)

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) AsBasicEventProviderSpecificDetails

func (epsd EventProviderSpecificDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool)

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) AsEventProviderSpecificDetails

func (epsd EventProviderSpecificDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) AsHyperVReplica2012EventDetails

func (epsd EventProviderSpecificDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) AsHyperVReplica2012R2EventDetails

func (epsd EventProviderSpecificDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) AsHyperVReplicaAzureEventDetails

func (epsd EventProviderSpecificDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) AsHyperVReplicaBaseEventDetails

func (epsd EventProviderSpecificDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) AsInMageAzureV2EventDetails

func (epsd EventProviderSpecificDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for EventProviderSpecificDetails.

func (EventProviderSpecificDetails) MarshalJSON

func (epsd EventProviderSpecificDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventProviderSpecificDetails.

type EventQueryParameter

type EventQueryParameter struct {
	// EventCode - The source id of the events to be queried.
	EventCode *string `json:"EventCode,omitempty"`
	// Severity - The severity of the events to be queried.
	Severity *string `json:"Severity,omitempty"`
	// EventType - The type of the events to be queried.
	EventType *string `json:"EventType,omitempty"`
	// FabricName - The affected object server id of the events to be queried.
	FabricName *string `json:"FabricName,omitempty"`
	// AffectedObjectFriendlyName - The affected object name of the events to be queried.
	AffectedObjectFriendlyName *string `json:"AffectedObjectFriendlyName,omitempty"`
	// StartTime - The start time of the time range within which the events are to be queried.
	StartTime *date.Time `json:"StartTime,omitempty"`
	// EndTime - The end time of the time range within which the events are to be queried.
	EndTime *date.Time `json:"EndTime,omitempty"`
}

EventQueryParameter implements the event query parameter.

type EventSpecificDetails

type EventSpecificDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeEventSpecificDetails', 'InstanceTypeJobStatus'
	InstanceType InstanceTypeBasicEventSpecificDetails `json:"instanceType,omitempty"`
}

EventSpecificDetails model class for event specific details for an event.

func (EventSpecificDetails) AsBasicEventSpecificDetails

func (esd EventSpecificDetails) AsBasicEventSpecificDetails() (BasicEventSpecificDetails, bool)

AsBasicEventSpecificDetails is the BasicEventSpecificDetails implementation for EventSpecificDetails.

func (EventSpecificDetails) AsEventSpecificDetails

func (esd EventSpecificDetails) AsEventSpecificDetails() (*EventSpecificDetails, bool)

AsEventSpecificDetails is the BasicEventSpecificDetails implementation for EventSpecificDetails.

func (EventSpecificDetails) AsJobStatusEventDetails

func (esd EventSpecificDetails) AsJobStatusEventDetails() (*JobStatusEventDetails, bool)

AsJobStatusEventDetails is the BasicEventSpecificDetails implementation for EventSpecificDetails.

func (EventSpecificDetails) MarshalJSON

func (esd EventSpecificDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventSpecificDetails.

type ExportJobDetails

type ExportJobDetails struct {
	// BlobURI - BlobUri of the exported jobs.
	BlobURI *string `json:"blobUri,omitempty"`
	// SasToken - The sas token to access blob.
	SasToken *string `json:"sasToken,omitempty"`
	// 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', 'InstanceTypeTestFailoverJobDetails', 'InstanceTypeFailoverJobDetails', 'InstanceTypeExportJobDetails', 'InstanceTypeSwitchProtectionJobDetails'
	InstanceType InstanceTypeBasicJobDetails `json:"instanceType,omitempty"`
}

ExportJobDetails this class represents details for export jobs workflow.

func (ExportJobDetails) AsAsrJobDetails

func (ejd ExportJobDetails) AsAsrJobDetails() (*AsrJobDetails, bool)

AsAsrJobDetails is the BasicJobDetails implementation for ExportJobDetails.

func (ExportJobDetails) AsBasicJobDetails

func (ejd ExportJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)

AsBasicJobDetails is the BasicJobDetails implementation for ExportJobDetails.

func (ExportJobDetails) AsExportJobDetails

func (ejd ExportJobDetails) AsExportJobDetails() (*ExportJobDetails, bool)

AsExportJobDetails is the BasicJobDetails implementation for ExportJobDetails.

func (ExportJobDetails) AsFailoverJobDetails

func (ejd ExportJobDetails) AsFailoverJobDetails() (*FailoverJobDetails, bool)

AsFailoverJobDetails is the BasicJobDetails implementation for ExportJobDetails.

func (ExportJobDetails) AsJobDetails

func (ejd ExportJobDetails) AsJobDetails() (*JobDetails, bool)

AsJobDetails is the BasicJobDetails implementation for ExportJobDetails.

func (ExportJobDetails) AsSwitchProtectionJobDetails

func (ejd ExportJobDetails) AsSwitchProtectionJobDetails() (*SwitchProtectionJobDetails, bool)

AsSwitchProtectionJobDetails is the BasicJobDetails implementation for ExportJobDetails.

func (ExportJobDetails) AsTestFailoverJobDetails

func (ejd ExportJobDetails) AsTestFailoverJobDetails() (*TestFailoverJobDetails, bool)

AsTestFailoverJobDetails is the BasicJobDetails implementation for ExportJobDetails.

func (ExportJobDetails) MarshalJSON

func (ejd ExportJobDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExportJobDetails.

type Fabric

type Fabric struct {
	autorest.Response `json:"-"`
	// Properties - Fabric related data.
	Properties *FabricProperties `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"`
}

Fabric fabric definition.

func (Fabric) MarshalJSON

func (f Fabric) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Fabric.

type FabricCollection

type FabricCollection struct {
	autorest.Response `json:"-"`
	// Value - The fabric details.
	Value *[]Fabric `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

FabricCollection collection of fabric details.

func (FabricCollection) IsEmpty

func (fc FabricCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type FabricCollectionIterator

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

FabricCollectionIterator provides access to a complete listing of Fabric values.

func NewFabricCollectionIterator

func NewFabricCollectionIterator(page FabricCollectionPage) FabricCollectionIterator

Creates a new instance of the FabricCollectionIterator type.

func (*FabricCollectionIterator) Next

func (iter *FabricCollectionIterator) 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 (*FabricCollectionIterator) NextWithContext

func (iter *FabricCollectionIterator) 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 (FabricCollectionIterator) NotDone

func (iter FabricCollectionIterator) NotDone() bool

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

func (FabricCollectionIterator) Response

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

func (FabricCollectionIterator) Value

func (iter FabricCollectionIterator) Value() Fabric

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

type FabricCollectionPage

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

FabricCollectionPage contains a page of Fabric values.

func NewFabricCollectionPage

func NewFabricCollectionPage(cur FabricCollection, getNextPage func(context.Context, FabricCollection) (FabricCollection, error)) FabricCollectionPage

Creates a new instance of the FabricCollectionPage type.

func (*FabricCollectionPage) Next

func (page *FabricCollectionPage) 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 (*FabricCollectionPage) NextWithContext

func (page *FabricCollectionPage) 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 (FabricCollectionPage) NotDone

func (page FabricCollectionPage) NotDone() bool

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

func (FabricCollectionPage) Response

func (page FabricCollectionPage) Response() FabricCollection

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

func (FabricCollectionPage) Values

func (page FabricCollectionPage) Values() []Fabric

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

type FabricCreationInput

type FabricCreationInput struct {
	// Properties - Fabric creation input.
	Properties *FabricCreationInputProperties `json:"properties,omitempty"`
}

FabricCreationInput site details provided during the time of site creation

type FabricCreationInputProperties

type FabricCreationInputProperties struct {
	// CustomDetails - Fabric provider specific creation input.
	CustomDetails BasicFabricSpecificCreationInput `json:"customDetails,omitempty"`
}

FabricCreationInputProperties properties of site details provided during the time of site creation

func (*FabricCreationInputProperties) UnmarshalJSON

func (fcip *FabricCreationInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FabricCreationInputProperties struct.

type FabricProperties

type FabricProperties struct {
	// FriendlyName - Friendly name of the fabric.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// EncryptionDetails - Encryption details for the fabric.
	EncryptionDetails *EncryptionDetails `json:"encryptionDetails,omitempty"`
	// RolloverEncryptionDetails - Rollover encryption details for the fabric.
	RolloverEncryptionDetails *EncryptionDetails `json:"rolloverEncryptionDetails,omitempty"`
	// InternalIdentifier - Dra Registration Id.
	InternalIdentifier *string `json:"internalIdentifier,omitempty"`
	// BcdrState - BCDR state of the fabric.
	BcdrState *string `json:"bcdrState,omitempty"`
	// CustomDetails - Fabric specific settings.
	CustomDetails BasicFabricSpecificDetails `json:"customDetails,omitempty"`
	// HealthErrorDetails - Fabric health error details.
	HealthErrorDetails *[]HealthError `json:"healthErrorDetails,omitempty"`
	// Health - Health of fabric.
	Health *string `json:"health,omitempty"`
}

FabricProperties fabric properties.

func (*FabricProperties) UnmarshalJSON

func (fp *FabricProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FabricProperties struct.

type FabricReplicationGroupTaskDetails

type FabricReplicationGroupTaskDetails struct {
	// SkippedReason - The skipped reason.
	SkippedReason *string `json:"skippedReason,omitempty"`
	// SkippedReasonString - The skipped reason string.
	SkippedReasonString *string `json:"skippedReasonString,omitempty"`
	// JobTask - The job entity.
	JobTask *JobEntity `json:"jobTask,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

FabricReplicationGroupTaskDetails this class represents the fabric replication group task details.

func (FabricReplicationGroupTaskDetails) AsAutomationRunbookTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsBasicTaskTypeDetails

func (frgtd FabricReplicationGroupTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsConsistencyCheckTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsFabricReplicationGroupTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsJobTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsManualActionTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsScriptActionTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsTaskTypeDetails

func (frgtd FabricReplicationGroupTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsVMNicUpdatesTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) AsVirtualMachineTaskDetails

func (frgtd FabricReplicationGroupTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for FabricReplicationGroupTaskDetails.

func (FabricReplicationGroupTaskDetails) MarshalJSON

func (frgtd FabricReplicationGroupTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FabricReplicationGroupTaskDetails.

type FabricSpecificCreateNetworkMappingInput

type FabricSpecificCreateNetworkMappingInput struct {
	// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreateNetworkMappingInput', 'InstanceTypeAzureToAzure', 'InstanceTypeVmmToAzure', 'InstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificCreateNetworkMappingInput `json:"instanceType,omitempty"`
}

FabricSpecificCreateNetworkMappingInput input details specific to fabrics during Network Mapping.

func (FabricSpecificCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput

func (fscnmi FabricSpecificCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput() (*AzureToAzureCreateNetworkMappingInput, bool)

AsAzureToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for FabricSpecificCreateNetworkMappingInput.

func (FabricSpecificCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput

func (fscnmi FabricSpecificCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput() (BasicFabricSpecificCreateNetworkMappingInput, bool)

AsBasicFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for FabricSpecificCreateNetworkMappingInput.

func (FabricSpecificCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput

func (fscnmi FabricSpecificCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput() (*FabricSpecificCreateNetworkMappingInput, bool)

AsFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for FabricSpecificCreateNetworkMappingInput.

func (FabricSpecificCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput

func (fscnmi FabricSpecificCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput() (*VmmToAzureCreateNetworkMappingInput, bool)

AsVmmToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for FabricSpecificCreateNetworkMappingInput.

func (FabricSpecificCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput

func (fscnmi FabricSpecificCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput() (*VmmToVmmCreateNetworkMappingInput, bool)

AsVmmToVmmCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for FabricSpecificCreateNetworkMappingInput.

func (FabricSpecificCreateNetworkMappingInput) MarshalJSON

func (fscnmi FabricSpecificCreateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FabricSpecificCreateNetworkMappingInput.

type FabricSpecificCreationInput

type FabricSpecificCreationInput struct {
	// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreationInput', 'InstanceTypeAzure', 'InstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificCreationInput `json:"instanceType,omitempty"`
}

FabricSpecificCreationInput fabric provider specific settings.

func (FabricSpecificCreationInput) AsAzureFabricCreationInput

func (fsci FabricSpecificCreationInput) AsAzureFabricCreationInput() (*AzureFabricCreationInput, bool)

AsAzureFabricCreationInput is the BasicFabricSpecificCreationInput implementation for FabricSpecificCreationInput.

func (FabricSpecificCreationInput) AsBasicFabricSpecificCreationInput

func (fsci FabricSpecificCreationInput) AsBasicFabricSpecificCreationInput() (BasicFabricSpecificCreationInput, bool)

AsBasicFabricSpecificCreationInput is the BasicFabricSpecificCreationInput implementation for FabricSpecificCreationInput.

func (FabricSpecificCreationInput) AsFabricSpecificCreationInput

func (fsci FabricSpecificCreationInput) AsFabricSpecificCreationInput() (*FabricSpecificCreationInput, bool)

AsFabricSpecificCreationInput is the BasicFabricSpecificCreationInput implementation for FabricSpecificCreationInput.

func (FabricSpecificCreationInput) AsVMwareV2FabricCreationInput

func (fsci FabricSpecificCreationInput) AsVMwareV2FabricCreationInput() (*VMwareV2FabricCreationInput, bool)

AsVMwareV2FabricCreationInput is the BasicFabricSpecificCreationInput implementation for FabricSpecificCreationInput.

func (FabricSpecificCreationInput) MarshalJSON

func (fsci FabricSpecificCreationInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FabricSpecificCreationInput.

type FabricSpecificDetails

type FabricSpecificDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificDetails `json:"instanceType,omitempty"`
}

FabricSpecificDetails fabric specific details.

func (FabricSpecificDetails) AsAzureFabricSpecificDetails

func (fsd FabricSpecificDetails) AsAzureFabricSpecificDetails() (*AzureFabricSpecificDetails, bool)

AsAzureFabricSpecificDetails is the BasicFabricSpecificDetails implementation for FabricSpecificDetails.

func (FabricSpecificDetails) AsBasicFabricSpecificDetails

func (fsd FabricSpecificDetails) AsBasicFabricSpecificDetails() (BasicFabricSpecificDetails, bool)

AsBasicFabricSpecificDetails is the BasicFabricSpecificDetails implementation for FabricSpecificDetails.

func (FabricSpecificDetails) AsFabricSpecificDetails

func (fsd FabricSpecificDetails) AsFabricSpecificDetails() (*FabricSpecificDetails, bool)

AsFabricSpecificDetails is the BasicFabricSpecificDetails implementation for FabricSpecificDetails.

func (FabricSpecificDetails) AsHyperVSiteDetails

func (fsd FabricSpecificDetails) AsHyperVSiteDetails() (*HyperVSiteDetails, bool)

AsHyperVSiteDetails is the BasicFabricSpecificDetails implementation for FabricSpecificDetails.

func (FabricSpecificDetails) AsVMwareDetails

func (fsd FabricSpecificDetails) AsVMwareDetails() (*VMwareDetails, bool)

AsVMwareDetails is the BasicFabricSpecificDetails implementation for FabricSpecificDetails.

func (FabricSpecificDetails) AsVMwareV2FabricSpecificDetails

func (fsd FabricSpecificDetails) AsVMwareV2FabricSpecificDetails() (*VMwareV2FabricSpecificDetails, bool)

AsVMwareV2FabricSpecificDetails is the BasicFabricSpecificDetails implementation for FabricSpecificDetails.

func (FabricSpecificDetails) AsVmmDetails

func (fsd FabricSpecificDetails) AsVmmDetails() (*VmmDetails, bool)

AsVmmDetails is the BasicFabricSpecificDetails implementation for FabricSpecificDetails.

func (FabricSpecificDetails) MarshalJSON

func (fsd FabricSpecificDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FabricSpecificDetails.

type FabricSpecificUpdateNetworkMappingInput

type FabricSpecificUpdateNetworkMappingInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeFabricSpecificUpdateNetworkMappingInput', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeAzureToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput `json:"instanceType,omitempty"`
}

FabricSpecificUpdateNetworkMappingInput input details specific to fabrics during Network Mapping.

func (FabricSpecificUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput

func (fsunmi FabricSpecificUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput() (*AzureToAzureUpdateNetworkMappingInput, bool)

AsAzureToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for FabricSpecificUpdateNetworkMappingInput.

func (FabricSpecificUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput

func (fsunmi FabricSpecificUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput() (BasicFabricSpecificUpdateNetworkMappingInput, bool)

AsBasicFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for FabricSpecificUpdateNetworkMappingInput.

func (FabricSpecificUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput

func (fsunmi FabricSpecificUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput() (*FabricSpecificUpdateNetworkMappingInput, bool)

AsFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for FabricSpecificUpdateNetworkMappingInput.

func (FabricSpecificUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput

func (fsunmi FabricSpecificUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput() (*VmmToAzureUpdateNetworkMappingInput, bool)

AsVmmToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for FabricSpecificUpdateNetworkMappingInput.

func (FabricSpecificUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput

func (fsunmi FabricSpecificUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput() (*VmmToVmmUpdateNetworkMappingInput, bool)

AsVmmToVmmUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for FabricSpecificUpdateNetworkMappingInput.

func (FabricSpecificUpdateNetworkMappingInput) MarshalJSON

func (fsunmi FabricSpecificUpdateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FabricSpecificUpdateNetworkMappingInput.

type FailoverDeploymentModel

type FailoverDeploymentModel string

FailoverDeploymentModel enumerates the values for failover deployment model.

const (
	// Classic ...
	Classic FailoverDeploymentModel = "Classic"
	// NotApplicable ...
	NotApplicable FailoverDeploymentModel = "NotApplicable"
	// ResourceManager ...
	ResourceManager FailoverDeploymentModel = "ResourceManager"
)

func PossibleFailoverDeploymentModelValues

func PossibleFailoverDeploymentModelValues() []FailoverDeploymentModel

PossibleFailoverDeploymentModelValues returns an array of possible values for the FailoverDeploymentModel const type.

type FailoverJobDetails

type FailoverJobDetails struct {
	// ProtectedItemDetails - The test VM details.
	ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails `json:"protectedItemDetails,omitempty"`
	// 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', 'InstanceTypeTestFailoverJobDetails', 'InstanceTypeFailoverJobDetails', 'InstanceTypeExportJobDetails', 'InstanceTypeSwitchProtectionJobDetails'
	InstanceType InstanceTypeBasicJobDetails `json:"instanceType,omitempty"`
}

FailoverJobDetails this class represents the details for a failover job.

func (FailoverJobDetails) AsAsrJobDetails

func (fjd FailoverJobDetails) AsAsrJobDetails() (*AsrJobDetails, bool)

AsAsrJobDetails is the BasicJobDetails implementation for FailoverJobDetails.

func (FailoverJobDetails) AsBasicJobDetails

func (fjd FailoverJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)

AsBasicJobDetails is the BasicJobDetails implementation for FailoverJobDetails.

func (FailoverJobDetails) AsExportJobDetails

func (fjd FailoverJobDetails) AsExportJobDetails() (*ExportJobDetails, bool)

AsExportJobDetails is the BasicJobDetails implementation for FailoverJobDetails.

func (FailoverJobDetails) AsFailoverJobDetails

func (fjd FailoverJobDetails) AsFailoverJobDetails() (*FailoverJobDetails, bool)

AsFailoverJobDetails is the BasicJobDetails implementation for FailoverJobDetails.

func (FailoverJobDetails) AsJobDetails

func (fjd FailoverJobDetails) AsJobDetails() (*JobDetails, bool)

AsJobDetails is the BasicJobDetails implementation for FailoverJobDetails.

func (FailoverJobDetails) AsSwitchProtectionJobDetails

func (fjd FailoverJobDetails) AsSwitchProtectionJobDetails() (*SwitchProtectionJobDetails, bool)

AsSwitchProtectionJobDetails is the BasicJobDetails implementation for FailoverJobDetails.

func (FailoverJobDetails) AsTestFailoverJobDetails

func (fjd FailoverJobDetails) AsTestFailoverJobDetails() (*TestFailoverJobDetails, bool)

AsTestFailoverJobDetails is the BasicJobDetails implementation for FailoverJobDetails.

func (FailoverJobDetails) MarshalJSON

func (fjd FailoverJobDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FailoverJobDetails.

type FailoverProcessServerRequest

type FailoverProcessServerRequest struct {
	// Properties - The properties of the PS Failover request.
	Properties *FailoverProcessServerRequestProperties `json:"properties,omitempty"`
}

FailoverProcessServerRequest request to failover a process server.

type FailoverProcessServerRequestProperties

type FailoverProcessServerRequestProperties struct {
	// ContainerName - The container identifier.
	ContainerName *string `json:"containerName,omitempty"`
	// SourceProcessServerID - The source process server.
	SourceProcessServerID *string `json:"sourceProcessServerId,omitempty"`
	// TargetProcessServerID - The new process server.
	TargetProcessServerID *string `json:"targetProcessServerId,omitempty"`
	// VmsToMigrate - The VMS to migrate.
	VmsToMigrate *[]string `json:"vmsToMigrate,omitempty"`
	// UpdateType - A value for failover type. It can be systemlevel/serverlevel
	UpdateType *string `json:"updateType,omitempty"`
}

FailoverProcessServerRequestProperties the properties of the Failover Process Server request.

type FailoverReplicationProtectedItemDetails

type FailoverReplicationProtectedItemDetails struct {
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// FriendlyName - The friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// TestVMName - The test Vm name.
	TestVMName *string `json:"testVmName,omitempty"`
	// TestVMFriendlyName - The test Vm friendly name.
	TestVMFriendlyName *string `json:"testVmFriendlyName,omitempty"`
	// NetworkConnectionStatus - The network connection status.
	NetworkConnectionStatus *string `json:"networkConnectionStatus,omitempty"`
	// NetworkFriendlyName - The network friendly name.
	NetworkFriendlyName *string `json:"networkFriendlyName,omitempty"`
	// Subnet - The network subnet.
	Subnet *string `json:"subnet,omitempty"`
	// RecoveryPointID - The recovery point Id.
	RecoveryPointID *string `json:"recoveryPointId,omitempty"`
	// RecoveryPointTime - The recovery point time.
	RecoveryPointTime *date.Time `json:"recoveryPointTime,omitempty"`
}

FailoverReplicationProtectedItemDetails failover details for a replication protected item.

type GroupTaskDetails

type GroupTaskDetails struct {
	// ChildTasks - The child tasks.
	ChildTasks *[]ASRTask `json:"childTasks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeGroupTaskDetails', 'InstanceTypeInlineWorkflowTaskDetails', 'InstanceTypeRecoveryPlanGroupTaskDetails', 'InstanceTypeRecoveryPlanShutdownGroupTaskDetails'
	InstanceType InstanceTypeBasicGroupTaskDetails `json:"instanceType,omitempty"`
}

GroupTaskDetails this class represents the group task details when parent child relationship exists in the drill down.

func (GroupTaskDetails) AsBasicGroupTaskDetails

func (gtd GroupTaskDetails) AsBasicGroupTaskDetails() (BasicGroupTaskDetails, bool)

AsBasicGroupTaskDetails is the BasicGroupTaskDetails implementation for GroupTaskDetails.

func (GroupTaskDetails) AsGroupTaskDetails

func (gtd GroupTaskDetails) AsGroupTaskDetails() (*GroupTaskDetails, bool)

AsGroupTaskDetails is the BasicGroupTaskDetails implementation for GroupTaskDetails.

func (GroupTaskDetails) AsInlineWorkflowTaskDetails

func (gtd GroupTaskDetails) AsInlineWorkflowTaskDetails() (*InlineWorkflowTaskDetails, bool)

AsInlineWorkflowTaskDetails is the BasicGroupTaskDetails implementation for GroupTaskDetails.

func (GroupTaskDetails) AsRecoveryPlanGroupTaskDetails

func (gtd GroupTaskDetails) AsRecoveryPlanGroupTaskDetails() (*RecoveryPlanGroupTaskDetails, bool)

AsRecoveryPlanGroupTaskDetails is the BasicGroupTaskDetails implementation for GroupTaskDetails.

func (GroupTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails

func (gtd GroupTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails() (*RecoveryPlanShutdownGroupTaskDetails, bool)

AsRecoveryPlanShutdownGroupTaskDetails is the BasicGroupTaskDetails implementation for GroupTaskDetails.

func (GroupTaskDetails) MarshalJSON

func (gtd GroupTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GroupTaskDetails.

type HealthError

type HealthError struct {
	// ErrorSource - Source of error.
	ErrorSource *string `json:"errorSource,omitempty"`
	// ErrorType - Type of error.
	ErrorType *string `json:"errorType,omitempty"`
	// ErrorLevel - Level of error.
	ErrorLevel *string `json:"errorLevel,omitempty"`
	// ErrorCode - Error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// ErrorMessage - Error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// PossibleCauses - Possible causes of error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// RecommendedAction - Recommended action to resolve error.
	RecommendedAction *string `json:"recommendedAction,omitempty"`
	// CreationTimeUtc - Error creation time (UTC)
	CreationTimeUtc *date.Time `json:"creationTimeUtc,omitempty"`
	// RecoveryProviderErrorMessage - DRA error message.
	RecoveryProviderErrorMessage *string `json:"recoveryProviderErrorMessage,omitempty"`
	// EntityID - ID of the entity.
	EntityID *string `json:"entityId,omitempty"`
	// ChildErrors - The child health errors.
	ChildErrors *[]HealthError `json:"childErrors,omitempty"`
}

HealthError health Error

type HealthErrorCategory

type HealthErrorCategory string

HealthErrorCategory enumerates the values for health error category.

const (
	// Configuration ...
	Configuration HealthErrorCategory = "Configuration"
	// Replication ...
	Replication HealthErrorCategory = "Replication"
	// TestFailover ...
	TestFailover HealthErrorCategory = "TestFailover"
)

func PossibleHealthErrorCategoryValues

func PossibleHealthErrorCategoryValues() []HealthErrorCategory

PossibleHealthErrorCategoryValues returns an array of possible values for the HealthErrorCategory const type.

type HealthErrorSummary

type HealthErrorSummary struct {
	// SummaryCode - The code of the health error.
	SummaryCode *string `json:"summaryCode,omitempty"`
	// Category - The category of the health error. Possible values include: 'Replication', 'TestFailover', 'Configuration'
	Category HealthErrorCategory `json:"category,omitempty"`
	// Severity - Severity of error. Possible values include: 'NONE', 'Warning', 'Error', 'Info'
	Severity Severity `json:"severity,omitempty"`
	// SummaryMessage - The summary message of the health error.
	SummaryMessage *string `json:"summaryMessage,omitempty"`
	// AffectedResourceType - The type of affected ARM resource.
	AffectedResourceType *string `json:"affectedResourceType,omitempty"`
	// AffectedResourceSubtype - The sub type of any subcomponent within the ARM resource that this might be applicable. Value remains null if not applicable.
	AffectedResourceSubtype *string `json:"affectedResourceSubtype,omitempty"`
	// AffectedResourceCorrelationIds - The list of affected resource correlation Ids. This can be used to uniquely identify the count of items affected by a specific category and severity as well as count of item affected by an specific issue.
	AffectedResourceCorrelationIds *[]string `json:"affectedResourceCorrelationIds,omitempty"`
}

HealthErrorSummary class to define the summary of the health error details.

type HyperVReplica2012EventDetails

type HyperVReplica2012EventDetails struct {
	// ContainerName - The container friendly name.
	ContainerName *string `json:"containerName,omitempty"`
	// FabricName - The fabric friendly name.
	FabricName *string `json:"fabricName,omitempty"`
	// RemoteContainerName - The remote container name.
	RemoteContainerName *string `json:"remoteContainerName,omitempty"`
	// RemoteFabricName - The remote fabric name.
	RemoteFabricName *string `json:"remoteFabricName,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeEventProviderSpecificDetails', 'InstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeHyperVReplica2012', 'InstanceTypeHyperVReplica2012R2', 'InstanceTypeHyperVReplicaAzure', 'InstanceTypeA2A', 'InstanceTypeInMageAzureV2'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

HyperVReplica2012EventDetails model class for event details of a HyperVReplica E2E event.

func (HyperVReplica2012EventDetails) AsA2AEventDetails

func (hvr2ed HyperVReplica2012EventDetails) AsA2AEventDetails() (*A2AEventDetails, bool)

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) AsBasicEventProviderSpecificDetails

func (hvr2ed HyperVReplica2012EventDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool)

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) AsEventProviderSpecificDetails

func (hvr2ed HyperVReplica2012EventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) AsHyperVReplica2012EventDetails

func (hvr2ed HyperVReplica2012EventDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) AsHyperVReplica2012R2EventDetails

func (hvr2ed HyperVReplica2012EventDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) AsHyperVReplicaAzureEventDetails

func (hvr2ed HyperVReplica2012EventDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) AsHyperVReplicaBaseEventDetails

func (hvr2ed HyperVReplica2012EventDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) AsInMageAzureV2EventDetails

func (hvr2ed HyperVReplica2012EventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012EventDetails.

func (HyperVReplica2012EventDetails) MarshalJSON

func (hvr2ed HyperVReplica2012EventDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplica2012EventDetails.

type HyperVReplica2012R2EventDetails

type HyperVReplica2012R2EventDetails struct {
	// ContainerName - The container friendly name.
	ContainerName *string `json:"containerName,omitempty"`
	// FabricName - The fabric friendly name.
	FabricName *string `json:"fabricName,omitempty"`
	// RemoteContainerName - The remote container name.
	RemoteContainerName *string `json:"remoteContainerName,omitempty"`
	// RemoteFabricName - The remote fabric name.
	RemoteFabricName *string `json:"remoteFabricName,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeEventProviderSpecificDetails', 'InstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeHyperVReplica2012', 'InstanceTypeHyperVReplica2012R2', 'InstanceTypeHyperVReplicaAzure', 'InstanceTypeA2A', 'InstanceTypeInMageAzureV2'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

HyperVReplica2012R2EventDetails model class for event details of a HyperVReplica blue E2E event.

func (HyperVReplica2012R2EventDetails) AsA2AEventDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsA2AEventDetails() (*A2AEventDetails, bool)

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) AsBasicEventProviderSpecificDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool)

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) AsEventProviderSpecificDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) AsHyperVReplica2012EventDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) AsHyperVReplica2012R2EventDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) AsHyperVReplicaAzureEventDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) AsHyperVReplicaBaseEventDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) AsInMageAzureV2EventDetails

func (hvr2ed HyperVReplica2012R2EventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplica2012R2EventDetails.

func (HyperVReplica2012R2EventDetails) MarshalJSON

func (hvr2ed HyperVReplica2012R2EventDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplica2012R2EventDetails.

type HyperVReplicaAzureApplyRecoveryPointInput

type HyperVReplicaAzureApplyRecoveryPointInput struct {
	// VaultLocation - The vault location where the recovery Vm resides.
	VaultLocation *string `json:"vaultLocation,omitempty"`
	// PrimaryKekCertificatePfx - The primary kek certificate pfx.
	PrimaryKekCertificatePfx *string `json:"primaryKekCertificatePfx,omitempty"`
	// SecondaryKekCertificatePfx - The secondary kek certificate pfx.
	SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeApplyRecoveryPointProviderSpecificInput', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicApplyRecoveryPointProviderSpecificInput `json:"instanceType,omitempty"`
}

HyperVReplicaAzureApplyRecoveryPointInput applyRecoveryPoint input specific to HyperVReplicaAzure provider.

func (HyperVReplicaAzureApplyRecoveryPointInput) AsA2AApplyRecoveryPointInput

func (hvraarpi HyperVReplicaAzureApplyRecoveryPointInput) AsA2AApplyRecoveryPointInput() (*A2AApplyRecoveryPointInput, bool)

AsA2AApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for HyperVReplicaAzureApplyRecoveryPointInput.

func (HyperVReplicaAzureApplyRecoveryPointInput) AsApplyRecoveryPointProviderSpecificInput

func (hvraarpi HyperVReplicaAzureApplyRecoveryPointInput) AsApplyRecoveryPointProviderSpecificInput() (*ApplyRecoveryPointProviderSpecificInput, bool)

AsApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for HyperVReplicaAzureApplyRecoveryPointInput.

func (HyperVReplicaAzureApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecificInput

func (hvraarpi HyperVReplicaAzureApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecificInput() (BasicApplyRecoveryPointProviderSpecificInput, bool)

AsBasicApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for HyperVReplicaAzureApplyRecoveryPointInput.

func (HyperVReplicaAzureApplyRecoveryPointInput) AsHyperVReplicaAzureApplyRecoveryPointInput

func (hvraarpi HyperVReplicaAzureApplyRecoveryPointInput) AsHyperVReplicaAzureApplyRecoveryPointInput() (*HyperVReplicaAzureApplyRecoveryPointInput, bool)

AsHyperVReplicaAzureApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for HyperVReplicaAzureApplyRecoveryPointInput.

func (HyperVReplicaAzureApplyRecoveryPointInput) AsInMageAzureV2ApplyRecoveryPointInput

func (hvraarpi HyperVReplicaAzureApplyRecoveryPointInput) AsInMageAzureV2ApplyRecoveryPointInput() (*InMageAzureV2ApplyRecoveryPointInput, bool)

AsInMageAzureV2ApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for HyperVReplicaAzureApplyRecoveryPointInput.

func (HyperVReplicaAzureApplyRecoveryPointInput) MarshalJSON

func (hvraarpi HyperVReplicaAzureApplyRecoveryPointInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzureApplyRecoveryPointInput.

type HyperVReplicaAzureEnableProtectionInput

type HyperVReplicaAzureEnableProtectionInput struct {
	// HvHostVMID - The Hyper-V host Vm Id.
	HvHostVMID *string `json:"hvHostVmId,omitempty"`
	// VMName - The Vm Name.
	VMName *string `json:"vmName,omitempty"`
	// OsType - The OS type associated with vm.
	OsType *string `json:"osType,omitempty"`
	// VhdID - The OS disk VHD id associated with vm.
	VhdID *string `json:"vhdId,omitempty"`
	// TargetStorageAccountID - The storage account name.
	TargetStorageAccountID *string `json:"targetStorageAccountId,omitempty"`
	// TargetAzureNetworkID - The selected target Azure network Id.
	TargetAzureNetworkID *string `json:"targetAzureNetworkId,omitempty"`
	// TargetAzureSubnetID - The selected target Azure subnet Id.
	TargetAzureSubnetID *string `json:"targetAzureSubnetId,omitempty"`
	// EnableRDPOnTargetOption - The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.
	EnableRDPOnTargetOption *string `json:"enableRDPOnTargetOption,omitempty"`
	// TargetAzureVMName - The target azure Vm Name.
	TargetAzureVMName *string `json:"targetAzureVmName,omitempty"`
	// LogStorageAccountID - The storage account to be used for logging during replication.
	LogStorageAccountID *string `json:"logStorageAccountId,omitempty"`
	// DisksToInclude - The list of VHD IDs of disks to be protected.
	DisksToInclude *[]string `json:"disksToInclude,omitempty"`
	// TargetAzureV1ResourceGroupID - The Id of the target resource group (for classic deployment) in which the failover VM is to be created.
	TargetAzureV1ResourceGroupID *string `json:"targetAzureV1ResourceGroupId,omitempty"`
	// TargetAzureV2ResourceGroupID - The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created.
	TargetAzureV2ResourceGroupID *string `json:"targetAzureV2ResourceGroupId,omitempty"`
	// UseManagedDisks - A value indicating whether managed disks should be used during failover.
	UseManagedDisks *string `json:"useManagedDisks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicEnableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

HyperVReplicaAzureEnableProtectionInput azure specific enable protection input.

func (HyperVReplicaAzureEnableProtectionInput) AsA2AEnableProtectionInput

func (hvraepi HyperVReplicaAzureEnableProtectionInput) AsA2AEnableProtectionInput() (*A2AEnableProtectionInput, bool)

AsA2AEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for HyperVReplicaAzureEnableProtectionInput.

func (HyperVReplicaAzureEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput

func (hvraepi HyperVReplicaAzureEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput() (BasicEnableProtectionProviderSpecificInput, bool)

AsBasicEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for HyperVReplicaAzureEnableProtectionInput.

func (HyperVReplicaAzureEnableProtectionInput) AsEnableProtectionProviderSpecificInput

func (hvraepi HyperVReplicaAzureEnableProtectionInput) AsEnableProtectionProviderSpecificInput() (*EnableProtectionProviderSpecificInput, bool)

AsEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for HyperVReplicaAzureEnableProtectionInput.

func (HyperVReplicaAzureEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput

func (hvraepi HyperVReplicaAzureEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput() (*HyperVReplicaAzureEnableProtectionInput, bool)

AsHyperVReplicaAzureEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for HyperVReplicaAzureEnableProtectionInput.

func (HyperVReplicaAzureEnableProtectionInput) AsInMageAzureV2EnableProtectionInput

func (hvraepi HyperVReplicaAzureEnableProtectionInput) AsInMageAzureV2EnableProtectionInput() (*InMageAzureV2EnableProtectionInput, bool)

AsInMageAzureV2EnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for HyperVReplicaAzureEnableProtectionInput.

func (HyperVReplicaAzureEnableProtectionInput) AsInMageEnableProtectionInput

func (hvraepi HyperVReplicaAzureEnableProtectionInput) AsInMageEnableProtectionInput() (*InMageEnableProtectionInput, bool)

AsInMageEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for HyperVReplicaAzureEnableProtectionInput.

func (HyperVReplicaAzureEnableProtectionInput) AsSanEnableProtectionInput

func (hvraepi HyperVReplicaAzureEnableProtectionInput) AsSanEnableProtectionInput() (*SanEnableProtectionInput, bool)

AsSanEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for HyperVReplicaAzureEnableProtectionInput.

func (HyperVReplicaAzureEnableProtectionInput) MarshalJSON

func (hvraepi HyperVReplicaAzureEnableProtectionInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzureEnableProtectionInput.

type HyperVReplicaAzureEventDetails

type HyperVReplicaAzureEventDetails struct {
	// ContainerName - The container friendly name.
	ContainerName *string `json:"containerName,omitempty"`
	// FabricName - The fabric friendly name.
	FabricName *string `json:"fabricName,omitempty"`
	// RemoteContainerName - The remote container name.
	RemoteContainerName *string `json:"remoteContainerName,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeEventProviderSpecificDetails', 'InstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeHyperVReplica2012', 'InstanceTypeHyperVReplica2012R2', 'InstanceTypeHyperVReplicaAzure', 'InstanceTypeA2A', 'InstanceTypeInMageAzureV2'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

HyperVReplicaAzureEventDetails model class for event details of a HyperVReplica E2A event.

func (HyperVReplicaAzureEventDetails) AsA2AEventDetails

func (hvraed HyperVReplicaAzureEventDetails) AsA2AEventDetails() (*A2AEventDetails, bool)

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) AsBasicEventProviderSpecificDetails

func (hvraed HyperVReplicaAzureEventDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool)

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) AsEventProviderSpecificDetails

func (hvraed HyperVReplicaAzureEventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) AsHyperVReplica2012EventDetails

func (hvraed HyperVReplicaAzureEventDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) AsHyperVReplica2012R2EventDetails

func (hvraed HyperVReplicaAzureEventDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) AsHyperVReplicaAzureEventDetails

func (hvraed HyperVReplicaAzureEventDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) AsHyperVReplicaBaseEventDetails

func (hvraed HyperVReplicaAzureEventDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) AsInMageAzureV2EventDetails

func (hvraed HyperVReplicaAzureEventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaAzureEventDetails.

func (HyperVReplicaAzureEventDetails) MarshalJSON

func (hvraed HyperVReplicaAzureEventDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzureEventDetails.

type HyperVReplicaAzureFailbackProviderInput

type HyperVReplicaAzureFailbackProviderInput struct {
	// DataSyncOption - Data sync option.
	DataSyncOption *string `json:"dataSyncOption,omitempty"`
	// RecoveryVMCreationOption - ALR options to create alternate recovery.
	RecoveryVMCreationOption *string `json:"recoveryVmCreationOption,omitempty"`
	// ProviderIDForAlternateRecovery - Provider ID for alternate location
	ProviderIDForAlternateRecovery *string `json:"providerIdForAlternateRecovery,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

HyperVReplicaAzureFailbackProviderInput hvrA provider specific input for failback.

func (HyperVReplicaAzureFailbackProviderInput) AsA2AFailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) AsA2AFailoverProviderInput() (*A2AFailoverProviderInput, bool)

AsA2AFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailbackProviderInput.

func (HyperVReplicaAzureFailbackProviderInput) AsBasicProviderSpecificFailoverInput

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) AsBasicProviderSpecificFailoverInput() (BasicProviderSpecificFailoverInput, bool)

AsBasicProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailbackProviderInput.

func (HyperVReplicaAzureFailbackProviderInput) AsHyperVReplicaAzureFailbackProviderInput

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) AsHyperVReplicaAzureFailbackProviderInput() (*HyperVReplicaAzureFailbackProviderInput, bool)

AsHyperVReplicaAzureFailbackProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailbackProviderInput.

func (HyperVReplicaAzureFailbackProviderInput) AsHyperVReplicaAzureFailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) AsHyperVReplicaAzureFailoverProviderInput() (*HyperVReplicaAzureFailoverProviderInput, bool)

AsHyperVReplicaAzureFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailbackProviderInput.

func (HyperVReplicaAzureFailbackProviderInput) AsInMageAzureV2FailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) AsInMageAzureV2FailoverProviderInput() (*InMageAzureV2FailoverProviderInput, bool)

AsInMageAzureV2FailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailbackProviderInput.

func (HyperVReplicaAzureFailbackProviderInput) AsInMageFailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) AsInMageFailoverProviderInput() (*InMageFailoverProviderInput, bool)

AsInMageFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailbackProviderInput.

func (HyperVReplicaAzureFailbackProviderInput) AsProviderSpecificFailoverInput

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) AsProviderSpecificFailoverInput() (*ProviderSpecificFailoverInput, bool)

AsProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailbackProviderInput.

func (HyperVReplicaAzureFailbackProviderInput) MarshalJSON

func (hvrafpi HyperVReplicaAzureFailbackProviderInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzureFailbackProviderInput.

type HyperVReplicaAzureFailoverProviderInput

type HyperVReplicaAzureFailoverProviderInput struct {
	// VaultLocation - Location of the vault.
	VaultLocation *string `json:"vaultLocation,omitempty"`
	// PrimaryKekCertificatePfx - Primary kek certificate pfx.
	PrimaryKekCertificatePfx *string `json:"primaryKekCertificatePfx,omitempty"`
	// SecondaryKekCertificatePfx - Secondary kek certificate pfx.
	SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"`
	// 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

HyperVReplicaAzureFailoverProviderInput hvrA provider specific input for failover.

func (HyperVReplicaAzureFailoverProviderInput) AsA2AFailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) AsA2AFailoverProviderInput() (*A2AFailoverProviderInput, bool)

AsA2AFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailoverProviderInput.

func (HyperVReplicaAzureFailoverProviderInput) AsBasicProviderSpecificFailoverInput

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) AsBasicProviderSpecificFailoverInput() (BasicProviderSpecificFailoverInput, bool)

AsBasicProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailoverProviderInput.

func (HyperVReplicaAzureFailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput() (*HyperVReplicaAzureFailbackProviderInput, bool)

AsHyperVReplicaAzureFailbackProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailoverProviderInput.

func (HyperVReplicaAzureFailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput() (*HyperVReplicaAzureFailoverProviderInput, bool)

AsHyperVReplicaAzureFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailoverProviderInput.

func (HyperVReplicaAzureFailoverProviderInput) AsInMageAzureV2FailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) AsInMageAzureV2FailoverProviderInput() (*InMageAzureV2FailoverProviderInput, bool)

AsInMageAzureV2FailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailoverProviderInput.

func (HyperVReplicaAzureFailoverProviderInput) AsInMageFailoverProviderInput

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) AsInMageFailoverProviderInput() (*InMageFailoverProviderInput, bool)

AsInMageFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailoverProviderInput.

func (HyperVReplicaAzureFailoverProviderInput) AsProviderSpecificFailoverInput

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) AsProviderSpecificFailoverInput() (*ProviderSpecificFailoverInput, bool)

AsProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for HyperVReplicaAzureFailoverProviderInput.

func (HyperVReplicaAzureFailoverProviderInput) MarshalJSON

func (hvrafpi HyperVReplicaAzureFailoverProviderInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzureFailoverProviderInput.

type HyperVReplicaAzurePolicyDetails

type HyperVReplicaAzurePolicyDetails struct {
	// RecoveryPointHistoryDurationInHours - The duration (in hours) to which point the recovery history needs to be maintained.
	RecoveryPointHistoryDurationInHours *int32 `json:"recoveryPointHistoryDurationInHours,omitempty"`
	// ApplicationConsistentSnapshotFrequencyInHours - The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM.
	ApplicationConsistentSnapshotFrequencyInHours *int32 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"`
	// ReplicationInterval - The replication interval.
	ReplicationInterval *int32 `json:"replicationInterval,omitempty"`
	// OnlineReplicationStartTime - The scheduled start time for the initial replication. If this parameter is Null, the initial replication starts immediately.
	OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"`
	// Encryption - A value indicating whether encryption is enabled for virtual machines in this cloud.
	Encryption *string `json:"encryption,omitempty"`
	// ActiveStorageAccountID - The active storage account Id.
	ActiveStorageAccountID *string `json:"activeStorageAccountId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

HyperVReplicaAzurePolicyDetails hyper-V Replica Azure specific protection profile details.

func (HyperVReplicaAzurePolicyDetails) AsA2APolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsBasicPolicyProviderSpecificDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsHyperVReplicaBasePolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsHyperVReplicaBluePolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsHyperVReplicaPolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsInMageAzureV2PolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsInMageBasePolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsInMagePolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsPolicyProviderSpecificDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsRcmAzureMigrationPolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) AsVmwareCbtPolicyDetails

func (hvrapd HyperVReplicaAzurePolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaAzurePolicyDetails.

func (HyperVReplicaAzurePolicyDetails) MarshalJSON

func (hvrapd HyperVReplicaAzurePolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzurePolicyDetails.

type HyperVReplicaAzurePolicyInput

type HyperVReplicaAzurePolicyInput struct {
	// RecoveryPointHistoryDuration - The duration (in hours) to which point the recovery history needs to be maintained.
	RecoveryPointHistoryDuration *int32 `json:"recoveryPointHistoryDuration,omitempty"`
	// ApplicationConsistentSnapshotFrequencyInHours - The interval (in hours) at which Hyper-V Replica should create an application consistent snapshot within the VM.
	ApplicationConsistentSnapshotFrequencyInHours *int32 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"`
	// ReplicationInterval - The replication interval.
	ReplicationInterval *int32 `json:"replicationInterval,omitempty"`
	// OnlineReplicationStartTime - The scheduled start time for the initial replication. If this parameter is Null, the initial replication starts immediately.
	OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"`
	// Encryption - A value indicating whether encryption needs to be enabled for Vms in this cloud.
	Encryption *string `json:"encryption,omitempty"`
	// StorageAccounts - The list of storage accounts to which the VMs in the primary cloud can replicate to.
	StorageAccounts *[]string `json:"storageAccounts,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

HyperVReplicaAzurePolicyInput hyper-V Replica Azure specific input for creating a protection profile.

func (HyperVReplicaAzurePolicyInput) AsA2APolicyCreationInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsBasicPolicyProviderSpecificInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsHyperVReplicaAzurePolicyInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsHyperVReplicaBluePolicyInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsHyperVReplicaPolicyInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsInMageAzureV2PolicyInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsInMagePolicyInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsPolicyProviderSpecificInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) AsVMwareCbtPolicyCreationInput

func (hvrapi HyperVReplicaAzurePolicyInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaAzurePolicyInput.

func (HyperVReplicaAzurePolicyInput) MarshalJSON

func (hvrapi HyperVReplicaAzurePolicyInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzurePolicyInput.

type HyperVReplicaAzureReplicationDetails

type HyperVReplicaAzureReplicationDetails struct {
	// AzureVMDiskDetails - Azure VM Disk details.
	AzureVMDiskDetails *[]AzureVMDiskDetails `json:"azureVMDiskDetails,omitempty"`
	// RecoveryAzureVMName - Recovery Azure given name.
	RecoveryAzureVMName *string `json:"recoveryAzureVMName,omitempty"`
	// RecoveryAzureVMSize - The Recovery Azure VM size.
	RecoveryAzureVMSize *string `json:"recoveryAzureVMSize,omitempty"`
	// RecoveryAzureStorageAccount - The recovery Azure storage account.
	RecoveryAzureStorageAccount *string `json:"recoveryAzureStorageAccount,omitempty"`
	// RecoveryAzureLogStorageAccountID - The ARM id of the log storage account used for replication. This will be set to null if no log storage account was provided during enable protection.
	RecoveryAzureLogStorageAccountID *string `json:"recoveryAzureLogStorageAccountId,omitempty"`
	// LastReplicatedTime - The Last replication time.
	LastReplicatedTime *date.Time `json:"lastReplicatedTime,omitempty"`
	// VMID - The virtual machine Id.
	VMID *string `json:"vmId,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"`
	// InitialReplicationDetails - Initial replication details.
	InitialReplicationDetails *InitialReplicationDetails `json:"initialReplicationDetails,omitempty"`
	// VMNics - The PE Network details.
	VMNics *[]VMNicDetails `json:"vmNics,omitempty"`
	// SelectedRecoveryAzureNetworkID - The selected recovery azure network Id.
	SelectedRecoveryAzureNetworkID *string `json:"selectedRecoveryAzureNetworkId,omitempty"`
	// Encryption - The encryption info.
	Encryption *string `json:"encryption,omitempty"`
	// OSDetails - The operating system info.
	OSDetails *OSDetails `json:"oSDetails,omitempty"`
	// SourceVMRAMSizeInMB - The RAM size of the VM on the primary side.
	SourceVMRAMSizeInMB *int32 `json:"sourceVmRAMSizeInMB,omitempty"`
	// SourceVMCPUCount - The CPU count of the VM on the primary side.
	SourceVMCPUCount *int32 `json:"sourceVmCPUCount,omitempty"`
	// EnableRDPOnTargetOption - The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.
	EnableRDPOnTargetOption *string `json:"enableRDPOnTargetOption,omitempty"`
	// RecoveryAzureResourceGroupID - The target resource group Id.
	RecoveryAzureResourceGroupID *string `json:"recoveryAzureResourceGroupId,omitempty"`
	// RecoveryAvailabilitySetID - The recovery availability set Id.
	RecoveryAvailabilitySetID *string `json:"recoveryAvailabilitySetId,omitempty"`
	// UseManagedDisks - A value indicating whether managed disks should be used during failover.
	UseManagedDisks *string `json:"useManagedDisks,omitempty"`
	// LicenseType - License Type of the VM to be used.
	LicenseType *string `json:"licenseType,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

HyperVReplicaAzureReplicationDetails hyper V Replica Azure provider specific settings.

func (HyperVReplicaAzureReplicationDetails) AsA2AReplicationDetails

func (hvrard HyperVReplicaAzureReplicationDetails) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsBasicReplicationProviderSpecificSettings

func (hvrard HyperVReplicaAzureReplicationDetails) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsHyperVReplicaAzureReplicationDetails

func (hvrard HyperVReplicaAzureReplicationDetails) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsHyperVReplicaBaseReplicationDetails

func (hvrard HyperVReplicaAzureReplicationDetails) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsHyperVReplicaBlueReplicationDetails

func (hvrard HyperVReplicaAzureReplicationDetails) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsHyperVReplicaReplicationDetails

func (hvrard HyperVReplicaAzureReplicationDetails) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsInMageAzureV2ReplicationDetails

func (hvrard HyperVReplicaAzureReplicationDetails) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsInMageReplicationDetails

func (hvrard HyperVReplicaAzureReplicationDetails) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) AsReplicationProviderSpecificSettings

func (hvrard HyperVReplicaAzureReplicationDetails) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaAzureReplicationDetails.

func (HyperVReplicaAzureReplicationDetails) MarshalJSON

func (hvrard HyperVReplicaAzureReplicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzureReplicationDetails.

type HyperVReplicaAzureReprotectInput

type HyperVReplicaAzureReprotectInput struct {
	// HvHostVMID - The Hyper-V host Vm Id.
	HvHostVMID *string `json:"hvHostVmId,omitempty"`
	// VMName - The Vm Name.
	VMName *string `json:"vmName,omitempty"`
	// OsType - The OS type associated with vm.
	OsType *string `json:"osType,omitempty"`
	// VHDID - The OS disk VHD id associated with vm.
	VHDID *string `json:"vHDId,omitempty"`
	// StorageAccountID - The storage account name.
	StorageAccountID *string `json:"storageAccountId,omitempty"`
	// LogStorageAccountID - The storage account to be used for logging during replication.
	LogStorageAccountID *string `json:"logStorageAccountId,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeReverseReplicationProviderSpecificInput', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicReverseReplicationProviderSpecificInput `json:"instanceType,omitempty"`
}

HyperVReplicaAzureReprotectInput azure specific reprotect input.

func (HyperVReplicaAzureReprotectInput) AsA2AReprotectInput

func (hvrari HyperVReplicaAzureReprotectInput) AsA2AReprotectInput() (*A2AReprotectInput, bool)

AsA2AReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for HyperVReplicaAzureReprotectInput.

func (HyperVReplicaAzureReprotectInput) AsBasicReverseReplicationProviderSpecificInput

func (hvrari HyperVReplicaAzureReprotectInput) AsBasicReverseReplicationProviderSpecificInput() (BasicReverseReplicationProviderSpecificInput, bool)

AsBasicReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for HyperVReplicaAzureReprotectInput.

func (HyperVReplicaAzureReprotectInput) AsHyperVReplicaAzureReprotectInput

func (hvrari HyperVReplicaAzureReprotectInput) AsHyperVReplicaAzureReprotectInput() (*HyperVReplicaAzureReprotectInput, bool)

AsHyperVReplicaAzureReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for HyperVReplicaAzureReprotectInput.

func (HyperVReplicaAzureReprotectInput) AsInMageAzureV2ReprotectInput

func (hvrari HyperVReplicaAzureReprotectInput) AsInMageAzureV2ReprotectInput() (*InMageAzureV2ReprotectInput, bool)

AsInMageAzureV2ReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for HyperVReplicaAzureReprotectInput.

func (HyperVReplicaAzureReprotectInput) AsInMageReprotectInput

func (hvrari HyperVReplicaAzureReprotectInput) AsInMageReprotectInput() (*InMageReprotectInput, bool)

AsInMageReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for HyperVReplicaAzureReprotectInput.

func (HyperVReplicaAzureReprotectInput) AsReverseReplicationProviderSpecificInput

func (hvrari HyperVReplicaAzureReprotectInput) AsReverseReplicationProviderSpecificInput() (*ReverseReplicationProviderSpecificInput, bool)

AsReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for HyperVReplicaAzureReprotectInput.

func (HyperVReplicaAzureReprotectInput) MarshalJSON

func (hvrari HyperVReplicaAzureReprotectInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaAzureReprotectInput.

type HyperVReplicaAzureRpRecoveryPointType

type HyperVReplicaAzureRpRecoveryPointType string

HyperVReplicaAzureRpRecoveryPointType enumerates the values for hyper v replica azure rp recovery point type.

const (
	// HyperVReplicaAzureRpRecoveryPointTypeLatest ...
	HyperVReplicaAzureRpRecoveryPointTypeLatest HyperVReplicaAzureRpRecoveryPointType = "Latest"
	// HyperVReplicaAzureRpRecoveryPointTypeLatestApplicationConsistent ...
	HyperVReplicaAzureRpRecoveryPointTypeLatestApplicationConsistent HyperVReplicaAzureRpRecoveryPointType = "LatestApplicationConsistent"
	// HyperVReplicaAzureRpRecoveryPointTypeLatestProcessed ...
	HyperVReplicaAzureRpRecoveryPointTypeLatestProcessed HyperVReplicaAzureRpRecoveryPointType = "LatestProcessed"
)

func PossibleHyperVReplicaAzureRpRecoveryPointTypeValues

func PossibleHyperVReplicaAzureRpRecoveryPointTypeValues() []HyperVReplicaAzureRpRecoveryPointType

PossibleHyperVReplicaAzureRpRecoveryPointTypeValues returns an array of possible values for the HyperVReplicaAzureRpRecoveryPointType const type.

type HyperVReplicaAzureUpdateReplicationProtectedItemInput

type HyperVReplicaAzureUpdateReplicationProtectedItemInput struct {
	// RecoveryAzureV1ResourceGroupID - The recovery Azure resource group Id for classic deployment.
	RecoveryAzureV1ResourceGroupID *string `json:"recoveryAzureV1ResourceGroupId,omitempty"`
	// RecoveryAzureV2ResourceGroupID - The recovery Azure resource group Id for resource manager deployment.
	RecoveryAzureV2ResourceGroupID *string `json:"recoveryAzureV2ResourceGroupId,omitempty"`
	// UseManagedDisks - A value indicating whether managed disks should be used during failover.
	UseManagedDisks *string `json:"useManagedDisks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeUpdateReplicationProtectedItemProviderInput', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicUpdateReplicationProtectedItemProviderInput `json:"instanceType,omitempty"`
}

HyperVReplicaAzureUpdateReplicationProtectedItemInput hyperV replica Azure input to update replication protected item.

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsA2AUpdateReplicationProtectedItemInput

func (hvraurpii HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsA2AUpdateReplicationProtectedItemInput() (*A2AUpdateReplicationProtectedItemInput, bool)

AsA2AUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for HyperVReplicaAzureUpdateReplicationProtectedItemInput.

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsBasicUpdateReplicationProtectedItemProviderInput

func (hvraurpii HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsBasicUpdateReplicationProtectedItemProviderInput() (BasicUpdateReplicationProtectedItemProviderInput, bool)

AsBasicUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for HyperVReplicaAzureUpdateReplicationProtectedItemInput.

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput

func (hvraurpii HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput() (*HyperVReplicaAzureUpdateReplicationProtectedItemInput, bool)

AsHyperVReplicaAzureUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for HyperVReplicaAzureUpdateReplicationProtectedItemInput.

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsInMageAzureV2UpdateReplicationProtectedItemInput

func (hvraurpii HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsInMageAzureV2UpdateReplicationProtectedItemInput() (*InMageAzureV2UpdateReplicationProtectedItemInput, bool)

AsInMageAzureV2UpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for HyperVReplicaAzureUpdateReplicationProtectedItemInput.

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsUpdateReplicationProtectedItemProviderInput

func (hvraurpii HyperVReplicaAzureUpdateReplicationProtectedItemInput) AsUpdateReplicationProtectedItemProviderInput() (*UpdateReplicationProtectedItemProviderInput, bool)

AsUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for HyperVReplicaAzureUpdateReplicationProtectedItemInput.

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) MarshalJSON

MarshalJSON is the custom marshaler for HyperVReplicaAzureUpdateReplicationProtectedItemInput.

type HyperVReplicaBaseEventDetails

type HyperVReplicaBaseEventDetails struct {
	// ContainerName - The container friendly name.
	ContainerName *string `json:"containerName,omitempty"`
	// FabricName - The fabric friendly name.
	FabricName *string `json:"fabricName,omitempty"`
	// RemoteContainerName - The remote container name.
	RemoteContainerName *string `json:"remoteContainerName,omitempty"`
	// RemoteFabricName - The remote fabric name.
	RemoteFabricName *string `json:"remoteFabricName,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeEventProviderSpecificDetails', 'InstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeHyperVReplica2012', 'InstanceTypeHyperVReplica2012R2', 'InstanceTypeHyperVReplicaAzure', 'InstanceTypeA2A', 'InstanceTypeInMageAzureV2'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

HyperVReplicaBaseEventDetails abstract model class for event details of a HyperVReplica E2E event.

func (HyperVReplicaBaseEventDetails) AsA2AEventDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsA2AEventDetails() (*A2AEventDetails, bool)

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) AsBasicEventProviderSpecificDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool)

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) AsEventProviderSpecificDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) AsHyperVReplica2012EventDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) AsHyperVReplica2012R2EventDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) AsHyperVReplicaAzureEventDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) AsHyperVReplicaBaseEventDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) AsInMageAzureV2EventDetails

func (hvrbed HyperVReplicaBaseEventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for HyperVReplicaBaseEventDetails.

func (HyperVReplicaBaseEventDetails) MarshalJSON

func (hvrbed HyperVReplicaBaseEventDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaBaseEventDetails.

type HyperVReplicaBasePolicyDetails

type HyperVReplicaBasePolicyDetails struct {
	// RecoveryPoints - A value indicating the number of recovery points.
	RecoveryPoints *int32 `json:"recoveryPoints,omitempty"`
	// ApplicationConsistentSnapshotFrequencyInHours - A value indicating the application consistent frequency.
	ApplicationConsistentSnapshotFrequencyInHours *int32 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"`
	// Compression - A value indicating whether compression has to be enabled.
	Compression *string `json:"compression,omitempty"`
	// InitialReplicationMethod - A value indicating whether IR is online.
	InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"`
	// OnlineReplicationStartTime - A value indicating the online IR start time.
	OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"`
	// OfflineReplicationImportPath - A value indicating the offline IR import path.
	OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"`
	// OfflineReplicationExportPath - A value indicating the offline IR export path.
	OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"`
	// ReplicationPort - A value indicating the recovery HTTPS port.
	ReplicationPort *int32 `json:"replicationPort,omitempty"`
	// AllowedAuthenticationType - A value indicating the authentication type.
	AllowedAuthenticationType *int32 `json:"allowedAuthenticationType,omitempty"`
	// ReplicaDeletionOption - A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, None, OnRecoveryCloud
	ReplicaDeletionOption *string `json:"replicaDeletionOption,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

HyperVReplicaBasePolicyDetails base class for HyperVReplica policy details.

func (HyperVReplicaBasePolicyDetails) AsA2APolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsBasicPolicyProviderSpecificDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsHyperVReplicaBasePolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsHyperVReplicaBluePolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsHyperVReplicaPolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsInMageAzureV2PolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsInMageBasePolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsInMagePolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsPolicyProviderSpecificDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsRcmAzureMigrationPolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) AsVmwareCbtPolicyDetails

func (hvrbpd HyperVReplicaBasePolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBasePolicyDetails.

func (HyperVReplicaBasePolicyDetails) MarshalJSON

func (hvrbpd HyperVReplicaBasePolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaBasePolicyDetails.

type HyperVReplicaBaseReplicationDetails

type HyperVReplicaBaseReplicationDetails struct {
	// LastReplicatedTime - The Last replication time.
	LastReplicatedTime *date.Time `json:"lastReplicatedTime,omitempty"`
	// VMNics - The PE Network details.
	VMNics *[]VMNicDetails `json:"vmNics,omitempty"`
	// VMID - The virtual machine Id.
	VMID *string `json:"vmId,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"`
	// InitialReplicationDetails - Initial replication details.
	InitialReplicationDetails *InitialReplicationDetails `json:"initialReplicationDetails,omitempty"`
	// VMDiskDetails - VM disk details.
	VMDiskDetails *[]DiskDetails `json:"vMDiskDetails,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

HyperVReplicaBaseReplicationDetails hyper V replica provider specific settings base class.

func (HyperVReplicaBaseReplicationDetails) AsA2AReplicationDetails

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsBasicReplicationProviderSpecificSettings

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsHyperVReplicaAzureReplicationDetails

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsHyperVReplicaBaseReplicationDetails

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsHyperVReplicaBlueReplicationDetails

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsHyperVReplicaReplicationDetails

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsInMageAzureV2ReplicationDetails

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsInMageReplicationDetails

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) AsReplicationProviderSpecificSettings

func (hvrbrd HyperVReplicaBaseReplicationDetails) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBaseReplicationDetails.

func (HyperVReplicaBaseReplicationDetails) MarshalJSON

func (hvrbrd HyperVReplicaBaseReplicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaBaseReplicationDetails.

type HyperVReplicaBluePolicyDetails

type HyperVReplicaBluePolicyDetails struct {
	// ReplicationFrequencyInSeconds - A value indicating the replication interval.
	ReplicationFrequencyInSeconds *int32 `json:"replicationFrequencyInSeconds,omitempty"`
	// RecoveryPoints - A value indicating the number of recovery points.
	RecoveryPoints *int32 `json:"recoveryPoints,omitempty"`
	// ApplicationConsistentSnapshotFrequencyInHours - A value indicating the application consistent frequency.
	ApplicationConsistentSnapshotFrequencyInHours *int32 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"`
	// Compression - A value indicating whether compression has to be enabled.
	Compression *string `json:"compression,omitempty"`
	// InitialReplicationMethod - A value indicating whether IR is online.
	InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"`
	// OnlineReplicationStartTime - A value indicating the online IR start time.
	OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"`
	// OfflineReplicationImportPath - A value indicating the offline IR import path.
	OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"`
	// OfflineReplicationExportPath - A value indicating the offline IR export path.
	OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"`
	// ReplicationPort - A value indicating the recovery HTTPS port.
	ReplicationPort *int32 `json:"replicationPort,omitempty"`
	// AllowedAuthenticationType - A value indicating the authentication type.
	AllowedAuthenticationType *int32 `json:"allowedAuthenticationType,omitempty"`
	// ReplicaDeletionOption - A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, None, OnRecoveryCloud
	ReplicaDeletionOption *string `json:"replicaDeletionOption,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

HyperVReplicaBluePolicyDetails hyper-V Replica Blue specific protection profile details.

func (HyperVReplicaBluePolicyDetails) AsA2APolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsBasicPolicyProviderSpecificDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsHyperVReplicaBasePolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsHyperVReplicaBluePolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsHyperVReplicaPolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsInMageAzureV2PolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsInMageBasePolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsInMagePolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsPolicyProviderSpecificDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsRcmAzureMigrationPolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) AsVmwareCbtPolicyDetails

func (hvrbpd HyperVReplicaBluePolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaBluePolicyDetails.

func (HyperVReplicaBluePolicyDetails) MarshalJSON

func (hvrbpd HyperVReplicaBluePolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaBluePolicyDetails.

type HyperVReplicaBluePolicyInput

type HyperVReplicaBluePolicyInput struct {
	// ReplicationFrequencyInSeconds - A value indicating the replication interval.
	ReplicationFrequencyInSeconds *int32 `json:"replicationFrequencyInSeconds,omitempty"`
	// RecoveryPoints - A value indicating the number of recovery points.
	RecoveryPoints *int32 `json:"recoveryPoints,omitempty"`
	// ApplicationConsistentSnapshotFrequencyInHours - A value indicating the application consistent frequency.
	ApplicationConsistentSnapshotFrequencyInHours *int32 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"`
	// Compression - A value indicating whether compression has to be enabled.
	Compression *string `json:"compression,omitempty"`
	// InitialReplicationMethod - A value indicating whether IR is online.
	InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"`
	// OnlineReplicationStartTime - A value indicating the online IR start time.
	OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"`
	// OfflineReplicationImportPath - A value indicating the offline IR import path.
	OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"`
	// OfflineReplicationExportPath - A value indicating the offline IR export path.
	OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"`
	// ReplicationPort - A value indicating the recovery HTTPS port.
	ReplicationPort *int32 `json:"replicationPort,omitempty"`
	// AllowedAuthenticationType - A value indicating the authentication type.
	AllowedAuthenticationType *int32 `json:"allowedAuthenticationType,omitempty"`
	// ReplicaDeletion - A value indicating whether the VM has to be auto deleted.
	ReplicaDeletion *string `json:"replicaDeletion,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

HyperVReplicaBluePolicyInput hyperV Replica Blue policy input.

func (HyperVReplicaBluePolicyInput) AsA2APolicyCreationInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsBasicPolicyProviderSpecificInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsHyperVReplicaAzurePolicyInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsHyperVReplicaBluePolicyInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsHyperVReplicaPolicyInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsInMageAzureV2PolicyInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsInMagePolicyInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsPolicyProviderSpecificInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) AsVMwareCbtPolicyCreationInput

func (hvrbpi HyperVReplicaBluePolicyInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaBluePolicyInput.

func (HyperVReplicaBluePolicyInput) MarshalJSON

func (hvrbpi HyperVReplicaBluePolicyInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaBluePolicyInput.

type HyperVReplicaBlueReplicationDetails

type HyperVReplicaBlueReplicationDetails struct {
	// LastReplicatedTime - The Last replication time.
	LastReplicatedTime *date.Time `json:"lastReplicatedTime,omitempty"`
	// VMNics - The PE Network details.
	VMNics *[]VMNicDetails `json:"vmNics,omitempty"`
	// VMID - The virtual machine Id.
	VMID *string `json:"vmId,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"`
	// InitialReplicationDetails - Initial replication details.
	InitialReplicationDetails *InitialReplicationDetails `json:"initialReplicationDetails,omitempty"`
	// VMDiskDetails - VM disk details.
	VMDiskDetails *[]DiskDetails `json:"vMDiskDetails,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

HyperVReplicaBlueReplicationDetails hyperV replica 2012 R2 (Blue) replication details.

func (HyperVReplicaBlueReplicationDetails) AsA2AReplicationDetails

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsBasicReplicationProviderSpecificSettings

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsHyperVReplicaAzureReplicationDetails

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsHyperVReplicaBaseReplicationDetails

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsHyperVReplicaBlueReplicationDetails

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsHyperVReplicaReplicationDetails

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsInMageAzureV2ReplicationDetails

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsInMageReplicationDetails

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) AsReplicationProviderSpecificSettings

func (hvrbrd HyperVReplicaBlueReplicationDetails) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaBlueReplicationDetails.

func (HyperVReplicaBlueReplicationDetails) MarshalJSON

func (hvrbrd HyperVReplicaBlueReplicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaBlueReplicationDetails.

type HyperVReplicaPolicyDetails

type HyperVReplicaPolicyDetails struct {
	// RecoveryPoints - A value indicating the number of recovery points.
	RecoveryPoints *int32 `json:"recoveryPoints,omitempty"`
	// ApplicationConsistentSnapshotFrequencyInHours - A value indicating the application consistent frequency.
	ApplicationConsistentSnapshotFrequencyInHours *int32 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"`
	// Compression - A value indicating whether compression has to be enabled.
	Compression *string `json:"compression,omitempty"`
	// InitialReplicationMethod - A value indicating whether IR is online.
	InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"`
	// OnlineReplicationStartTime - A value indicating the online IR start time.
	OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"`
	// OfflineReplicationImportPath - A value indicating the offline IR import path.
	OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"`
	// OfflineReplicationExportPath - A value indicating the offline IR export path.
	OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"`
	// ReplicationPort - A value indicating the recovery HTTPS port.
	ReplicationPort *int32 `json:"replicationPort,omitempty"`
	// AllowedAuthenticationType - A value indicating the authentication type.
	AllowedAuthenticationType *int32 `json:"allowedAuthenticationType,omitempty"`
	// ReplicaDeletionOption - A value indicating whether the VM has to be auto deleted. Supported Values: String.Empty, None, OnRecoveryCloud
	ReplicaDeletionOption *string `json:"replicaDeletionOption,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

HyperVReplicaPolicyDetails hyper-V Replica Blue specific protection profile details.

func (HyperVReplicaPolicyDetails) AsA2APolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsBasicPolicyProviderSpecificDetails

func (hvrpd HyperVReplicaPolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsHyperVReplicaBasePolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsHyperVReplicaBluePolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsHyperVReplicaPolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsInMageAzureV2PolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsInMageBasePolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsInMagePolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsPolicyProviderSpecificDetails

func (hvrpd HyperVReplicaPolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsRcmAzureMigrationPolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) AsVmwareCbtPolicyDetails

func (hvrpd HyperVReplicaPolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for HyperVReplicaPolicyDetails.

func (HyperVReplicaPolicyDetails) MarshalJSON

func (hvrpd HyperVReplicaPolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaPolicyDetails.

type HyperVReplicaPolicyInput

type HyperVReplicaPolicyInput struct {
	// RecoveryPoints - A value indicating the number of recovery points.
	RecoveryPoints *int32 `json:"recoveryPoints,omitempty"`
	// ApplicationConsistentSnapshotFrequencyInHours - A value indicating the application consistent frequency.
	ApplicationConsistentSnapshotFrequencyInHours *int32 `json:"applicationConsistentSnapshotFrequencyInHours,omitempty"`
	// Compression - A value indicating whether compression has to be enabled.
	Compression *string `json:"compression,omitempty"`
	// InitialReplicationMethod - A value indicating whether IR is online.
	InitialReplicationMethod *string `json:"initialReplicationMethod,omitempty"`
	// OnlineReplicationStartTime - A value indicating the online IR start time.
	OnlineReplicationStartTime *string `json:"onlineReplicationStartTime,omitempty"`
	// OfflineReplicationImportPath - A value indicating the offline IR import path.
	OfflineReplicationImportPath *string `json:"offlineReplicationImportPath,omitempty"`
	// OfflineReplicationExportPath - A value indicating the offline IR export path.
	OfflineReplicationExportPath *string `json:"offlineReplicationExportPath,omitempty"`
	// ReplicationPort - A value indicating the recovery HTTPS port.
	ReplicationPort *int32 `json:"replicationPort,omitempty"`
	// AllowedAuthenticationType - A value indicating the authentication type.
	AllowedAuthenticationType *int32 `json:"allowedAuthenticationType,omitempty"`
	// ReplicaDeletion - A value indicating whether the VM has to be auto deleted.
	ReplicaDeletion *string `json:"replicaDeletion,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

HyperVReplicaPolicyInput hyper-V Replica specific protection profile Input.

func (HyperVReplicaPolicyInput) AsA2APolicyCreationInput

func (hvrpi HyperVReplicaPolicyInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsBasicPolicyProviderSpecificInput

func (hvrpi HyperVReplicaPolicyInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsHyperVReplicaAzurePolicyInput

func (hvrpi HyperVReplicaPolicyInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsHyperVReplicaBluePolicyInput

func (hvrpi HyperVReplicaPolicyInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsHyperVReplicaPolicyInput

func (hvrpi HyperVReplicaPolicyInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsInMageAzureV2PolicyInput

func (hvrpi HyperVReplicaPolicyInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsInMagePolicyInput

func (hvrpi HyperVReplicaPolicyInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsPolicyProviderSpecificInput

func (hvrpi HyperVReplicaPolicyInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) AsVMwareCbtPolicyCreationInput

func (hvrpi HyperVReplicaPolicyInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for HyperVReplicaPolicyInput.

func (HyperVReplicaPolicyInput) MarshalJSON

func (hvrpi HyperVReplicaPolicyInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaPolicyInput.

type HyperVReplicaReplicationDetails

type HyperVReplicaReplicationDetails struct {
	// LastReplicatedTime - The Last replication time.
	LastReplicatedTime *date.Time `json:"lastReplicatedTime,omitempty"`
	// VMNics - The PE Network details.
	VMNics *[]VMNicDetails `json:"vmNics,omitempty"`
	// VMID - The virtual machine Id.
	VMID *string `json:"vmId,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"`
	// InitialReplicationDetails - Initial replication details.
	InitialReplicationDetails *InitialReplicationDetails `json:"initialReplicationDetails,omitempty"`
	// VMDiskDetails - VM disk details.
	VMDiskDetails *[]DiskDetails `json:"vMDiskDetails,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

HyperVReplicaReplicationDetails hyperV replica 2012 replication details.

func (HyperVReplicaReplicationDetails) AsA2AReplicationDetails

func (hvrrd HyperVReplicaReplicationDetails) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsBasicReplicationProviderSpecificSettings

func (hvrrd HyperVReplicaReplicationDetails) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsHyperVReplicaAzureReplicationDetails

func (hvrrd HyperVReplicaReplicationDetails) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsHyperVReplicaBaseReplicationDetails

func (hvrrd HyperVReplicaReplicationDetails) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsHyperVReplicaBlueReplicationDetails

func (hvrrd HyperVReplicaReplicationDetails) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsHyperVReplicaReplicationDetails

func (hvrrd HyperVReplicaReplicationDetails) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsInMageAzureV2ReplicationDetails

func (hvrrd HyperVReplicaReplicationDetails) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsInMageReplicationDetails

func (hvrrd HyperVReplicaReplicationDetails) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) AsReplicationProviderSpecificSettings

func (hvrrd HyperVReplicaReplicationDetails) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for HyperVReplicaReplicationDetails.

func (HyperVReplicaReplicationDetails) MarshalJSON

func (hvrrd HyperVReplicaReplicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVReplicaReplicationDetails.

type HyperVSiteDetails

type HyperVSiteDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificDetails `json:"instanceType,omitempty"`
}

HyperVSiteDetails hyperVSite fabric specific details.

func (HyperVSiteDetails) AsAzureFabricSpecificDetails

func (hvsd HyperVSiteDetails) AsAzureFabricSpecificDetails() (*AzureFabricSpecificDetails, bool)

AsAzureFabricSpecificDetails is the BasicFabricSpecificDetails implementation for HyperVSiteDetails.

func (HyperVSiteDetails) AsBasicFabricSpecificDetails

func (hvsd HyperVSiteDetails) AsBasicFabricSpecificDetails() (BasicFabricSpecificDetails, bool)

AsBasicFabricSpecificDetails is the BasicFabricSpecificDetails implementation for HyperVSiteDetails.

func (HyperVSiteDetails) AsFabricSpecificDetails

func (hvsd HyperVSiteDetails) AsFabricSpecificDetails() (*FabricSpecificDetails, bool)

AsFabricSpecificDetails is the BasicFabricSpecificDetails implementation for HyperVSiteDetails.

func (HyperVSiteDetails) AsHyperVSiteDetails

func (hvsd HyperVSiteDetails) AsHyperVSiteDetails() (*HyperVSiteDetails, bool)

AsHyperVSiteDetails is the BasicFabricSpecificDetails implementation for HyperVSiteDetails.

func (HyperVSiteDetails) AsVMwareDetails

func (hvsd HyperVSiteDetails) AsVMwareDetails() (*VMwareDetails, bool)

AsVMwareDetails is the BasicFabricSpecificDetails implementation for HyperVSiteDetails.

func (HyperVSiteDetails) AsVMwareV2FabricSpecificDetails

func (hvsd HyperVSiteDetails) AsVMwareV2FabricSpecificDetails() (*VMwareV2FabricSpecificDetails, bool)

AsVMwareV2FabricSpecificDetails is the BasicFabricSpecificDetails implementation for HyperVSiteDetails.

func (HyperVSiteDetails) AsVmmDetails

func (hvsd HyperVSiteDetails) AsVmmDetails() (*VmmDetails, bool)

AsVmmDetails is the BasicFabricSpecificDetails implementation for HyperVSiteDetails.

func (HyperVSiteDetails) MarshalJSON

func (hvsd HyperVSiteDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVSiteDetails.

type HyperVVirtualMachineDetails

type HyperVVirtualMachineDetails struct {
	// SourceItemID - The source id of the object.
	SourceItemID *string `json:"sourceItemId,omitempty"`
	// Generation - The id of the object in fabric.
	Generation *string `json:"generation,omitempty"`
	// OsDetails - The Last replication time.
	OsDetails *OSDetails `json:"osDetails,omitempty"`
	// DiskDetails - The Last successful failover time.
	DiskDetails *[]DiskDetails `json:"diskDetails,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeConfigurationSettings', 'InstanceTypeHyperVVirtualMachine', 'InstanceTypeVMwareVirtualMachine', 'InstanceTypeReplicationGroupDetails'
	InstanceType InstanceTypeBasicConfigurationSettings `json:"instanceType,omitempty"`
}

HyperVVirtualMachineDetails hyper V replica provider specific settings

func (HyperVVirtualMachineDetails) AsBasicConfigurationSettings

func (hvvmd HyperVVirtualMachineDetails) AsBasicConfigurationSettings() (BasicConfigurationSettings, bool)

AsBasicConfigurationSettings is the BasicConfigurationSettings implementation for HyperVVirtualMachineDetails.

func (HyperVVirtualMachineDetails) AsConfigurationSettings

func (hvvmd HyperVVirtualMachineDetails) AsConfigurationSettings() (*ConfigurationSettings, bool)

AsConfigurationSettings is the BasicConfigurationSettings implementation for HyperVVirtualMachineDetails.

func (HyperVVirtualMachineDetails) AsHyperVVirtualMachineDetails

func (hvvmd HyperVVirtualMachineDetails) AsHyperVVirtualMachineDetails() (*HyperVVirtualMachineDetails, bool)

AsHyperVVirtualMachineDetails is the BasicConfigurationSettings implementation for HyperVVirtualMachineDetails.

func (HyperVVirtualMachineDetails) AsReplicationGroupDetails

func (hvvmd HyperVVirtualMachineDetails) AsReplicationGroupDetails() (*ReplicationGroupDetails, bool)

AsReplicationGroupDetails is the BasicConfigurationSettings implementation for HyperVVirtualMachineDetails.

func (HyperVVirtualMachineDetails) AsVMwareVirtualMachineDetails

func (hvvmd HyperVVirtualMachineDetails) AsVMwareVirtualMachineDetails() (*VMwareVirtualMachineDetails, bool)

AsVMwareVirtualMachineDetails is the BasicConfigurationSettings implementation for HyperVVirtualMachineDetails.

func (HyperVVirtualMachineDetails) MarshalJSON

func (hvvmd HyperVVirtualMachineDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVVirtualMachineDetails.

type IdentityInformation

type IdentityInformation struct {
	// IdentityProviderType - The identity provider type. Value is the ToString() of a IdentityProviderType value. Possible values include: 'RecoveryServicesActiveDirectory', 'CustomerActiveDirectory'
	IdentityProviderType IdentityProviderType `json:"identityProviderType,omitempty"`
	// TenantID - The tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
	TenantID *string `json:"tenantId,omitempty"`
	// ApplicationID - The application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
	ApplicationID *string `json:"applicationId,omitempty"`
	// ObjectID - The object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
	ObjectID *string `json:"objectId,omitempty"`
	// Audience - The intended Audience of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
	Audience *string `json:"audience,omitempty"`
	// AadAuthority - The base authority for Azure Active Directory authentication.
	AadAuthority *string `json:"aadAuthority,omitempty"`
	// CertificateThumbprint - The certificate thumbprint. Applicable only if IdentityProviderType is RecoveryServicesActiveDirectory.
	CertificateThumbprint *string `json:"certificateThumbprint,omitempty"`
}

IdentityInformation identity details.

type IdentityProviderType

type IdentityProviderType string

IdentityProviderType enumerates the values for identity provider type.

const (
	// CustomerActiveDirectory ...
	CustomerActiveDirectory IdentityProviderType = "CustomerActiveDirectory"
	// RecoveryServicesActiveDirectory ...
	RecoveryServicesActiveDirectory IdentityProviderType = "RecoveryServicesActiveDirectory"
)

func PossibleIdentityProviderTypeValues

func PossibleIdentityProviderTypeValues() []IdentityProviderType

PossibleIdentityProviderTypeValues returns an array of possible values for the IdentityProviderType const type.

type InMageAgentDetails

type InMageAgentDetails struct {
	// AgentVersion - The agent version.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// AgentUpdateStatus - A value indicating whether installed agent needs to be updated.
	AgentUpdateStatus *string `json:"agentUpdateStatus,omitempty"`
	// PostUpdateRebootStatus - A value indicating whether reboot is required after update is applied.
	PostUpdateRebootStatus *string `json:"postUpdateRebootStatus,omitempty"`
}

InMageAgentDetails the details of the InMage agent.

type InMageAzureV2ApplyRecoveryPointInput

type InMageAzureV2ApplyRecoveryPointInput struct {
	// VaultLocation - The vault location where the recovery Vm resides.
	VaultLocation *string `json:"vaultLocation,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeApplyRecoveryPointProviderSpecificInput', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicApplyRecoveryPointProviderSpecificInput `json:"instanceType,omitempty"`
}

InMageAzureV2ApplyRecoveryPointInput applyRecoveryPoint input specific to InMageAzureV2 provider.

func (InMageAzureV2ApplyRecoveryPointInput) AsA2AApplyRecoveryPointInput

func (imavarpi InMageAzureV2ApplyRecoveryPointInput) AsA2AApplyRecoveryPointInput() (*A2AApplyRecoveryPointInput, bool)

AsA2AApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for InMageAzureV2ApplyRecoveryPointInput.

func (InMageAzureV2ApplyRecoveryPointInput) AsApplyRecoveryPointProviderSpecificInput

func (imavarpi InMageAzureV2ApplyRecoveryPointInput) AsApplyRecoveryPointProviderSpecificInput() (*ApplyRecoveryPointProviderSpecificInput, bool)

AsApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for InMageAzureV2ApplyRecoveryPointInput.

func (InMageAzureV2ApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecificInput

func (imavarpi InMageAzureV2ApplyRecoveryPointInput) AsBasicApplyRecoveryPointProviderSpecificInput() (BasicApplyRecoveryPointProviderSpecificInput, bool)

AsBasicApplyRecoveryPointProviderSpecificInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for InMageAzureV2ApplyRecoveryPointInput.

func (InMageAzureV2ApplyRecoveryPointInput) AsHyperVReplicaAzureApplyRecoveryPointInput

func (imavarpi InMageAzureV2ApplyRecoveryPointInput) AsHyperVReplicaAzureApplyRecoveryPointInput() (*HyperVReplicaAzureApplyRecoveryPointInput, bool)

AsHyperVReplicaAzureApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for InMageAzureV2ApplyRecoveryPointInput.

func (InMageAzureV2ApplyRecoveryPointInput) AsInMageAzureV2ApplyRecoveryPointInput

func (imavarpi InMageAzureV2ApplyRecoveryPointInput) AsInMageAzureV2ApplyRecoveryPointInput() (*InMageAzureV2ApplyRecoveryPointInput, bool)

AsInMageAzureV2ApplyRecoveryPointInput is the BasicApplyRecoveryPointProviderSpecificInput implementation for InMageAzureV2ApplyRecoveryPointInput.

func (InMageAzureV2ApplyRecoveryPointInput) MarshalJSON

func (imavarpi InMageAzureV2ApplyRecoveryPointInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2ApplyRecoveryPointInput.

type InMageAzureV2EnableProtectionInput

type InMageAzureV2EnableProtectionInput struct {
	// MasterTargetID - The Master target Id.
	MasterTargetID *string `json:"masterTargetId,omitempty"`
	// ProcessServerID - The Process Server Id.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// StorageAccountID - The storage account name.
	StorageAccountID *string `json:"storageAccountId,omitempty"`
	// RunAsAccountID - The CS account Id.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
	// MultiVMGroupID - The multi vm group Id.
	MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
	// MultiVMGroupName - The multi vm group name.
	MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
	// DisksToInclude - The disks to include list.
	DisksToInclude *[]string `json:"disksToInclude,omitempty"`
	// TargetAzureNetworkID - The selected target Azure network Id.
	TargetAzureNetworkID *string `json:"targetAzureNetworkId,omitempty"`
	// TargetAzureSubnetID - The selected target Azure subnet Id.
	TargetAzureSubnetID *string `json:"targetAzureSubnetId,omitempty"`
	// EnableRDPOnTargetOption - The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.
	EnableRDPOnTargetOption *string `json:"enableRDPOnTargetOption,omitempty"`
	// TargetAzureVMName - The target azure Vm Name.
	TargetAzureVMName *string `json:"targetAzureVmName,omitempty"`
	// LogStorageAccountID - The storage account to be used for logging during replication.
	LogStorageAccountID *string `json:"logStorageAccountId,omitempty"`
	// TargetAzureV1ResourceGroupID - The Id of the target resource group (for classic deployment) in which the failover VM is to be created.
	TargetAzureV1ResourceGroupID *string `json:"targetAzureV1ResourceGroupId,omitempty"`
	// TargetAzureV2ResourceGroupID - The Id of the target resource group (for resource manager deployment) in which the failover VM is to be created.
	TargetAzureV2ResourceGroupID *string `json:"targetAzureV2ResourceGroupId,omitempty"`
	// UseManagedDisks - A value indicating whether managed disks should be used during failover.
	UseManagedDisks *string `json:"useManagedDisks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicEnableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

InMageAzureV2EnableProtectionInput vMware Azure specific enable protection input.

func (InMageAzureV2EnableProtectionInput) AsA2AEnableProtectionInput

func (imavepi InMageAzureV2EnableProtectionInput) AsA2AEnableProtectionInput() (*A2AEnableProtectionInput, bool)

AsA2AEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageAzureV2EnableProtectionInput.

func (InMageAzureV2EnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput

func (imavepi InMageAzureV2EnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput() (BasicEnableProtectionProviderSpecificInput, bool)

AsBasicEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageAzureV2EnableProtectionInput.

func (InMageAzureV2EnableProtectionInput) AsEnableProtectionProviderSpecificInput

func (imavepi InMageAzureV2EnableProtectionInput) AsEnableProtectionProviderSpecificInput() (*EnableProtectionProviderSpecificInput, bool)

AsEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageAzureV2EnableProtectionInput.

func (InMageAzureV2EnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput

func (imavepi InMageAzureV2EnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput() (*HyperVReplicaAzureEnableProtectionInput, bool)

AsHyperVReplicaAzureEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageAzureV2EnableProtectionInput.

func (InMageAzureV2EnableProtectionInput) AsInMageAzureV2EnableProtectionInput

func (imavepi InMageAzureV2EnableProtectionInput) AsInMageAzureV2EnableProtectionInput() (*InMageAzureV2EnableProtectionInput, bool)

AsInMageAzureV2EnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageAzureV2EnableProtectionInput.

func (InMageAzureV2EnableProtectionInput) AsInMageEnableProtectionInput

func (imavepi InMageAzureV2EnableProtectionInput) AsInMageEnableProtectionInput() (*InMageEnableProtectionInput, bool)

AsInMageEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageAzureV2EnableProtectionInput.

func (InMageAzureV2EnableProtectionInput) AsSanEnableProtectionInput

func (imavepi InMageAzureV2EnableProtectionInput) AsSanEnableProtectionInput() (*SanEnableProtectionInput, bool)

AsSanEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageAzureV2EnableProtectionInput.

func (InMageAzureV2EnableProtectionInput) MarshalJSON

func (imavepi InMageAzureV2EnableProtectionInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2EnableProtectionInput.

type InMageAzureV2EventDetails

type InMageAzureV2EventDetails struct {
	// EventType - InMage Event type. Takes one of the values of {InMageDataContract.InMageMonitoringEventType}.
	EventType *string `json:"eventType,omitempty"`
	// Category - InMage Event Category.
	Category *string `json:"category,omitempty"`
	// Component - InMage Event Component.
	Component *string `json:"component,omitempty"`
	// CorrectiveAction - Corrective Action string for the event.
	CorrectiveAction *string `json:"correctiveAction,omitempty"`
	// Details - InMage Event Details.
	Details *string `json:"details,omitempty"`
	// Summary - InMage Event Summary.
	Summary *string `json:"summary,omitempty"`
	// SiteName - VMware Site name.
	SiteName *string `json:"siteName,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeEventProviderSpecificDetails', 'InstanceTypeHyperVReplicaBaseEventDetails', 'InstanceTypeHyperVReplica2012', 'InstanceTypeHyperVReplica2012R2', 'InstanceTypeHyperVReplicaAzure', 'InstanceTypeA2A', 'InstanceTypeInMageAzureV2'
	InstanceType InstanceType `json:"instanceType,omitempty"`
}

InMageAzureV2EventDetails model class for event details of a VMwareAzureV2 event.

func (InMageAzureV2EventDetails) AsA2AEventDetails

func (imaved InMageAzureV2EventDetails) AsA2AEventDetails() (*A2AEventDetails, bool)

AsA2AEventDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) AsBasicEventProviderSpecificDetails

func (imaved InMageAzureV2EventDetails) AsBasicEventProviderSpecificDetails() (BasicEventProviderSpecificDetails, bool)

AsBasicEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) AsEventProviderSpecificDetails

func (imaved InMageAzureV2EventDetails) AsEventProviderSpecificDetails() (*EventProviderSpecificDetails, bool)

AsEventProviderSpecificDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) AsHyperVReplica2012EventDetails

func (imaved InMageAzureV2EventDetails) AsHyperVReplica2012EventDetails() (*HyperVReplica2012EventDetails, bool)

AsHyperVReplica2012EventDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) AsHyperVReplica2012R2EventDetails

func (imaved InMageAzureV2EventDetails) AsHyperVReplica2012R2EventDetails() (*HyperVReplica2012R2EventDetails, bool)

AsHyperVReplica2012R2EventDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) AsHyperVReplicaAzureEventDetails

func (imaved InMageAzureV2EventDetails) AsHyperVReplicaAzureEventDetails() (*HyperVReplicaAzureEventDetails, bool)

AsHyperVReplicaAzureEventDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) AsHyperVReplicaBaseEventDetails

func (imaved InMageAzureV2EventDetails) AsHyperVReplicaBaseEventDetails() (*HyperVReplicaBaseEventDetails, bool)

AsHyperVReplicaBaseEventDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) AsInMageAzureV2EventDetails

func (imaved InMageAzureV2EventDetails) AsInMageAzureV2EventDetails() (*InMageAzureV2EventDetails, bool)

AsInMageAzureV2EventDetails is the BasicEventProviderSpecificDetails implementation for InMageAzureV2EventDetails.

func (InMageAzureV2EventDetails) MarshalJSON

func (imaved InMageAzureV2EventDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2EventDetails.

type InMageAzureV2FailoverProviderInput

type InMageAzureV2FailoverProviderInput struct {
	// VaultLocation - Location of the vault.
	VaultLocation *string `json:"vaultLocation,omitempty"`
	// 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

InMageAzureV2FailoverProviderInput inMageAzureV2 provider specific input for failover.

func (InMageAzureV2FailoverProviderInput) AsA2AFailoverProviderInput

func (imavfpi InMageAzureV2FailoverProviderInput) AsA2AFailoverProviderInput() (*A2AFailoverProviderInput, bool)

AsA2AFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageAzureV2FailoverProviderInput.

func (InMageAzureV2FailoverProviderInput) AsBasicProviderSpecificFailoverInput

func (imavfpi InMageAzureV2FailoverProviderInput) AsBasicProviderSpecificFailoverInput() (BasicProviderSpecificFailoverInput, bool)

AsBasicProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for InMageAzureV2FailoverProviderInput.

func (InMageAzureV2FailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput

func (imavfpi InMageAzureV2FailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput() (*HyperVReplicaAzureFailbackProviderInput, bool)

AsHyperVReplicaAzureFailbackProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageAzureV2FailoverProviderInput.

func (InMageAzureV2FailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput

func (imavfpi InMageAzureV2FailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput() (*HyperVReplicaAzureFailoverProviderInput, bool)

AsHyperVReplicaAzureFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageAzureV2FailoverProviderInput.

func (InMageAzureV2FailoverProviderInput) AsInMageAzureV2FailoverProviderInput

func (imavfpi InMageAzureV2FailoverProviderInput) AsInMageAzureV2FailoverProviderInput() (*InMageAzureV2FailoverProviderInput, bool)

AsInMageAzureV2FailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageAzureV2FailoverProviderInput.

func (InMageAzureV2FailoverProviderInput) AsInMageFailoverProviderInput

func (imavfpi InMageAzureV2FailoverProviderInput) AsInMageFailoverProviderInput() (*InMageFailoverProviderInput, bool)

AsInMageFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageAzureV2FailoverProviderInput.

func (InMageAzureV2FailoverProviderInput) AsProviderSpecificFailoverInput

func (imavfpi InMageAzureV2FailoverProviderInput) AsProviderSpecificFailoverInput() (*ProviderSpecificFailoverInput, bool)

AsProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for InMageAzureV2FailoverProviderInput.

func (InMageAzureV2FailoverProviderInput) MarshalJSON

func (imavfpi InMageAzureV2FailoverProviderInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2FailoverProviderInput.

type InMageAzureV2PolicyDetails

type InMageAzureV2PolicyDetails struct {
	// CrashConsistentFrequencyInMinutes - The crash consistent snapshot frequency in minutes.
	CrashConsistentFrequencyInMinutes *int32 `json:"crashConsistentFrequencyInMinutes,omitempty"`
	// 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

InMageAzureV2PolicyDetails inMage Azure v2 specific protection profile details.

func (InMageAzureV2PolicyDetails) AsA2APolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsBasicPolicyProviderSpecificDetails

func (imavpd InMageAzureV2PolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsHyperVReplicaBasePolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsHyperVReplicaBluePolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsHyperVReplicaPolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsInMageAzureV2PolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsInMageBasePolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsInMagePolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsPolicyProviderSpecificDetails

func (imavpd InMageAzureV2PolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsRcmAzureMigrationPolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) AsVmwareCbtPolicyDetails

func (imavpd InMageAzureV2PolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageAzureV2PolicyDetails.

func (InMageAzureV2PolicyDetails) MarshalJSON

func (imavpd InMageAzureV2PolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2PolicyDetails.

type InMageAzureV2PolicyInput

type InMageAzureV2PolicyInput 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"`
	// 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', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

InMageAzureV2PolicyInput vMWare Azure specific protection profile Input.

func (InMageAzureV2PolicyInput) AsA2APolicyCreationInput

func (imavpi InMageAzureV2PolicyInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsBasicPolicyProviderSpecificInput

func (imavpi InMageAzureV2PolicyInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsHyperVReplicaAzurePolicyInput

func (imavpi InMageAzureV2PolicyInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsHyperVReplicaBluePolicyInput

func (imavpi InMageAzureV2PolicyInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsHyperVReplicaPolicyInput

func (imavpi InMageAzureV2PolicyInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsInMageAzureV2PolicyInput

func (imavpi InMageAzureV2PolicyInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsInMagePolicyInput

func (imavpi InMageAzureV2PolicyInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsPolicyProviderSpecificInput

func (imavpi InMageAzureV2PolicyInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) AsVMwareCbtPolicyCreationInput

func (imavpi InMageAzureV2PolicyInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for InMageAzureV2PolicyInput.

func (InMageAzureV2PolicyInput) MarshalJSON

func (imavpi InMageAzureV2PolicyInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2PolicyInput.

type InMageAzureV2ProtectedDiskDetails

type InMageAzureV2ProtectedDiskDetails struct {
	// DiskID - The disk id.
	DiskID *string `json:"diskId,omitempty"`
	// DiskName - The disk name.
	DiskName *string `json:"diskName,omitempty"`
	// ProtectionStage - The protection stage.
	ProtectionStage *string `json:"protectionStage,omitempty"`
	// HealthErrorCode - The health error code for the disk.
	HealthErrorCode *string `json:"healthErrorCode,omitempty"`
	// RpoInSeconds - The RPO in seconds.
	RpoInSeconds *int64 `json:"rpoInSeconds,omitempty"`
	// ResyncRequired - A value indicating whether resync is required for this disk.
	ResyncRequired *string `json:"resyncRequired,omitempty"`
	// ResyncProgressPercentage - The resync progress percentage.
	ResyncProgressPercentage *int32 `json:"resyncProgressPercentage,omitempty"`
	// ResyncDurationInSeconds - The resync duration in seconds.
	ResyncDurationInSeconds *int64 `json:"resyncDurationInSeconds,omitempty"`
	// DiskCapacityInBytes - The disk capacity in bytes.
	DiskCapacityInBytes *int64 `json:"diskCapacityInBytes,omitempty"`
	// FileSystemCapacityInBytes - The disk file system capacity in bytes.
	FileSystemCapacityInBytes *int64 `json:"fileSystemCapacityInBytes,omitempty"`
	// SourceDataInMegaBytes - The source data transit in MB.
	SourceDataInMegaBytes *float64 `json:"sourceDataInMegaBytes,omitempty"`
	// PsDataInMegaBytes - The PS data transit in MB.
	PsDataInMegaBytes *float64 `json:"psDataInMegaBytes,omitempty"`
	// TargetDataInMegaBytes - The target data transit in MB.
	TargetDataInMegaBytes *float64 `json:"targetDataInMegaBytes,omitempty"`
	// DiskResized - A value indicating whether disk is resized.
	DiskResized *string `json:"diskResized,omitempty"`
	// LastRpoCalculatedTime - The last RPO calculated time.
	LastRpoCalculatedTime *date.Time `json:"lastRpoCalculatedTime,omitempty"`
}

InMageAzureV2ProtectedDiskDetails inMageAzureV2 protected disk details.

type InMageAzureV2RecoveryPointDetails

type InMageAzureV2RecoveryPointDetails struct {
	// InstanceType - READ-ONLY; Gets the instance type.
	InstanceType *string `json:"instanceType,omitempty"`
	// IsMultiVMSyncPoint - A value indicating whether the recovery point is multi VM consistent.
	IsMultiVMSyncPoint *string `json:"isMultiVmSyncPoint,omitempty"`
	// Type - READ-ONLY; Gets the provider type.
	Type *string `json:"Type,omitempty"`
}

InMageAzureV2RecoveryPointDetails inMage Azure V2 provider specific recovery point details.

func (InMageAzureV2RecoveryPointDetails) MarshalJSON

func (imavrpd InMageAzureV2RecoveryPointDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2RecoveryPointDetails.

type InMageAzureV2ReplicationDetails

type InMageAzureV2ReplicationDetails struct {
	// InfrastructureVMID - The infrastructure VM Id.
	InfrastructureVMID *string `json:"infrastructureVmId,omitempty"`
	// VCenterInfrastructureID - The vCenter infrastructure Id.
	VCenterInfrastructureID *string `json:"vCenterInfrastructureId,omitempty"`
	// ProtectionStage - The protection stage.
	ProtectionStage *string `json:"protectionStage,omitempty"`
	// VMID - The virtual machine Id.
	VMID *string `json:"vmId,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"`
	// ResyncProgressPercentage - The resync progress percentage.
	ResyncProgressPercentage *int32 `json:"resyncProgressPercentage,omitempty"`
	// RpoInSeconds - The RPO in seconds.
	RpoInSeconds *int64 `json:"rpoInSeconds,omitempty"`
	// CompressedDataRateInMB - The compressed data change rate in MB.
	CompressedDataRateInMB *float64 `json:"compressedDataRateInMB,omitempty"`
	// UncompressedDataRateInMB - The uncompressed data change rate in MB.
	UncompressedDataRateInMB *float64 `json:"uncompressedDataRateInMB,omitempty"`
	// IPAddress - The source IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
	// AgentVersion - The agent version.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// IsAgentUpdateRequired - A value indicating whether installed agent needs to be updated.
	IsAgentUpdateRequired *string `json:"isAgentUpdateRequired,omitempty"`
	// IsRebootAfterUpdateRequired - A value indicating whether the source server requires a restart after update.
	IsRebootAfterUpdateRequired *string `json:"isRebootAfterUpdateRequired,omitempty"`
	// LastHeartbeat - The last heartbeat received from the source server.
	LastHeartbeat *date.Time `json:"lastHeartbeat,omitempty"`
	// ProcessServerID - The process server Id.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// MultiVMGroupID - The multi vm group Id.
	MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
	// MultiVMGroupName - The multi vm group name.
	MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
	// MultiVMSyncStatus - A value indicating whether multi vm sync is enabled or disabled.
	MultiVMSyncStatus *string `json:"multiVmSyncStatus,omitempty"`
	// ProtectedDisks - The list of protected disks.
	ProtectedDisks *[]InMageAzureV2ProtectedDiskDetails `json:"protectedDisks,omitempty"`
	// DiskResized - A value indicating whether any disk is resized for this VM.
	DiskResized *string `json:"diskResized,omitempty"`
	// MasterTargetID - The master target Id.
	MasterTargetID *string `json:"masterTargetId,omitempty"`
	// SourceVMCPUCount - The CPU count of the VM on the primary side.
	SourceVMCPUCount *int32 `json:"sourceVmCPUCount,omitempty"`
	// SourceVMRAMSizeInMB - The RAM size of the VM on the primary side.
	SourceVMRAMSizeInMB *int32 `json:"sourceVmRAMSizeInMB,omitempty"`
	// OsType - The type of the OS on the VM.
	OsType *string `json:"osType,omitempty"`
	// VhdName - The OS disk VHD name.
	VhdName *string `json:"vhdName,omitempty"`
	// OsDiskID - The id of the disk containing the OS.
	OsDiskID *string `json:"osDiskId,omitempty"`
	// AzureVMDiskDetails - Azure VM Disk details.
	AzureVMDiskDetails *[]AzureVMDiskDetails `json:"azureVMDiskDetails,omitempty"`
	// RecoveryAzureVMName - Recovery Azure given name.
	RecoveryAzureVMName *string `json:"recoveryAzureVMName,omitempty"`
	// RecoveryAzureVMSize - The Recovery Azure VM size.
	RecoveryAzureVMSize *string `json:"recoveryAzureVMSize,omitempty"`
	// RecoveryAzureStorageAccount - The recovery Azure storage account.
	RecoveryAzureStorageAccount *string `json:"recoveryAzureStorageAccount,omitempty"`
	// RecoveryAzureLogStorageAccountID - The ARM id of the log storage account used for replication. This will be set to null if no log storage account was provided during enable protection.
	RecoveryAzureLogStorageAccountID *string `json:"recoveryAzureLogStorageAccountId,omitempty"`
	// VMNics - The PE Network details.
	VMNics *[]VMNicDetails `json:"vmNics,omitempty"`
	// SelectedRecoveryAzureNetworkID - The selected recovery azure network Id.
	SelectedRecoveryAzureNetworkID *string `json:"selectedRecoveryAzureNetworkId,omitempty"`
	// DiscoveryType - A value indicating the discovery type of the machine. Value can be vCenter or physical.
	DiscoveryType *string `json:"discoveryType,omitempty"`
	// EnableRDPOnTargetOption - The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.
	EnableRDPOnTargetOption *string `json:"enableRDPOnTargetOption,omitempty"`
	// Datastores - The data stores of the on-premise machine. Value can be list of strings that contain data store names.
	Datastores *[]string `json:"datastores,omitempty"`
	// TargetVMID - The ARM Id of the target Azure VM. This value will be null until the VM is failed over. Only after failure it will be populated with the ARM Id of the Azure VM.
	TargetVMID *string `json:"targetVmId,omitempty"`
	// RecoveryAzureResourceGroupID - The target resource group Id.
	RecoveryAzureResourceGroupID *string `json:"recoveryAzureResourceGroupId,omitempty"`
	// RecoveryAvailabilitySetID - The recovery availability set Id.
	RecoveryAvailabilitySetID *string `json:"recoveryAvailabilitySetId,omitempty"`
	// UseManagedDisks - A value indicating whether managed disks should be used during failover.
	UseManagedDisks *string `json:"useManagedDisks,omitempty"`
	// LicenseType - License Type of the VM to be used.
	LicenseType *string `json:"licenseType,omitempty"`
	// ValidationErrors - The validation errors of the on-premise machine Value can be list of validation errors.
	ValidationErrors *[]HealthError `json:"validationErrors,omitempty"`
	// LastRpoCalculatedTime - The last RPO calculated time.
	LastRpoCalculatedTime *date.Time `json:"lastRpoCalculatedTime,omitempty"`
	// LastUpdateReceivedTime - The last update time received from on-prem components.
	LastUpdateReceivedTime *date.Time `json:"lastUpdateReceivedTime,omitempty"`
	// ReplicaID - The replica id of the protected item.
	ReplicaID *string `json:"replicaId,omitempty"`
	// OsVersion - The OS Version of the protected item.
	OsVersion *string `json:"osVersion,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

InMageAzureV2ReplicationDetails inMageAzureV2 provider specific settings

func (InMageAzureV2ReplicationDetails) AsA2AReplicationDetails

func (imavrd InMageAzureV2ReplicationDetails) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsBasicReplicationProviderSpecificSettings

func (imavrd InMageAzureV2ReplicationDetails) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsHyperVReplicaAzureReplicationDetails

func (imavrd InMageAzureV2ReplicationDetails) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsHyperVReplicaBaseReplicationDetails

func (imavrd InMageAzureV2ReplicationDetails) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsHyperVReplicaBlueReplicationDetails

func (imavrd InMageAzureV2ReplicationDetails) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsHyperVReplicaReplicationDetails

func (imavrd InMageAzureV2ReplicationDetails) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsInMageAzureV2ReplicationDetails

func (imavrd InMageAzureV2ReplicationDetails) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsInMageReplicationDetails

func (imavrd InMageAzureV2ReplicationDetails) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) AsReplicationProviderSpecificSettings

func (imavrd InMageAzureV2ReplicationDetails) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for InMageAzureV2ReplicationDetails.

func (InMageAzureV2ReplicationDetails) MarshalJSON

func (imavrd InMageAzureV2ReplicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2ReplicationDetails.

type InMageAzureV2ReprotectInput

type InMageAzureV2ReprotectInput struct {
	// MasterTargetID - The Master target Id.
	MasterTargetID *string `json:"masterTargetId,omitempty"`
	// ProcessServerID - The Process Server Id.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// StorageAccountID - The storage account id.
	StorageAccountID *string `json:"storageAccountId,omitempty"`
	// RunAsAccountID - The CS account Id.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
	// PolicyID - The Policy Id.
	PolicyID *string `json:"policyId,omitempty"`
	// LogStorageAccountID - The storage account to be used for logging during replication.
	LogStorageAccountID *string `json:"logStorageAccountId,omitempty"`
	// DisksToInclude - The disks to include list.
	DisksToInclude *[]string `json:"disksToInclude,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeReverseReplicationProviderSpecificInput', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicReverseReplicationProviderSpecificInput `json:"instanceType,omitempty"`
}

InMageAzureV2ReprotectInput inMageAzureV2 specific provider input.

func (InMageAzureV2ReprotectInput) AsA2AReprotectInput

func (imavri InMageAzureV2ReprotectInput) AsA2AReprotectInput() (*A2AReprotectInput, bool)

AsA2AReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageAzureV2ReprotectInput.

func (InMageAzureV2ReprotectInput) AsBasicReverseReplicationProviderSpecificInput

func (imavri InMageAzureV2ReprotectInput) AsBasicReverseReplicationProviderSpecificInput() (BasicReverseReplicationProviderSpecificInput, bool)

AsBasicReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageAzureV2ReprotectInput.

func (InMageAzureV2ReprotectInput) AsHyperVReplicaAzureReprotectInput

func (imavri InMageAzureV2ReprotectInput) AsHyperVReplicaAzureReprotectInput() (*HyperVReplicaAzureReprotectInput, bool)

AsHyperVReplicaAzureReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageAzureV2ReprotectInput.

func (InMageAzureV2ReprotectInput) AsInMageAzureV2ReprotectInput

func (imavri InMageAzureV2ReprotectInput) AsInMageAzureV2ReprotectInput() (*InMageAzureV2ReprotectInput, bool)

AsInMageAzureV2ReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageAzureV2ReprotectInput.

func (InMageAzureV2ReprotectInput) AsInMageReprotectInput

func (imavri InMageAzureV2ReprotectInput) AsInMageReprotectInput() (*InMageReprotectInput, bool)

AsInMageReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageAzureV2ReprotectInput.

func (InMageAzureV2ReprotectInput) AsReverseReplicationProviderSpecificInput

func (imavri InMageAzureV2ReprotectInput) AsReverseReplicationProviderSpecificInput() (*ReverseReplicationProviderSpecificInput, bool)

AsReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageAzureV2ReprotectInput.

func (InMageAzureV2ReprotectInput) MarshalJSON

func (imavri InMageAzureV2ReprotectInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2ReprotectInput.

type InMageAzureV2UpdateReplicationProtectedItemInput

type InMageAzureV2UpdateReplicationProtectedItemInput struct {
	// RecoveryAzureV1ResourceGroupID - The recovery Azure resource group Id for classic deployment.
	RecoveryAzureV1ResourceGroupID *string `json:"recoveryAzureV1ResourceGroupId,omitempty"`
	// RecoveryAzureV2ResourceGroupID - The recovery Azure resource group Id for resource manager deployment.
	RecoveryAzureV2ResourceGroupID *string `json:"recoveryAzureV2ResourceGroupId,omitempty"`
	// UseManagedDisks - A value indicating whether managed disks should be used during failover.
	UseManagedDisks *string `json:"useManagedDisks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeUpdateReplicationProtectedItemProviderInput', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicUpdateReplicationProtectedItemProviderInput `json:"instanceType,omitempty"`
}

InMageAzureV2UpdateReplicationProtectedItemInput inMage Azure V2 input to update replication protected item.

func (InMageAzureV2UpdateReplicationProtectedItemInput) AsA2AUpdateReplicationProtectedItemInput

func (imavurpii InMageAzureV2UpdateReplicationProtectedItemInput) AsA2AUpdateReplicationProtectedItemInput() (*A2AUpdateReplicationProtectedItemInput, bool)

AsA2AUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for InMageAzureV2UpdateReplicationProtectedItemInput.

func (InMageAzureV2UpdateReplicationProtectedItemInput) AsBasicUpdateReplicationProtectedItemProviderInput

func (imavurpii InMageAzureV2UpdateReplicationProtectedItemInput) AsBasicUpdateReplicationProtectedItemProviderInput() (BasicUpdateReplicationProtectedItemProviderInput, bool)

AsBasicUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for InMageAzureV2UpdateReplicationProtectedItemInput.

func (InMageAzureV2UpdateReplicationProtectedItemInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput

func (imavurpii InMageAzureV2UpdateReplicationProtectedItemInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput() (*HyperVReplicaAzureUpdateReplicationProtectedItemInput, bool)

AsHyperVReplicaAzureUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for InMageAzureV2UpdateReplicationProtectedItemInput.

func (InMageAzureV2UpdateReplicationProtectedItemInput) AsInMageAzureV2UpdateReplicationProtectedItemInput

func (imavurpii InMageAzureV2UpdateReplicationProtectedItemInput) AsInMageAzureV2UpdateReplicationProtectedItemInput() (*InMageAzureV2UpdateReplicationProtectedItemInput, bool)

AsInMageAzureV2UpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for InMageAzureV2UpdateReplicationProtectedItemInput.

func (InMageAzureV2UpdateReplicationProtectedItemInput) AsUpdateReplicationProtectedItemProviderInput

func (imavurpii InMageAzureV2UpdateReplicationProtectedItemInput) AsUpdateReplicationProtectedItemProviderInput() (*UpdateReplicationProtectedItemProviderInput, bool)

AsUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for InMageAzureV2UpdateReplicationProtectedItemInput.

func (InMageAzureV2UpdateReplicationProtectedItemInput) MarshalJSON

func (imavurpii InMageAzureV2UpdateReplicationProtectedItemInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageAzureV2UpdateReplicationProtectedItemInput.

type InMageBasePolicyDetails

type InMageBasePolicyDetails 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

InMageBasePolicyDetails base class for the policies of providers using InMage replication.

func (InMageBasePolicyDetails) AsA2APolicyDetails

func (imbpd InMageBasePolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsBasicPolicyProviderSpecificDetails

func (imbpd InMageBasePolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (imbpd InMageBasePolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsHyperVReplicaBasePolicyDetails

func (imbpd InMageBasePolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsHyperVReplicaBluePolicyDetails

func (imbpd InMageBasePolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsHyperVReplicaPolicyDetails

func (imbpd InMageBasePolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsInMageAzureV2PolicyDetails

func (imbpd InMageBasePolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsInMageBasePolicyDetails

func (imbpd InMageBasePolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsInMagePolicyDetails

func (imbpd InMageBasePolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsPolicyProviderSpecificDetails

func (imbpd InMageBasePolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsRcmAzureMigrationPolicyDetails

func (imbpd InMageBasePolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) AsVmwareCbtPolicyDetails

func (imbpd InMageBasePolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMageBasePolicyDetails.

func (InMageBasePolicyDetails) MarshalJSON

func (imbpd InMageBasePolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageBasePolicyDetails.

type InMageDisableProtectionProviderSpecificInput

type InMageDisableProtectionProviderSpecificInput struct {
	// ReplicaVMDeletionStatus - A value indicating whether the replica VM should be destroyed or retained. Values from Delete and Retain.
	ReplicaVMDeletionStatus *string `json:"replicaVmDeletionStatus,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeDisableProtectionProviderSpecificInput', 'InstanceTypeInMage'
	InstanceType InstanceTypeBasicDisableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

InMageDisableProtectionProviderSpecificInput inMage disable protection provider specific input.

func (InMageDisableProtectionProviderSpecificInput) AsBasicDisableProtectionProviderSpecificInput

func (imdppsi InMageDisableProtectionProviderSpecificInput) AsBasicDisableProtectionProviderSpecificInput() (BasicDisableProtectionProviderSpecificInput, bool)

AsBasicDisableProtectionProviderSpecificInput is the BasicDisableProtectionProviderSpecificInput implementation for InMageDisableProtectionProviderSpecificInput.

func (InMageDisableProtectionProviderSpecificInput) AsDisableProtectionProviderSpecificInput

func (imdppsi InMageDisableProtectionProviderSpecificInput) AsDisableProtectionProviderSpecificInput() (*DisableProtectionProviderSpecificInput, bool)

AsDisableProtectionProviderSpecificInput is the BasicDisableProtectionProviderSpecificInput implementation for InMageDisableProtectionProviderSpecificInput.

func (InMageDisableProtectionProviderSpecificInput) AsInMageDisableProtectionProviderSpecificInput

func (imdppsi InMageDisableProtectionProviderSpecificInput) AsInMageDisableProtectionProviderSpecificInput() (*InMageDisableProtectionProviderSpecificInput, bool)

AsInMageDisableProtectionProviderSpecificInput is the BasicDisableProtectionProviderSpecificInput implementation for InMageDisableProtectionProviderSpecificInput.

func (InMageDisableProtectionProviderSpecificInput) MarshalJSON

func (imdppsi InMageDisableProtectionProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageDisableProtectionProviderSpecificInput.

type InMageDiskDetails

type InMageDiskDetails struct {
	// DiskID - The disk Id.
	DiskID *string `json:"diskId,omitempty"`
	// DiskName - The disk name.
	DiskName *string `json:"diskName,omitempty"`
	// DiskSizeInMB - The disk size in MB.
	DiskSizeInMB *string `json:"diskSizeInMB,omitempty"`
	// DiskType - Whether disk is system disk or data disk.
	DiskType *string `json:"diskType,omitempty"`
	// DiskConfiguration - Whether disk is dynamic disk or basic disk.
	DiskConfiguration *string `json:"diskConfiguration,omitempty"`
	// VolumeList - Volumes of the disk.
	VolumeList *[]DiskVolumeDetails `json:"volumeList,omitempty"`
}

InMageDiskDetails vMware/Physical specific Disk Details

type InMageDiskExclusionInput

type InMageDiskExclusionInput struct {
	// VolumeOptions - The volume label based option for disk exclusion.
	VolumeOptions *[]InMageVolumeExclusionOptions `json:"volumeOptions,omitempty"`
	// DiskSignatureOptions - The guest disk signature based option for disk exclusion.
	DiskSignatureOptions *[]InMageDiskSignatureExclusionOptions `json:"diskSignatureOptions,omitempty"`
}

InMageDiskExclusionInput diskExclusionInput when doing enable protection of virtual machine in InMage provider.

type InMageDiskSignatureExclusionOptions

type InMageDiskSignatureExclusionOptions struct {
	// DiskSignature - The guest signature of disk to be excluded from replication.
	DiskSignature *string `json:"diskSignature,omitempty"`
}

InMageDiskSignatureExclusionOptions guest disk signature based disk exclusion option when doing enable protection of virtual machine in InMage provider.

type InMageEnableProtectionInput

type InMageEnableProtectionInput struct {
	// VMFriendlyName - The Vm Name.
	VMFriendlyName *string `json:"vmFriendlyName,omitempty"`
	// MasterTargetID - The Master Target Id.
	MasterTargetID *string `json:"masterTargetId,omitempty"`
	// ProcessServerID - The Process Server Id.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// RetentionDrive - The retention drive to use on the MT.
	RetentionDrive *string `json:"retentionDrive,omitempty"`
	// RunAsAccountID - The CS account Id.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
	// MultiVMGroupID - The multi vm group Id.
	MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
	// MultiVMGroupName - The multi vm group name.
	MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
	// DatastoreName - The target data store name.
	DatastoreName *string `json:"datastoreName,omitempty"`
	// DiskExclusionInput - The enable disk exclusion input.
	DiskExclusionInput *InMageDiskExclusionInput `json:"diskExclusionInput,omitempty"`
	// DisksToInclude - The disks to include list.
	DisksToInclude *[]string `json:"disksToInclude,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicEnableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

InMageEnableProtectionInput vMware Azure specific enable protection input.

func (InMageEnableProtectionInput) AsA2AEnableProtectionInput

func (imepi InMageEnableProtectionInput) AsA2AEnableProtectionInput() (*A2AEnableProtectionInput, bool)

AsA2AEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageEnableProtectionInput.

func (InMageEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput

func (imepi InMageEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput() (BasicEnableProtectionProviderSpecificInput, bool)

AsBasicEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageEnableProtectionInput.

func (InMageEnableProtectionInput) AsEnableProtectionProviderSpecificInput

func (imepi InMageEnableProtectionInput) AsEnableProtectionProviderSpecificInput() (*EnableProtectionProviderSpecificInput, bool)

AsEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageEnableProtectionInput.

func (InMageEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput

func (imepi InMageEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput() (*HyperVReplicaAzureEnableProtectionInput, bool)

AsHyperVReplicaAzureEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageEnableProtectionInput.

func (InMageEnableProtectionInput) AsInMageAzureV2EnableProtectionInput

func (imepi InMageEnableProtectionInput) AsInMageAzureV2EnableProtectionInput() (*InMageAzureV2EnableProtectionInput, bool)

AsInMageAzureV2EnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageEnableProtectionInput.

func (InMageEnableProtectionInput) AsInMageEnableProtectionInput

func (imepi InMageEnableProtectionInput) AsInMageEnableProtectionInput() (*InMageEnableProtectionInput, bool)

AsInMageEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageEnableProtectionInput.

func (InMageEnableProtectionInput) AsSanEnableProtectionInput

func (imepi InMageEnableProtectionInput) AsSanEnableProtectionInput() (*SanEnableProtectionInput, bool)

AsSanEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for InMageEnableProtectionInput.

func (InMageEnableProtectionInput) MarshalJSON

func (imepi InMageEnableProtectionInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageEnableProtectionInput.

type InMageFailoverProviderInput

type InMageFailoverProviderInput struct {
	// RecoveryPointType - The recovery point type. Values from LatestTime, LatestTag or Custom. In the case of custom, the recovery point provided by RecoveryPointId will be used. In the other two cases, recovery point id will be ignored. Possible values include: 'LatestTime', 'LatestTag', 'Custom'
	RecoveryPointType RecoveryPointType `json:"recoveryPointType,omitempty"`
	// 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

InMageFailoverProviderInput provider specific input for InMage failover.

func (InMageFailoverProviderInput) AsA2AFailoverProviderInput

func (imfpi InMageFailoverProviderInput) AsA2AFailoverProviderInput() (*A2AFailoverProviderInput, bool)

AsA2AFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageFailoverProviderInput.

func (InMageFailoverProviderInput) AsBasicProviderSpecificFailoverInput

func (imfpi InMageFailoverProviderInput) AsBasicProviderSpecificFailoverInput() (BasicProviderSpecificFailoverInput, bool)

AsBasicProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for InMageFailoverProviderInput.

func (InMageFailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput

func (imfpi InMageFailoverProviderInput) AsHyperVReplicaAzureFailbackProviderInput() (*HyperVReplicaAzureFailbackProviderInput, bool)

AsHyperVReplicaAzureFailbackProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageFailoverProviderInput.

func (InMageFailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput

func (imfpi InMageFailoverProviderInput) AsHyperVReplicaAzureFailoverProviderInput() (*HyperVReplicaAzureFailoverProviderInput, bool)

AsHyperVReplicaAzureFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageFailoverProviderInput.

func (InMageFailoverProviderInput) AsInMageAzureV2FailoverProviderInput

func (imfpi InMageFailoverProviderInput) AsInMageAzureV2FailoverProviderInput() (*InMageAzureV2FailoverProviderInput, bool)

AsInMageAzureV2FailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageFailoverProviderInput.

func (InMageFailoverProviderInput) AsInMageFailoverProviderInput

func (imfpi InMageFailoverProviderInput) AsInMageFailoverProviderInput() (*InMageFailoverProviderInput, bool)

AsInMageFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for InMageFailoverProviderInput.

func (InMageFailoverProviderInput) AsProviderSpecificFailoverInput

func (imfpi InMageFailoverProviderInput) AsProviderSpecificFailoverInput() (*ProviderSpecificFailoverInput, bool)

AsProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for InMageFailoverProviderInput.

func (InMageFailoverProviderInput) MarshalJSON

func (imfpi InMageFailoverProviderInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageFailoverProviderInput.

type InMagePolicyDetails

type InMagePolicyDetails 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

InMagePolicyDetails inMage specific protection profile details.

func (InMagePolicyDetails) AsA2APolicyDetails

func (impd InMagePolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsBasicPolicyProviderSpecificDetails

func (impd InMagePolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (impd InMagePolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsHyperVReplicaBasePolicyDetails

func (impd InMagePolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsHyperVReplicaBluePolicyDetails

func (impd InMagePolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsHyperVReplicaPolicyDetails

func (impd InMagePolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsInMageAzureV2PolicyDetails

func (impd InMagePolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsInMageBasePolicyDetails

func (impd InMagePolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsInMagePolicyDetails

func (impd InMagePolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsPolicyProviderSpecificDetails

func (impd InMagePolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsRcmAzureMigrationPolicyDetails

func (impd InMagePolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) AsVmwareCbtPolicyDetails

func (impd InMagePolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for InMagePolicyDetails.

func (InMagePolicyDetails) MarshalJSON

func (impd InMagePolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMagePolicyDetails.

type InMagePolicyInput

type InMagePolicyInput 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. Value should be 'Enabled' or 'Disabled'. Possible values include: 'Enable', 'Disable'
	MultiVMSyncStatus SetMultiVMSyncStatus `json:"multiVmSyncStatus,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

InMagePolicyInput vMWare Azure specific protection profile Input.

func (InMagePolicyInput) AsA2APolicyCreationInput

func (impi InMagePolicyInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsBasicPolicyProviderSpecificInput

func (impi InMagePolicyInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsHyperVReplicaAzurePolicyInput

func (impi InMagePolicyInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsHyperVReplicaBluePolicyInput

func (impi InMagePolicyInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsHyperVReplicaPolicyInput

func (impi InMagePolicyInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsInMageAzureV2PolicyInput

func (impi InMagePolicyInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsInMagePolicyInput

func (impi InMagePolicyInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsPolicyProviderSpecificInput

func (impi InMagePolicyInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) AsVMwareCbtPolicyCreationInput

func (impi InMagePolicyInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for InMagePolicyInput.

func (InMagePolicyInput) MarshalJSON

func (impi InMagePolicyInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMagePolicyInput.

type InMageProtectedDiskDetails

type InMageProtectedDiskDetails struct {
	// DiskID - The disk id.
	DiskID *string `json:"diskId,omitempty"`
	// DiskName - The disk name.
	DiskName *string `json:"diskName,omitempty"`
	// ProtectionStage - The protection stage.
	ProtectionStage *string `json:"protectionStage,omitempty"`
	// HealthErrorCode - The health error code for the disk.
	HealthErrorCode *string `json:"healthErrorCode,omitempty"`
	// RpoInSeconds - The RPO in seconds.
	RpoInSeconds *int64 `json:"rpoInSeconds,omitempty"`
	// ResyncRequired - A value indicating whether resync is required for this disk.
	ResyncRequired *string `json:"resyncRequired,omitempty"`
	// ResyncProgressPercentage - The resync progress percentage.
	ResyncProgressPercentage *int32 `json:"resyncProgressPercentage,omitempty"`
	// ResyncDurationInSeconds - The resync duration in seconds.
	ResyncDurationInSeconds *int64 `json:"resyncDurationInSeconds,omitempty"`
	// DiskCapacityInBytes - The disk capacity in bytes.
	DiskCapacityInBytes *int64 `json:"diskCapacityInBytes,omitempty"`
	// FileSystemCapacityInBytes - The file system capacity in bytes.
	FileSystemCapacityInBytes *int64 `json:"fileSystemCapacityInBytes,omitempty"`
	// SourceDataInMB - The source data transit in MB.
	SourceDataInMB *float64 `json:"sourceDataInMB,omitempty"`
	// PsDataInMB - The PS data transit in MB.
	PsDataInMB *float64 `json:"psDataInMB,omitempty"`
	// TargetDataInMB - The target data transit in MB.
	TargetDataInMB *float64 `json:"targetDataInMB,omitempty"`
	// DiskResized - A value indicating whether disk is resized.
	DiskResized *string `json:"diskResized,omitempty"`
	// LastRpoCalculatedTime - The last RPO calculated time.
	LastRpoCalculatedTime *date.Time `json:"lastRpoCalculatedTime,omitempty"`
}

InMageProtectedDiskDetails inMage protected disk details.

type InMageReplicationDetails

type InMageReplicationDetails struct {
	// ActiveSiteType - The active location of the VM. If the VM is being protected from Azure, this field will take values from { Azure, OnPrem }. If the VM is being protected between two data-centers, this field will be OnPrem always.
	ActiveSiteType *string `json:"activeSiteType,omitempty"`
	// SourceVMCPUCount - The CPU count of the VM on the primary side.
	SourceVMCPUCount *int32 `json:"sourceVmCPUCount,omitempty"`
	// SourceVMRAMSizeInMB - The RAM size of the VM on the primary side.
	SourceVMRAMSizeInMB *int32 `json:"sourceVmRAMSizeInMB,omitempty"`
	// OsDetails - The OS details.
	OsDetails *OSDiskDetails `json:"osDetails,omitempty"`
	// ProtectionStage - The protection stage.
	ProtectionStage *string `json:"protectionStage,omitempty"`
	// VMID - The virtual machine Id.
	VMID *string `json:"vmId,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"`
	// ResyncDetails - The resync details of the machine
	ResyncDetails *InitialReplicationDetails `json:"resyncDetails,omitempty"`
	// RetentionWindowStart - The retention window start time.
	RetentionWindowStart *date.Time `json:"retentionWindowStart,omitempty"`
	// RetentionWindowEnd - The retention window end time.
	RetentionWindowEnd *date.Time `json:"retentionWindowEnd,omitempty"`
	// CompressedDataRateInMB - The compressed data change rate in MB.
	CompressedDataRateInMB *float64 `json:"compressedDataRateInMB,omitempty"`
	// UncompressedDataRateInMB - The uncompressed data change rate in MB.
	UncompressedDataRateInMB *float64 `json:"uncompressedDataRateInMB,omitempty"`
	// RpoInSeconds - The RPO in seconds.
	RpoInSeconds *int64 `json:"rpoInSeconds,omitempty"`
	// ProtectedDisks - The list of protected disks.
	ProtectedDisks *[]InMageProtectedDiskDetails `json:"protectedDisks,omitempty"`
	// IPAddress - The source IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
	// LastHeartbeat - The last heartbeat received from the source server.
	LastHeartbeat *date.Time `json:"lastHeartbeat,omitempty"`
	// ProcessServerID - The process server Id.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// MasterTargetID - The master target Id.
	MasterTargetID *string `json:"masterTargetId,omitempty"`
	// ConsistencyPoints - The collection of Consistency points.
	ConsistencyPoints map[string]*date.Time `json:"consistencyPoints"`
	// DiskResized - A value indicating whether any disk is resized for this VM.
	DiskResized *string `json:"diskResized,omitempty"`
	// RebootAfterUpdateStatus - A value indicating whether the source server requires a restart after update.
	RebootAfterUpdateStatus *string `json:"rebootAfterUpdateStatus,omitempty"`
	// MultiVMGroupID - The multi vm group Id, if any.
	MultiVMGroupID *string `json:"multiVmGroupId,omitempty"`
	// MultiVMGroupName - The multi vm group name, if any.
	MultiVMGroupName *string `json:"multiVmGroupName,omitempty"`
	// MultiVMSyncStatus - A value indicating whether the multi vm sync is enabled or disabled.
	MultiVMSyncStatus *string `json:"multiVmSyncStatus,omitempty"`
	// AgentDetails - The agent details.
	AgentDetails *InMageAgentDetails `json:"agentDetails,omitempty"`
	// VCenterInfrastructureID - The vCenter infrastructure Id.
	VCenterInfrastructureID *string `json:"vCenterInfrastructureId,omitempty"`
	// InfrastructureVMID - The infrastructure VM Id.
	InfrastructureVMID *string `json:"infrastructureVmId,omitempty"`
	// VMNics - The PE Network details.
	VMNics *[]VMNicDetails `json:"vmNics,omitempty"`
	// DiscoveryType - A value indicating the discovery type of the machine.
	DiscoveryType *string `json:"discoveryType,omitempty"`
	// AzureStorageAccountID - A value indicating the underlying Azure storage account. If the VM is not running in Azure, this value shall be set to null.
	AzureStorageAccountID *string `json:"azureStorageAccountId,omitempty"`
	// Datastores - The data stores of the on-premise machine Value can be list of strings that contain data store names
	Datastores *[]string `json:"datastores,omitempty"`
	// ValidationErrors - The validation errors of the on-premise machine Value can be list of validation errors
	ValidationErrors *[]HealthError `json:"validationErrors,omitempty"`
	// LastRpoCalculatedTime - The last RPO calculated time.
	LastRpoCalculatedTime *date.Time `json:"lastRpoCalculatedTime,omitempty"`
	// LastUpdateReceivedTime - The last update time received from on-prem components.
	LastUpdateReceivedTime *date.Time `json:"lastUpdateReceivedTime,omitempty"`
	// ReplicaID - The replica id of the protected item.
	ReplicaID *string `json:"replicaId,omitempty"`
	// OsVersion - The OS Version of the protected item.
	OsVersion *string `json:"osVersion,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

InMageReplicationDetails inMage provider specific settings

func (InMageReplicationDetails) AsA2AReplicationDetails

func (imrd InMageReplicationDetails) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsBasicReplicationProviderSpecificSettings

func (imrd InMageReplicationDetails) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsHyperVReplicaAzureReplicationDetails

func (imrd InMageReplicationDetails) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsHyperVReplicaBaseReplicationDetails

func (imrd InMageReplicationDetails) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsHyperVReplicaBlueReplicationDetails

func (imrd InMageReplicationDetails) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsHyperVReplicaReplicationDetails

func (imrd InMageReplicationDetails) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsInMageAzureV2ReplicationDetails

func (imrd InMageReplicationDetails) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsInMageReplicationDetails

func (imrd InMageReplicationDetails) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) AsReplicationProviderSpecificSettings

func (imrd InMageReplicationDetails) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for InMageReplicationDetails.

func (InMageReplicationDetails) MarshalJSON

func (imrd InMageReplicationDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageReplicationDetails.

type InMageReprotectInput

type InMageReprotectInput struct {
	// MasterTargetID - The Master Target Id.
	MasterTargetID *string `json:"masterTargetId,omitempty"`
	// ProcessServerID - The Process Server Id.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// RetentionDrive - The retention drive to use on the MT.
	RetentionDrive *string `json:"retentionDrive,omitempty"`
	// RunAsAccountID - The CS account Id.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
	// DatastoreName - The target data store name.
	DatastoreName *string `json:"datastoreName,omitempty"`
	// DiskExclusionInput - The enable disk exclusion input.
	DiskExclusionInput *InMageDiskExclusionInput `json:"diskExclusionInput,omitempty"`
	// ProfileID - The Policy Id.
	ProfileID *string `json:"profileId,omitempty"`
	// DisksToInclude - The disks to include list.
	DisksToInclude *[]string `json:"disksToInclude,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeReverseReplicationProviderSpecificInput', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicReverseReplicationProviderSpecificInput `json:"instanceType,omitempty"`
}

InMageReprotectInput inMageAzureV2 specific provider input.

func (InMageReprotectInput) AsA2AReprotectInput

func (imri InMageReprotectInput) AsA2AReprotectInput() (*A2AReprotectInput, bool)

AsA2AReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageReprotectInput.

func (InMageReprotectInput) AsBasicReverseReplicationProviderSpecificInput

func (imri InMageReprotectInput) AsBasicReverseReplicationProviderSpecificInput() (BasicReverseReplicationProviderSpecificInput, bool)

AsBasicReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageReprotectInput.

func (InMageReprotectInput) AsHyperVReplicaAzureReprotectInput

func (imri InMageReprotectInput) AsHyperVReplicaAzureReprotectInput() (*HyperVReplicaAzureReprotectInput, bool)

AsHyperVReplicaAzureReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageReprotectInput.

func (InMageReprotectInput) AsInMageAzureV2ReprotectInput

func (imri InMageReprotectInput) AsInMageAzureV2ReprotectInput() (*InMageAzureV2ReprotectInput, bool)

AsInMageAzureV2ReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageReprotectInput.

func (InMageReprotectInput) AsInMageReprotectInput

func (imri InMageReprotectInput) AsInMageReprotectInput() (*InMageReprotectInput, bool)

AsInMageReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageReprotectInput.

func (InMageReprotectInput) AsReverseReplicationProviderSpecificInput

func (imri InMageReprotectInput) AsReverseReplicationProviderSpecificInput() (*ReverseReplicationProviderSpecificInput, bool)

AsReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for InMageReprotectInput.

func (InMageReprotectInput) MarshalJSON

func (imri InMageReprotectInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InMageReprotectInput.

type InMageV2RpRecoveryPointType

type InMageV2RpRecoveryPointType string

InMageV2RpRecoveryPointType enumerates the values for in mage v2 rp recovery point type.

const (
	// InMageV2RpRecoveryPointTypeLatest ...
	InMageV2RpRecoveryPointTypeLatest InMageV2RpRecoveryPointType = "Latest"
	// InMageV2RpRecoveryPointTypeLatestApplicationConsistent ...
	InMageV2RpRecoveryPointTypeLatestApplicationConsistent InMageV2RpRecoveryPointType = "LatestApplicationConsistent"
	// InMageV2RpRecoveryPointTypeLatestCrashConsistent ...
	InMageV2RpRecoveryPointTypeLatestCrashConsistent InMageV2RpRecoveryPointType = "LatestCrashConsistent"
	// InMageV2RpRecoveryPointTypeLatestProcessed ...
	InMageV2RpRecoveryPointTypeLatestProcessed InMageV2RpRecoveryPointType = "LatestProcessed"
)

func PossibleInMageV2RpRecoveryPointTypeValues

func PossibleInMageV2RpRecoveryPointTypeValues() []InMageV2RpRecoveryPointType

PossibleInMageV2RpRecoveryPointTypeValues returns an array of possible values for the InMageV2RpRecoveryPointType const type.

type InMageVolumeExclusionOptions

type InMageVolumeExclusionOptions struct {
	// VolumeLabel - The volume label. The disk having any volume with this label will be excluded from replication.
	VolumeLabel *string `json:"volumeLabel,omitempty"`
	// OnlyExcludeIfSingleVolume - The value indicating whether to exclude multi volume disk or not. If a disk has multiple volumes and one of the volume has label matching with VolumeLabel this disk will be excluded from replication if OnlyExcludeIfSingleVolume is false.
	OnlyExcludeIfSingleVolume *string `json:"OnlyExcludeIfSingleVolume,omitempty"`
}

InMageVolumeExclusionOptions guest disk signature based disk exclusion option when doing enable protection of virtual machine in InMage provider.

type InconsistentVMDetails

type InconsistentVMDetails struct {
	// VMName - The Vm name.
	VMName *string `json:"vmName,omitempty"`
	// CloudName - The Cloud name.
	CloudName *string `json:"cloudName,omitempty"`
	// Details - The list of details regarding state of the Protected Entity in SRS and On prem.
	Details *[]string `json:"details,omitempty"`
	// ErrorIds - The list of error ids.
	ErrorIds *[]string `json:"errorIds,omitempty"`
}

InconsistentVMDetails this class stores the monitoring details for consistency check of inconsistent Protected Entity.

type InitialReplicationDetails

type InitialReplicationDetails struct {
	// InitialReplicationType - Initial replication type.
	InitialReplicationType *string `json:"initialReplicationType,omitempty"`
	// InitialReplicationProgressPercentage - The initial replication progress percentage.
	InitialReplicationProgressPercentage *string `json:"initialReplicationProgressPercentage,omitempty"`
}

InitialReplicationDetails initial replication details.

type InlineWorkflowTaskDetails

type InlineWorkflowTaskDetails struct {
	// WorkflowIds - The list of child workflow ids.
	WorkflowIds *[]string `json:"workflowIds,omitempty"`
	// ChildTasks - The child tasks.
	ChildTasks *[]ASRTask `json:"childTasks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeGroupTaskDetails', 'InstanceTypeInlineWorkflowTaskDetails', 'InstanceTypeRecoveryPlanGroupTaskDetails', 'InstanceTypeRecoveryPlanShutdownGroupTaskDetails'
	InstanceType InstanceTypeBasicGroupTaskDetails `json:"instanceType,omitempty"`
}

InlineWorkflowTaskDetails this class represents the inline workflow task details.

func (InlineWorkflowTaskDetails) AsBasicGroupTaskDetails

func (iwtd InlineWorkflowTaskDetails) AsBasicGroupTaskDetails() (BasicGroupTaskDetails, bool)

AsBasicGroupTaskDetails is the BasicGroupTaskDetails implementation for InlineWorkflowTaskDetails.

func (InlineWorkflowTaskDetails) AsGroupTaskDetails

func (iwtd InlineWorkflowTaskDetails) AsGroupTaskDetails() (*GroupTaskDetails, bool)

AsGroupTaskDetails is the BasicGroupTaskDetails implementation for InlineWorkflowTaskDetails.

func (InlineWorkflowTaskDetails) AsInlineWorkflowTaskDetails

func (iwtd InlineWorkflowTaskDetails) AsInlineWorkflowTaskDetails() (*InlineWorkflowTaskDetails, bool)

AsInlineWorkflowTaskDetails is the BasicGroupTaskDetails implementation for InlineWorkflowTaskDetails.

func (InlineWorkflowTaskDetails) AsRecoveryPlanGroupTaskDetails

func (iwtd InlineWorkflowTaskDetails) AsRecoveryPlanGroupTaskDetails() (*RecoveryPlanGroupTaskDetails, bool)

AsRecoveryPlanGroupTaskDetails is the BasicGroupTaskDetails implementation for InlineWorkflowTaskDetails.

func (InlineWorkflowTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails

func (iwtd InlineWorkflowTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails() (*RecoveryPlanShutdownGroupTaskDetails, bool)

AsRecoveryPlanShutdownGroupTaskDetails is the BasicGroupTaskDetails implementation for InlineWorkflowTaskDetails.

func (InlineWorkflowTaskDetails) MarshalJSON

func (iwtd InlineWorkflowTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InlineWorkflowTaskDetails.

type InputEndpoint

type InputEndpoint struct {
	// EndpointName - The input endpoint name.
	EndpointName *string `json:"endpointName,omitempty"`
	// PrivatePort - The input endpoint private port.
	PrivatePort *int32 `json:"privatePort,omitempty"`
	// PublicPort - The input endpoint public port.
	PublicPort *int32 `json:"publicPort,omitempty"`
	// Protocol - The input endpoint protocol.
	Protocol *string `json:"protocol,omitempty"`
}

InputEndpoint azure VM input endpoint details.

type InstanceType

type InstanceType string

InstanceType enumerates the values for instance type.

const (
	// InstanceTypeA2A ...
	InstanceTypeA2A InstanceType = "A2A"
	// InstanceTypeEventProviderSpecificDetails ...
	InstanceTypeEventProviderSpecificDetails InstanceType = "EventProviderSpecificDetails"
	// InstanceTypeHyperVReplica2012 ...
	InstanceTypeHyperVReplica2012 InstanceType = "HyperVReplica2012"
	// InstanceTypeHyperVReplica2012R2 ...
	InstanceTypeHyperVReplica2012R2 InstanceType = "HyperVReplica2012R2"
	// InstanceTypeHyperVReplicaAzure ...
	InstanceTypeHyperVReplicaAzure InstanceType = "HyperVReplicaAzure"
	// InstanceTypeHyperVReplicaBaseEventDetails ...
	InstanceTypeHyperVReplicaBaseEventDetails InstanceType = "HyperVReplicaBaseEventDetails"
	// InstanceTypeInMageAzureV2 ...
	InstanceTypeInMageAzureV2 InstanceType = "InMageAzureV2"
)

func PossibleInstanceTypeValues

func PossibleInstanceTypeValues() []InstanceType

PossibleInstanceTypeValues returns an array of possible values for the InstanceType const type.

type InstanceTypeBasicApplyRecoveryPointProviderSpecificInput

type InstanceTypeBasicApplyRecoveryPointProviderSpecificInput string

InstanceTypeBasicApplyRecoveryPointProviderSpecificInput enumerates the values for instance type basic apply recovery point provider specific input.

const (
	// InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeA2A ...
	InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeA2A InstanceTypeBasicApplyRecoveryPointProviderSpecificInput = "A2A"
	// InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeApplyRecoveryPointProviderSpecificInput ...
	InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeApplyRecoveryPointProviderSpecificInput InstanceTypeBasicApplyRecoveryPointProviderSpecificInput = "ApplyRecoveryPointProviderSpecificInput"
	// InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeHyperVReplicaAzure InstanceTypeBasicApplyRecoveryPointProviderSpecificInput = "HyperVReplicaAzure"
	// InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicApplyRecoveryPointProviderSpecificInputInstanceTypeInMageAzureV2 InstanceTypeBasicApplyRecoveryPointProviderSpecificInput = "InMageAzureV2"
)

func PossibleInstanceTypeBasicApplyRecoveryPointProviderSpecificInputValues

func PossibleInstanceTypeBasicApplyRecoveryPointProviderSpecificInputValues() []InstanceTypeBasicApplyRecoveryPointProviderSpecificInput

PossibleInstanceTypeBasicApplyRecoveryPointProviderSpecificInputValues returns an array of possible values for the InstanceTypeBasicApplyRecoveryPointProviderSpecificInput const type.

type InstanceTypeBasicConfigurationSettings

type InstanceTypeBasicConfigurationSettings string

InstanceTypeBasicConfigurationSettings enumerates the values for instance type basic configuration settings.

const (
	// InstanceTypeConfigurationSettings ...
	InstanceTypeConfigurationSettings InstanceTypeBasicConfigurationSettings = "ConfigurationSettings"
	// InstanceTypeHyperVVirtualMachine ...
	InstanceTypeHyperVVirtualMachine InstanceTypeBasicConfigurationSettings = "HyperVVirtualMachine"
	// InstanceTypeReplicationGroupDetails ...
	InstanceTypeReplicationGroupDetails InstanceTypeBasicConfigurationSettings = "ReplicationGroupDetails"
	// InstanceTypeVMwareVirtualMachine ...
	InstanceTypeVMwareVirtualMachine InstanceTypeBasicConfigurationSettings = "VMwareVirtualMachine"
)

func PossibleInstanceTypeBasicConfigurationSettingsValues

func PossibleInstanceTypeBasicConfigurationSettingsValues() []InstanceTypeBasicConfigurationSettings

PossibleInstanceTypeBasicConfigurationSettingsValues returns an array of possible values for the InstanceTypeBasicConfigurationSettings const type.

type InstanceTypeBasicDisableProtectionProviderSpecificInput

type InstanceTypeBasicDisableProtectionProviderSpecificInput string

InstanceTypeBasicDisableProtectionProviderSpecificInput enumerates the values for instance type basic disable protection provider specific input.

const (
	// InstanceTypeDisableProtectionProviderSpecificInput ...
	InstanceTypeDisableProtectionProviderSpecificInput InstanceTypeBasicDisableProtectionProviderSpecificInput = "DisableProtectionProviderSpecificInput"
	// InstanceTypeInMage ...
	InstanceTypeInMage InstanceTypeBasicDisableProtectionProviderSpecificInput = "InMage"
)

func PossibleInstanceTypeBasicDisableProtectionProviderSpecificInputValues

func PossibleInstanceTypeBasicDisableProtectionProviderSpecificInputValues() []InstanceTypeBasicDisableProtectionProviderSpecificInput

PossibleInstanceTypeBasicDisableProtectionProviderSpecificInputValues returns an array of possible values for the InstanceTypeBasicDisableProtectionProviderSpecificInput const type.

type InstanceTypeBasicEnableProtectionProviderSpecificInput

type InstanceTypeBasicEnableProtectionProviderSpecificInput string

InstanceTypeBasicEnableProtectionProviderSpecificInput enumerates the values for instance type basic enable protection provider specific input.

const (
	// InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A ...
	InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A InstanceTypeBasicEnableProtectionProviderSpecificInput = "A2A"
	// InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput ...
	InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput InstanceTypeBasicEnableProtectionProviderSpecificInput = "EnableProtectionProviderSpecificInput"
	// InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure InstanceTypeBasicEnableProtectionProviderSpecificInput = "HyperVReplicaAzure"
	// InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage ...
	InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage InstanceTypeBasicEnableProtectionProviderSpecificInput = "InMage"
	// InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2 InstanceTypeBasicEnableProtectionProviderSpecificInput = "InMageAzureV2"
	// InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan ...
	InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan InstanceTypeBasicEnableProtectionProviderSpecificInput = "San"
)

func PossibleInstanceTypeBasicEnableProtectionProviderSpecificInputValues

func PossibleInstanceTypeBasicEnableProtectionProviderSpecificInputValues() []InstanceTypeBasicEnableProtectionProviderSpecificInput

PossibleInstanceTypeBasicEnableProtectionProviderSpecificInputValues returns an array of possible values for the InstanceTypeBasicEnableProtectionProviderSpecificInput const type.

type InstanceTypeBasicEventSpecificDetails

type InstanceTypeBasicEventSpecificDetails string

InstanceTypeBasicEventSpecificDetails enumerates the values for instance type basic event specific details.

const (
	// InstanceTypeEventSpecificDetails ...
	InstanceTypeEventSpecificDetails InstanceTypeBasicEventSpecificDetails = "EventSpecificDetails"
	// InstanceTypeJobStatus ...
	InstanceTypeJobStatus InstanceTypeBasicEventSpecificDetails = "JobStatus"
)

func PossibleInstanceTypeBasicEventSpecificDetailsValues

func PossibleInstanceTypeBasicEventSpecificDetailsValues() []InstanceTypeBasicEventSpecificDetails

PossibleInstanceTypeBasicEventSpecificDetailsValues returns an array of possible values for the InstanceTypeBasicEventSpecificDetails const type.

type InstanceTypeBasicFabricSpecificCreateNetworkMappingInput

type InstanceTypeBasicFabricSpecificCreateNetworkMappingInput string

InstanceTypeBasicFabricSpecificCreateNetworkMappingInput enumerates the values for instance type basic fabric specific create network mapping input.

const (
	// InstanceTypeAzureToAzure ...
	InstanceTypeAzureToAzure InstanceTypeBasicFabricSpecificCreateNetworkMappingInput = "AzureToAzure"
	// InstanceTypeFabricSpecificCreateNetworkMappingInput ...
	InstanceTypeFabricSpecificCreateNetworkMappingInput InstanceTypeBasicFabricSpecificCreateNetworkMappingInput = "FabricSpecificCreateNetworkMappingInput"
	// InstanceTypeVmmToAzure ...
	InstanceTypeVmmToAzure InstanceTypeBasicFabricSpecificCreateNetworkMappingInput = "VmmToAzure"
	// InstanceTypeVmmToVmm ...
	InstanceTypeVmmToVmm InstanceTypeBasicFabricSpecificCreateNetworkMappingInput = "VmmToVmm"
)

func PossibleInstanceTypeBasicFabricSpecificCreateNetworkMappingInputValues

func PossibleInstanceTypeBasicFabricSpecificCreateNetworkMappingInputValues() []InstanceTypeBasicFabricSpecificCreateNetworkMappingInput

PossibleInstanceTypeBasicFabricSpecificCreateNetworkMappingInputValues returns an array of possible values for the InstanceTypeBasicFabricSpecificCreateNetworkMappingInput const type.

type InstanceTypeBasicFabricSpecificCreationInput

type InstanceTypeBasicFabricSpecificCreationInput string

InstanceTypeBasicFabricSpecificCreationInput enumerates the values for instance type basic fabric specific creation input.

const (
	// InstanceTypeAzure ...
	InstanceTypeAzure InstanceTypeBasicFabricSpecificCreationInput = "Azure"
	// InstanceTypeFabricSpecificCreationInput ...
	InstanceTypeFabricSpecificCreationInput InstanceTypeBasicFabricSpecificCreationInput = "FabricSpecificCreationInput"
	// InstanceTypeVMwareV2 ...
	InstanceTypeVMwareV2 InstanceTypeBasicFabricSpecificCreationInput = "VMwareV2"
)

func PossibleInstanceTypeBasicFabricSpecificCreationInputValues

func PossibleInstanceTypeBasicFabricSpecificCreationInputValues() []InstanceTypeBasicFabricSpecificCreationInput

PossibleInstanceTypeBasicFabricSpecificCreationInputValues returns an array of possible values for the InstanceTypeBasicFabricSpecificCreationInput const type.

type InstanceTypeBasicFabricSpecificDetails

type InstanceTypeBasicFabricSpecificDetails string

InstanceTypeBasicFabricSpecificDetails enumerates the values for instance type basic fabric specific details.

const (
	// InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure ...
	InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure InstanceTypeBasicFabricSpecificDetails = "Azure"
	// InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails ...
	InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails InstanceTypeBasicFabricSpecificDetails = "FabricSpecificDetails"
	// InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite ...
	InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite InstanceTypeBasicFabricSpecificDetails = "HyperVSite"
	// InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM ...
	InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM InstanceTypeBasicFabricSpecificDetails = "VMM"
	// InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware ...
	InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware InstanceTypeBasicFabricSpecificDetails = "VMware"
	// InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2 ...
	InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2 InstanceTypeBasicFabricSpecificDetails = "VMwareV2"
)

func PossibleInstanceTypeBasicFabricSpecificDetailsValues

func PossibleInstanceTypeBasicFabricSpecificDetailsValues() []InstanceTypeBasicFabricSpecificDetails

PossibleInstanceTypeBasicFabricSpecificDetailsValues returns an array of possible values for the InstanceTypeBasicFabricSpecificDetails const type.

type InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput

type InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput string

InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput enumerates the values for instance type basic fabric specific update network mapping input.

const (
	// InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeAzureToAzure ...
	InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeAzureToAzure InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput = "AzureToAzure"
	// InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeFabricSpecificUpdateNetworkMappingInput ...
	InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeFabricSpecificUpdateNetworkMappingInput InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput = "FabricSpecificUpdateNetworkMappingInput"
	// InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToAzure ...
	InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToAzure InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput = "VmmToAzure"
	// InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToVmm ...
	InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToVmm InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput = "VmmToVmm"
)

func PossibleInstanceTypeBasicFabricSpecificUpdateNetworkMappingInputValues

func PossibleInstanceTypeBasicFabricSpecificUpdateNetworkMappingInputValues() []InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput

PossibleInstanceTypeBasicFabricSpecificUpdateNetworkMappingInputValues returns an array of possible values for the InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput const type.

type InstanceTypeBasicGroupTaskDetails

type InstanceTypeBasicGroupTaskDetails string

InstanceTypeBasicGroupTaskDetails enumerates the values for instance type basic group task details.

const (
	// InstanceTypeGroupTaskDetails ...
	InstanceTypeGroupTaskDetails InstanceTypeBasicGroupTaskDetails = "GroupTaskDetails"
	// InstanceTypeInlineWorkflowTaskDetails ...
	InstanceTypeInlineWorkflowTaskDetails InstanceTypeBasicGroupTaskDetails = "InlineWorkflowTaskDetails"
	// InstanceTypeRecoveryPlanGroupTaskDetails ...
	InstanceTypeRecoveryPlanGroupTaskDetails InstanceTypeBasicGroupTaskDetails = "RecoveryPlanGroupTaskDetails"
	// InstanceTypeRecoveryPlanShutdownGroupTaskDetails ...
	InstanceTypeRecoveryPlanShutdownGroupTaskDetails InstanceTypeBasicGroupTaskDetails = "RecoveryPlanShutdownGroupTaskDetails"
)

func PossibleInstanceTypeBasicGroupTaskDetailsValues

func PossibleInstanceTypeBasicGroupTaskDetailsValues() []InstanceTypeBasicGroupTaskDetails

PossibleInstanceTypeBasicGroupTaskDetailsValues returns an array of possible values for the InstanceTypeBasicGroupTaskDetails const type.

type InstanceTypeBasicJobDetails

type InstanceTypeBasicJobDetails string

InstanceTypeBasicJobDetails enumerates the values for instance type basic job details.

const (
	// InstanceTypeAsrJobDetails ...
	InstanceTypeAsrJobDetails InstanceTypeBasicJobDetails = "AsrJobDetails"
	// InstanceTypeExportJobDetails ...
	InstanceTypeExportJobDetails InstanceTypeBasicJobDetails = "ExportJobDetails"
	// InstanceTypeFailoverJobDetails ...
	InstanceTypeFailoverJobDetails InstanceTypeBasicJobDetails = "FailoverJobDetails"
	// InstanceTypeJobDetails ...
	InstanceTypeJobDetails InstanceTypeBasicJobDetails = "JobDetails"
	// InstanceTypeSwitchProtectionJobDetails ...
	InstanceTypeSwitchProtectionJobDetails InstanceTypeBasicJobDetails = "SwitchProtectionJobDetails"
	// InstanceTypeTestFailoverJobDetails ...
	InstanceTypeTestFailoverJobDetails InstanceTypeBasicJobDetails = "TestFailoverJobDetails"
)

func PossibleInstanceTypeBasicJobDetailsValues

func PossibleInstanceTypeBasicJobDetailsValues() []InstanceTypeBasicJobDetails

PossibleInstanceTypeBasicJobDetailsValues returns an array of possible values for the InstanceTypeBasicJobDetails const type.

type InstanceTypeBasicNetworkMappingFabricSpecificSettings

type InstanceTypeBasicNetworkMappingFabricSpecificSettings string

InstanceTypeBasicNetworkMappingFabricSpecificSettings enumerates the values for instance type basic network mapping fabric specific settings.

const (
	// InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeAzureToAzure ...
	InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeAzureToAzure InstanceTypeBasicNetworkMappingFabricSpecificSettings = "AzureToAzure"
	// InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeNetworkMappingFabricSpecificSettings ...
	InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeNetworkMappingFabricSpecificSettings InstanceTypeBasicNetworkMappingFabricSpecificSettings = "NetworkMappingFabricSpecificSettings"
	// InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToAzure ...
	InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToAzure InstanceTypeBasicNetworkMappingFabricSpecificSettings = "VmmToAzure"
	// InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToVmm ...
	InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToVmm InstanceTypeBasicNetworkMappingFabricSpecificSettings = "VmmToVmm"
)

func PossibleInstanceTypeBasicNetworkMappingFabricSpecificSettingsValues

func PossibleInstanceTypeBasicNetworkMappingFabricSpecificSettingsValues() []InstanceTypeBasicNetworkMappingFabricSpecificSettings

PossibleInstanceTypeBasicNetworkMappingFabricSpecificSettingsValues returns an array of possible values for the InstanceTypeBasicNetworkMappingFabricSpecificSettings const type.

type InstanceTypeBasicPolicyProviderSpecificDetails

type InstanceTypeBasicPolicyProviderSpecificDetails string

InstanceTypeBasicPolicyProviderSpecificDetails enumerates the values for instance type basic policy provider specific details.

const (
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A InstanceTypeBasicPolicyProviderSpecificDetails = "A2A"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012 ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012 InstanceTypeBasicPolicyProviderSpecificDetails = "HyperVReplica2012"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2 ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2 InstanceTypeBasicPolicyProviderSpecificDetails = "HyperVReplica2012R2"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure InstanceTypeBasicPolicyProviderSpecificDetails = "HyperVReplicaAzure"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails InstanceTypeBasicPolicyProviderSpecificDetails = "HyperVReplicaBasePolicyDetails"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage InstanceTypeBasicPolicyProviderSpecificDetails = "InMage"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2 InstanceTypeBasicPolicyProviderSpecificDetails = "InMageAzureV2"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails InstanceTypeBasicPolicyProviderSpecificDetails = "InMageBasePolicyDetails"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails InstanceTypeBasicPolicyProviderSpecificDetails = "PolicyProviderSpecificDetails"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration InstanceTypeBasicPolicyProviderSpecificDetails = "RcmAzureMigration"
	// InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt ...
	InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt InstanceTypeBasicPolicyProviderSpecificDetails = "VMwareCbt"
)

func PossibleInstanceTypeBasicPolicyProviderSpecificDetailsValues

func PossibleInstanceTypeBasicPolicyProviderSpecificDetailsValues() []InstanceTypeBasicPolicyProviderSpecificDetails

PossibleInstanceTypeBasicPolicyProviderSpecificDetailsValues returns an array of possible values for the InstanceTypeBasicPolicyProviderSpecificDetails const type.

type InstanceTypeBasicPolicyProviderSpecificInput

type InstanceTypeBasicPolicyProviderSpecificInput string

InstanceTypeBasicPolicyProviderSpecificInput enumerates the values for instance type basic policy provider specific input.

const (
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A InstanceTypeBasicPolicyProviderSpecificInput = "A2A"
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012 ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012 InstanceTypeBasicPolicyProviderSpecificInput = "HyperVReplica2012"
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2 ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2 InstanceTypeBasicPolicyProviderSpecificInput = "HyperVReplica2012R2"
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure InstanceTypeBasicPolicyProviderSpecificInput = "HyperVReplicaAzure"
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage InstanceTypeBasicPolicyProviderSpecificInput = "InMage"
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2 InstanceTypeBasicPolicyProviderSpecificInput = "InMageAzureV2"
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput InstanceTypeBasicPolicyProviderSpecificInput = "PolicyProviderSpecificInput"
	// InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt ...
	InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt InstanceTypeBasicPolicyProviderSpecificInput = "VMwareCbt"
)

func PossibleInstanceTypeBasicPolicyProviderSpecificInputValues

func PossibleInstanceTypeBasicPolicyProviderSpecificInputValues() []InstanceTypeBasicPolicyProviderSpecificInput

PossibleInstanceTypeBasicPolicyProviderSpecificInputValues returns an array of possible values for the InstanceTypeBasicPolicyProviderSpecificInput const type.

type InstanceTypeBasicProviderSpecificFailoverInput

type InstanceTypeBasicProviderSpecificFailoverInput string

InstanceTypeBasicProviderSpecificFailoverInput enumerates the values for instance type basic provider specific failover input.

const (
	// InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A ...
	InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A InstanceTypeBasicProviderSpecificFailoverInput = "A2A"
	// InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure InstanceTypeBasicProviderSpecificFailoverInput = "HyperVReplicaAzure"
	// InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback ...
	InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback InstanceTypeBasicProviderSpecificFailoverInput = "HyperVReplicaAzureFailback"
	// InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage ...
	InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage InstanceTypeBasicProviderSpecificFailoverInput = "InMage"
	// InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2 InstanceTypeBasicProviderSpecificFailoverInput = "InMageAzureV2"
	// InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput ...
	InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput InstanceTypeBasicProviderSpecificFailoverInput = "ProviderSpecificFailoverInput"
)

func PossibleInstanceTypeBasicProviderSpecificFailoverInputValues

func PossibleInstanceTypeBasicProviderSpecificFailoverInputValues() []InstanceTypeBasicProviderSpecificFailoverInput

PossibleInstanceTypeBasicProviderSpecificFailoverInputValues returns an array of possible values for the InstanceTypeBasicProviderSpecificFailoverInput const type.

type InstanceTypeBasicRecoveryPlanActionDetails

type InstanceTypeBasicRecoveryPlanActionDetails string

InstanceTypeBasicRecoveryPlanActionDetails enumerates the values for instance type basic recovery plan action details.

const (
	// InstanceTypeAutomationRunbookActionDetails ...
	InstanceTypeAutomationRunbookActionDetails InstanceTypeBasicRecoveryPlanActionDetails = "AutomationRunbookActionDetails"
	// InstanceTypeManualActionDetails ...
	InstanceTypeManualActionDetails InstanceTypeBasicRecoveryPlanActionDetails = "ManualActionDetails"
	// InstanceTypeRecoveryPlanActionDetails ...
	InstanceTypeRecoveryPlanActionDetails InstanceTypeBasicRecoveryPlanActionDetails = "RecoveryPlanActionDetails"
	// InstanceTypeScriptActionDetails ...
	InstanceTypeScriptActionDetails InstanceTypeBasicRecoveryPlanActionDetails = "ScriptActionDetails"
)

func PossibleInstanceTypeBasicRecoveryPlanActionDetailsValues

func PossibleInstanceTypeBasicRecoveryPlanActionDetailsValues() []InstanceTypeBasicRecoveryPlanActionDetails

PossibleInstanceTypeBasicRecoveryPlanActionDetailsValues returns an array of possible values for the InstanceTypeBasicRecoveryPlanActionDetails const type.

type InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput

type InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput string

InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput enumerates the values for instance type basic recovery plan provider specific failover input.

const (
	// InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A ...
	InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput = "A2A"
	// InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput = "HyperVReplicaAzure"
	// InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback ...
	InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput = "HyperVReplicaAzureFailback"
	// InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage ...
	InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput = "InMage"
	// InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2 InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput = "InMageAzureV2"
	// InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput ...
	InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput = "RecoveryPlanProviderSpecificFailoverInput"
)

func PossibleInstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputValues

func PossibleInstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputValues() []InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput

PossibleInstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputValues returns an array of possible values for the InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput const type.

type InstanceTypeBasicReplicationProviderSpecificContainerCreationInput

type InstanceTypeBasicReplicationProviderSpecificContainerCreationInput string

InstanceTypeBasicReplicationProviderSpecificContainerCreationInput enumerates the values for instance type basic replication provider specific container creation input.

const (
	// InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A ...
	InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeA2A InstanceTypeBasicReplicationProviderSpecificContainerCreationInput = "A2A"
	// InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput ...
	InstanceTypeBasicReplicationProviderSpecificContainerCreationInputInstanceTypeReplicationProviderSpecificContainerCreationInput InstanceTypeBasicReplicationProviderSpecificContainerCreationInput = "ReplicationProviderSpecificContainerCreationInput"
)

func PossibleInstanceTypeBasicReplicationProviderSpecificContainerCreationInputValues

func PossibleInstanceTypeBasicReplicationProviderSpecificContainerCreationInputValues() []InstanceTypeBasicReplicationProviderSpecificContainerCreationInput

PossibleInstanceTypeBasicReplicationProviderSpecificContainerCreationInputValues returns an array of possible values for the InstanceTypeBasicReplicationProviderSpecificContainerCreationInput const type.

type InstanceTypeBasicReplicationProviderSpecificSettings

type InstanceTypeBasicReplicationProviderSpecificSettings string

InstanceTypeBasicReplicationProviderSpecificSettings enumerates the values for instance type basic replication provider specific settings.

const (
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A InstanceTypeBasicReplicationProviderSpecificSettings = "A2A"
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012 ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012 InstanceTypeBasicReplicationProviderSpecificSettings = "HyperVReplica2012"
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2 ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2 InstanceTypeBasicReplicationProviderSpecificSettings = "HyperVReplica2012R2"
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure InstanceTypeBasicReplicationProviderSpecificSettings = "HyperVReplicaAzure"
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails InstanceTypeBasicReplicationProviderSpecificSettings = "HyperVReplicaBaseReplicationDetails"
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage InstanceTypeBasicReplicationProviderSpecificSettings = "InMage"
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2 InstanceTypeBasicReplicationProviderSpecificSettings = "InMageAzureV2"
	// InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings ...
	InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings InstanceTypeBasicReplicationProviderSpecificSettings = "ReplicationProviderSpecificSettings"
)

func PossibleInstanceTypeBasicReplicationProviderSpecificSettingsValues

func PossibleInstanceTypeBasicReplicationProviderSpecificSettingsValues() []InstanceTypeBasicReplicationProviderSpecificSettings

PossibleInstanceTypeBasicReplicationProviderSpecificSettingsValues returns an array of possible values for the InstanceTypeBasicReplicationProviderSpecificSettings const type.

type InstanceTypeBasicReverseReplicationProviderSpecificInput

type InstanceTypeBasicReverseReplicationProviderSpecificInput string

InstanceTypeBasicReverseReplicationProviderSpecificInput enumerates the values for instance type basic reverse replication provider specific input.

const (
	// InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A ...
	InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A InstanceTypeBasicReverseReplicationProviderSpecificInput = "A2A"
	// InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure InstanceTypeBasicReverseReplicationProviderSpecificInput = "HyperVReplicaAzure"
	// InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage ...
	InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage InstanceTypeBasicReverseReplicationProviderSpecificInput = "InMage"
	// InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2 InstanceTypeBasicReverseReplicationProviderSpecificInput = "InMageAzureV2"
	// InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeReverseReplicationProviderSpecificInput ...
	InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeReverseReplicationProviderSpecificInput InstanceTypeBasicReverseReplicationProviderSpecificInput = "ReverseReplicationProviderSpecificInput"
)

func PossibleInstanceTypeBasicReverseReplicationProviderSpecificInputValues

func PossibleInstanceTypeBasicReverseReplicationProviderSpecificInputValues() []InstanceTypeBasicReverseReplicationProviderSpecificInput

PossibleInstanceTypeBasicReverseReplicationProviderSpecificInputValues returns an array of possible values for the InstanceTypeBasicReverseReplicationProviderSpecificInput const type.

type InstanceTypeBasicSwitchProtectionProviderSpecificInput

type InstanceTypeBasicSwitchProtectionProviderSpecificInput string

InstanceTypeBasicSwitchProtectionProviderSpecificInput enumerates the values for instance type basic switch protection provider specific input.

const (
	// InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeA2A ...
	InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeA2A InstanceTypeBasicSwitchProtectionProviderSpecificInput = "A2A"
	// InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeSwitchProtectionProviderSpecificInput ...
	InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeSwitchProtectionProviderSpecificInput InstanceTypeBasicSwitchProtectionProviderSpecificInput = "SwitchProtectionProviderSpecificInput"
)

func PossibleInstanceTypeBasicSwitchProtectionProviderSpecificInputValues

func PossibleInstanceTypeBasicSwitchProtectionProviderSpecificInputValues() []InstanceTypeBasicSwitchProtectionProviderSpecificInput

PossibleInstanceTypeBasicSwitchProtectionProviderSpecificInputValues returns an array of possible values for the InstanceTypeBasicSwitchProtectionProviderSpecificInput const type.

type InstanceTypeBasicTaskTypeDetails

type InstanceTypeBasicTaskTypeDetails string

InstanceTypeBasicTaskTypeDetails enumerates the values for instance type basic task type details.

const (
	// InstanceTypeAutomationRunbookTaskDetails ...
	InstanceTypeAutomationRunbookTaskDetails InstanceTypeBasicTaskTypeDetails = "AutomationRunbookTaskDetails"
	// InstanceTypeConsistencyCheckTaskDetails ...
	InstanceTypeConsistencyCheckTaskDetails InstanceTypeBasicTaskTypeDetails = "ConsistencyCheckTaskDetails"
	// InstanceTypeFabricReplicationGroupTaskDetails ...
	InstanceTypeFabricReplicationGroupTaskDetails InstanceTypeBasicTaskTypeDetails = "FabricReplicationGroupTaskDetails"
	// InstanceTypeJobTaskDetails ...
	InstanceTypeJobTaskDetails InstanceTypeBasicTaskTypeDetails = "JobTaskDetails"
	// InstanceTypeManualActionTaskDetails ...
	InstanceTypeManualActionTaskDetails InstanceTypeBasicTaskTypeDetails = "ManualActionTaskDetails"
	// InstanceTypeScriptActionTaskDetails ...
	InstanceTypeScriptActionTaskDetails InstanceTypeBasicTaskTypeDetails = "ScriptActionTaskDetails"
	// InstanceTypeTaskTypeDetails ...
	InstanceTypeTaskTypeDetails InstanceTypeBasicTaskTypeDetails = "TaskTypeDetails"
	// InstanceTypeVirtualMachineTaskDetails ...
	InstanceTypeVirtualMachineTaskDetails InstanceTypeBasicTaskTypeDetails = "VirtualMachineTaskDetails"
	// InstanceTypeVMNicUpdatesTaskDetails ...
	InstanceTypeVMNicUpdatesTaskDetails InstanceTypeBasicTaskTypeDetails = "VmNicUpdatesTaskDetails"
)

func PossibleInstanceTypeBasicTaskTypeDetailsValues

func PossibleInstanceTypeBasicTaskTypeDetailsValues() []InstanceTypeBasicTaskTypeDetails

PossibleInstanceTypeBasicTaskTypeDetailsValues returns an array of possible values for the InstanceTypeBasicTaskTypeDetails const type.

type InstanceTypeBasicUpdateReplicationProtectedItemProviderInput

type InstanceTypeBasicUpdateReplicationProtectedItemProviderInput string

InstanceTypeBasicUpdateReplicationProtectedItemProviderInput enumerates the values for instance type basic update replication protected item provider input.

const (
	// InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeA2A ...
	InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeA2A InstanceTypeBasicUpdateReplicationProtectedItemProviderInput = "A2A"
	// InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeHyperVReplicaAzure ...
	InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeHyperVReplicaAzure InstanceTypeBasicUpdateReplicationProtectedItemProviderInput = "HyperVReplicaAzure"
	// InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageAzureV2 ...
	InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageAzureV2 InstanceTypeBasicUpdateReplicationProtectedItemProviderInput = "InMageAzureV2"
	// InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeUpdateReplicationProtectedItemProviderInput ...
	InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeUpdateReplicationProtectedItemProviderInput InstanceTypeBasicUpdateReplicationProtectedItemProviderInput = "UpdateReplicationProtectedItemProviderInput"
)

func PossibleInstanceTypeBasicUpdateReplicationProtectedItemProviderInputValues

func PossibleInstanceTypeBasicUpdateReplicationProtectedItemProviderInputValues() []InstanceTypeBasicUpdateReplicationProtectedItemProviderInput

PossibleInstanceTypeBasicUpdateReplicationProtectedItemProviderInputValues returns an array of possible values for the InstanceTypeBasicUpdateReplicationProtectedItemProviderInput const type.

type Job

type Job struct {
	autorest.Response `json:"-"`
	// Properties - The custom data.
	Properties *JobProperties `json:"properties,omitempty"`
	// Status - The status of the Job. ARM expects the terminal status to be one of (1) Succeeded, (2) Failed or (3) Canceled. All other values imply that the operation is still running / being applied.
	Status *string `json:"status,omitempty"`
	// Error - The error.
	Error *ARMException `json:"error,omitempty"`
	// StartTime - The start time.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - The start time.
	EndTime *string `json:"endTime,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"`
}

Job job details.

func (Job) MarshalJSON

func (j Job) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Job.

type JobCollection

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

JobCollection collection of jobs.

func (JobCollection) IsEmpty

func (jc JobCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type JobCollectionIterator

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

JobCollectionIterator provides access to a complete listing of Job values.

func NewJobCollectionIterator

func NewJobCollectionIterator(page JobCollectionPage) JobCollectionIterator

Creates a new instance of the JobCollectionIterator type.

func (*JobCollectionIterator) Next

func (iter *JobCollectionIterator) 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 (*JobCollectionIterator) NextWithContext

func (iter *JobCollectionIterator) 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 (JobCollectionIterator) NotDone

func (iter JobCollectionIterator) NotDone() bool

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

func (JobCollectionIterator) Response

func (iter JobCollectionIterator) Response() JobCollection

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

func (JobCollectionIterator) Value

func (iter JobCollectionIterator) Value() Job

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

type JobCollectionPage

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

JobCollectionPage contains a page of Job values.

func NewJobCollectionPage

func NewJobCollectionPage(cur JobCollection, getNextPage func(context.Context, JobCollection) (JobCollection, error)) JobCollectionPage

Creates a new instance of the JobCollectionPage type.

func (*JobCollectionPage) Next

func (page *JobCollectionPage) 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 (*JobCollectionPage) NextWithContext

func (page *JobCollectionPage) 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 (JobCollectionPage) NotDone

func (page JobCollectionPage) NotDone() bool

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

func (JobCollectionPage) Response

func (page JobCollectionPage) Response() JobCollection

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

func (JobCollectionPage) Values

func (page JobCollectionPage) Values() []Job

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

type JobDetails

type JobDetails 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', 'InstanceTypeTestFailoverJobDetails', 'InstanceTypeFailoverJobDetails', 'InstanceTypeExportJobDetails', 'InstanceTypeSwitchProtectionJobDetails'
	InstanceType InstanceTypeBasicJobDetails `json:"instanceType,omitempty"`
}

JobDetails job details based on specific job type.

func (JobDetails) AsAsrJobDetails

func (jd JobDetails) AsAsrJobDetails() (*AsrJobDetails, bool)

AsAsrJobDetails is the BasicJobDetails implementation for JobDetails.

func (JobDetails) AsBasicJobDetails

func (jd JobDetails) AsBasicJobDetails() (BasicJobDetails, bool)

AsBasicJobDetails is the BasicJobDetails implementation for JobDetails.

func (JobDetails) AsExportJobDetails

func (jd JobDetails) AsExportJobDetails() (*ExportJobDetails, bool)

AsExportJobDetails is the BasicJobDetails implementation for JobDetails.

func (JobDetails) AsFailoverJobDetails

func (jd JobDetails) AsFailoverJobDetails() (*FailoverJobDetails, bool)

AsFailoverJobDetails is the BasicJobDetails implementation for JobDetails.

func (JobDetails) AsJobDetails

func (jd JobDetails) AsJobDetails() (*JobDetails, bool)

AsJobDetails is the BasicJobDetails implementation for JobDetails.

func (JobDetails) AsSwitchProtectionJobDetails

func (jd JobDetails) AsSwitchProtectionJobDetails() (*SwitchProtectionJobDetails, bool)

AsSwitchProtectionJobDetails is the BasicJobDetails implementation for JobDetails.

func (JobDetails) AsTestFailoverJobDetails

func (jd JobDetails) AsTestFailoverJobDetails() (*TestFailoverJobDetails, bool)

AsTestFailoverJobDetails is the BasicJobDetails implementation for JobDetails.

func (JobDetails) MarshalJSON

func (jd JobDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobDetails.

type JobEntity

type JobEntity struct {
	// JobID - The job id.
	JobID *string `json:"jobId,omitempty"`
	// JobFriendlyName - The job display name.
	JobFriendlyName *string `json:"jobFriendlyName,omitempty"`
	// TargetObjectID - The object id.
	TargetObjectID *string `json:"targetObjectId,omitempty"`
	// TargetObjectName - The object name.
	TargetObjectName *string `json:"targetObjectName,omitempty"`
	// TargetInstanceType - The workflow affected object type.
	TargetInstanceType *string `json:"targetInstanceType,omitempty"`
	// JobScenarioName - The job name. Enum type ScenarioName.
	JobScenarioName *string `json:"jobScenarioName,omitempty"`
}

JobEntity this class contains the minimal job details required to navigate to the desired drill down.

type JobErrorDetails

type JobErrorDetails struct {
	// ServiceErrorDetails - The Service error details.
	ServiceErrorDetails *ServiceError `json:"serviceErrorDetails,omitempty"`
	// ProviderErrorDetails - The Provider error details.
	ProviderErrorDetails *ProviderError `json:"providerErrorDetails,omitempty"`
	// ErrorLevel - Error level of error.
	ErrorLevel *string `json:"errorLevel,omitempty"`
	// CreationTime - The creation time of job error.
	CreationTime *date.Time `json:"creationTime,omitempty"`
	// TaskID - The Id of the task.
	TaskID *string `json:"taskId,omitempty"`
}

JobErrorDetails this class contains the error details per object.

type JobProperties

type JobProperties struct {
	// ActivityID - The activity id.
	ActivityID *string `json:"activityId,omitempty"`
	// ScenarioName - The ScenarioName.
	ScenarioName *string `json:"scenarioName,omitempty"`
	// FriendlyName - The DisplayName.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// State - The status of the Job. It is one of these values - NotStarted, InProgress, Succeeded, Failed, Cancelled, Suspended or Other.
	State *string `json:"state,omitempty"`
	// StateDescription - The description of the state of the Job. For e.g. - For Succeeded state, description can be Completed, PartiallySucceeded, CompletedWithInformation or Skipped.
	StateDescription *string `json:"stateDescription,omitempty"`
	// Tasks - The tasks.
	Tasks *[]ASRTask `json:"tasks,omitempty"`
	// Errors - The errors.
	Errors *[]JobErrorDetails `json:"errors,omitempty"`
	// StartTime - The start time.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The end time.
	EndTime *date.Time `json:"endTime,omitempty"`
	// AllowedActions - The Allowed action the job.
	AllowedActions *[]string `json:"allowedActions,omitempty"`
	// TargetObjectID - The affected Object Id.
	TargetObjectID *string `json:"targetObjectId,omitempty"`
	// TargetObjectName - The name of the affected object.
	TargetObjectName *string `json:"targetObjectName,omitempty"`
	// TargetInstanceType - The type of the affected object which is of {Microsoft.Azure.SiteRecovery.V2015_11_10.AffectedObjectType} class.
	TargetInstanceType *string `json:"targetInstanceType,omitempty"`
	// CustomDetails - The custom job details like test failover job details.
	CustomDetails BasicJobDetails `json:"customDetails,omitempty"`
}

JobProperties job custom data details.

func (*JobProperties) UnmarshalJSON

func (jp *JobProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JobProperties struct.

type JobQueryParameter

type JobQueryParameter struct {
	// StartTime - Date time to get jobs from.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - Date time to get jobs up to.
	EndTime *string `json:"endTime,omitempty"`
	// FabricID - The Id of the fabric to search jobs under.
	FabricID *string `json:"fabricId,omitempty"`
	// AffectedObjectTypes - The type of objects.
	AffectedObjectTypes *[]string `json:"affectedObjectTypes,omitempty"`
	// JobStatus - The states of the job to be filtered can be in.
	JobStatus *[]string `json:"jobStatus,omitempty"`
}

JobQueryParameter query parameter to enumerate jobs.

type JobStatusEventDetails

type JobStatusEventDetails struct {
	// JobID - Job arm id for the event.
	JobID *string `json:"jobId,omitempty"`
	// JobFriendlyName - JobName for the Event.
	JobFriendlyName *string `json:"jobFriendlyName,omitempty"`
	// JobStatus - JobStatus for the Event.
	JobStatus *string `json:"jobStatus,omitempty"`
	// AffectedObjectType - AffectedObjectType for the event.
	AffectedObjectType *string `json:"affectedObjectType,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeEventSpecificDetails', 'InstanceTypeJobStatus'
	InstanceType InstanceTypeBasicEventSpecificDetails `json:"instanceType,omitempty"`
}

JobStatusEventDetails model class for event details of a job status event.

func (JobStatusEventDetails) AsBasicEventSpecificDetails

func (jsed JobStatusEventDetails) AsBasicEventSpecificDetails() (BasicEventSpecificDetails, bool)

AsBasicEventSpecificDetails is the BasicEventSpecificDetails implementation for JobStatusEventDetails.

func (JobStatusEventDetails) AsEventSpecificDetails

func (jsed JobStatusEventDetails) AsEventSpecificDetails() (*EventSpecificDetails, bool)

AsEventSpecificDetails is the BasicEventSpecificDetails implementation for JobStatusEventDetails.

func (JobStatusEventDetails) AsJobStatusEventDetails

func (jsed JobStatusEventDetails) AsJobStatusEventDetails() (*JobStatusEventDetails, bool)

AsJobStatusEventDetails is the BasicEventSpecificDetails implementation for JobStatusEventDetails.

func (JobStatusEventDetails) MarshalJSON

func (jsed JobStatusEventDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobStatusEventDetails.

type JobTaskDetails

type JobTaskDetails struct {
	// JobTask - The job entity.
	JobTask *JobEntity `json:"jobTask,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

JobTaskDetails this class represents a task which is actually a workflow so that one can navigate to its individual drill down.

func (JobTaskDetails) AsAutomationRunbookTaskDetails

func (jtd JobTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsBasicTaskTypeDetails

func (jtd JobTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsConsistencyCheckTaskDetails

func (jtd JobTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsFabricReplicationGroupTaskDetails

func (jtd JobTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsJobTaskDetails

func (jtd JobTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsManualActionTaskDetails

func (jtd JobTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsScriptActionTaskDetails

func (jtd JobTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsTaskTypeDetails

func (jtd JobTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsVMNicUpdatesTaskDetails

func (jtd JobTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) AsVirtualMachineTaskDetails

func (jtd JobTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for JobTaskDetails.

func (JobTaskDetails) MarshalJSON

func (jtd JobTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JobTaskDetails.

type LicenseType

type LicenseType string

LicenseType enumerates the values for license type.

const (
	// LicenseTypeNoLicenseType ...
	LicenseTypeNoLicenseType LicenseType = "NoLicenseType"
	// LicenseTypeNotSpecified ...
	LicenseTypeNotSpecified LicenseType = "NotSpecified"
	// LicenseTypeWindowsServer ...
	LicenseTypeWindowsServer LicenseType = "WindowsServer"
)

func PossibleLicenseTypeValues

func PossibleLicenseTypeValues() []LicenseType

PossibleLicenseTypeValues returns an array of possible values for the LicenseType const type.

type LogicalNetwork

type LogicalNetwork struct {
	autorest.Response `json:"-"`
	// Properties - The Logical Network Properties.
	Properties *LogicalNetworkProperties `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"`
}

LogicalNetwork logical network data model.

func (LogicalNetwork) MarshalJSON

func (ln LogicalNetwork) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogicalNetwork.

type LogicalNetworkCollection

type LogicalNetworkCollection struct {
	autorest.Response `json:"-"`
	// Value - The Logical Networks list details.
	Value *[]LogicalNetwork `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

LogicalNetworkCollection list of logical networks.

func (LogicalNetworkCollection) IsEmpty

func (lnc LogicalNetworkCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LogicalNetworkCollectionIterator

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

LogicalNetworkCollectionIterator provides access to a complete listing of LogicalNetwork values.

func NewLogicalNetworkCollectionIterator

func NewLogicalNetworkCollectionIterator(page LogicalNetworkCollectionPage) LogicalNetworkCollectionIterator

Creates a new instance of the LogicalNetworkCollectionIterator type.

func (*LogicalNetworkCollectionIterator) Next

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 (*LogicalNetworkCollectionIterator) NextWithContext

func (iter *LogicalNetworkCollectionIterator) 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 (LogicalNetworkCollectionIterator) NotDone

func (iter LogicalNetworkCollectionIterator) NotDone() bool

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

func (LogicalNetworkCollectionIterator) Response

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

func (LogicalNetworkCollectionIterator) Value

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

type LogicalNetworkCollectionPage

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

LogicalNetworkCollectionPage contains a page of LogicalNetwork values.

func NewLogicalNetworkCollectionPage

Creates a new instance of the LogicalNetworkCollectionPage type.

func (*LogicalNetworkCollectionPage) Next

func (page *LogicalNetworkCollectionPage) 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 (*LogicalNetworkCollectionPage) NextWithContext

func (page *LogicalNetworkCollectionPage) 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 (LogicalNetworkCollectionPage) NotDone

func (page LogicalNetworkCollectionPage) NotDone() bool

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

func (LogicalNetworkCollectionPage) Response

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

func (LogicalNetworkCollectionPage) Values

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

type LogicalNetworkProperties

type LogicalNetworkProperties struct {
	// FriendlyName - The Friendly Name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// NetworkVirtualizationStatus - A value indicating whether Network Virtualization is enabled for the logical network.
	NetworkVirtualizationStatus *string `json:"networkVirtualizationStatus,omitempty"`
	// LogicalNetworkUsage - A value indicating whether logical network is used as private test network by test failover.
	LogicalNetworkUsage *string `json:"logicalNetworkUsage,omitempty"`
	// LogicalNetworkDefinitionsStatus - A value indicating whether logical network definitions are isolated.
	LogicalNetworkDefinitionsStatus *string `json:"logicalNetworkDefinitionsStatus,omitempty"`
}

LogicalNetworkProperties logical Network Properties.

type ManualActionTaskDetails

type ManualActionTaskDetails struct {
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Instructions - The instructions.
	Instructions *string `json:"instructions,omitempty"`
	// Observation - The observation.
	Observation *string `json:"observation,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

ManualActionTaskDetails this class represents the manual action task details.

func (ManualActionTaskDetails) AsAutomationRunbookTaskDetails

func (matd ManualActionTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsBasicTaskTypeDetails

func (matd ManualActionTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsConsistencyCheckTaskDetails

func (matd ManualActionTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsFabricReplicationGroupTaskDetails

func (matd ManualActionTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsJobTaskDetails

func (matd ManualActionTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsManualActionTaskDetails

func (matd ManualActionTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsScriptActionTaskDetails

func (matd ManualActionTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsTaskTypeDetails

func (matd ManualActionTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsVMNicUpdatesTaskDetails

func (matd ManualActionTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) AsVirtualMachineTaskDetails

func (matd ManualActionTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for ManualActionTaskDetails.

func (ManualActionTaskDetails) MarshalJSON

func (matd ManualActionTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ManualActionTaskDetails.

type MasterTargetServer

type MasterTargetServer struct {
	// ID - The server Id.
	ID *string `json:"id,omitempty"`
	// IPAddress - The IP address of the server.
	IPAddress *string `json:"ipAddress,omitempty"`
	// Name - The server name.
	Name *string `json:"name,omitempty"`
	// OsType - The OS type of the server.
	OsType *string `json:"osType,omitempty"`
	// AgentVersion - The version of the scout component on the server.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// LastHeartbeat - The last heartbeat received from the server.
	LastHeartbeat *date.Time `json:"lastHeartbeat,omitempty"`
	// VersionStatus - Version status
	VersionStatus *string `json:"versionStatus,omitempty"`
	// RetentionVolumes - The retention volumes of Master target Server.
	RetentionVolumes *[]RetentionVolume `json:"retentionVolumes,omitempty"`
	// DataStores - The list of data stores in the fabric.
	DataStores *[]DataStore `json:"dataStores,omitempty"`
	// ValidationErrors - Validation errors.
	ValidationErrors *[]HealthError `json:"validationErrors,omitempty"`
	// DiskCount - Disk count of the master target.
	DiskCount *int32 `json:"diskCount,omitempty"`
	// OsVersion - OS Version of the master target.
	OsVersion *string `json:"osVersion,omitempty"`
}

MasterTargetServer details of a Master Target Server.

type MethodCallStatus

type MethodCallStatus struct {
	// IsVirtual - Gets a value indicating whether called method was virtual
	IsVirtual *string `json:"isVirtual,omitempty"`
	// Parameters - Gets parameter list passed to method.
	Parameters *[]string `json:"parameters,omitempty"`
	// ContainsGenericParameters - Gets a value indicating whether method container generic params.
	ContainsGenericParameters *string `json:"containsGenericParameters,omitempty"`
}

MethodCallStatus reports method status where exception was raised.

type MobilityServiceUpdate

type MobilityServiceUpdate struct {
	// Version - The version of the latest update.
	Version *string `json:"version,omitempty"`
	// RebootStatus - The reboot status of the update - whether it is required or not.
	RebootStatus *string `json:"rebootStatus,omitempty"`
	// OsType - The OS type.
	OsType *string `json:"osType,omitempty"`
}

MobilityServiceUpdate the Mobility Service update details.

type MultiVMSyncStatus

type MultiVMSyncStatus string

MultiVMSyncStatus enumerates the values for multi vm sync status.

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

func PossibleMultiVMSyncStatusValues

func PossibleMultiVMSyncStatusValues() []MultiVMSyncStatus

PossibleMultiVMSyncStatusValues returns an array of possible values for the MultiVMSyncStatus const type.

type Network

type Network struct {
	autorest.Response `json:"-"`
	// Properties - The Network Properties.
	Properties *NetworkProperties `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"`
}

Network network model.

func (Network) MarshalJSON

func (n Network) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Network.

type NetworkCollection

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

NetworkCollection list of networks.

func (NetworkCollection) IsEmpty

func (nc NetworkCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NetworkCollectionIterator

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

NetworkCollectionIterator provides access to a complete listing of Network values.

func NewNetworkCollectionIterator

func NewNetworkCollectionIterator(page NetworkCollectionPage) NetworkCollectionIterator

Creates a new instance of the NetworkCollectionIterator type.

func (*NetworkCollectionIterator) Next

func (iter *NetworkCollectionIterator) 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 (*NetworkCollectionIterator) NextWithContext

func (iter *NetworkCollectionIterator) 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 (NetworkCollectionIterator) NotDone

func (iter NetworkCollectionIterator) NotDone() bool

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

func (NetworkCollectionIterator) Response

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

func (NetworkCollectionIterator) Value

func (iter NetworkCollectionIterator) Value() Network

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

type NetworkCollectionPage

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

NetworkCollectionPage contains a page of Network values.

func NewNetworkCollectionPage

func NewNetworkCollectionPage(cur NetworkCollection, getNextPage func(context.Context, NetworkCollection) (NetworkCollection, error)) NetworkCollectionPage

Creates a new instance of the NetworkCollectionPage type.

func (*NetworkCollectionPage) Next

func (page *NetworkCollectionPage) 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 (*NetworkCollectionPage) NextWithContext

func (page *NetworkCollectionPage) 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 (NetworkCollectionPage) NotDone

func (page NetworkCollectionPage) NotDone() bool

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

func (NetworkCollectionPage) Response

func (page NetworkCollectionPage) Response() NetworkCollection

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

func (NetworkCollectionPage) Values

func (page NetworkCollectionPage) Values() []Network

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

type NetworkMapping

type NetworkMapping struct {
	autorest.Response `json:"-"`
	// Properties - The Network Mapping Properties.
	Properties *NetworkMappingProperties `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"`
}

NetworkMapping network Mapping model. Ideally it should have been possible to inherit this class from prev version in InheritedModels as long as there is no difference in structure or method signature. Since there were no base Models for certain fields and methods viz NetworkMappingProperties and Load with required return type, the class has been introduced in its entirety with references to base models to facilitate extensions in subsequent versions.

func (NetworkMapping) MarshalJSON

func (nm NetworkMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkMapping.

type NetworkMappingCollection

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

NetworkMappingCollection list of network mappings. As with NetworkMapping, it should be possible to reuse a prev version of this class. It doesn't seem likely this class could be anything more than a slightly bespoke collection of NetworkMapping. Hence it makes sense to override Load with Base.NetworkMapping instead of existing CurrentVersion.NetworkMapping.

func (NetworkMappingCollection) IsEmpty

func (nmc NetworkMappingCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NetworkMappingCollectionIterator

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

NetworkMappingCollectionIterator provides access to a complete listing of NetworkMapping values.

func NewNetworkMappingCollectionIterator

func NewNetworkMappingCollectionIterator(page NetworkMappingCollectionPage) NetworkMappingCollectionIterator

Creates a new instance of the NetworkMappingCollectionIterator type.

func (*NetworkMappingCollectionIterator) Next

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 (*NetworkMappingCollectionIterator) NextWithContext

func (iter *NetworkMappingCollectionIterator) 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 (NetworkMappingCollectionIterator) NotDone

func (iter NetworkMappingCollectionIterator) NotDone() bool

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

func (NetworkMappingCollectionIterator) Response

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

func (NetworkMappingCollectionIterator) Value

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

type NetworkMappingCollectionPage

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

NetworkMappingCollectionPage contains a page of NetworkMapping values.

func NewNetworkMappingCollectionPage

Creates a new instance of the NetworkMappingCollectionPage type.

func (*NetworkMappingCollectionPage) Next

func (page *NetworkMappingCollectionPage) 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 (*NetworkMappingCollectionPage) NextWithContext

func (page *NetworkMappingCollectionPage) 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 (NetworkMappingCollectionPage) NotDone

func (page NetworkMappingCollectionPage) NotDone() bool

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

func (NetworkMappingCollectionPage) Response

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

func (NetworkMappingCollectionPage) Values

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

type NetworkMappingFabricSpecificSettings

type NetworkMappingFabricSpecificSettings struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeNetworkMappingFabricSpecificSettings', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeAzureToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicNetworkMappingFabricSpecificSettings `json:"instanceType,omitempty"`
}

NetworkMappingFabricSpecificSettings network Mapping fabric specific settings.

func (NetworkMappingFabricSpecificSettings) AsAzureToAzureNetworkMappingSettings

func (nmfss NetworkMappingFabricSpecificSettings) AsAzureToAzureNetworkMappingSettings() (*AzureToAzureNetworkMappingSettings, bool)

AsAzureToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for NetworkMappingFabricSpecificSettings.

func (NetworkMappingFabricSpecificSettings) AsBasicNetworkMappingFabricSpecificSettings

func (nmfss NetworkMappingFabricSpecificSettings) AsBasicNetworkMappingFabricSpecificSettings() (BasicNetworkMappingFabricSpecificSettings, bool)

AsBasicNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for NetworkMappingFabricSpecificSettings.

func (NetworkMappingFabricSpecificSettings) AsNetworkMappingFabricSpecificSettings

func (nmfss NetworkMappingFabricSpecificSettings) AsNetworkMappingFabricSpecificSettings() (*NetworkMappingFabricSpecificSettings, bool)

AsNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for NetworkMappingFabricSpecificSettings.

func (NetworkMappingFabricSpecificSettings) AsVmmToAzureNetworkMappingSettings

func (nmfss NetworkMappingFabricSpecificSettings) AsVmmToAzureNetworkMappingSettings() (*VmmToAzureNetworkMappingSettings, bool)

AsVmmToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for NetworkMappingFabricSpecificSettings.

func (NetworkMappingFabricSpecificSettings) AsVmmToVmmNetworkMappingSettings

func (nmfss NetworkMappingFabricSpecificSettings) AsVmmToVmmNetworkMappingSettings() (*VmmToVmmNetworkMappingSettings, bool)

AsVmmToVmmNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for NetworkMappingFabricSpecificSettings.

func (NetworkMappingFabricSpecificSettings) MarshalJSON

func (nmfss NetworkMappingFabricSpecificSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkMappingFabricSpecificSettings.

type NetworkMappingProperties

type NetworkMappingProperties struct {
	// State - The pairing state for network mapping.
	State *string `json:"state,omitempty"`
	// PrimaryNetworkFriendlyName - The primary network friendly name.
	PrimaryNetworkFriendlyName *string `json:"primaryNetworkFriendlyName,omitempty"`
	// PrimaryNetworkID - The primary network id for network mapping.
	PrimaryNetworkID *string `json:"primaryNetworkId,omitempty"`
	// PrimaryFabricFriendlyName - The primary fabric friendly name.
	PrimaryFabricFriendlyName *string `json:"primaryFabricFriendlyName,omitempty"`
	// RecoveryNetworkFriendlyName - The recovery network friendly name.
	RecoveryNetworkFriendlyName *string `json:"recoveryNetworkFriendlyName,omitempty"`
	// RecoveryNetworkID - The recovery network id for network mapping.
	RecoveryNetworkID *string `json:"recoveryNetworkId,omitempty"`
	// RecoveryFabricArmID - The recovery fabric ARM id.
	RecoveryFabricArmID *string `json:"recoveryFabricArmId,omitempty"`
	// RecoveryFabricFriendlyName - The recovery fabric friendly name.
	RecoveryFabricFriendlyName *string `json:"recoveryFabricFriendlyName,omitempty"`
	// FabricSpecificSettings - The fabric specific settings.
	FabricSpecificSettings BasicNetworkMappingFabricSpecificSettings `json:"fabricSpecificSettings,omitempty"`
}

NetworkMappingProperties network Mapping Properties.

func (*NetworkMappingProperties) UnmarshalJSON

func (nmp *NetworkMappingProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for NetworkMappingProperties struct.

type NetworkProperties

type NetworkProperties struct {
	// FabricType - The Fabric Type.
	FabricType *string `json:"fabricType,omitempty"`
	// Subnets - The List of subnets.
	Subnets *[]Subnet `json:"subnets,omitempty"`
	// FriendlyName - The Friendly Name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// NetworkType - The Network Type.
	NetworkType *string `json:"networkType,omitempty"`
}

NetworkProperties network Properties

type OSDetails

type OSDetails struct {
	// OsType - VM Disk details.
	OsType *string `json:"osType,omitempty"`
	// ProductType - Product type.
	ProductType *string `json:"productType,omitempty"`
	// OsEdition - The OSEdition.
	OsEdition *string `json:"osEdition,omitempty"`
	// OSVersion - The OS Version.
	OSVersion *string `json:"oSVersion,omitempty"`
	// OSMajorVersion - The OS Major Version.
	OSMajorVersion *string `json:"oSMajorVersion,omitempty"`
	// OSMinorVersion - The OS Minor Version.
	OSMinorVersion *string `json:"oSMinorVersion,omitempty"`
}

OSDetails disk Details.

type OSDiskDetails

type OSDiskDetails struct {
	// OsVhdID - The id of the disk containing the OS.
	OsVhdID *string `json:"osVhdId,omitempty"`
	// OsType - The type of the OS on the VM.
	OsType *string `json:"osType,omitempty"`
	// VhdName - The OS disk VHD name.
	VhdName *string `json:"vhdName,omitempty"`
}

OSDiskDetails details of the OS Disk.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the client for the Operations methods of the Siterecovery service.

func NewOperationsClient

func NewOperationsClient(subscriptionID string, resourceGroupName string, resourceName string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

List operation to return the list of available operations.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationsDiscoveryCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationsDiscoveryCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OperationsDiscovery

type OperationsDiscovery struct {
	// Name - Name of the API. The name of the operation being performed on this particular object. It should match the action name that appears in RBAC / the event service. Examples of operations include: * Microsoft.Compute/virtualMachine/capture/action * Microsoft.Compute/virtualMachine/restart/action * Microsoft.Compute/virtualMachine/write * Microsoft.Compute/virtualMachine/read * Microsoft.Compute/virtualMachine/delete Each action should include, in order: (1) Resource Provider Namespace (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL Azure database) (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH on a collection or named value, Write should be used. If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it is a POST, Action should be used. As a note: all resource providers would need to include the "{Resource Provider Namespace}/register/action" operation in their response. This API is used to register for their service, and should include details about the operation (e.g. a localized name for the resource provider + any special considerations like PII release)
	Name *string `json:"name,omitempty"`
	// Display - Object type
	Display *Display `json:"display,omitempty"`
	// Origin - Origin. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is "user,system"
	Origin *string `json:"origin,omitempty"`
	// Properties - Properties. Reserved for future use.
	Properties interface{} `json:"properties,omitempty"`
}

OperationsDiscovery operations discovery class.

type OperationsDiscoveryCollection

type OperationsDiscoveryCollection struct {
	autorest.Response `json:"-"`
	// Value - The ClientDiscovery details.
	Value *[]OperationsDiscovery `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationsDiscoveryCollection collection of ClientDiscovery details.

func (OperationsDiscoveryCollection) IsEmpty

func (odc OperationsDiscoveryCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationsDiscoveryCollectionIterator

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

OperationsDiscoveryCollectionIterator provides access to a complete listing of OperationsDiscovery values.

func NewOperationsDiscoveryCollectionIterator

func NewOperationsDiscoveryCollectionIterator(page OperationsDiscoveryCollectionPage) OperationsDiscoveryCollectionIterator

Creates a new instance of the OperationsDiscoveryCollectionIterator type.

func (*OperationsDiscoveryCollectionIterator) Next

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 (*OperationsDiscoveryCollectionIterator) NextWithContext

func (iter *OperationsDiscoveryCollectionIterator) 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 (OperationsDiscoveryCollectionIterator) NotDone

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

func (OperationsDiscoveryCollectionIterator) Response

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

func (OperationsDiscoveryCollectionIterator) Value

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

type OperationsDiscoveryCollectionPage

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

OperationsDiscoveryCollectionPage contains a page of OperationsDiscovery values.

func NewOperationsDiscoveryCollectionPage

Creates a new instance of the OperationsDiscoveryCollectionPage type.

func (*OperationsDiscoveryCollectionPage) Next

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 (*OperationsDiscoveryCollectionPage) NextWithContext

func (page *OperationsDiscoveryCollectionPage) 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 (OperationsDiscoveryCollectionPage) NotDone

func (page OperationsDiscoveryCollectionPage) NotDone() bool

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

func (OperationsDiscoveryCollectionPage) Response

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

func (OperationsDiscoveryCollectionPage) Values

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

type PlannedFailoverInput

type PlannedFailoverInput struct {
	// Properties - Planned failover input properties
	Properties *PlannedFailoverInputProperties `json:"properties,omitempty"`
}

PlannedFailoverInput input definition for planned failover.

type PlannedFailoverInputProperties

type PlannedFailoverInputProperties struct {
	// FailoverDirection - Failover direction.
	FailoverDirection *string `json:"failoverDirection,omitempty"`
	// ProviderSpecificDetails - Provider specific settings
	ProviderSpecificDetails BasicProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"`
}

PlannedFailoverInputProperties input definition for planned failover input properties.

func (*PlannedFailoverInputProperties) UnmarshalJSON

func (pfip *PlannedFailoverInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PlannedFailoverInputProperties struct.

type Policy

type Policy struct {
	autorest.Response `json:"-"`
	// Properties - The custom data.
	Properties *PolicyProperties `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"`
}

Policy protection profile details.

func (Policy) MarshalJSON

func (p Policy) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Policy.

type PolicyCollection

type PolicyCollection struct {
	autorest.Response `json:"-"`
	// Value - The policy details.
	Value *[]Policy `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

PolicyCollection protection Profile Collection details.

func (PolicyCollection) IsEmpty

func (pc PolicyCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PolicyCollectionIterator

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

PolicyCollectionIterator provides access to a complete listing of Policy values.

func NewPolicyCollectionIterator

func NewPolicyCollectionIterator(page PolicyCollectionPage) PolicyCollectionIterator

Creates a new instance of the PolicyCollectionIterator type.

func (*PolicyCollectionIterator) Next

func (iter *PolicyCollectionIterator) 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 (*PolicyCollectionIterator) NextWithContext

func (iter *PolicyCollectionIterator) 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 (PolicyCollectionIterator) NotDone

func (iter PolicyCollectionIterator) NotDone() bool

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

func (PolicyCollectionIterator) Response

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

func (PolicyCollectionIterator) Value

func (iter PolicyCollectionIterator) Value() Policy

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

type PolicyCollectionPage

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

PolicyCollectionPage contains a page of Policy values.

func NewPolicyCollectionPage

func NewPolicyCollectionPage(cur PolicyCollection, getNextPage func(context.Context, PolicyCollection) (PolicyCollection, error)) PolicyCollectionPage

Creates a new instance of the PolicyCollectionPage type.

func (*PolicyCollectionPage) Next

func (page *PolicyCollectionPage) 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 (*PolicyCollectionPage) NextWithContext

func (page *PolicyCollectionPage) 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 (PolicyCollectionPage) NotDone

func (page PolicyCollectionPage) NotDone() bool

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

func (PolicyCollectionPage) Response

func (page PolicyCollectionPage) Response() PolicyCollection

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

func (PolicyCollectionPage) Values

func (page PolicyCollectionPage) Values() []Policy

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

type PolicyProperties

type PolicyProperties struct {
	// FriendlyName - The FriendlyName.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ProviderSpecificDetails - The ReplicationChannelSetting.
	ProviderSpecificDetails BasicPolicyProviderSpecificDetails `json:"providerSpecificDetails,omitempty"`
}

PolicyProperties protection profile custom data details.

func (*PolicyProperties) UnmarshalJSON

func (pp *PolicyProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PolicyProperties struct.

type PolicyProviderSpecificDetails

type PolicyProviderSpecificDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

PolicyProviderSpecificDetails base class for Provider specific details for policies.

func (PolicyProviderSpecificDetails) AsA2APolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsBasicPolicyProviderSpecificDetails

func (ppsd PolicyProviderSpecificDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsHyperVReplicaAzurePolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsHyperVReplicaBasePolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsHyperVReplicaBluePolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsHyperVReplicaPolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsInMageAzureV2PolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsInMageBasePolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsInMagePolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsPolicyProviderSpecificDetails

func (ppsd PolicyProviderSpecificDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsRcmAzureMigrationPolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) AsVmwareCbtPolicyDetails

func (ppsd PolicyProviderSpecificDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for PolicyProviderSpecificDetails.

func (PolicyProviderSpecificDetails) MarshalJSON

func (ppsd PolicyProviderSpecificDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PolicyProviderSpecificDetails.

type PolicyProviderSpecificInput

type PolicyProviderSpecificInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

PolicyProviderSpecificInput base class for provider specific input

func (PolicyProviderSpecificInput) AsA2APolicyCreationInput

func (ppsi PolicyProviderSpecificInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsBasicPolicyProviderSpecificInput

func (ppsi PolicyProviderSpecificInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsHyperVReplicaAzurePolicyInput

func (ppsi PolicyProviderSpecificInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsHyperVReplicaBluePolicyInput

func (ppsi PolicyProviderSpecificInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsHyperVReplicaPolicyInput

func (ppsi PolicyProviderSpecificInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsInMageAzureV2PolicyInput

func (ppsi PolicyProviderSpecificInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsInMagePolicyInput

func (ppsi PolicyProviderSpecificInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsPolicyProviderSpecificInput

func (ppsi PolicyProviderSpecificInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) AsVMwareCbtPolicyCreationInput

func (ppsi PolicyProviderSpecificInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for PolicyProviderSpecificInput.

func (PolicyProviderSpecificInput) MarshalJSON

func (ppsi PolicyProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PolicyProviderSpecificInput.

type PossibleOperationsDirections

type PossibleOperationsDirections string

PossibleOperationsDirections enumerates the values for possible operations directions.

const (
	// PrimaryToRecovery ...
	PrimaryToRecovery PossibleOperationsDirections = "PrimaryToRecovery"
	// RecoveryToPrimary ...
	RecoveryToPrimary PossibleOperationsDirections = "RecoveryToPrimary"
)

func PossiblePossibleOperationsDirectionsValues

func PossiblePossibleOperationsDirectionsValues() []PossibleOperationsDirections

PossiblePossibleOperationsDirectionsValues returns an array of possible values for the PossibleOperationsDirections const type.

type ProcessServer

type ProcessServer struct {
	// FriendlyName - The Process Server's friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ID - The Process Server Id.
	ID *string `json:"id,omitempty"`
	// IPAddress - The IP address of the server.
	IPAddress *string `json:"ipAddress,omitempty"`
	// OsType - The OS type of the server.
	OsType *string `json:"osType,omitempty"`
	// AgentVersion - The version of the scout component on the server.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// LastHeartbeat - The last heartbeat received from the server.
	LastHeartbeat *date.Time `json:"lastHeartbeat,omitempty"`
	// VersionStatus - Version status
	VersionStatus *string `json:"versionStatus,omitempty"`
	// MobilityServiceUpdates - The list of the mobility service updates available on the Process Server.
	MobilityServiceUpdates *[]MobilityServiceUpdate `json:"mobilityServiceUpdates,omitempty"`
	// HostID - The agent generated Id.
	HostID *string `json:"hostId,omitempty"`
	// MachineCount - The servers configured with this PS.
	MachineCount *string `json:"machineCount,omitempty"`
	// ReplicationPairCount - The number of replication pairs configured in this PS.
	ReplicationPairCount *string `json:"replicationPairCount,omitempty"`
	// SystemLoad - The percentage of the system load.
	SystemLoad *string `json:"systemLoad,omitempty"`
	// SystemLoadStatus - The system load status.
	SystemLoadStatus *string `json:"systemLoadStatus,omitempty"`
	// CPULoad - The percentage of the CPU load.
	CPULoad *string `json:"cpuLoad,omitempty"`
	// CPULoadStatus - The CPU load status.
	CPULoadStatus *string `json:"cpuLoadStatus,omitempty"`
	// TotalMemoryInBytes - The total memory.
	TotalMemoryInBytes *int64 `json:"totalMemoryInBytes,omitempty"`
	// AvailableMemoryInBytes - The available memory.
	AvailableMemoryInBytes *int64 `json:"availableMemoryInBytes,omitempty"`
	// MemoryUsageStatus - The memory usage status.
	MemoryUsageStatus *string `json:"memoryUsageStatus,omitempty"`
	// TotalSpaceInBytes - The total space.
	TotalSpaceInBytes *int64 `json:"totalSpaceInBytes,omitempty"`
	// AvailableSpaceInBytes - The available space.
	AvailableSpaceInBytes *int64 `json:"availableSpaceInBytes,omitempty"`
	// SpaceUsageStatus - The space usage status.
	SpaceUsageStatus *string `json:"spaceUsageStatus,omitempty"`
	// PsServiceStatus - The PS service status.
	PsServiceStatus *string `json:"psServiceStatus,omitempty"`
	// SslCertExpiryDate - The PS SSL cert expiry date.
	SslCertExpiryDate *date.Time `json:"sslCertExpiryDate,omitempty"`
	// SslCertExpiryRemainingDays - CS SSL cert expiry date.
	SslCertExpiryRemainingDays *int32 `json:"sslCertExpiryRemainingDays,omitempty"`
	// OsVersion - OS Version of the process server. Note: This will get populated if user has CS version greater than 9.12.0.0.
	OsVersion *string `json:"osVersion,omitempty"`
}

ProcessServer details of the Process Server.

type ProtectableItem

type ProtectableItem struct {
	autorest.Response `json:"-"`
	// Properties - The custom data.
	Properties *ProtectableItemProperties `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"`
}

ProtectableItem replication protected item

func (ProtectableItem) MarshalJSON

func (pi ProtectableItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectableItem.

type ProtectableItemCollection

type ProtectableItemCollection struct {
	autorest.Response `json:"-"`
	// Value - The Protectable item details.
	Value *[]ProtectableItem `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ProtectableItemCollection protectable item collection.

func (ProtectableItemCollection) IsEmpty

func (pic ProtectableItemCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProtectableItemCollectionIterator

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

ProtectableItemCollectionIterator provides access to a complete listing of ProtectableItem values.

func NewProtectableItemCollectionIterator

func NewProtectableItemCollectionIterator(page ProtectableItemCollectionPage) ProtectableItemCollectionIterator

Creates a new instance of the ProtectableItemCollectionIterator type.

func (*ProtectableItemCollectionIterator) Next

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 (*ProtectableItemCollectionIterator) NextWithContext

func (iter *ProtectableItemCollectionIterator) 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 (ProtectableItemCollectionIterator) NotDone

func (iter ProtectableItemCollectionIterator) NotDone() bool

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

func (ProtectableItemCollectionIterator) Response

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

func (ProtectableItemCollectionIterator) Value

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

type ProtectableItemCollectionPage

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

ProtectableItemCollectionPage contains a page of ProtectableItem values.

func NewProtectableItemCollectionPage

Creates a new instance of the ProtectableItemCollectionPage type.

func (*ProtectableItemCollectionPage) Next

func (page *ProtectableItemCollectionPage) 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 (*ProtectableItemCollectionPage) NextWithContext

func (page *ProtectableItemCollectionPage) 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 (ProtectableItemCollectionPage) NotDone

func (page ProtectableItemCollectionPage) NotDone() bool

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

func (ProtectableItemCollectionPage) Response

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

func (ProtectableItemCollectionPage) Values

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

type ProtectableItemProperties

type ProtectableItemProperties struct {
	// FriendlyName - The name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ProtectionStatus - The protection status.
	ProtectionStatus *string `json:"protectionStatus,omitempty"`
	// ReplicationProtectedItemID - The ARM resource of protected items.
	ReplicationProtectedItemID *string `json:"replicationProtectedItemId,omitempty"`
	// RecoveryServicesProviderID - The recovery provider ARM Id.
	RecoveryServicesProviderID *string `json:"recoveryServicesProviderId,omitempty"`
	// ProtectionReadinessErrors - The Current protection readiness errors.
	ProtectionReadinessErrors *[]string `json:"protectionReadinessErrors,omitempty"`
	// SupportedReplicationProviders - The list of replication providers supported for the protectable item.
	SupportedReplicationProviders *[]string `json:"supportedReplicationProviders,omitempty"`
	// CustomDetails - The Replication provider custom settings.
	CustomDetails BasicConfigurationSettings `json:"customDetails,omitempty"`
}

ProtectableItemProperties replication protected item custom data details.

func (*ProtectableItemProperties) UnmarshalJSON

func (pip *ProtectableItemProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ProtectableItemProperties struct.

type ProtectedItemsQueryParameter

type ProtectedItemsQueryParameter struct {
	// SourceFabricName - The source fabric name filter.
	SourceFabricName *string `json:"sourceFabricName,omitempty"`
	// RecoveryPlanName - The recovery plan filter.
	RecoveryPlanName *string `json:"recoveryPlanName,omitempty"`
	// VCenterName - The vCenter name filter.
	VCenterName *string `json:"vCenterName,omitempty"`
}

ProtectedItemsQueryParameter query parameter to enumerate protected items.

type ProtectionContainer

type ProtectionContainer struct {
	autorest.Response `json:"-"`
	// Properties - The custom data.
	Properties *ProtectionContainerProperties `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"`
}

ProtectionContainer protection container details.

func (ProtectionContainer) MarshalJSON

func (pc ProtectionContainer) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectionContainer.

type ProtectionContainerCollection

type ProtectionContainerCollection struct {
	autorest.Response `json:"-"`
	// Value - The Protection Container details.
	Value *[]ProtectionContainer `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ProtectionContainerCollection protection Container collection.

func (ProtectionContainerCollection) IsEmpty

func (pcc ProtectionContainerCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ProtectionContainerCollectionIterator

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

ProtectionContainerCollectionIterator provides access to a complete listing of ProtectionContainer values.

func NewProtectionContainerCollectionIterator

func NewProtectionContainerCollectionIterator(page ProtectionContainerCollectionPage) ProtectionContainerCollectionIterator

Creates a new instance of the ProtectionContainerCollectionIterator type.

func (*ProtectionContainerCollectionIterator) Next

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 (*ProtectionContainerCollectionIterator) NextWithContext

func (iter *ProtectionContainerCollectionIterator) 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 (ProtectionContainerCollectionIterator) NotDone

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

func (ProtectionContainerCollectionIterator) Response

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

func (ProtectionContainerCollectionIterator) Value

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

type ProtectionContainerCollectionPage

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

ProtectionContainerCollectionPage contains a page of ProtectionContainer values.

func NewProtectionContainerCollectionPage

Creates a new instance of the ProtectionContainerCollectionPage type.

func (*ProtectionContainerCollectionPage) Next

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 (*ProtectionContainerCollectionPage) NextWithContext

func (page *ProtectionContainerCollectionPage) 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 (ProtectionContainerCollectionPage) NotDone

func (page ProtectionContainerCollectionPage) NotDone() bool

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

func (ProtectionContainerCollectionPage) Response

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

func (ProtectionContainerCollectionPage) Values

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

type ProtectionContainerFabricSpecificDetails

type ProtectionContainerFabricSpecificDetails struct {
	// InstanceType - READ-ONLY; Gets the class type. Overridden in derived classes.
	InstanceType *string `json:"instanceType,omitempty"`
}

ProtectionContainerFabricSpecificDetails base class for fabric specific details of container.

func (ProtectionContainerFabricSpecificDetails) MarshalJSON

func (pcfsd ProtectionContainerFabricSpecificDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectionContainerFabricSpecificDetails.

type ProtectionContainerMapping

type ProtectionContainerMapping struct {
	autorest.Response `json:"-"`
	// Properties - The custom data.
	Properties *ProtectionContainerMappingProperties `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"`
}

ProtectionContainerMapping protection container mapping object.

func (ProtectionContainerMapping) MarshalJSON

func (pcm ProtectionContainerMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProtectionContainerMapping.

type ProtectionContainerMappingCollection

type ProtectionContainerMappingCollection struct {
	autorest.Response `json:"-"`
	// Value - List of container mappings.
	Value *[]ProtectionContainerMapping `json:"value,omitempty"`
	// NextLink - Link to fetch rest of the data.
	NextLink *string `json:"nextLink,omitempty"`
}

ProtectionContainerMappingCollection protection container mapping collection class.

func (ProtectionContainerMappingCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ProtectionContainerMappingCollectionIterator

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

ProtectionContainerMappingCollectionIterator provides access to a complete listing of ProtectionContainerMapping values.

func NewProtectionContainerMappingCollectionIterator

func NewProtectionContainerMappingCollectionIterator(page ProtectionContainerMappingCollectionPage) ProtectionContainerMappingCollectionIterator

Creates a new instance of the ProtectionContainerMappingCollectionIterator type.

func (*ProtectionContainerMappingCollectionIterator) Next

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 (*ProtectionContainerMappingCollectionIterator) NextWithContext

func (iter *ProtectionContainerMappingCollectionIterator) 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 (ProtectionContainerMappingCollectionIterator) NotDone

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

func (ProtectionContainerMappingCollectionIterator) Response

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

func (ProtectionContainerMappingCollectionIterator) Value

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

type ProtectionContainerMappingCollectionPage

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

ProtectionContainerMappingCollectionPage contains a page of ProtectionContainerMapping values.

func NewProtectionContainerMappingCollectionPage

Creates a new instance of the ProtectionContainerMappingCollectionPage type.

func (*ProtectionContainerMappingCollectionPage) Next

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 (*ProtectionContainerMappingCollectionPage) NextWithContext

func (page *ProtectionContainerMappingCollectionPage) 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 (ProtectionContainerMappingCollectionPage) NotDone

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

func (ProtectionContainerMappingCollectionPage) Response

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

func (ProtectionContainerMappingCollectionPage) Values

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

type ProtectionContainerMappingProperties

type ProtectionContainerMappingProperties struct {
	// TargetProtectionContainerID - Paired protection container ARM ID.
	TargetProtectionContainerID *string `json:"targetProtectionContainerId,omitempty"`
	// TargetProtectionContainerFriendlyName - Friendly name of paired container.
	TargetProtectionContainerFriendlyName *string `json:"targetProtectionContainerFriendlyName,omitempty"`
	// ProviderSpecificDetails - Provider specific provider details.
	ProviderSpecificDetails *ProtectionContainerMappingProviderSpecificDetails `json:"providerSpecificDetails,omitempty"`
	// Health - Health of pairing.
	Health *string `json:"health,omitempty"`
	// HealthErrorDetails - Health error.
	HealthErrorDetails *[]HealthError `json:"healthErrorDetails,omitempty"`
	// PolicyID - Policy ARM Id.
	PolicyID *string `json:"policyId,omitempty"`
	// State - Association Status
	State *string `json:"state,omitempty"`
	// SourceProtectionContainerFriendlyName - Friendly name of source protection container.
	SourceProtectionContainerFriendlyName *string `json:"sourceProtectionContainerFriendlyName,omitempty"`
	// SourceFabricFriendlyName - Friendly name of source fabric.
	SourceFabricFriendlyName *string `json:"sourceFabricFriendlyName,omitempty"`
	// TargetFabricFriendlyName - Friendly name of target fabric.
	TargetFabricFriendlyName *string `json:"targetFabricFriendlyName,omitempty"`
	// PolicyFriendlyName - Friendly name of replication policy.
	PolicyFriendlyName *string `json:"policyFriendlyName,omitempty"`
}

ProtectionContainerMappingProperties protection container mapping properties.

type ProtectionContainerMappingProviderSpecificDetails

type ProtectionContainerMappingProviderSpecificDetails struct {
	// InstanceType - READ-ONLY; Gets the class type. Overridden in derived classes.
	InstanceType *string `json:"instanceType,omitempty"`
}

ProtectionContainerMappingProviderSpecificDetails container mapping provider specific details.

func (ProtectionContainerMappingProviderSpecificDetails) MarshalJSON

MarshalJSON is the custom marshaler for ProtectionContainerMappingProviderSpecificDetails.

type ProtectionContainerProperties

type ProtectionContainerProperties struct {
	// FabricFriendlyName - Fabric friendly name.
	FabricFriendlyName *string `json:"fabricFriendlyName,omitempty"`
	// FriendlyName - The name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// FabricType - The fabric type.
	FabricType *string `json:"fabricType,omitempty"`
	// ProtectedItemCount - Number of protected PEs
	ProtectedItemCount *int32 `json:"protectedItemCount,omitempty"`
	// PairingStatus - The pairing status of this cloud.
	PairingStatus *string `json:"pairingStatus,omitempty"`
	// Role - The role of this cloud.
	Role *string `json:"role,omitempty"`
	// FabricSpecificDetails - Fabric specific details.
	FabricSpecificDetails *ProtectionContainerFabricSpecificDetails `json:"fabricSpecificDetails,omitempty"`
}

ProtectionContainerProperties protection profile custom data details.

type ProviderError

type ProviderError struct {
	// ErrorCode - The Error code.
	ErrorCode *int32 `json:"errorCode,omitempty"`
	// ErrorMessage - The Error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// ErrorID - The Provider error Id.
	ErrorID *string `json:"errorId,omitempty"`
	// PossibleCauses - The possible causes for the error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// RecommendedAction - The recommended action to resolve the error.
	RecommendedAction *string `json:"recommendedAction,omitempty"`
}

ProviderError this class contains the error details per object.

type ProviderSpecificFailoverInput

type ProviderSpecificFailoverInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeProviderSpecificFailoverInput', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

ProviderSpecificFailoverInput provider specific failover input.

func (ProviderSpecificFailoverInput) AsA2AFailoverProviderInput

func (psfi ProviderSpecificFailoverInput) AsA2AFailoverProviderInput() (*A2AFailoverProviderInput, bool)

AsA2AFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for ProviderSpecificFailoverInput.

func (ProviderSpecificFailoverInput) AsBasicProviderSpecificFailoverInput

func (psfi ProviderSpecificFailoverInput) AsBasicProviderSpecificFailoverInput() (BasicProviderSpecificFailoverInput, bool)

AsBasicProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for ProviderSpecificFailoverInput.

func (ProviderSpecificFailoverInput) AsHyperVReplicaAzureFailbackProviderInput

func (psfi ProviderSpecificFailoverInput) AsHyperVReplicaAzureFailbackProviderInput() (*HyperVReplicaAzureFailbackProviderInput, bool)

AsHyperVReplicaAzureFailbackProviderInput is the BasicProviderSpecificFailoverInput implementation for ProviderSpecificFailoverInput.

func (ProviderSpecificFailoverInput) AsHyperVReplicaAzureFailoverProviderInput

func (psfi ProviderSpecificFailoverInput) AsHyperVReplicaAzureFailoverProviderInput() (*HyperVReplicaAzureFailoverProviderInput, bool)

AsHyperVReplicaAzureFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for ProviderSpecificFailoverInput.

func (ProviderSpecificFailoverInput) AsInMageAzureV2FailoverProviderInput

func (psfi ProviderSpecificFailoverInput) AsInMageAzureV2FailoverProviderInput() (*InMageAzureV2FailoverProviderInput, bool)

AsInMageAzureV2FailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for ProviderSpecificFailoverInput.

func (ProviderSpecificFailoverInput) AsInMageFailoverProviderInput

func (psfi ProviderSpecificFailoverInput) AsInMageFailoverProviderInput() (*InMageFailoverProviderInput, bool)

AsInMageFailoverProviderInput is the BasicProviderSpecificFailoverInput implementation for ProviderSpecificFailoverInput.

func (ProviderSpecificFailoverInput) AsProviderSpecificFailoverInput

func (psfi ProviderSpecificFailoverInput) AsProviderSpecificFailoverInput() (*ProviderSpecificFailoverInput, bool)

AsProviderSpecificFailoverInput is the BasicProviderSpecificFailoverInput implementation for ProviderSpecificFailoverInput.

func (ProviderSpecificFailoverInput) MarshalJSON

func (psfi ProviderSpecificFailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProviderSpecificFailoverInput.

type ProviderSpecificRecoveryPointDetails

type ProviderSpecificRecoveryPointDetails struct {
	// Type - READ-ONLY; Gets the provider type.
	Type *string `json:"Type,omitempty"`
}

ProviderSpecificRecoveryPointDetails replication provider specific recovery point details.

func (ProviderSpecificRecoveryPointDetails) MarshalJSON

func (psrpd ProviderSpecificRecoveryPointDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProviderSpecificRecoveryPointDetails.

type RcmAzureMigrationPolicyDetails

type RcmAzureMigrationPolicyDetails 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. Possible values include: 'Enabled', 'Disabled'
	MultiVMSyncStatus MultiVMSyncStatus `json:"multiVmSyncStatus,omitempty"`
	// CrashConsistentFrequencyInMinutes - The crash consistent snapshot frequency in minutes.
	CrashConsistentFrequencyInMinutes *int32 `json:"crashConsistentFrequencyInMinutes,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

RcmAzureMigrationPolicyDetails RCM based Azure migration specific policy details.

func (RcmAzureMigrationPolicyDetails) AsA2APolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsBasicPolicyProviderSpecificDetails

func (rampd RcmAzureMigrationPolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsHyperVReplicaBasePolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsHyperVReplicaBluePolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsHyperVReplicaPolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsInMageAzureV2PolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsInMageBasePolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsInMagePolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsPolicyProviderSpecificDetails

func (rampd RcmAzureMigrationPolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsRcmAzureMigrationPolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) AsVmwareCbtPolicyDetails

func (rampd RcmAzureMigrationPolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for RcmAzureMigrationPolicyDetails.

func (RcmAzureMigrationPolicyDetails) MarshalJSON

func (rampd RcmAzureMigrationPolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RcmAzureMigrationPolicyDetails.

type RecoveryPlan

type RecoveryPlan struct {
	autorest.Response `json:"-"`
	// Properties - The custom details.
	Properties *RecoveryPlanProperties `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"`
}

RecoveryPlan recovery plan details.

func (RecoveryPlan) MarshalJSON

func (rp RecoveryPlan) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlan.

type RecoveryPlanA2AFailoverInput

type RecoveryPlanA2AFailoverInput struct {
	// RecoveryPointType - The recovery point type. Possible values include: 'Latest', 'LatestApplicationConsistent', 'LatestCrashConsistent', 'LatestProcessed'
	RecoveryPointType A2ARpRecoveryPointType `json:"recoveryPointType,omitempty"`
	// CloudServiceCreationOption - A value indicating whether to use recovery cloud service for TFO or not.
	CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

RecoveryPlanA2AFailoverInput recovery plan A2A failover input.

func (RecoveryPlanA2AFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput

func (rpafi RecoveryPlanA2AFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput() (BasicRecoveryPlanProviderSpecificFailoverInput, bool)

AsBasicRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanA2AFailoverInput.

func (RecoveryPlanA2AFailoverInput) AsRecoveryPlanA2AFailoverInput

func (rpafi RecoveryPlanA2AFailoverInput) AsRecoveryPlanA2AFailoverInput() (*RecoveryPlanA2AFailoverInput, bool)

AsRecoveryPlanA2AFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanA2AFailoverInput.

func (RecoveryPlanA2AFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput

func (rpafi RecoveryPlanA2AFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput() (*RecoveryPlanHyperVReplicaAzureFailbackInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailbackInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanA2AFailoverInput.

func (RecoveryPlanA2AFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput

func (rpafi RecoveryPlanA2AFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput() (*RecoveryPlanHyperVReplicaAzureFailoverInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanA2AFailoverInput.

func (RecoveryPlanA2AFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput

func (rpafi RecoveryPlanA2AFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput() (*RecoveryPlanInMageAzureV2FailoverInput, bool)

AsRecoveryPlanInMageAzureV2FailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanA2AFailoverInput.

func (RecoveryPlanA2AFailoverInput) AsRecoveryPlanInMageFailoverInput

func (rpafi RecoveryPlanA2AFailoverInput) AsRecoveryPlanInMageFailoverInput() (*RecoveryPlanInMageFailoverInput, bool)

AsRecoveryPlanInMageFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanA2AFailoverInput.

func (RecoveryPlanA2AFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput

func (rpafi RecoveryPlanA2AFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput() (*RecoveryPlanProviderSpecificFailoverInput, bool)

AsRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanA2AFailoverInput.

func (RecoveryPlanA2AFailoverInput) MarshalJSON

func (rpafi RecoveryPlanA2AFailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanA2AFailoverInput.

type RecoveryPlanAction

type RecoveryPlanAction struct {
	// ActionName - The action name.
	ActionName *string `json:"actionName,omitempty"`
	// FailoverTypes - The list of failover types.
	FailoverTypes *[]ReplicationProtectedItemOperation `json:"failoverTypes,omitempty"`
	// FailoverDirections - The list of failover directions.
	FailoverDirections *[]PossibleOperationsDirections `json:"failoverDirections,omitempty"`
	// CustomDetails - The custom details.
	CustomDetails BasicRecoveryPlanActionDetails `json:"customDetails,omitempty"`
}

RecoveryPlanAction recovery plan action details.

func (*RecoveryPlanAction) UnmarshalJSON

func (rpa *RecoveryPlanAction) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RecoveryPlanAction struct.

type RecoveryPlanActionDetails

type RecoveryPlanActionDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeRecoveryPlanActionDetails', 'InstanceTypeScriptActionDetails', 'InstanceTypeAutomationRunbookActionDetails', 'InstanceTypeManualActionDetails'
	InstanceType InstanceTypeBasicRecoveryPlanActionDetails `json:"instanceType,omitempty"`
}

RecoveryPlanActionDetails recovery plan action custom details.

func (RecoveryPlanActionDetails) AsBasicRecoveryPlanActionDetails

func (rpad RecoveryPlanActionDetails) AsBasicRecoveryPlanActionDetails() (BasicRecoveryPlanActionDetails, bool)

AsBasicRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanActionDetails.

func (RecoveryPlanActionDetails) AsRecoveryPlanActionDetails

func (rpad RecoveryPlanActionDetails) AsRecoveryPlanActionDetails() (*RecoveryPlanActionDetails, bool)

AsRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanActionDetails.

func (RecoveryPlanActionDetails) AsRecoveryPlanAutomationRunbookActionDetails

func (rpad RecoveryPlanActionDetails) AsRecoveryPlanAutomationRunbookActionDetails() (*RecoveryPlanAutomationRunbookActionDetails, bool)

AsRecoveryPlanAutomationRunbookActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanActionDetails.

func (RecoveryPlanActionDetails) AsRecoveryPlanManualActionDetails

func (rpad RecoveryPlanActionDetails) AsRecoveryPlanManualActionDetails() (*RecoveryPlanManualActionDetails, bool)

AsRecoveryPlanManualActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanActionDetails.

func (RecoveryPlanActionDetails) AsRecoveryPlanScriptActionDetails

func (rpad RecoveryPlanActionDetails) AsRecoveryPlanScriptActionDetails() (*RecoveryPlanScriptActionDetails, bool)

AsRecoveryPlanScriptActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanActionDetails.

func (RecoveryPlanActionDetails) MarshalJSON

func (rpad RecoveryPlanActionDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanActionDetails.

type RecoveryPlanActionLocation

type RecoveryPlanActionLocation string

RecoveryPlanActionLocation enumerates the values for recovery plan action location.

const (
	// Primary ...
	Primary RecoveryPlanActionLocation = "Primary"
	// Recovery ...
	Recovery RecoveryPlanActionLocation = "Recovery"
)

func PossibleRecoveryPlanActionLocationValues

func PossibleRecoveryPlanActionLocationValues() []RecoveryPlanActionLocation

PossibleRecoveryPlanActionLocationValues returns an array of possible values for the RecoveryPlanActionLocation const type.

type RecoveryPlanAutomationRunbookActionDetails

type RecoveryPlanAutomationRunbookActionDetails struct {
	// RunbookID - The runbook ARM Id.
	RunbookID *string `json:"runbookId,omitempty"`
	// Timeout - The runbook timeout.
	Timeout *string `json:"timeout,omitempty"`
	// FabricLocation - The fabric location. Possible values include: 'Primary', 'Recovery'
	FabricLocation RecoveryPlanActionLocation `json:"fabricLocation,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeRecoveryPlanActionDetails', 'InstanceTypeScriptActionDetails', 'InstanceTypeAutomationRunbookActionDetails', 'InstanceTypeManualActionDetails'
	InstanceType InstanceTypeBasicRecoveryPlanActionDetails `json:"instanceType,omitempty"`
}

RecoveryPlanAutomationRunbookActionDetails recovery plan Automation runbook action details.

func (RecoveryPlanAutomationRunbookActionDetails) AsBasicRecoveryPlanActionDetails

func (rparad RecoveryPlanAutomationRunbookActionDetails) AsBasicRecoveryPlanActionDetails() (BasicRecoveryPlanActionDetails, bool)

AsBasicRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanAutomationRunbookActionDetails.

func (RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanActionDetails

func (rparad RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanActionDetails() (*RecoveryPlanActionDetails, bool)

AsRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanAutomationRunbookActionDetails.

func (RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanAutomationRunbookActionDetails

func (rparad RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanAutomationRunbookActionDetails() (*RecoveryPlanAutomationRunbookActionDetails, bool)

AsRecoveryPlanAutomationRunbookActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanAutomationRunbookActionDetails.

func (RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanManualActionDetails

func (rparad RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanManualActionDetails() (*RecoveryPlanManualActionDetails, bool)

AsRecoveryPlanManualActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanAutomationRunbookActionDetails.

func (RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanScriptActionDetails

func (rparad RecoveryPlanAutomationRunbookActionDetails) AsRecoveryPlanScriptActionDetails() (*RecoveryPlanScriptActionDetails, bool)

AsRecoveryPlanScriptActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanAutomationRunbookActionDetails.

func (RecoveryPlanAutomationRunbookActionDetails) MarshalJSON

func (rparad RecoveryPlanAutomationRunbookActionDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanAutomationRunbookActionDetails.

type RecoveryPlanCollection

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

RecoveryPlanCollection recovery plan collection details.

func (RecoveryPlanCollection) IsEmpty

func (RPCVar RecoveryPlanCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RecoveryPlanCollectionIterator

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

RecoveryPlanCollectionIterator provides access to a complete listing of RecoveryPlan values.

func NewRecoveryPlanCollectionIterator

func NewRecoveryPlanCollectionIterator(page RecoveryPlanCollectionPage) RecoveryPlanCollectionIterator

Creates a new instance of the RecoveryPlanCollectionIterator type.

func (*RecoveryPlanCollectionIterator) Next

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 (*RecoveryPlanCollectionIterator) NextWithContext

func (iter *RecoveryPlanCollectionIterator) 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 (RecoveryPlanCollectionIterator) NotDone

func (iter RecoveryPlanCollectionIterator) NotDone() bool

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

func (RecoveryPlanCollectionIterator) Response

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

func (RecoveryPlanCollectionIterator) Value

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

type RecoveryPlanCollectionPage

type RecoveryPlanCollectionPage struct {
	RPCVar RecoveryPlanCollection
	// contains filtered or unexported fields
}

RecoveryPlanCollectionPage contains a page of RecoveryPlan values.

func NewRecoveryPlanCollectionPage

Creates a new instance of the RecoveryPlanCollectionPage type.

func (*RecoveryPlanCollectionPage) Next

func (page *RecoveryPlanCollectionPage) 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 (*RecoveryPlanCollectionPage) NextWithContext

func (page *RecoveryPlanCollectionPage) 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 (RecoveryPlanCollectionPage) NotDone

func (page RecoveryPlanCollectionPage) NotDone() bool

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

func (RecoveryPlanCollectionPage) Response

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

func (RecoveryPlanCollectionPage) Values

func (page RecoveryPlanCollectionPage) Values() []RecoveryPlan

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

type RecoveryPlanGroup

type RecoveryPlanGroup struct {
	// GroupType - The group type. Possible values include: 'Shutdown', 'Boot', 'Failover'
	GroupType RecoveryPlanGroupType `json:"groupType,omitempty"`
	// ReplicationProtectedItems - The list of protected items.
	ReplicationProtectedItems *[]RecoveryPlanProtectedItem `json:"replicationProtectedItems,omitempty"`
	// StartGroupActions - The start group actions.
	StartGroupActions *[]RecoveryPlanAction `json:"startGroupActions,omitempty"`
	// EndGroupActions - The end group actions.
	EndGroupActions *[]RecoveryPlanAction `json:"endGroupActions,omitempty"`
}

RecoveryPlanGroup recovery plan group details.

type RecoveryPlanGroupTaskDetails

type RecoveryPlanGroupTaskDetails struct {
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// GroupID - The group identifier.
	GroupID *string `json:"groupId,omitempty"`
	// RpGroupType - The group type.
	RpGroupType *string `json:"rpGroupType,omitempty"`
	// ChildTasks - The child tasks.
	ChildTasks *[]ASRTask `json:"childTasks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeGroupTaskDetails', 'InstanceTypeInlineWorkflowTaskDetails', 'InstanceTypeRecoveryPlanGroupTaskDetails', 'InstanceTypeRecoveryPlanShutdownGroupTaskDetails'
	InstanceType InstanceTypeBasicGroupTaskDetails `json:"instanceType,omitempty"`
}

RecoveryPlanGroupTaskDetails this class represents the recovery plan group task.

func (RecoveryPlanGroupTaskDetails) AsBasicGroupTaskDetails

func (rpgtd RecoveryPlanGroupTaskDetails) AsBasicGroupTaskDetails() (BasicGroupTaskDetails, bool)

AsBasicGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanGroupTaskDetails.

func (RecoveryPlanGroupTaskDetails) AsGroupTaskDetails

func (rpgtd RecoveryPlanGroupTaskDetails) AsGroupTaskDetails() (*GroupTaskDetails, bool)

AsGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanGroupTaskDetails.

func (RecoveryPlanGroupTaskDetails) AsInlineWorkflowTaskDetails

func (rpgtd RecoveryPlanGroupTaskDetails) AsInlineWorkflowTaskDetails() (*InlineWorkflowTaskDetails, bool)

AsInlineWorkflowTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanGroupTaskDetails.

func (RecoveryPlanGroupTaskDetails) AsRecoveryPlanGroupTaskDetails

func (rpgtd RecoveryPlanGroupTaskDetails) AsRecoveryPlanGroupTaskDetails() (*RecoveryPlanGroupTaskDetails, bool)

AsRecoveryPlanGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanGroupTaskDetails.

func (RecoveryPlanGroupTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails

func (rpgtd RecoveryPlanGroupTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails() (*RecoveryPlanShutdownGroupTaskDetails, bool)

AsRecoveryPlanShutdownGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanGroupTaskDetails.

func (RecoveryPlanGroupTaskDetails) MarshalJSON

func (rpgtd RecoveryPlanGroupTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanGroupTaskDetails.

type RecoveryPlanGroupType

type RecoveryPlanGroupType string

RecoveryPlanGroupType enumerates the values for recovery plan group type.

const (
	// Boot ...
	Boot RecoveryPlanGroupType = "Boot"
	// Failover ...
	Failover RecoveryPlanGroupType = "Failover"
	// Shutdown ...
	Shutdown RecoveryPlanGroupType = "Shutdown"
)

func PossibleRecoveryPlanGroupTypeValues

func PossibleRecoveryPlanGroupTypeValues() []RecoveryPlanGroupType

PossibleRecoveryPlanGroupTypeValues returns an array of possible values for the RecoveryPlanGroupType const type.

type RecoveryPlanHyperVReplicaAzureFailbackInput

type RecoveryPlanHyperVReplicaAzureFailbackInput struct {
	// DataSyncOption - The data sync option. Possible values include: 'ForDownTime', 'ForSynchronization'
	DataSyncOption DataSyncStatus `json:"dataSyncOption,omitempty"`
	// RecoveryVMCreationOption - The ALR option. Possible values include: 'CreateVMIfNotFound', 'NoAction'
	RecoveryVMCreationOption AlternateLocationRecoveryOption `json:"recoveryVmCreationOption,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

RecoveryPlanHyperVReplicaAzureFailbackInput recovery plan HVR Azure failback input.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) AsBasicRecoveryPlanProviderSpecificFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) AsBasicRecoveryPlanProviderSpecificFailoverInput() (BasicRecoveryPlanProviderSpecificFailoverInput, bool)

AsBasicRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailbackInput.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanA2AFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanA2AFailoverInput() (*RecoveryPlanA2AFailoverInput, bool)

AsRecoveryPlanA2AFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailbackInput.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput() (*RecoveryPlanHyperVReplicaAzureFailbackInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailbackInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailbackInput.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput() (*RecoveryPlanHyperVReplicaAzureFailoverInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailbackInput.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanInMageAzureV2FailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanInMageAzureV2FailoverInput() (*RecoveryPlanInMageAzureV2FailoverInput, bool)

AsRecoveryPlanInMageAzureV2FailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailbackInput.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanInMageFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanInMageFailoverInput() (*RecoveryPlanInMageFailoverInput, bool)

AsRecoveryPlanInMageFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailbackInput.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanProviderSpecificFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) AsRecoveryPlanProviderSpecificFailoverInput() (*RecoveryPlanProviderSpecificFailoverInput, bool)

AsRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailbackInput.

func (RecoveryPlanHyperVReplicaAzureFailbackInput) MarshalJSON

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailbackInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanHyperVReplicaAzureFailbackInput.

type RecoveryPlanHyperVReplicaAzureFailoverInput

type RecoveryPlanHyperVReplicaAzureFailoverInput struct {
	// VaultLocation - The vault location.
	VaultLocation *string `json:"vaultLocation,omitempty"`
	// PrimaryKekCertificatePfx - The primary KEK certificate PFX.
	PrimaryKekCertificatePfx *string `json:"primaryKekCertificatePfx,omitempty"`
	// SecondaryKekCertificatePfx - The secondary KEK certificate PFX.
	SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"`
	// RecoveryPointType - The recovery point type. Possible values include: 'HyperVReplicaAzureRpRecoveryPointTypeLatest', 'HyperVReplicaAzureRpRecoveryPointTypeLatestApplicationConsistent', 'HyperVReplicaAzureRpRecoveryPointTypeLatestProcessed'
	RecoveryPointType HyperVReplicaAzureRpRecoveryPointType `json:"recoveryPointType,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

RecoveryPlanHyperVReplicaAzureFailoverInput recovery plan HVR Azure failover input.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput() (BasicRecoveryPlanProviderSpecificFailoverInput, bool)

AsBasicRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailoverInput.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanA2AFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanA2AFailoverInput() (*RecoveryPlanA2AFailoverInput, bool)

AsRecoveryPlanA2AFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailoverInput.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput() (*RecoveryPlanHyperVReplicaAzureFailbackInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailbackInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailoverInput.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput() (*RecoveryPlanHyperVReplicaAzureFailoverInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailoverInput.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput() (*RecoveryPlanInMageAzureV2FailoverInput, bool)

AsRecoveryPlanInMageAzureV2FailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailoverInput.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanInMageFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanInMageFailoverInput() (*RecoveryPlanInMageFailoverInput, bool)

AsRecoveryPlanInMageFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailoverInput.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput() (*RecoveryPlanProviderSpecificFailoverInput, bool)

AsRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanHyperVReplicaAzureFailoverInput.

func (RecoveryPlanHyperVReplicaAzureFailoverInput) MarshalJSON

func (rphvrafi RecoveryPlanHyperVReplicaAzureFailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanHyperVReplicaAzureFailoverInput.

type RecoveryPlanInMageAzureV2FailoverInput

type RecoveryPlanInMageAzureV2FailoverInput struct {
	// VaultLocation - The vault location.
	VaultLocation *string `json:"vaultLocation,omitempty"`
	// RecoveryPointType - The recovery point type. Possible values include: 'InMageV2RpRecoveryPointTypeLatest', 'InMageV2RpRecoveryPointTypeLatestApplicationConsistent', 'InMageV2RpRecoveryPointTypeLatestCrashConsistent', 'InMageV2RpRecoveryPointTypeLatestProcessed'
	RecoveryPointType InMageV2RpRecoveryPointType `json:"recoveryPointType,omitempty"`
	// UseMultiVMSyncPoint - A value indicating whether multi VM sync enabled VMs should use multi VM sync points for failover.
	UseMultiVMSyncPoint *string `json:"useMultiVmSyncPoint,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

RecoveryPlanInMageAzureV2FailoverInput recovery plan InMageAzureV2 failover input.

func (RecoveryPlanInMageAzureV2FailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput() (BasicRecoveryPlanProviderSpecificFailoverInput, bool)

AsBasicRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageAzureV2FailoverInput.

func (RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanA2AFailoverInput

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanA2AFailoverInput() (*RecoveryPlanA2AFailoverInput, bool)

AsRecoveryPlanA2AFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageAzureV2FailoverInput.

func (RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput() (*RecoveryPlanHyperVReplicaAzureFailbackInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailbackInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageAzureV2FailoverInput.

func (RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput() (*RecoveryPlanHyperVReplicaAzureFailoverInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageAzureV2FailoverInput.

func (RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput() (*RecoveryPlanInMageAzureV2FailoverInput, bool)

AsRecoveryPlanInMageAzureV2FailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageAzureV2FailoverInput.

func (RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanInMageFailoverInput

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanInMageFailoverInput() (*RecoveryPlanInMageFailoverInput, bool)

AsRecoveryPlanInMageFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageAzureV2FailoverInput.

func (RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanProviderSpecificFailoverInput

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) AsRecoveryPlanProviderSpecificFailoverInput() (*RecoveryPlanProviderSpecificFailoverInput, bool)

AsRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageAzureV2FailoverInput.

func (RecoveryPlanInMageAzureV2FailoverInput) MarshalJSON

func (rpimavfi RecoveryPlanInMageAzureV2FailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanInMageAzureV2FailoverInput.

type RecoveryPlanInMageFailoverInput

type RecoveryPlanInMageFailoverInput struct {
	// RecoveryPointType - The recovery point type. Possible values include: 'RpInMageRecoveryPointTypeLatestTime', 'RpInMageRecoveryPointTypeLatestTag', 'RpInMageRecoveryPointTypeCustom'
	RecoveryPointType RpInMageRecoveryPointType `json:"recoveryPointType,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

RecoveryPlanInMageFailoverInput recovery plan InMage failover input.

func (RecoveryPlanInMageFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput

func (rpimfi RecoveryPlanInMageFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput() (BasicRecoveryPlanProviderSpecificFailoverInput, bool)

AsBasicRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageFailoverInput.

func (RecoveryPlanInMageFailoverInput) AsRecoveryPlanA2AFailoverInput

func (rpimfi RecoveryPlanInMageFailoverInput) AsRecoveryPlanA2AFailoverInput() (*RecoveryPlanA2AFailoverInput, bool)

AsRecoveryPlanA2AFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageFailoverInput.

func (RecoveryPlanInMageFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput

func (rpimfi RecoveryPlanInMageFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput() (*RecoveryPlanHyperVReplicaAzureFailbackInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailbackInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageFailoverInput.

func (RecoveryPlanInMageFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput

func (rpimfi RecoveryPlanInMageFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput() (*RecoveryPlanHyperVReplicaAzureFailoverInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageFailoverInput.

func (RecoveryPlanInMageFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput

func (rpimfi RecoveryPlanInMageFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput() (*RecoveryPlanInMageAzureV2FailoverInput, bool)

AsRecoveryPlanInMageAzureV2FailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageFailoverInput.

func (RecoveryPlanInMageFailoverInput) AsRecoveryPlanInMageFailoverInput

func (rpimfi RecoveryPlanInMageFailoverInput) AsRecoveryPlanInMageFailoverInput() (*RecoveryPlanInMageFailoverInput, bool)

AsRecoveryPlanInMageFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageFailoverInput.

func (RecoveryPlanInMageFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput

func (rpimfi RecoveryPlanInMageFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput() (*RecoveryPlanProviderSpecificFailoverInput, bool)

AsRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanInMageFailoverInput.

func (RecoveryPlanInMageFailoverInput) MarshalJSON

func (rpimfi RecoveryPlanInMageFailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanInMageFailoverInput.

type RecoveryPlanManualActionDetails

type RecoveryPlanManualActionDetails struct {
	// Description - The manual action description.
	Description *string `json:"description,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeRecoveryPlanActionDetails', 'InstanceTypeScriptActionDetails', 'InstanceTypeAutomationRunbookActionDetails', 'InstanceTypeManualActionDetails'
	InstanceType InstanceTypeBasicRecoveryPlanActionDetails `json:"instanceType,omitempty"`
}

RecoveryPlanManualActionDetails recovery plan manual action details.

func (RecoveryPlanManualActionDetails) AsBasicRecoveryPlanActionDetails

func (rpmad RecoveryPlanManualActionDetails) AsBasicRecoveryPlanActionDetails() (BasicRecoveryPlanActionDetails, bool)

AsBasicRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanManualActionDetails.

func (RecoveryPlanManualActionDetails) AsRecoveryPlanActionDetails

func (rpmad RecoveryPlanManualActionDetails) AsRecoveryPlanActionDetails() (*RecoveryPlanActionDetails, bool)

AsRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanManualActionDetails.

func (RecoveryPlanManualActionDetails) AsRecoveryPlanAutomationRunbookActionDetails

func (rpmad RecoveryPlanManualActionDetails) AsRecoveryPlanAutomationRunbookActionDetails() (*RecoveryPlanAutomationRunbookActionDetails, bool)

AsRecoveryPlanAutomationRunbookActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanManualActionDetails.

func (RecoveryPlanManualActionDetails) AsRecoveryPlanManualActionDetails

func (rpmad RecoveryPlanManualActionDetails) AsRecoveryPlanManualActionDetails() (*RecoveryPlanManualActionDetails, bool)

AsRecoveryPlanManualActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanManualActionDetails.

func (RecoveryPlanManualActionDetails) AsRecoveryPlanScriptActionDetails

func (rpmad RecoveryPlanManualActionDetails) AsRecoveryPlanScriptActionDetails() (*RecoveryPlanScriptActionDetails, bool)

AsRecoveryPlanScriptActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanManualActionDetails.

func (RecoveryPlanManualActionDetails) MarshalJSON

func (rpmad RecoveryPlanManualActionDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanManualActionDetails.

type RecoveryPlanPlannedFailoverInput

type RecoveryPlanPlannedFailoverInput struct {
	// Properties - The recovery plan planned failover input properties.
	Properties *RecoveryPlanPlannedFailoverInputProperties `json:"properties,omitempty"`
}

RecoveryPlanPlannedFailoverInput recovery plan planned failover input.

type RecoveryPlanPlannedFailoverInputProperties

type RecoveryPlanPlannedFailoverInputProperties struct {
	// FailoverDirection - The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary'
	FailoverDirection PossibleOperationsDirections `json:"failoverDirection,omitempty"`
	// ProviderSpecificDetails - The provider specific properties.
	ProviderSpecificDetails *[]BasicRecoveryPlanProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"`
}

RecoveryPlanPlannedFailoverInputProperties recovery plan planned failover input properties.

func (*RecoveryPlanPlannedFailoverInputProperties) UnmarshalJSON

func (rppfip *RecoveryPlanPlannedFailoverInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RecoveryPlanPlannedFailoverInputProperties struct.

type RecoveryPlanProperties

type RecoveryPlanProperties struct {
	// FriendlyName - The friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// PrimaryFabricID - The primary fabric Id.
	PrimaryFabricID *string `json:"primaryFabricId,omitempty"`
	// PrimaryFabricFriendlyName - The primary fabric friendly name.
	PrimaryFabricFriendlyName *string `json:"primaryFabricFriendlyName,omitempty"`
	// RecoveryFabricID - The recovery fabric Id.
	RecoveryFabricID *string `json:"recoveryFabricId,omitempty"`
	// RecoveryFabricFriendlyName - The recovery fabric friendly name.
	RecoveryFabricFriendlyName *string `json:"recoveryFabricFriendlyName,omitempty"`
	// FailoverDeploymentModel - The failover deployment model.
	FailoverDeploymentModel *string `json:"failoverDeploymentModel,omitempty"`
	// ReplicationProviders - The list of replication providers.
	ReplicationProviders *[]string `json:"replicationProviders,omitempty"`
	// AllowedOperations - The list of allowed operations.
	AllowedOperations *[]string `json:"allowedOperations,omitempty"`
	// LastPlannedFailoverTime - The start time of the last planned failover.
	LastPlannedFailoverTime *date.Time `json:"lastPlannedFailoverTime,omitempty"`
	// LastUnplannedFailoverTime - The start time of the last unplanned failover.
	LastUnplannedFailoverTime *date.Time `json:"lastUnplannedFailoverTime,omitempty"`
	// LastTestFailoverTime - The start time of the last test failover.
	LastTestFailoverTime *date.Time `json:"lastTestFailoverTime,omitempty"`
	// CurrentScenario - The current scenario details.
	CurrentScenario *CurrentScenarioDetails `json:"currentScenario,omitempty"`
	// CurrentScenarioStatus - The recovery plan status.
	CurrentScenarioStatus *string `json:"currentScenarioStatus,omitempty"`
	// CurrentScenarioStatusDescription - The recovery plan status description.
	CurrentScenarioStatusDescription *string `json:"currentScenarioStatusDescription,omitempty"`
	// Groups - The recovery plan groups.
	Groups *[]RecoveryPlanGroup `json:"groups,omitempty"`
}

RecoveryPlanProperties recovery plan custom details.

type RecoveryPlanProtectedItem

type RecoveryPlanProtectedItem struct {
	// ID - The ARM Id of the recovery plan protected item.
	ID *string `json:"id,omitempty"`
	// VirtualMachineID - The virtual machine Id.
	VirtualMachineID *string `json:"virtualMachineId,omitempty"`
}

RecoveryPlanProtectedItem recovery plan protected item.

type RecoveryPlanProviderSpecificFailoverInput

type RecoveryPlanProviderSpecificFailoverInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeRecoveryPlanProviderSpecificFailoverInput', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeHyperVReplicaAzureFailback', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeInMage', 'InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicRecoveryPlanProviderSpecificFailoverInput `json:"instanceType,omitempty"`
}

RecoveryPlanProviderSpecificFailoverInput recovery plan provider specific failover input base class.

func (RecoveryPlanProviderSpecificFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) AsBasicRecoveryPlanProviderSpecificFailoverInput() (BasicRecoveryPlanProviderSpecificFailoverInput, bool)

AsBasicRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanProviderSpecificFailoverInput.

func (RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanA2AFailoverInput

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanA2AFailoverInput() (*RecoveryPlanA2AFailoverInput, bool)

AsRecoveryPlanA2AFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanProviderSpecificFailoverInput.

func (RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailbackInput() (*RecoveryPlanHyperVReplicaAzureFailbackInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailbackInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanProviderSpecificFailoverInput.

func (RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanHyperVReplicaAzureFailoverInput() (*RecoveryPlanHyperVReplicaAzureFailoverInput, bool)

AsRecoveryPlanHyperVReplicaAzureFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanProviderSpecificFailoverInput.

func (RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanInMageAzureV2FailoverInput() (*RecoveryPlanInMageAzureV2FailoverInput, bool)

AsRecoveryPlanInMageAzureV2FailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanProviderSpecificFailoverInput.

func (RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanInMageFailoverInput

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanInMageFailoverInput() (*RecoveryPlanInMageFailoverInput, bool)

AsRecoveryPlanInMageFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanProviderSpecificFailoverInput.

func (RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) AsRecoveryPlanProviderSpecificFailoverInput() (*RecoveryPlanProviderSpecificFailoverInput, bool)

AsRecoveryPlanProviderSpecificFailoverInput is the BasicRecoveryPlanProviderSpecificFailoverInput implementation for RecoveryPlanProviderSpecificFailoverInput.

func (RecoveryPlanProviderSpecificFailoverInput) MarshalJSON

func (rppsfi RecoveryPlanProviderSpecificFailoverInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanProviderSpecificFailoverInput.

type RecoveryPlanScriptActionDetails

type RecoveryPlanScriptActionDetails struct {
	// Path - The script path.
	Path *string `json:"path,omitempty"`
	// Timeout - The script timeout.
	Timeout *string `json:"timeout,omitempty"`
	// FabricLocation - The fabric location. Possible values include: 'Primary', 'Recovery'
	FabricLocation RecoveryPlanActionLocation `json:"fabricLocation,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeRecoveryPlanActionDetails', 'InstanceTypeScriptActionDetails', 'InstanceTypeAutomationRunbookActionDetails', 'InstanceTypeManualActionDetails'
	InstanceType InstanceTypeBasicRecoveryPlanActionDetails `json:"instanceType,omitempty"`
}

RecoveryPlanScriptActionDetails recovery plan script action details.

func (RecoveryPlanScriptActionDetails) AsBasicRecoveryPlanActionDetails

func (rpsad RecoveryPlanScriptActionDetails) AsBasicRecoveryPlanActionDetails() (BasicRecoveryPlanActionDetails, bool)

AsBasicRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanScriptActionDetails.

func (RecoveryPlanScriptActionDetails) AsRecoveryPlanActionDetails

func (rpsad RecoveryPlanScriptActionDetails) AsRecoveryPlanActionDetails() (*RecoveryPlanActionDetails, bool)

AsRecoveryPlanActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanScriptActionDetails.

func (RecoveryPlanScriptActionDetails) AsRecoveryPlanAutomationRunbookActionDetails

func (rpsad RecoveryPlanScriptActionDetails) AsRecoveryPlanAutomationRunbookActionDetails() (*RecoveryPlanAutomationRunbookActionDetails, bool)

AsRecoveryPlanAutomationRunbookActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanScriptActionDetails.

func (RecoveryPlanScriptActionDetails) AsRecoveryPlanManualActionDetails

func (rpsad RecoveryPlanScriptActionDetails) AsRecoveryPlanManualActionDetails() (*RecoveryPlanManualActionDetails, bool)

AsRecoveryPlanManualActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanScriptActionDetails.

func (RecoveryPlanScriptActionDetails) AsRecoveryPlanScriptActionDetails

func (rpsad RecoveryPlanScriptActionDetails) AsRecoveryPlanScriptActionDetails() (*RecoveryPlanScriptActionDetails, bool)

AsRecoveryPlanScriptActionDetails is the BasicRecoveryPlanActionDetails implementation for RecoveryPlanScriptActionDetails.

func (RecoveryPlanScriptActionDetails) MarshalJSON

func (rpsad RecoveryPlanScriptActionDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanScriptActionDetails.

type RecoveryPlanShutdownGroupTaskDetails

type RecoveryPlanShutdownGroupTaskDetails struct {
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// GroupID - The group identifier.
	GroupID *string `json:"groupId,omitempty"`
	// RpGroupType - The group type.
	RpGroupType *string `json:"rpGroupType,omitempty"`
	// ChildTasks - The child tasks.
	ChildTasks *[]ASRTask `json:"childTasks,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeGroupTaskDetails', 'InstanceTypeInlineWorkflowTaskDetails', 'InstanceTypeRecoveryPlanGroupTaskDetails', 'InstanceTypeRecoveryPlanShutdownGroupTaskDetails'
	InstanceType InstanceTypeBasicGroupTaskDetails `json:"instanceType,omitempty"`
}

RecoveryPlanShutdownGroupTaskDetails this class represents the recovery plan shutdown group task details.

func (RecoveryPlanShutdownGroupTaskDetails) AsBasicGroupTaskDetails

func (rpsgtd RecoveryPlanShutdownGroupTaskDetails) AsBasicGroupTaskDetails() (BasicGroupTaskDetails, bool)

AsBasicGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanShutdownGroupTaskDetails.

func (RecoveryPlanShutdownGroupTaskDetails) AsGroupTaskDetails

func (rpsgtd RecoveryPlanShutdownGroupTaskDetails) AsGroupTaskDetails() (*GroupTaskDetails, bool)

AsGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanShutdownGroupTaskDetails.

func (RecoveryPlanShutdownGroupTaskDetails) AsInlineWorkflowTaskDetails

func (rpsgtd RecoveryPlanShutdownGroupTaskDetails) AsInlineWorkflowTaskDetails() (*InlineWorkflowTaskDetails, bool)

AsInlineWorkflowTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanShutdownGroupTaskDetails.

func (RecoveryPlanShutdownGroupTaskDetails) AsRecoveryPlanGroupTaskDetails

func (rpsgtd RecoveryPlanShutdownGroupTaskDetails) AsRecoveryPlanGroupTaskDetails() (*RecoveryPlanGroupTaskDetails, bool)

AsRecoveryPlanGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanShutdownGroupTaskDetails.

func (RecoveryPlanShutdownGroupTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails

func (rpsgtd RecoveryPlanShutdownGroupTaskDetails) AsRecoveryPlanShutdownGroupTaskDetails() (*RecoveryPlanShutdownGroupTaskDetails, bool)

AsRecoveryPlanShutdownGroupTaskDetails is the BasicGroupTaskDetails implementation for RecoveryPlanShutdownGroupTaskDetails.

func (RecoveryPlanShutdownGroupTaskDetails) MarshalJSON

func (rpsgtd RecoveryPlanShutdownGroupTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPlanShutdownGroupTaskDetails.

type RecoveryPlanTestFailoverCleanupInput

type RecoveryPlanTestFailoverCleanupInput struct {
	// Properties - The recovery plan test failover cleanup input properties.
	Properties *RecoveryPlanTestFailoverCleanupInputProperties `json:"properties,omitempty"`
}

RecoveryPlanTestFailoverCleanupInput recovery plan test failover cleanup input.

type RecoveryPlanTestFailoverCleanupInputProperties

type RecoveryPlanTestFailoverCleanupInputProperties struct {
	// Comments - The test failover cleanup comments.
	Comments *string `json:"comments,omitempty"`
}

RecoveryPlanTestFailoverCleanupInputProperties recovery plan test failover cleanup input properties.

type RecoveryPlanTestFailoverInput

type RecoveryPlanTestFailoverInput struct {
	// Properties - The recovery plan test failover input properties.
	Properties *RecoveryPlanTestFailoverInputProperties `json:"properties,omitempty"`
}

RecoveryPlanTestFailoverInput recovery plan test failover input.

type RecoveryPlanTestFailoverInputProperties

type RecoveryPlanTestFailoverInputProperties struct {
	// FailoverDirection - The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary'
	FailoverDirection PossibleOperationsDirections `json:"failoverDirection,omitempty"`
	// NetworkType - The network type to be used for test failover.
	NetworkType *string `json:"networkType,omitempty"`
	// NetworkID - The Id of the network to be used for test failover.
	NetworkID *string `json:"networkId,omitempty"`
	// SkipTestFailoverCleanup - A value indicating whether the test failover cleanup is to be skipped.
	SkipTestFailoverCleanup *string `json:"skipTestFailoverCleanup,omitempty"`
	// ProviderSpecificDetails - The provider specific properties.
	ProviderSpecificDetails *[]BasicRecoveryPlanProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"`
}

RecoveryPlanTestFailoverInputProperties recovery plan test failover input properties.

func (*RecoveryPlanTestFailoverInputProperties) UnmarshalJSON

func (rptfip *RecoveryPlanTestFailoverInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RecoveryPlanTestFailoverInputProperties struct.

type RecoveryPlanUnplannedFailoverInput

type RecoveryPlanUnplannedFailoverInput struct {
	// Properties - The recovery plan unplanned failover input properties.
	Properties *RecoveryPlanUnplannedFailoverInputProperties `json:"properties,omitempty"`
}

RecoveryPlanUnplannedFailoverInput recovery plan unplanned failover input.

type RecoveryPlanUnplannedFailoverInputProperties

type RecoveryPlanUnplannedFailoverInputProperties struct {
	// FailoverDirection - The failover direction. Possible values include: 'PrimaryToRecovery', 'RecoveryToPrimary'
	FailoverDirection PossibleOperationsDirections `json:"failoverDirection,omitempty"`
	// SourceSiteOperations - A value indicating whether source site operations are required. Possible values include: 'Required', 'NotRequired'
	SourceSiteOperations SourceSiteOperations `json:"sourceSiteOperations,omitempty"`
	// ProviderSpecificDetails - The provider specific properties.
	ProviderSpecificDetails *[]BasicRecoveryPlanProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"`
}

RecoveryPlanUnplannedFailoverInputProperties recovery plan unplanned failover input properties.

func (*RecoveryPlanUnplannedFailoverInputProperties) UnmarshalJSON

func (rpufip *RecoveryPlanUnplannedFailoverInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RecoveryPlanUnplannedFailoverInputProperties struct.

type RecoveryPoint

type RecoveryPoint struct {
	autorest.Response `json:"-"`
	// Properties - Recovery point related data.
	Properties *RecoveryPointProperties `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"`
}

RecoveryPoint base class representing a recovery point.

func (RecoveryPoint) MarshalJSON

func (rp RecoveryPoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryPoint.

type RecoveryPointCollection

type RecoveryPointCollection struct {
	autorest.Response `json:"-"`
	// Value - The recovery point details.
	Value *[]RecoveryPoint `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

RecoveryPointCollection collection of recovery point details.

func (RecoveryPointCollection) IsEmpty

func (RPCVar RecoveryPointCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RecoveryPointCollectionIterator

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

RecoveryPointCollectionIterator provides access to a complete listing of RecoveryPoint values.

func NewRecoveryPointCollectionIterator

func NewRecoveryPointCollectionIterator(page RecoveryPointCollectionPage) RecoveryPointCollectionIterator

Creates a new instance of the RecoveryPointCollectionIterator type.

func (*RecoveryPointCollectionIterator) Next

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 (*RecoveryPointCollectionIterator) NextWithContext

func (iter *RecoveryPointCollectionIterator) 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 (RecoveryPointCollectionIterator) NotDone

func (iter RecoveryPointCollectionIterator) NotDone() bool

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

func (RecoveryPointCollectionIterator) Response

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

func (RecoveryPointCollectionIterator) Value

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

type RecoveryPointCollectionPage

type RecoveryPointCollectionPage struct {
	RPCVar RecoveryPointCollection
	// contains filtered or unexported fields
}

RecoveryPointCollectionPage contains a page of RecoveryPoint values.

func NewRecoveryPointCollectionPage

Creates a new instance of the RecoveryPointCollectionPage type.

func (*RecoveryPointCollectionPage) Next

func (page *RecoveryPointCollectionPage) 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 (*RecoveryPointCollectionPage) NextWithContext

func (page *RecoveryPointCollectionPage) 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 (RecoveryPointCollectionPage) NotDone

func (page RecoveryPointCollectionPage) NotDone() bool

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

func (RecoveryPointCollectionPage) Response

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

func (RecoveryPointCollectionPage) Values

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

type RecoveryPointProperties

type RecoveryPointProperties struct {
	// RecoveryPointTime - The recovery point time.
	RecoveryPointTime *date.Time `json:"recoveryPointTime,omitempty"`
	// RecoveryPointType - The recovery point type: ApplicationConsistent, CrashConsistent.
	RecoveryPointType *string `json:"recoveryPointType,omitempty"`
	// ProviderSpecificDetails - The provider specific details for the recovery point.
	ProviderSpecificDetails *ProviderSpecificRecoveryPointDetails `json:"providerSpecificDetails,omitempty"`
}

RecoveryPointProperties recovery point properties.

type RecoveryPointType

type RecoveryPointType string

RecoveryPointType enumerates the values for recovery point type.

const (
	// Custom ...
	Custom RecoveryPointType = "Custom"
	// LatestTag ...
	LatestTag RecoveryPointType = "LatestTag"
	// LatestTime ...
	LatestTime RecoveryPointType = "LatestTime"
)

func PossibleRecoveryPointTypeValues

func PossibleRecoveryPointTypeValues() []RecoveryPointType

PossibleRecoveryPointTypeValues returns an array of possible values for the RecoveryPointType const type.

type RecoveryPointsClient

type RecoveryPointsClient struct {
	BaseClient
}

RecoveryPointsClient is the client for the RecoveryPoints methods of the Siterecovery service.

func NewRecoveryPointsClient

func NewRecoveryPointsClient(subscriptionID string, resourceGroupName string, resourceName string) RecoveryPointsClient

NewRecoveryPointsClient creates an instance of the RecoveryPointsClient client.

func NewRecoveryPointsClientWithBaseURI

func NewRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) RecoveryPointsClient

NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RecoveryPointsClient) Get

func (client RecoveryPointsClient) Get(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, recoveryPointName string) (result RecoveryPoint, err error)

Get get the details of specified recovery point. Parameters: fabricName - the fabric name. protectionContainerName - the protection container name. replicatedProtectedItemName - the replication protected item's name. recoveryPointName - the recovery point name.

func (RecoveryPointsClient) GetPreparer

func (client RecoveryPointsClient) GetPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, recoveryPointName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RecoveryPointsClient) GetResponder

func (client RecoveryPointsClient) GetResponder(resp *http.Response) (result RecoveryPoint, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (RecoveryPointsClient) GetSender

func (client RecoveryPointsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (RecoveryPointsClient) ListByReplicationProtectedItems

func (client RecoveryPointsClient) ListByReplicationProtectedItems(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (result RecoveryPointCollectionPage, err error)

ListByReplicationProtectedItems lists the available recovery points for a replication protected item. Parameters: fabricName - the fabric name. protectionContainerName - the protection container name. replicatedProtectedItemName - the replication protected item's name.

func (RecoveryPointsClient) ListByReplicationProtectedItemsComplete

func (client RecoveryPointsClient) ListByReplicationProtectedItemsComplete(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (result RecoveryPointCollectionIterator, err error)

ListByReplicationProtectedItemsComplete enumerates all values, automatically crossing page boundaries as required.

func (RecoveryPointsClient) ListByReplicationProtectedItemsPreparer

func (client RecoveryPointsClient) ListByReplicationProtectedItemsPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (*http.Request, error)

ListByReplicationProtectedItemsPreparer prepares the ListByReplicationProtectedItems request.

func (RecoveryPointsClient) ListByReplicationProtectedItemsResponder

func (client RecoveryPointsClient) ListByReplicationProtectedItemsResponder(resp *http.Response) (result RecoveryPointCollection, err error)

ListByReplicationProtectedItemsResponder handles the response to the ListByReplicationProtectedItems request. The method always closes the http.Response Body.

func (RecoveryPointsClient) ListByReplicationProtectedItemsSender

func (client RecoveryPointsClient) ListByReplicationProtectedItemsSender(req *http.Request) (*http.Response, error)

ListByReplicationProtectedItemsSender sends the ListByReplicationProtectedItems request. The method will close the http.Response Body if it receives an error.

type RecoveryServicesProvider

type RecoveryServicesProvider struct {
	autorest.Response `json:"-"`
	// Properties - Provider properties.
	Properties *RecoveryServicesProviderProperties `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"`
}

RecoveryServicesProvider provider details.

func (RecoveryServicesProvider) MarshalJSON

func (rsp RecoveryServicesProvider) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RecoveryServicesProvider.

type RecoveryServicesProviderCollection

type RecoveryServicesProviderCollection struct {
	autorest.Response `json:"-"`
	// Value - The Servers details.
	Value *[]RecoveryServicesProvider `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

RecoveryServicesProviderCollection collection of providers.

func (RecoveryServicesProviderCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type RecoveryServicesProviderCollectionIterator

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

RecoveryServicesProviderCollectionIterator provides access to a complete listing of RecoveryServicesProvider values.

func NewRecoveryServicesProviderCollectionIterator

func NewRecoveryServicesProviderCollectionIterator(page RecoveryServicesProviderCollectionPage) RecoveryServicesProviderCollectionIterator

Creates a new instance of the RecoveryServicesProviderCollectionIterator type.

func (*RecoveryServicesProviderCollectionIterator) Next

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 (*RecoveryServicesProviderCollectionIterator) NextWithContext

func (iter *RecoveryServicesProviderCollectionIterator) 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 (RecoveryServicesProviderCollectionIterator) NotDone

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

func (RecoveryServicesProviderCollectionIterator) Response

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

func (RecoveryServicesProviderCollectionIterator) Value

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

type RecoveryServicesProviderCollectionPage

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

RecoveryServicesProviderCollectionPage contains a page of RecoveryServicesProvider values.

func NewRecoveryServicesProviderCollectionPage

Creates a new instance of the RecoveryServicesProviderCollectionPage type.

func (*RecoveryServicesProviderCollectionPage) Next

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 (*RecoveryServicesProviderCollectionPage) NextWithContext

func (page *RecoveryServicesProviderCollectionPage) 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 (RecoveryServicesProviderCollectionPage) NotDone

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

func (RecoveryServicesProviderCollectionPage) Response

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

func (RecoveryServicesProviderCollectionPage) Values

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

type RecoveryServicesProviderProperties

type RecoveryServicesProviderProperties struct {
	// FabricType - Type of the site.
	FabricType *string `json:"fabricType,omitempty"`
	// FriendlyName - Friendly name of the DRA.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ProviderVersion - The provider version.
	ProviderVersion *string `json:"providerVersion,omitempty"`
	// ServerVersion - The fabric provider.
	ServerVersion *string `json:"serverVersion,omitempty"`
	// ProviderVersionState - DRA version status.
	ProviderVersionState *string `json:"providerVersionState,omitempty"`
	// ProviderVersionExpiryDate - Expiry date if the version is deprecated.
	ProviderVersionExpiryDate *date.Time `json:"providerVersionExpiryDate,omitempty"`
	// FabricFriendlyName - The fabric friendly name.
	FabricFriendlyName *string `json:"fabricFriendlyName,omitempty"`
	// LastHeartBeat - Time when last heartbeat was sent by the DRA.
	LastHeartBeat *date.Time `json:"lastHeartBeat,omitempty"`
	// ConnectionStatus - A value indicating whether DRA is responsive.
	ConnectionStatus *string `json:"connectionStatus,omitempty"`
	// ProtectedItemCount - Number of protected VMs currently managed by the DRA.
	ProtectedItemCount *int32 `json:"protectedItemCount,omitempty"`
	// AllowedScenarios - The scenarios allowed on this provider.
	AllowedScenarios *[]string `json:"allowedScenarios,omitempty"`
	// HealthErrorDetails - The recovery services provider health error details.
	HealthErrorDetails *[]HealthError `json:"healthErrorDetails,omitempty"`
	// DraIdentifier - The DRA Id.
	DraIdentifier *string `json:"draIdentifier,omitempty"`
	// IdentityDetails - The identity details.
	IdentityDetails *IdentityInformation `json:"identityDetails,omitempty"`
}

RecoveryServicesProviderProperties recovery services provider properties.

type RemoveProtectionContainerMappingInput

type RemoveProtectionContainerMappingInput struct {
	// Properties - Configure protection input properties.
	Properties *RemoveProtectionContainerMappingInputProperties `json:"properties,omitempty"`
}

RemoveProtectionContainerMappingInput container unpairing input.

type RemoveProtectionContainerMappingInputProperties

type RemoveProtectionContainerMappingInputProperties struct {
	// ProviderSpecificInput - Provider specific input for unpairing.
	ProviderSpecificInput *ReplicationProviderContainerUnmappingInput `json:"providerSpecificInput,omitempty"`
}

RemoveProtectionContainerMappingInputProperties unpairing input properties.

type RenewCertificateInput

type RenewCertificateInput struct {
	// Properties - Renew certificate input properties.
	Properties *RenewCertificateInputProperties `json:"properties,omitempty"`
}

RenewCertificateInput certificate renewal input.

type RenewCertificateInputProperties

type RenewCertificateInputProperties struct {
	// RenewCertificateType - Renew certificate type.
	RenewCertificateType *string `json:"renewCertificateType,omitempty"`
}

RenewCertificateInputProperties renew Certificate input properties.

type ReplicationAlertSettingsClient

type ReplicationAlertSettingsClient struct {
	BaseClient
}

ReplicationAlertSettingsClient is the client for the ReplicationAlertSettings methods of the Siterecovery service.

func NewReplicationAlertSettingsClient

func NewReplicationAlertSettingsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationAlertSettingsClient

NewReplicationAlertSettingsClient creates an instance of the ReplicationAlertSettingsClient client.

func NewReplicationAlertSettingsClientWithBaseURI

func NewReplicationAlertSettingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationAlertSettingsClient

NewReplicationAlertSettingsClientWithBaseURI creates an instance of the ReplicationAlertSettingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationAlertSettingsClient) Create

func (client ReplicationAlertSettingsClient) Create(ctx context.Context, alertSettingName string, request ConfigureAlertRequest) (result Alert, err error)

Create create or update an email notification(alert) configuration. Parameters: alertSettingName - the name of the email notification(alert) configuration. request - the input to configure the email notification(alert).

func (ReplicationAlertSettingsClient) CreatePreparer

func (client ReplicationAlertSettingsClient) CreatePreparer(ctx context.Context, alertSettingName string, request ConfigureAlertRequest) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationAlertSettingsClient) CreateResponder

func (client ReplicationAlertSettingsClient) CreateResponder(resp *http.Response) (result Alert, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationAlertSettingsClient) CreateSender

func (client ReplicationAlertSettingsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationAlertSettingsClient) Get

func (client ReplicationAlertSettingsClient) Get(ctx context.Context, alertSettingName string) (result Alert, err error)

Get gets the details of the specified email notification(alert) configuration. Parameters: alertSettingName - the name of the email notification configuration.

func (ReplicationAlertSettingsClient) GetPreparer

func (client ReplicationAlertSettingsClient) GetPreparer(ctx context.Context, alertSettingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationAlertSettingsClient) GetResponder

func (client ReplicationAlertSettingsClient) GetResponder(resp *http.Response) (result Alert, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationAlertSettingsClient) GetSender

func (client ReplicationAlertSettingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationAlertSettingsClient) List

List gets the list of email notification(alert) configurations for the vault.

func (ReplicationAlertSettingsClient) ListComplete

func (client ReplicationAlertSettingsClient) ListComplete(ctx context.Context) (result AlertCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationAlertSettingsClient) ListPreparer

func (client ReplicationAlertSettingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationAlertSettingsClient) ListResponder

func (client ReplicationAlertSettingsClient) ListResponder(resp *http.Response) (result AlertCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationAlertSettingsClient) ListSender

func (client ReplicationAlertSettingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ReplicationEventsClient

type ReplicationEventsClient struct {
	BaseClient
}

ReplicationEventsClient is the client for the ReplicationEvents methods of the Siterecovery service.

func NewReplicationEventsClient

func NewReplicationEventsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationEventsClient

NewReplicationEventsClient creates an instance of the ReplicationEventsClient client.

func NewReplicationEventsClientWithBaseURI

func NewReplicationEventsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationEventsClient

NewReplicationEventsClientWithBaseURI creates an instance of the ReplicationEventsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationEventsClient) Get

func (client ReplicationEventsClient) Get(ctx context.Context, eventName string) (result Event, err error)

Get the operation to get the details of an Azure Site recovery event. Parameters: eventName - the name of the Azure Site Recovery event.

func (ReplicationEventsClient) GetPreparer

func (client ReplicationEventsClient) GetPreparer(ctx context.Context, eventName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationEventsClient) GetResponder

func (client ReplicationEventsClient) GetResponder(resp *http.Response) (result Event, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationEventsClient) GetSender

func (client ReplicationEventsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationEventsClient) List

func (client ReplicationEventsClient) List(ctx context.Context, filter string) (result EventCollectionPage, err error)

List gets the list of Azure Site Recovery events for the vault. Parameters: filter - oData filter options.

func (ReplicationEventsClient) ListComplete

func (client ReplicationEventsClient) ListComplete(ctx context.Context, filter string) (result EventCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationEventsClient) ListPreparer

func (client ReplicationEventsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationEventsClient) ListResponder

func (client ReplicationEventsClient) ListResponder(resp *http.Response) (result EventCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationEventsClient) ListSender

func (client ReplicationEventsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ReplicationFabricsCheckConsistencyFuture

type ReplicationFabricsCheckConsistencyFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationFabricsClient) (Fabric, error)
}

ReplicationFabricsCheckConsistencyFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationFabricsCheckConsistencyFuture) UnmarshalJSON

func (future *ReplicationFabricsCheckConsistencyFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationFabricsClient

type ReplicationFabricsClient struct {
	BaseClient
}

ReplicationFabricsClient is the client for the ReplicationFabrics methods of the Siterecovery service.

func NewReplicationFabricsClient

func NewReplicationFabricsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationFabricsClient

NewReplicationFabricsClient creates an instance of the ReplicationFabricsClient client.

func NewReplicationFabricsClientWithBaseURI

func NewReplicationFabricsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationFabricsClient

NewReplicationFabricsClientWithBaseURI creates an instance of the ReplicationFabricsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationFabricsClient) CheckConsistency

func (client ReplicationFabricsClient) CheckConsistency(ctx context.Context, fabricName string) (result ReplicationFabricsCheckConsistencyFuture, err error)

CheckConsistency the operation to perform a consistency check on the fabric. Parameters: fabricName - fabric name.

func (ReplicationFabricsClient) CheckConsistencyPreparer

func (client ReplicationFabricsClient) CheckConsistencyPreparer(ctx context.Context, fabricName string) (*http.Request, error)

CheckConsistencyPreparer prepares the CheckConsistency request.

func (ReplicationFabricsClient) CheckConsistencyResponder

func (client ReplicationFabricsClient) CheckConsistencyResponder(resp *http.Response) (result Fabric, err error)

CheckConsistencyResponder handles the response to the CheckConsistency request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) CheckConsistencySender

func (client ReplicationFabricsClient) CheckConsistencySender(req *http.Request) (future ReplicationFabricsCheckConsistencyFuture, err error)

CheckConsistencySender sends the CheckConsistency request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) Create

func (client ReplicationFabricsClient) Create(ctx context.Context, fabricName string, input FabricCreationInput) (result ReplicationFabricsCreateFuture, err error)

Create the operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site) Parameters: fabricName - name of the ASR fabric. input - fabric creation input.

func (ReplicationFabricsClient) CreatePreparer

func (client ReplicationFabricsClient) CreatePreparer(ctx context.Context, fabricName string, input FabricCreationInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationFabricsClient) CreateResponder

func (client ReplicationFabricsClient) CreateResponder(resp *http.Response) (result Fabric, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) CreateSender

func (client ReplicationFabricsClient) CreateSender(req *http.Request) (future ReplicationFabricsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) Delete

func (client ReplicationFabricsClient) Delete(ctx context.Context, fabricName string) (result ReplicationFabricsDeleteFuture, err error)

Delete the operation to delete or remove an Azure Site Recovery fabric. Parameters: fabricName - ASR fabric to delete

func (ReplicationFabricsClient) DeletePreparer

func (client ReplicationFabricsClient) DeletePreparer(ctx context.Context, fabricName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationFabricsClient) DeleteResponder

func (client ReplicationFabricsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) DeleteSender

func (client ReplicationFabricsClient) DeleteSender(req *http.Request) (future ReplicationFabricsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) Get

func (client ReplicationFabricsClient) Get(ctx context.Context, fabricName string) (result Fabric, err error)

Get gets the details of an Azure Site Recovery fabric. Parameters: fabricName - fabric name.

func (ReplicationFabricsClient) GetPreparer

func (client ReplicationFabricsClient) GetPreparer(ctx context.Context, fabricName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationFabricsClient) GetResponder

func (client ReplicationFabricsClient) GetResponder(resp *http.Response) (result Fabric, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) GetSender

func (client ReplicationFabricsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) List

func (client ReplicationFabricsClient) List(ctx context.Context) (result FabricCollectionPage, err error)

List gets a list of the Azure Site Recovery fabrics in the vault.

func (ReplicationFabricsClient) ListComplete

func (client ReplicationFabricsClient) ListComplete(ctx context.Context) (result FabricCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationFabricsClient) ListPreparer

func (client ReplicationFabricsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationFabricsClient) ListResponder

func (client ReplicationFabricsClient) ListResponder(resp *http.Response) (result FabricCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) ListSender

func (client ReplicationFabricsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) MigrateToAad

func (client ReplicationFabricsClient) MigrateToAad(ctx context.Context, fabricName string) (result ReplicationFabricsMigrateToAadFuture, err error)

MigrateToAad the operation to migrate an Azure Site Recovery fabric to AAD. Parameters: fabricName - ASR fabric to migrate.

func (ReplicationFabricsClient) MigrateToAadPreparer

func (client ReplicationFabricsClient) MigrateToAadPreparer(ctx context.Context, fabricName string) (*http.Request, error)

MigrateToAadPreparer prepares the MigrateToAad request.

func (ReplicationFabricsClient) MigrateToAadResponder

func (client ReplicationFabricsClient) MigrateToAadResponder(resp *http.Response) (result autorest.Response, err error)

MigrateToAadResponder handles the response to the MigrateToAad request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) MigrateToAadSender

func (client ReplicationFabricsClient) MigrateToAadSender(req *http.Request) (future ReplicationFabricsMigrateToAadFuture, err error)

MigrateToAadSender sends the MigrateToAad request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) Purge

func (client ReplicationFabricsClient) Purge(ctx context.Context, fabricName string) (result ReplicationFabricsPurgeFuture, err error)

Purge the operation to purge(force delete) an Azure Site Recovery fabric. Parameters: fabricName - ASR fabric to purge.

func (ReplicationFabricsClient) PurgePreparer

func (client ReplicationFabricsClient) PurgePreparer(ctx context.Context, fabricName string) (*http.Request, error)

PurgePreparer prepares the Purge request.

func (ReplicationFabricsClient) PurgeResponder

func (client ReplicationFabricsClient) PurgeResponder(resp *http.Response) (result autorest.Response, err error)

PurgeResponder handles the response to the Purge request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) PurgeSender

func (client ReplicationFabricsClient) PurgeSender(req *http.Request) (future ReplicationFabricsPurgeFuture, err error)

PurgeSender sends the Purge request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) ReassociateGateway

func (client ReplicationFabricsClient) ReassociateGateway(ctx context.Context, fabricName string, failoverProcessServerRequest FailoverProcessServerRequest) (result ReplicationFabricsReassociateGatewayFuture, err error)

ReassociateGateway the operation to move replications from a process server to another process server. Parameters: fabricName - the name of the fabric containing the process server. failoverProcessServerRequest - the input to the failover process server operation.

func (ReplicationFabricsClient) ReassociateGatewayPreparer

func (client ReplicationFabricsClient) ReassociateGatewayPreparer(ctx context.Context, fabricName string, failoverProcessServerRequest FailoverProcessServerRequest) (*http.Request, error)

ReassociateGatewayPreparer prepares the ReassociateGateway request.

func (ReplicationFabricsClient) ReassociateGatewayResponder

func (client ReplicationFabricsClient) ReassociateGatewayResponder(resp *http.Response) (result Fabric, err error)

ReassociateGatewayResponder handles the response to the ReassociateGateway request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) ReassociateGatewaySender

func (client ReplicationFabricsClient) ReassociateGatewaySender(req *http.Request) (future ReplicationFabricsReassociateGatewayFuture, err error)

ReassociateGatewaySender sends the ReassociateGateway request. The method will close the http.Response Body if it receives an error.

func (ReplicationFabricsClient) RenewCertificate

func (client ReplicationFabricsClient) RenewCertificate(ctx context.Context, fabricName string, renewCertificate RenewCertificateInput) (result ReplicationFabricsRenewCertificateFuture, err error)

RenewCertificate renews the connection certificate for the ASR replication fabric. Parameters: fabricName - fabric name to renew certs for. renewCertificate - renew certificate input.

func (ReplicationFabricsClient) RenewCertificatePreparer

func (client ReplicationFabricsClient) RenewCertificatePreparer(ctx context.Context, fabricName string, renewCertificate RenewCertificateInput) (*http.Request, error)

RenewCertificatePreparer prepares the RenewCertificate request.

func (ReplicationFabricsClient) RenewCertificateResponder

func (client ReplicationFabricsClient) RenewCertificateResponder(resp *http.Response) (result Fabric, err error)

RenewCertificateResponder handles the response to the RenewCertificate request. The method always closes the http.Response Body.

func (ReplicationFabricsClient) RenewCertificateSender

func (client ReplicationFabricsClient) RenewCertificateSender(req *http.Request) (future ReplicationFabricsRenewCertificateFuture, err error)

RenewCertificateSender sends the RenewCertificate request. The method will close the http.Response Body if it receives an error.

type ReplicationFabricsCreateFuture

type ReplicationFabricsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationFabricsClient) (Fabric, error)
}

ReplicationFabricsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationFabricsCreateFuture) UnmarshalJSON

func (future *ReplicationFabricsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationFabricsDeleteFuture

type ReplicationFabricsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationFabricsClient) (autorest.Response, error)
}

ReplicationFabricsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationFabricsDeleteFuture) UnmarshalJSON

func (future *ReplicationFabricsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationFabricsMigrateToAadFuture

type ReplicationFabricsMigrateToAadFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationFabricsClient) (autorest.Response, error)
}

ReplicationFabricsMigrateToAadFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationFabricsMigrateToAadFuture) UnmarshalJSON

func (future *ReplicationFabricsMigrateToAadFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationFabricsPurgeFuture

type ReplicationFabricsPurgeFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationFabricsClient) (autorest.Response, error)
}

ReplicationFabricsPurgeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationFabricsPurgeFuture) UnmarshalJSON

func (future *ReplicationFabricsPurgeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationFabricsReassociateGatewayFuture

type ReplicationFabricsReassociateGatewayFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationFabricsClient) (Fabric, error)
}

ReplicationFabricsReassociateGatewayFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationFabricsReassociateGatewayFuture) UnmarshalJSON

func (future *ReplicationFabricsReassociateGatewayFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationFabricsRenewCertificateFuture

type ReplicationFabricsRenewCertificateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationFabricsClient) (Fabric, error)
}

ReplicationFabricsRenewCertificateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationFabricsRenewCertificateFuture) UnmarshalJSON

func (future *ReplicationFabricsRenewCertificateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationGroupDetails

type ReplicationGroupDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeConfigurationSettings', 'InstanceTypeHyperVVirtualMachine', 'InstanceTypeVMwareVirtualMachine', 'InstanceTypeReplicationGroupDetails'
	InstanceType InstanceTypeBasicConfigurationSettings `json:"instanceType,omitempty"`
}

ReplicationGroupDetails replication group details. This will be used in case of San and Wvr.

func (ReplicationGroupDetails) AsBasicConfigurationSettings

func (rgd ReplicationGroupDetails) AsBasicConfigurationSettings() (BasicConfigurationSettings, bool)

AsBasicConfigurationSettings is the BasicConfigurationSettings implementation for ReplicationGroupDetails.

func (ReplicationGroupDetails) AsConfigurationSettings

func (rgd ReplicationGroupDetails) AsConfigurationSettings() (*ConfigurationSettings, bool)

AsConfigurationSettings is the BasicConfigurationSettings implementation for ReplicationGroupDetails.

func (ReplicationGroupDetails) AsHyperVVirtualMachineDetails

func (rgd ReplicationGroupDetails) AsHyperVVirtualMachineDetails() (*HyperVVirtualMachineDetails, bool)

AsHyperVVirtualMachineDetails is the BasicConfigurationSettings implementation for ReplicationGroupDetails.

func (ReplicationGroupDetails) AsReplicationGroupDetails

func (rgd ReplicationGroupDetails) AsReplicationGroupDetails() (*ReplicationGroupDetails, bool)

AsReplicationGroupDetails is the BasicConfigurationSettings implementation for ReplicationGroupDetails.

func (ReplicationGroupDetails) AsVMwareVirtualMachineDetails

func (rgd ReplicationGroupDetails) AsVMwareVirtualMachineDetails() (*VMwareVirtualMachineDetails, bool)

AsVMwareVirtualMachineDetails is the BasicConfigurationSettings implementation for ReplicationGroupDetails.

func (ReplicationGroupDetails) MarshalJSON

func (rgd ReplicationGroupDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicationGroupDetails.

type ReplicationJobsCancelFuture

type ReplicationJobsCancelFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationJobsClient) (Job, error)
}

ReplicationJobsCancelFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationJobsCancelFuture) UnmarshalJSON

func (future *ReplicationJobsCancelFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationJobsClient

type ReplicationJobsClient struct {
	BaseClient
}

ReplicationJobsClient is the client for the ReplicationJobs methods of the Siterecovery service.

func NewReplicationJobsClient

func NewReplicationJobsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationJobsClient

NewReplicationJobsClient creates an instance of the ReplicationJobsClient client.

func NewReplicationJobsClientWithBaseURI

func NewReplicationJobsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationJobsClient

NewReplicationJobsClientWithBaseURI creates an instance of the ReplicationJobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationJobsClient) Cancel

func (client ReplicationJobsClient) Cancel(ctx context.Context, jobName string) (result ReplicationJobsCancelFuture, err error)

Cancel the operation to cancel an Azure Site Recovery job. Parameters: jobName - job identifier.

func (ReplicationJobsClient) CancelPreparer

func (client ReplicationJobsClient) CancelPreparer(ctx context.Context, jobName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (ReplicationJobsClient) CancelResponder

func (client ReplicationJobsClient) CancelResponder(resp *http.Response) (result Job, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (ReplicationJobsClient) CancelSender

func (client ReplicationJobsClient) CancelSender(req *http.Request) (future ReplicationJobsCancelFuture, err error)

CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.

func (ReplicationJobsClient) Export

func (client ReplicationJobsClient) Export(ctx context.Context, jobQueryParameter JobQueryParameter) (result ReplicationJobsExportFuture, err error)

Export the operation to export the details of the Azure Site Recovery jobs of the vault. Parameters: jobQueryParameter - job query filter.

func (ReplicationJobsClient) ExportPreparer

func (client ReplicationJobsClient) ExportPreparer(ctx context.Context, jobQueryParameter JobQueryParameter) (*http.Request, error)

ExportPreparer prepares the Export request.

func (ReplicationJobsClient) ExportResponder

func (client ReplicationJobsClient) ExportResponder(resp *http.Response) (result Job, err error)

ExportResponder handles the response to the Export request. The method always closes the http.Response Body.

func (ReplicationJobsClient) ExportSender

func (client ReplicationJobsClient) ExportSender(req *http.Request) (future ReplicationJobsExportFuture, err error)

ExportSender sends the Export request. The method will close the http.Response Body if it receives an error.

func (ReplicationJobsClient) Get

func (client ReplicationJobsClient) Get(ctx context.Context, jobName string) (result Job, err error)

Get get the details of an Azure Site Recovery job. Parameters: jobName - job identifier

func (ReplicationJobsClient) GetPreparer

func (client ReplicationJobsClient) GetPreparer(ctx context.Context, jobName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationJobsClient) GetResponder

func (client ReplicationJobsClient) GetResponder(resp *http.Response) (result Job, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationJobsClient) GetSender

func (client ReplicationJobsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationJobsClient) List

func (client ReplicationJobsClient) List(ctx context.Context, filter string) (result JobCollectionPage, err error)

List gets the list of Azure Site Recovery Jobs for the vault. Parameters: filter - oData filter options.

func (ReplicationJobsClient) ListComplete

func (client ReplicationJobsClient) ListComplete(ctx context.Context, filter string) (result JobCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationJobsClient) ListPreparer

func (client ReplicationJobsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationJobsClient) ListResponder

func (client ReplicationJobsClient) ListResponder(resp *http.Response) (result JobCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationJobsClient) ListSender

func (client ReplicationJobsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationJobsClient) Restart

func (client ReplicationJobsClient) Restart(ctx context.Context, jobName string) (result ReplicationJobsRestartFuture, err error)

Restart the operation to restart an Azure Site Recovery job. Parameters: jobName - job identifier.

func (ReplicationJobsClient) RestartPreparer

func (client ReplicationJobsClient) RestartPreparer(ctx context.Context, jobName string) (*http.Request, error)

RestartPreparer prepares the Restart request.

func (ReplicationJobsClient) RestartResponder

func (client ReplicationJobsClient) RestartResponder(resp *http.Response) (result Job, err error)

RestartResponder handles the response to the Restart request. The method always closes the http.Response Body.

func (ReplicationJobsClient) RestartSender

func (client ReplicationJobsClient) RestartSender(req *http.Request) (future ReplicationJobsRestartFuture, err error)

RestartSender sends the Restart request. The method will close the http.Response Body if it receives an error.

func (ReplicationJobsClient) Resume

func (client ReplicationJobsClient) Resume(ctx context.Context, jobName string, resumeJobParams ResumeJobParams) (result ReplicationJobsResumeFuture, err error)

Resume the operation to resume an Azure Site Recovery job Parameters: jobName - job identifier. resumeJobParams - resume rob comments.

func (ReplicationJobsClient) ResumePreparer

func (client ReplicationJobsClient) ResumePreparer(ctx context.Context, jobName string, resumeJobParams ResumeJobParams) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (ReplicationJobsClient) ResumeResponder

func (client ReplicationJobsClient) ResumeResponder(resp *http.Response) (result Job, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (ReplicationJobsClient) ResumeSender

func (client ReplicationJobsClient) ResumeSender(req *http.Request) (future ReplicationJobsResumeFuture, err error)

ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.

type ReplicationJobsExportFuture

type ReplicationJobsExportFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationJobsClient) (Job, error)
}

ReplicationJobsExportFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationJobsExportFuture) UnmarshalJSON

func (future *ReplicationJobsExportFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationJobsRestartFuture

type ReplicationJobsRestartFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationJobsClient) (Job, error)
}

ReplicationJobsRestartFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationJobsRestartFuture) UnmarshalJSON

func (future *ReplicationJobsRestartFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationJobsResumeFuture

type ReplicationJobsResumeFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationJobsClient) (Job, error)
}

ReplicationJobsResumeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationJobsResumeFuture) UnmarshalJSON

func (future *ReplicationJobsResumeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationLogicalNetworksClient

type ReplicationLogicalNetworksClient struct {
	BaseClient
}

ReplicationLogicalNetworksClient is the client for the ReplicationLogicalNetworks methods of the Siterecovery service.

func NewReplicationLogicalNetworksClient

func NewReplicationLogicalNetworksClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationLogicalNetworksClient

NewReplicationLogicalNetworksClient creates an instance of the ReplicationLogicalNetworksClient client.

func NewReplicationLogicalNetworksClientWithBaseURI

func NewReplicationLogicalNetworksClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationLogicalNetworksClient

NewReplicationLogicalNetworksClientWithBaseURI creates an instance of the ReplicationLogicalNetworksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationLogicalNetworksClient) Get

func (client ReplicationLogicalNetworksClient) Get(ctx context.Context, fabricName string, logicalNetworkName string) (result LogicalNetwork, err error)

Get gets the details of a logical network. Parameters: fabricName - server Id. logicalNetworkName - logical network name.

func (ReplicationLogicalNetworksClient) GetPreparer

func (client ReplicationLogicalNetworksClient) GetPreparer(ctx context.Context, fabricName string, logicalNetworkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationLogicalNetworksClient) GetResponder

func (client ReplicationLogicalNetworksClient) GetResponder(resp *http.Response) (result LogicalNetwork, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationLogicalNetworksClient) GetSender

func (client ReplicationLogicalNetworksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationLogicalNetworksClient) ListByReplicationFabrics

func (client ReplicationLogicalNetworksClient) ListByReplicationFabrics(ctx context.Context, fabricName string) (result LogicalNetworkCollectionPage, err error)

ListByReplicationFabrics lists all the logical networks of the Azure Site Recovery fabric Parameters: fabricName - server Id.

func (ReplicationLogicalNetworksClient) ListByReplicationFabricsComplete

func (client ReplicationLogicalNetworksClient) ListByReplicationFabricsComplete(ctx context.Context, fabricName string) (result LogicalNetworkCollectionIterator, err error)

ListByReplicationFabricsComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationLogicalNetworksClient) ListByReplicationFabricsPreparer

func (client ReplicationLogicalNetworksClient) ListByReplicationFabricsPreparer(ctx context.Context, fabricName string) (*http.Request, error)

ListByReplicationFabricsPreparer prepares the ListByReplicationFabrics request.

func (ReplicationLogicalNetworksClient) ListByReplicationFabricsResponder

func (client ReplicationLogicalNetworksClient) ListByReplicationFabricsResponder(resp *http.Response) (result LogicalNetworkCollection, err error)

ListByReplicationFabricsResponder handles the response to the ListByReplicationFabrics request. The method always closes the http.Response Body.

func (ReplicationLogicalNetworksClient) ListByReplicationFabricsSender

func (client ReplicationLogicalNetworksClient) ListByReplicationFabricsSender(req *http.Request) (*http.Response, error)

ListByReplicationFabricsSender sends the ListByReplicationFabrics request. The method will close the http.Response Body if it receives an error.

type ReplicationNetworkMappingsClient

type ReplicationNetworkMappingsClient struct {
	BaseClient
}

ReplicationNetworkMappingsClient is the client for the ReplicationNetworkMappings methods of the Siterecovery service.

func NewReplicationNetworkMappingsClient

func NewReplicationNetworkMappingsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationNetworkMappingsClient

NewReplicationNetworkMappingsClient creates an instance of the ReplicationNetworkMappingsClient client.

func NewReplicationNetworkMappingsClientWithBaseURI

func NewReplicationNetworkMappingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationNetworkMappingsClient

NewReplicationNetworkMappingsClientWithBaseURI creates an instance of the ReplicationNetworkMappingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationNetworkMappingsClient) Create

func (client ReplicationNetworkMappingsClient) Create(ctx context.Context, fabricName string, networkName string, networkMappingName string, input CreateNetworkMappingInput) (result ReplicationNetworkMappingsCreateFuture, err error)

Create the operation to create an ASR network mapping. Parameters: fabricName - primary fabric name. networkName - primary network name. networkMappingName - network mapping name. input - create network mapping input.

func (ReplicationNetworkMappingsClient) CreatePreparer

func (client ReplicationNetworkMappingsClient) CreatePreparer(ctx context.Context, fabricName string, networkName string, networkMappingName string, input CreateNetworkMappingInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationNetworkMappingsClient) CreateResponder

func (client ReplicationNetworkMappingsClient) CreateResponder(resp *http.Response) (result NetworkMapping, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationNetworkMappingsClient) CreateSender

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationNetworkMappingsClient) Delete

func (client ReplicationNetworkMappingsClient) Delete(ctx context.Context, fabricName string, networkName string, networkMappingName string) (result ReplicationNetworkMappingsDeleteFuture, err error)

Delete the operation to delete a network mapping. Parameters: fabricName - primary fabric name. networkName - primary network name. networkMappingName - ARM Resource Name for network mapping.

func (ReplicationNetworkMappingsClient) DeletePreparer

func (client ReplicationNetworkMappingsClient) DeletePreparer(ctx context.Context, fabricName string, networkName string, networkMappingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationNetworkMappingsClient) DeleteResponder

func (client ReplicationNetworkMappingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationNetworkMappingsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationNetworkMappingsClient) Get

func (client ReplicationNetworkMappingsClient) Get(ctx context.Context, fabricName string, networkName string, networkMappingName string) (result NetworkMapping, err error)

Get gets the details of an ASR network mapping Parameters: fabricName - primary fabric name. networkName - primary network name. networkMappingName - network mapping name.

func (ReplicationNetworkMappingsClient) GetPreparer

func (client ReplicationNetworkMappingsClient) GetPreparer(ctx context.Context, fabricName string, networkName string, networkMappingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationNetworkMappingsClient) GetResponder

func (client ReplicationNetworkMappingsClient) GetResponder(resp *http.Response) (result NetworkMapping, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationNetworkMappingsClient) GetSender

func (client ReplicationNetworkMappingsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationNetworkMappingsClient) List

List lists all ASR network mappings in the vault.

func (ReplicationNetworkMappingsClient) ListByReplicationNetworks

func (client ReplicationNetworkMappingsClient) ListByReplicationNetworks(ctx context.Context, fabricName string, networkName string) (result NetworkMappingCollectionPage, err error)

ListByReplicationNetworks lists all ASR network mappings for the specified network. Parameters: fabricName - primary fabric name. networkName - primary network name.

func (ReplicationNetworkMappingsClient) ListByReplicationNetworksComplete

func (client ReplicationNetworkMappingsClient) ListByReplicationNetworksComplete(ctx context.Context, fabricName string, networkName string) (result NetworkMappingCollectionIterator, err error)

ListByReplicationNetworksComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationNetworkMappingsClient) ListByReplicationNetworksPreparer

func (client ReplicationNetworkMappingsClient) ListByReplicationNetworksPreparer(ctx context.Context, fabricName string, networkName string) (*http.Request, error)

ListByReplicationNetworksPreparer prepares the ListByReplicationNetworks request.

func (ReplicationNetworkMappingsClient) ListByReplicationNetworksResponder

func (client ReplicationNetworkMappingsClient) ListByReplicationNetworksResponder(resp *http.Response) (result NetworkMappingCollection, err error)

ListByReplicationNetworksResponder handles the response to the ListByReplicationNetworks request. The method always closes the http.Response Body.

func (ReplicationNetworkMappingsClient) ListByReplicationNetworksSender

func (client ReplicationNetworkMappingsClient) ListByReplicationNetworksSender(req *http.Request) (*http.Response, error)

ListByReplicationNetworksSender sends the ListByReplicationNetworks request. The method will close the http.Response Body if it receives an error.

func (ReplicationNetworkMappingsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationNetworkMappingsClient) ListPreparer

func (client ReplicationNetworkMappingsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationNetworkMappingsClient) ListResponder

func (client ReplicationNetworkMappingsClient) ListResponder(resp *http.Response) (result NetworkMappingCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationNetworkMappingsClient) ListSender

func (client ReplicationNetworkMappingsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationNetworkMappingsClient) Update

func (client ReplicationNetworkMappingsClient) Update(ctx context.Context, fabricName string, networkName string, networkMappingName string, input UpdateNetworkMappingInput) (result ReplicationNetworkMappingsUpdateFuture, err error)

Update the operation to update an ASR network mapping. Parameters: fabricName - primary fabric name. networkName - primary network name. networkMappingName - network mapping name. input - update network mapping input.

func (ReplicationNetworkMappingsClient) UpdatePreparer

func (client ReplicationNetworkMappingsClient) UpdatePreparer(ctx context.Context, fabricName string, networkName string, networkMappingName string, input UpdateNetworkMappingInput) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ReplicationNetworkMappingsClient) UpdateResponder

func (client ReplicationNetworkMappingsClient) UpdateResponder(resp *http.Response) (result NetworkMapping, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ReplicationNetworkMappingsClient) UpdateSender

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ReplicationNetworkMappingsCreateFuture

type ReplicationNetworkMappingsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationNetworkMappingsClient) (NetworkMapping, error)
}

ReplicationNetworkMappingsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationNetworkMappingsCreateFuture) UnmarshalJSON

func (future *ReplicationNetworkMappingsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationNetworkMappingsDeleteFuture

type ReplicationNetworkMappingsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationNetworkMappingsClient) (autorest.Response, error)
}

ReplicationNetworkMappingsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationNetworkMappingsDeleteFuture) UnmarshalJSON

func (future *ReplicationNetworkMappingsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationNetworkMappingsUpdateFuture

type ReplicationNetworkMappingsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationNetworkMappingsClient) (NetworkMapping, error)
}

ReplicationNetworkMappingsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationNetworkMappingsUpdateFuture) UnmarshalJSON

func (future *ReplicationNetworkMappingsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationNetworksClient

type ReplicationNetworksClient struct {
	BaseClient
}

ReplicationNetworksClient is the client for the ReplicationNetworks methods of the Siterecovery service.

func NewReplicationNetworksClient

func NewReplicationNetworksClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationNetworksClient

NewReplicationNetworksClient creates an instance of the ReplicationNetworksClient client.

func NewReplicationNetworksClientWithBaseURI

func NewReplicationNetworksClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationNetworksClient

NewReplicationNetworksClientWithBaseURI creates an instance of the ReplicationNetworksClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationNetworksClient) Get

func (client ReplicationNetworksClient) Get(ctx context.Context, fabricName string, networkName string) (result Network, err error)

Get gets the details of a network. Parameters: fabricName - server Id. networkName - primary network name.

func (ReplicationNetworksClient) GetPreparer

func (client ReplicationNetworksClient) GetPreparer(ctx context.Context, fabricName string, networkName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationNetworksClient) GetResponder

func (client ReplicationNetworksClient) GetResponder(resp *http.Response) (result Network, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationNetworksClient) GetSender

func (client ReplicationNetworksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationNetworksClient) List

func (client ReplicationNetworksClient) List(ctx context.Context) (result NetworkCollectionPage, err error)

List lists the networks available in a vault

func (ReplicationNetworksClient) ListByReplicationFabrics

func (client ReplicationNetworksClient) ListByReplicationFabrics(ctx context.Context, fabricName string) (result NetworkCollectionPage, err error)

ListByReplicationFabrics lists the networks available for a fabric. Parameters: fabricName - fabric name

func (ReplicationNetworksClient) ListByReplicationFabricsComplete

func (client ReplicationNetworksClient) ListByReplicationFabricsComplete(ctx context.Context, fabricName string) (result NetworkCollectionIterator, err error)

ListByReplicationFabricsComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationNetworksClient) ListByReplicationFabricsPreparer

func (client ReplicationNetworksClient) ListByReplicationFabricsPreparer(ctx context.Context, fabricName string) (*http.Request, error)

ListByReplicationFabricsPreparer prepares the ListByReplicationFabrics request.

func (ReplicationNetworksClient) ListByReplicationFabricsResponder

func (client ReplicationNetworksClient) ListByReplicationFabricsResponder(resp *http.Response) (result NetworkCollection, err error)

ListByReplicationFabricsResponder handles the response to the ListByReplicationFabrics request. The method always closes the http.Response Body.

func (ReplicationNetworksClient) ListByReplicationFabricsSender

func (client ReplicationNetworksClient) ListByReplicationFabricsSender(req *http.Request) (*http.Response, error)

ListByReplicationFabricsSender sends the ListByReplicationFabrics request. The method will close the http.Response Body if it receives an error.

func (ReplicationNetworksClient) ListComplete

func (client ReplicationNetworksClient) ListComplete(ctx context.Context) (result NetworkCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationNetworksClient) ListPreparer

func (client ReplicationNetworksClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationNetworksClient) ListResponder

func (client ReplicationNetworksClient) ListResponder(resp *http.Response) (result NetworkCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationNetworksClient) ListSender

func (client ReplicationNetworksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ReplicationPoliciesClient

type ReplicationPoliciesClient struct {
	BaseClient
}

ReplicationPoliciesClient is the client for the ReplicationPolicies methods of the Siterecovery service.

func NewReplicationPoliciesClient

func NewReplicationPoliciesClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationPoliciesClient

NewReplicationPoliciesClient creates an instance of the ReplicationPoliciesClient client.

func NewReplicationPoliciesClientWithBaseURI

func NewReplicationPoliciesClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationPoliciesClient

NewReplicationPoliciesClientWithBaseURI creates an instance of the ReplicationPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationPoliciesClient) Create

func (client ReplicationPoliciesClient) Create(ctx context.Context, policyName string, input CreatePolicyInput) (result ReplicationPoliciesCreateFuture, err error)

Create the operation to create a replication policy Parameters: policyName - replication policy name input - create policy input

func (ReplicationPoliciesClient) CreatePreparer

func (client ReplicationPoliciesClient) CreatePreparer(ctx context.Context, policyName string, input CreatePolicyInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationPoliciesClient) CreateResponder

func (client ReplicationPoliciesClient) CreateResponder(resp *http.Response) (result Policy, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationPoliciesClient) CreateSender

func (client ReplicationPoliciesClient) CreateSender(req *http.Request) (future ReplicationPoliciesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationPoliciesClient) Delete

func (client ReplicationPoliciesClient) Delete(ctx context.Context, policyName string) (result ReplicationPoliciesDeleteFuture, err error)

Delete the operation to delete a replication policy. Parameters: policyName - replication policy name.

func (ReplicationPoliciesClient) DeletePreparer

func (client ReplicationPoliciesClient) DeletePreparer(ctx context.Context, policyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationPoliciesClient) DeleteResponder

func (client ReplicationPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationPoliciesClient) DeleteSender

func (client ReplicationPoliciesClient) DeleteSender(req *http.Request) (future ReplicationPoliciesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationPoliciesClient) Get

func (client ReplicationPoliciesClient) Get(ctx context.Context, policyName string) (result Policy, err error)

Get gets the details of a replication policy. Parameters: policyName - replication policy name.

func (ReplicationPoliciesClient) GetPreparer

func (client ReplicationPoliciesClient) GetPreparer(ctx context.Context, policyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationPoliciesClient) GetResponder

func (client ReplicationPoliciesClient) GetResponder(resp *http.Response) (result Policy, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationPoliciesClient) GetSender

func (client ReplicationPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationPoliciesClient) List

func (client ReplicationPoliciesClient) List(ctx context.Context) (result PolicyCollectionPage, err error)

List lists the replication policies for a vault.

func (ReplicationPoliciesClient) ListComplete

func (client ReplicationPoliciesClient) ListComplete(ctx context.Context) (result PolicyCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationPoliciesClient) ListPreparer

func (client ReplicationPoliciesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationPoliciesClient) ListResponder

func (client ReplicationPoliciesClient) ListResponder(resp *http.Response) (result PolicyCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationPoliciesClient) ListSender

func (client ReplicationPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationPoliciesClient) Update

func (client ReplicationPoliciesClient) Update(ctx context.Context, policyName string, input UpdatePolicyInput) (result ReplicationPoliciesUpdateFuture, err error)

Update the operation to update a replication policy. Parameters: policyName - protection profile Id. input - update Protection Profile Input

func (ReplicationPoliciesClient) UpdatePreparer

func (client ReplicationPoliciesClient) UpdatePreparer(ctx context.Context, policyName string, input UpdatePolicyInput) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ReplicationPoliciesClient) UpdateResponder

func (client ReplicationPoliciesClient) UpdateResponder(resp *http.Response) (result Policy, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ReplicationPoliciesClient) UpdateSender

func (client ReplicationPoliciesClient) UpdateSender(req *http.Request) (future ReplicationPoliciesUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ReplicationPoliciesCreateFuture

type ReplicationPoliciesCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationPoliciesClient) (Policy, error)
}

ReplicationPoliciesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationPoliciesCreateFuture) UnmarshalJSON

func (future *ReplicationPoliciesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationPoliciesDeleteFuture

type ReplicationPoliciesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationPoliciesClient) (autorest.Response, error)
}

ReplicationPoliciesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationPoliciesDeleteFuture) UnmarshalJSON

func (future *ReplicationPoliciesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationPoliciesUpdateFuture

type ReplicationPoliciesUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationPoliciesClient) (Policy, error)
}

ReplicationPoliciesUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationPoliciesUpdateFuture) UnmarshalJSON

func (future *ReplicationPoliciesUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectableItemsClient

type ReplicationProtectableItemsClient struct {
	BaseClient
}

ReplicationProtectableItemsClient is the client for the ReplicationProtectableItems methods of the Siterecovery service.

func NewReplicationProtectableItemsClient

func NewReplicationProtectableItemsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectableItemsClient

NewReplicationProtectableItemsClient creates an instance of the ReplicationProtectableItemsClient client.

func NewReplicationProtectableItemsClientWithBaseURI

func NewReplicationProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectableItemsClient

NewReplicationProtectableItemsClientWithBaseURI creates an instance of the ReplicationProtectableItemsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationProtectableItemsClient) Get

func (client ReplicationProtectableItemsClient) Get(ctx context.Context, fabricName string, protectionContainerName string, protectableItemName string) (result ProtectableItem, err error)

Get the operation to get the details of a protectable item. Parameters: fabricName - fabric name. protectionContainerName - protection container name. protectableItemName - protectable item name.

func (ReplicationProtectableItemsClient) GetPreparer

func (client ReplicationProtectableItemsClient) GetPreparer(ctx context.Context, fabricName string, protectionContainerName string, protectableItemName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationProtectableItemsClient) GetResponder

func (client ReplicationProtectableItemsClient) GetResponder(resp *http.Response) (result ProtectableItem, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationProtectableItemsClient) GetSender

func (client ReplicationProtectableItemsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectableItemsClient) ListByReplicationProtectionContainers

func (client ReplicationProtectableItemsClient) ListByReplicationProtectionContainers(ctx context.Context, fabricName string, protectionContainerName string) (result ProtectableItemCollectionPage, err error)

ListByReplicationProtectionContainers lists the protectable items in a protection container. Parameters: fabricName - fabric name. protectionContainerName - protection container name.

func (ReplicationProtectableItemsClient) ListByReplicationProtectionContainersComplete

func (client ReplicationProtectableItemsClient) ListByReplicationProtectionContainersComplete(ctx context.Context, fabricName string, protectionContainerName string) (result ProtectableItemCollectionIterator, err error)

ListByReplicationProtectionContainersComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationProtectableItemsClient) ListByReplicationProtectionContainersPreparer

func (client ReplicationProtectableItemsClient) ListByReplicationProtectionContainersPreparer(ctx context.Context, fabricName string, protectionContainerName string) (*http.Request, error)

ListByReplicationProtectionContainersPreparer prepares the ListByReplicationProtectionContainers request.

func (ReplicationProtectableItemsClient) ListByReplicationProtectionContainersResponder

func (client ReplicationProtectableItemsClient) ListByReplicationProtectionContainersResponder(resp *http.Response) (result ProtectableItemCollection, err error)

ListByReplicationProtectionContainersResponder handles the response to the ListByReplicationProtectionContainers request. The method always closes the http.Response Body.

func (ReplicationProtectableItemsClient) ListByReplicationProtectionContainersSender

func (client ReplicationProtectableItemsClient) ListByReplicationProtectionContainersSender(req *http.Request) (*http.Response, error)

ListByReplicationProtectionContainersSender sends the ListByReplicationProtectionContainers request. The method will close the http.Response Body if it receives an error.

type ReplicationProtectedItem

type ReplicationProtectedItem struct {
	autorest.Response `json:"-"`
	// Properties - The custom data.
	Properties *ReplicationProtectedItemProperties `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"`
}

ReplicationProtectedItem replication protected item.

func (ReplicationProtectedItem) MarshalJSON

func (rpi ReplicationProtectedItem) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicationProtectedItem.

type ReplicationProtectedItemCollection

type ReplicationProtectedItemCollection struct {
	autorest.Response `json:"-"`
	// Value - The Replication protected item details.
	Value *[]ReplicationProtectedItem `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

ReplicationProtectedItemCollection replication protected item collection.

func (ReplicationProtectedItemCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type ReplicationProtectedItemCollectionIterator

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

ReplicationProtectedItemCollectionIterator provides access to a complete listing of ReplicationProtectedItem values.

func NewReplicationProtectedItemCollectionIterator

func NewReplicationProtectedItemCollectionIterator(page ReplicationProtectedItemCollectionPage) ReplicationProtectedItemCollectionIterator

Creates a new instance of the ReplicationProtectedItemCollectionIterator type.

func (*ReplicationProtectedItemCollectionIterator) Next

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 (*ReplicationProtectedItemCollectionIterator) NextWithContext

func (iter *ReplicationProtectedItemCollectionIterator) 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 (ReplicationProtectedItemCollectionIterator) NotDone

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

func (ReplicationProtectedItemCollectionIterator) Response

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

func (ReplicationProtectedItemCollectionIterator) Value

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

type ReplicationProtectedItemCollectionPage

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

ReplicationProtectedItemCollectionPage contains a page of ReplicationProtectedItem values.

func NewReplicationProtectedItemCollectionPage

Creates a new instance of the ReplicationProtectedItemCollectionPage type.

func (*ReplicationProtectedItemCollectionPage) Next

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 (*ReplicationProtectedItemCollectionPage) NextWithContext

func (page *ReplicationProtectedItemCollectionPage) 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 (ReplicationProtectedItemCollectionPage) NotDone

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

func (ReplicationProtectedItemCollectionPage) Response

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

func (ReplicationProtectedItemCollectionPage) Values

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

type ReplicationProtectedItemOperation

type ReplicationProtectedItemOperation string

ReplicationProtectedItemOperation enumerates the values for replication protected item operation.

const (
	// ReplicationProtectedItemOperationChangePit ...
	ReplicationProtectedItemOperationChangePit ReplicationProtectedItemOperation = "ChangePit"
	// ReplicationProtectedItemOperationCommit ...
	ReplicationProtectedItemOperationCommit ReplicationProtectedItemOperation = "Commit"
	// ReplicationProtectedItemOperationCompleteMigration ...
	ReplicationProtectedItemOperationCompleteMigration ReplicationProtectedItemOperation = "CompleteMigration"
	// ReplicationProtectedItemOperationDisableProtection ...
	ReplicationProtectedItemOperationDisableProtection ReplicationProtectedItemOperation = "DisableProtection"
	// ReplicationProtectedItemOperationFailback ...
	ReplicationProtectedItemOperationFailback ReplicationProtectedItemOperation = "Failback"
	// ReplicationProtectedItemOperationFinalizeFailback ...
	ReplicationProtectedItemOperationFinalizeFailback ReplicationProtectedItemOperation = "FinalizeFailback"
	// ReplicationProtectedItemOperationPlannedFailover ...
	ReplicationProtectedItemOperationPlannedFailover ReplicationProtectedItemOperation = "PlannedFailover"
	// ReplicationProtectedItemOperationRepairReplication ...
	ReplicationProtectedItemOperationRepairReplication ReplicationProtectedItemOperation = "RepairReplication"
	// ReplicationProtectedItemOperationReverseReplicate ...
	ReplicationProtectedItemOperationReverseReplicate ReplicationProtectedItemOperation = "ReverseReplicate"
	// ReplicationProtectedItemOperationSwitchProtection ...
	ReplicationProtectedItemOperationSwitchProtection ReplicationProtectedItemOperation = "SwitchProtection"
	// ReplicationProtectedItemOperationTestFailover ...
	ReplicationProtectedItemOperationTestFailover ReplicationProtectedItemOperation = "TestFailover"
	// ReplicationProtectedItemOperationTestFailoverCleanup ...
	ReplicationProtectedItemOperationTestFailoverCleanup ReplicationProtectedItemOperation = "TestFailoverCleanup"
	// ReplicationProtectedItemOperationUnplannedFailover ...
	ReplicationProtectedItemOperationUnplannedFailover ReplicationProtectedItemOperation = "UnplannedFailover"
)

func PossibleReplicationProtectedItemOperationValues

func PossibleReplicationProtectedItemOperationValues() []ReplicationProtectedItemOperation

PossibleReplicationProtectedItemOperationValues returns an array of possible values for the ReplicationProtectedItemOperation const type.

type ReplicationProtectedItemProperties

type ReplicationProtectedItemProperties struct {
	// FriendlyName - The name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// ProtectedItemType - The type of protected item type.
	ProtectedItemType *string `json:"protectedItemType,omitempty"`
	// ProtectableItemID - The protected item ARM Id.
	ProtectableItemID *string `json:"protectableItemId,omitempty"`
	// RecoveryServicesProviderID - The recovery provider ARM Id.
	RecoveryServicesProviderID *string `json:"recoveryServicesProviderId,omitempty"`
	// PrimaryFabricFriendlyName - The friendly name of the primary fabric.
	PrimaryFabricFriendlyName *string `json:"primaryFabricFriendlyName,omitempty"`
	// RecoveryFabricFriendlyName - The friendly name of recovery fabric.
	RecoveryFabricFriendlyName *string `json:"recoveryFabricFriendlyName,omitempty"`
	// RecoveryFabricID - The Arm Id of recovery fabric.
	RecoveryFabricID *string `json:"recoveryFabricId,omitempty"`
	// PrimaryProtectionContainerFriendlyName - The name of primary protection container friendly name.
	PrimaryProtectionContainerFriendlyName *string `json:"primaryProtectionContainerFriendlyName,omitempty"`
	// RecoveryProtectionContainerFriendlyName - The name of recovery container friendly name.
	RecoveryProtectionContainerFriendlyName *string `json:"recoveryProtectionContainerFriendlyName,omitempty"`
	// ProtectionState - The protection status.
	ProtectionState *string `json:"protectionState,omitempty"`
	// ProtectionStateDescription - The protection state description.
	ProtectionStateDescription *string `json:"protectionStateDescription,omitempty"`
	// ActiveLocation - The Current active location of the PE.
	ActiveLocation *string `json:"activeLocation,omitempty"`
	// TestFailoverState - The Test failover state.
	TestFailoverState *string `json:"testFailoverState,omitempty"`
	// TestFailoverStateDescription - The Test failover state description.
	TestFailoverStateDescription *string `json:"testFailoverStateDescription,omitempty"`
	// AllowedOperations - The allowed operations on the Replication protected item.
	AllowedOperations *[]string `json:"allowedOperations,omitempty"`
	// ReplicationHealth - The consolidated protection health for the VM taking any issues with SRS as well as all the replication units associated with the VM's replication group into account. This is a string representation of the ProtectionHealth enumeration.
	ReplicationHealth *string `json:"replicationHealth,omitempty"`
	// FailoverHealth - The consolidated failover health for the VM.
	FailoverHealth *string `json:"failoverHealth,omitempty"`
	// ReplicationHealthErrors - List of replication health errors.
	ReplicationHealthErrors *[]HealthError `json:"replicationHealthErrors,omitempty"`
	// FailoverHealthErrors - List of failover health errors.
	FailoverHealthErrors *[]HealthError `json:"failoverHealthErrors,omitempty"`
	// PolicyID - The ID of Policy governing this PE.
	PolicyID *string `json:"policyId,omitempty"`
	// PolicyFriendlyName - The name of Policy governing this PE.
	PolicyFriendlyName *string `json:"policyFriendlyName,omitempty"`
	// LastSuccessfulFailoverTime - The Last successful failover time.
	LastSuccessfulFailoverTime *date.Time `json:"lastSuccessfulFailoverTime,omitempty"`
	// LastSuccessfulTestFailoverTime - The Last successful test failover time.
	LastSuccessfulTestFailoverTime *date.Time `json:"lastSuccessfulTestFailoverTime,omitempty"`
	// CurrentScenario - The current scenario.
	CurrentScenario *CurrentScenarioDetails `json:"currentScenario,omitempty"`
	// FailoverRecoveryPointID - The recovery point ARM Id to which the Vm was failed over.
	FailoverRecoveryPointID *string `json:"failoverRecoveryPointId,omitempty"`
	// ProviderSpecificDetails - The Replication provider custom settings.
	ProviderSpecificDetails BasicReplicationProviderSpecificSettings `json:"providerSpecificDetails,omitempty"`
	// RecoveryContainerID - The recovery container Id.
	RecoveryContainerID *string `json:"recoveryContainerId,omitempty"`
}

ReplicationProtectedItemProperties replication protected item custom data details.

func (*ReplicationProtectedItemProperties) UnmarshalJSON

func (rpip *ReplicationProtectedItemProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReplicationProtectedItemProperties struct.

type ReplicationProtectedItemsApplyRecoveryPointFuture

type ReplicationProtectedItemsApplyRecoveryPointFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsApplyRecoveryPointFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsApplyRecoveryPointFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsApplyRecoveryPointFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsClient

type ReplicationProtectedItemsClient struct {
	BaseClient
}

ReplicationProtectedItemsClient is the client for the ReplicationProtectedItems methods of the Siterecovery service.

func NewReplicationProtectedItemsClient

func NewReplicationProtectedItemsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectedItemsClient

NewReplicationProtectedItemsClient creates an instance of the ReplicationProtectedItemsClient client.

func NewReplicationProtectedItemsClientWithBaseURI

func NewReplicationProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectedItemsClient

NewReplicationProtectedItemsClientWithBaseURI creates an instance of the ReplicationProtectedItemsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationProtectedItemsClient) ApplyRecoveryPoint

func (client ReplicationProtectedItemsClient) ApplyRecoveryPoint(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, applyRecoveryPointInput ApplyRecoveryPointInput) (result ReplicationProtectedItemsApplyRecoveryPointFuture, err error)

ApplyRecoveryPoint the operation to change the recovery point of a failed over replication protected item. Parameters: fabricName - the ARM fabric name. protectionContainerName - the protection container name. replicatedProtectedItemName - the replicated protected item's name. applyRecoveryPointInput - the ApplyRecoveryPointInput.

func (ReplicationProtectedItemsClient) ApplyRecoveryPointPreparer

func (client ReplicationProtectedItemsClient) ApplyRecoveryPointPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, applyRecoveryPointInput ApplyRecoveryPointInput) (*http.Request, error)

ApplyRecoveryPointPreparer prepares the ApplyRecoveryPoint request.

func (ReplicationProtectedItemsClient) ApplyRecoveryPointResponder

func (client ReplicationProtectedItemsClient) ApplyRecoveryPointResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

ApplyRecoveryPointResponder handles the response to the ApplyRecoveryPoint request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) ApplyRecoveryPointSender

func (client ReplicationProtectedItemsClient) ApplyRecoveryPointSender(req *http.Request) (future ReplicationProtectedItemsApplyRecoveryPointFuture, err error)

ApplyRecoveryPointSender sends the ApplyRecoveryPoint request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) Create

func (client ReplicationProtectedItemsClient) Create(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, input EnableProtectionInput) (result ReplicationProtectedItemsCreateFuture, err error)

Create the operation to create an ASR replication protected item (Enable replication). Parameters: fabricName - name of the fabric. protectionContainerName - protection container name. replicatedProtectedItemName - a name for the replication protected item. input - enable Protection Input.

func (ReplicationProtectedItemsClient) CreatePreparer

func (client ReplicationProtectedItemsClient) CreatePreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, input EnableProtectionInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationProtectedItemsClient) CreateResponder

func (client ReplicationProtectedItemsClient) CreateResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) CreateSender

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) Delete

func (client ReplicationProtectedItemsClient) Delete(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, disableProtectionInput DisableProtectionInput) (result ReplicationProtectedItemsDeleteFuture, err error)

Delete the operation to disable replication on a replication protected item. This will also remove the item. Parameters: fabricName - fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name. disableProtectionInput - disable protection input.

func (ReplicationProtectedItemsClient) DeletePreparer

func (client ReplicationProtectedItemsClient) DeletePreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, disableProtectionInput DisableProtectionInput) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationProtectedItemsClient) DeleteResponder

func (client ReplicationProtectedItemsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) FailoverCommit

func (client ReplicationProtectedItemsClient) FailoverCommit(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (result ReplicationProtectedItemsFailoverCommitFuture, err error)

FailoverCommit operation to commit the failover of the replication protected item. Parameters: fabricName - unique fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name.

func (ReplicationProtectedItemsClient) FailoverCommitPreparer

func (client ReplicationProtectedItemsClient) FailoverCommitPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (*http.Request, error)

FailoverCommitPreparer prepares the FailoverCommit request.

func (ReplicationProtectedItemsClient) FailoverCommitResponder

func (client ReplicationProtectedItemsClient) FailoverCommitResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

FailoverCommitResponder handles the response to the FailoverCommit request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) FailoverCommitSender

FailoverCommitSender sends the FailoverCommit request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) Get

func (client ReplicationProtectedItemsClient) Get(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (result ReplicationProtectedItem, err error)

Get gets the details of an ASR replication protected item. Parameters: fabricName - fabric unique name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name.

func (ReplicationProtectedItemsClient) GetPreparer

func (client ReplicationProtectedItemsClient) GetPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationProtectedItemsClient) GetResponder

func (client ReplicationProtectedItemsClient) GetResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) GetSender

func (client ReplicationProtectedItemsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) List

List gets the list of ASR replication protected items in the vault. Parameters: skipToken - the pagination token. Possible values: "FabricId" or "FabricId_CloudId" or null filter - oData filter options.

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainers

func (client ReplicationProtectedItemsClient) ListByReplicationProtectionContainers(ctx context.Context, fabricName string, protectionContainerName string) (result ReplicationProtectedItemCollectionPage, err error)

ListByReplicationProtectionContainers gets the list of ASR replication protected items in the protection container. Parameters: fabricName - fabric name. protectionContainerName - protection container name.

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainersComplete

func (client ReplicationProtectedItemsClient) ListByReplicationProtectionContainersComplete(ctx context.Context, fabricName string, protectionContainerName string) (result ReplicationProtectedItemCollectionIterator, err error)

ListByReplicationProtectionContainersComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainersPreparer

func (client ReplicationProtectedItemsClient) ListByReplicationProtectionContainersPreparer(ctx context.Context, fabricName string, protectionContainerName string) (*http.Request, error)

ListByReplicationProtectionContainersPreparer prepares the ListByReplicationProtectionContainers request.

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainersResponder

func (client ReplicationProtectedItemsClient) ListByReplicationProtectionContainersResponder(resp *http.Response) (result ReplicationProtectedItemCollection, err error)

ListByReplicationProtectionContainersResponder handles the response to the ListByReplicationProtectionContainers request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainersSender

func (client ReplicationProtectedItemsClient) ListByReplicationProtectionContainersSender(req *http.Request) (*http.Response, error)

ListByReplicationProtectionContainersSender sends the ListByReplicationProtectionContainers request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) ListComplete

func (client ReplicationProtectedItemsClient) ListComplete(ctx context.Context, skipToken string, filter string) (result ReplicationProtectedItemCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationProtectedItemsClient) ListPreparer

func (client ReplicationProtectedItemsClient) ListPreparer(ctx context.Context, skipToken string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationProtectedItemsClient) ListResponder

func (client ReplicationProtectedItemsClient) ListResponder(resp *http.Response) (result ReplicationProtectedItemCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) ListSender

func (client ReplicationProtectedItemsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) PlannedFailover

func (client ReplicationProtectedItemsClient) PlannedFailover(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, failoverInput PlannedFailoverInput) (result ReplicationProtectedItemsPlannedFailoverFuture, err error)

PlannedFailover operation to initiate a planned failover of the replication protected item. Parameters: fabricName - unique fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name. failoverInput - disable protection input.

func (ReplicationProtectedItemsClient) PlannedFailoverPreparer

func (client ReplicationProtectedItemsClient) PlannedFailoverPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, failoverInput PlannedFailoverInput) (*http.Request, error)

PlannedFailoverPreparer prepares the PlannedFailover request.

func (ReplicationProtectedItemsClient) PlannedFailoverResponder

func (client ReplicationProtectedItemsClient) PlannedFailoverResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

PlannedFailoverResponder handles the response to the PlannedFailover request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) PlannedFailoverSender

func (client ReplicationProtectedItemsClient) PlannedFailoverSender(req *http.Request) (future ReplicationProtectedItemsPlannedFailoverFuture, err error)

PlannedFailoverSender sends the PlannedFailover request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) Purge

func (client ReplicationProtectedItemsClient) Purge(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (result ReplicationProtectedItemsPurgeFuture, err error)

Purge the operation to delete or purge a replication protected item. This operation will force delete the replication protected item. Use the remove operation on replication protected item to perform a clean disable replication for the item. Parameters: fabricName - fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name.

func (ReplicationProtectedItemsClient) PurgePreparer

func (client ReplicationProtectedItemsClient) PurgePreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (*http.Request, error)

PurgePreparer prepares the Purge request.

func (ReplicationProtectedItemsClient) PurgeResponder

func (client ReplicationProtectedItemsClient) PurgeResponder(resp *http.Response) (result autorest.Response, err error)

PurgeResponder handles the response to the Purge request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) PurgeSender

PurgeSender sends the Purge request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) RepairReplication

func (client ReplicationProtectedItemsClient) RepairReplication(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (result ReplicationProtectedItemsRepairReplicationFuture, err error)

RepairReplication the operation to start resynchronize/repair replication for a replication protected item requiring resynchronization. Parameters: fabricName - the name of the fabric. protectionContainerName - the name of the container. replicatedProtectedItemName - the name of the replication protected item.

func (ReplicationProtectedItemsClient) RepairReplicationPreparer

func (client ReplicationProtectedItemsClient) RepairReplicationPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string) (*http.Request, error)

RepairReplicationPreparer prepares the RepairReplication request.

func (ReplicationProtectedItemsClient) RepairReplicationResponder

func (client ReplicationProtectedItemsClient) RepairReplicationResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

RepairReplicationResponder handles the response to the RepairReplication request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) RepairReplicationSender

func (client ReplicationProtectedItemsClient) RepairReplicationSender(req *http.Request) (future ReplicationProtectedItemsRepairReplicationFuture, err error)

RepairReplicationSender sends the RepairReplication request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) Reprotect

func (client ReplicationProtectedItemsClient) Reprotect(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, rrInput ReverseReplicationInput) (result ReplicationProtectedItemsReprotectFuture, err error)

Reprotect operation to reprotect or reverse replicate a failed over replication protected item. Parameters: fabricName - unique fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name. rrInput - disable protection input.

func (ReplicationProtectedItemsClient) ReprotectPreparer

func (client ReplicationProtectedItemsClient) ReprotectPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, rrInput ReverseReplicationInput) (*http.Request, error)

ReprotectPreparer prepares the Reprotect request.

func (ReplicationProtectedItemsClient) ReprotectResponder

func (client ReplicationProtectedItemsClient) ReprotectResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

ReprotectResponder handles the response to the Reprotect request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) ReprotectSender

ReprotectSender sends the Reprotect request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) TestFailover

func (client ReplicationProtectedItemsClient) TestFailover(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, failoverInput TestFailoverInput) (result ReplicationProtectedItemsTestFailoverFuture, err error)

TestFailover operation to perform a test failover of the replication protected item. Parameters: fabricName - unique fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name. failoverInput - test failover input.

func (ReplicationProtectedItemsClient) TestFailoverCleanup

func (client ReplicationProtectedItemsClient) TestFailoverCleanup(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, cleanupInput TestFailoverCleanupInput) (result ReplicationProtectedItemsTestFailoverCleanupFuture, err error)

TestFailoverCleanup operation to clean up the test failover of a replication protected item. Parameters: fabricName - unique fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name. cleanupInput - test failover cleanup input.

func (ReplicationProtectedItemsClient) TestFailoverCleanupPreparer

func (client ReplicationProtectedItemsClient) TestFailoverCleanupPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, cleanupInput TestFailoverCleanupInput) (*http.Request, error)

TestFailoverCleanupPreparer prepares the TestFailoverCleanup request.

func (ReplicationProtectedItemsClient) TestFailoverCleanupResponder

func (client ReplicationProtectedItemsClient) TestFailoverCleanupResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

TestFailoverCleanupResponder handles the response to the TestFailoverCleanup request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) TestFailoverCleanupSender

func (client ReplicationProtectedItemsClient) TestFailoverCleanupSender(req *http.Request) (future ReplicationProtectedItemsTestFailoverCleanupFuture, err error)

TestFailoverCleanupSender sends the TestFailoverCleanup request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) TestFailoverPreparer

func (client ReplicationProtectedItemsClient) TestFailoverPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, failoverInput TestFailoverInput) (*http.Request, error)

TestFailoverPreparer prepares the TestFailover request.

func (ReplicationProtectedItemsClient) TestFailoverResponder

func (client ReplicationProtectedItemsClient) TestFailoverResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

TestFailoverResponder handles the response to the TestFailover request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) TestFailoverSender

TestFailoverSender sends the TestFailover request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) UnplannedFailover

func (client ReplicationProtectedItemsClient) UnplannedFailover(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, failoverInput UnplannedFailoverInput) (result ReplicationProtectedItemsUnplannedFailoverFuture, err error)

UnplannedFailover operation to initiate a failover of the replication protected item. Parameters: fabricName - unique fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name. failoverInput - disable protection input.

func (ReplicationProtectedItemsClient) UnplannedFailoverPreparer

func (client ReplicationProtectedItemsClient) UnplannedFailoverPreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, failoverInput UnplannedFailoverInput) (*http.Request, error)

UnplannedFailoverPreparer prepares the UnplannedFailover request.

func (ReplicationProtectedItemsClient) UnplannedFailoverResponder

func (client ReplicationProtectedItemsClient) UnplannedFailoverResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

UnplannedFailoverResponder handles the response to the UnplannedFailover request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) UnplannedFailoverSender

func (client ReplicationProtectedItemsClient) UnplannedFailoverSender(req *http.Request) (future ReplicationProtectedItemsUnplannedFailoverFuture, err error)

UnplannedFailoverSender sends the UnplannedFailover request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) Update

func (client ReplicationProtectedItemsClient) Update(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, updateProtectionInput UpdateReplicationProtectedItemInput) (result ReplicationProtectedItemsUpdateFuture, err error)

Update the operation to update the recovery settings of an ASR replication protected item. Parameters: fabricName - fabric name. protectionContainerName - protection container name. replicatedProtectedItemName - replication protected item name. updateProtectionInput - update protection input.

func (ReplicationProtectedItemsClient) UpdateMobilityService

func (client ReplicationProtectedItemsClient) UpdateMobilityService(ctx context.Context, fabricName string, protectionContainerName string, replicationProtectedItemName string, updateMobilityServiceRequest UpdateMobilityServiceRequest) (result ReplicationProtectedItemsUpdateMobilityServiceFuture, err error)

UpdateMobilityService the operation to update(push update) the installed mobility service software on a replication protected item to the latest available version. Parameters: fabricName - the name of the fabric containing the protected item. protectionContainerName - the name of the container containing the protected item. replicationProtectedItemName - the name of the protected item on which the agent is to be updated. updateMobilityServiceRequest - request to update the mobility service on the protected item.

func (ReplicationProtectedItemsClient) UpdateMobilityServicePreparer

func (client ReplicationProtectedItemsClient) UpdateMobilityServicePreparer(ctx context.Context, fabricName string, protectionContainerName string, replicationProtectedItemName string, updateMobilityServiceRequest UpdateMobilityServiceRequest) (*http.Request, error)

UpdateMobilityServicePreparer prepares the UpdateMobilityService request.

func (ReplicationProtectedItemsClient) UpdateMobilityServiceResponder

func (client ReplicationProtectedItemsClient) UpdateMobilityServiceResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

UpdateMobilityServiceResponder handles the response to the UpdateMobilityService request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) UpdateMobilityServiceSender

func (client ReplicationProtectedItemsClient) UpdateMobilityServiceSender(req *http.Request) (future ReplicationProtectedItemsUpdateMobilityServiceFuture, err error)

UpdateMobilityServiceSender sends the UpdateMobilityService request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectedItemsClient) UpdatePreparer

func (client ReplicationProtectedItemsClient) UpdatePreparer(ctx context.Context, fabricName string, protectionContainerName string, replicatedProtectedItemName string, updateProtectionInput UpdateReplicationProtectedItemInput) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ReplicationProtectedItemsClient) UpdateResponder

func (client ReplicationProtectedItemsClient) UpdateResponder(resp *http.Response) (result ReplicationProtectedItem, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ReplicationProtectedItemsClient) UpdateSender

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ReplicationProtectedItemsCreateFuture

type ReplicationProtectedItemsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsCreateFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsDeleteFuture

type ReplicationProtectedItemsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (autorest.Response, error)
}

ReplicationProtectedItemsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsDeleteFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsFailoverCommitFuture

type ReplicationProtectedItemsFailoverCommitFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsFailoverCommitFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsFailoverCommitFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsFailoverCommitFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsPlannedFailoverFuture

type ReplicationProtectedItemsPlannedFailoverFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsPlannedFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsPlannedFailoverFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsPlannedFailoverFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsPurgeFuture

type ReplicationProtectedItemsPurgeFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (autorest.Response, error)
}

ReplicationProtectedItemsPurgeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsPurgeFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsPurgeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsRepairReplicationFuture

type ReplicationProtectedItemsRepairReplicationFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsRepairReplicationFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsRepairReplicationFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsRepairReplicationFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsReprotectFuture

type ReplicationProtectedItemsReprotectFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsReprotectFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsReprotectFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsReprotectFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsTestFailoverCleanupFuture

type ReplicationProtectedItemsTestFailoverCleanupFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsTestFailoverCleanupFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsTestFailoverCleanupFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsTestFailoverCleanupFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsTestFailoverFuture

type ReplicationProtectedItemsTestFailoverFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsTestFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsTestFailoverFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsTestFailoverFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsUnplannedFailoverFuture

type ReplicationProtectedItemsUnplannedFailoverFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsUnplannedFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsUnplannedFailoverFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsUnplannedFailoverFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsUpdateFuture

type ReplicationProtectedItemsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsUpdateFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectedItemsUpdateMobilityServiceFuture

type ReplicationProtectedItemsUpdateMobilityServiceFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectedItemsClient) (ReplicationProtectedItem, error)
}

ReplicationProtectedItemsUpdateMobilityServiceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectedItemsUpdateMobilityServiceFuture) UnmarshalJSON

func (future *ReplicationProtectedItemsUpdateMobilityServiceFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectionContainerMappingsClient

type ReplicationProtectionContainerMappingsClient struct {
	BaseClient
}

ReplicationProtectionContainerMappingsClient is the client for the ReplicationProtectionContainerMappings methods of the Siterecovery service.

func NewReplicationProtectionContainerMappingsClient

func NewReplicationProtectionContainerMappingsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectionContainerMappingsClient

NewReplicationProtectionContainerMappingsClient creates an instance of the ReplicationProtectionContainerMappingsClient client.

func NewReplicationProtectionContainerMappingsClientWithBaseURI

func NewReplicationProtectionContainerMappingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectionContainerMappingsClient

NewReplicationProtectionContainerMappingsClientWithBaseURI creates an instance of the ReplicationProtectionContainerMappingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationProtectionContainerMappingsClient) Create

func (client ReplicationProtectionContainerMappingsClient) Create(ctx context.Context, fabricName string, protectionContainerName string, mappingName string, creationInput CreateProtectionContainerMappingInput) (result ReplicationProtectionContainerMappingsCreateFuture, err error)

Create the operation to create a protection container mapping. Parameters: fabricName - fabric name. protectionContainerName - protection container name. mappingName - protection container mapping name. creationInput - mapping creation input.

func (ReplicationProtectionContainerMappingsClient) CreatePreparer

func (client ReplicationProtectionContainerMappingsClient) CreatePreparer(ctx context.Context, fabricName string, protectionContainerName string, mappingName string, creationInput CreateProtectionContainerMappingInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationProtectionContainerMappingsClient) CreateResponder

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationProtectionContainerMappingsClient) CreateSender

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainerMappingsClient) Delete

func (client ReplicationProtectionContainerMappingsClient) Delete(ctx context.Context, fabricName string, protectionContainerName string, mappingName string, removalInput RemoveProtectionContainerMappingInput) (result ReplicationProtectionContainerMappingsDeleteFuture, err error)

Delete the operation to delete or remove a protection container mapping. Parameters: fabricName - fabric name. protectionContainerName - protection container name. mappingName - protection container mapping name. removalInput - removal input.

func (ReplicationProtectionContainerMappingsClient) DeletePreparer

func (client ReplicationProtectionContainerMappingsClient) DeletePreparer(ctx context.Context, fabricName string, protectionContainerName string, mappingName string, removalInput RemoveProtectionContainerMappingInput) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationProtectionContainerMappingsClient) DeleteResponder

func (client ReplicationProtectionContainerMappingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationProtectionContainerMappingsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainerMappingsClient) Get

func (client ReplicationProtectionContainerMappingsClient) Get(ctx context.Context, fabricName string, protectionContainerName string, mappingName string) (result ProtectionContainerMapping, err error)

Get gets the details of a protection container mapping. Parameters: fabricName - fabric name. protectionContainerName - protection container name. mappingName - protection Container mapping name.

func (ReplicationProtectionContainerMappingsClient) GetPreparer

func (client ReplicationProtectionContainerMappingsClient) GetPreparer(ctx context.Context, fabricName string, protectionContainerName string, mappingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationProtectionContainerMappingsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationProtectionContainerMappingsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainerMappingsClient) List

List lists the protection container mappings in the vault.

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainers

func (client ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainers(ctx context.Context, fabricName string, protectionContainerName string) (result ProtectionContainerMappingCollectionPage, err error)

ListByReplicationProtectionContainers lists the protection container mappings for a protection container. Parameters: fabricName - fabric name. protectionContainerName - protection container name.

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersComplete

func (client ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersComplete(ctx context.Context, fabricName string, protectionContainerName string) (result ProtectionContainerMappingCollectionIterator, err error)

ListByReplicationProtectionContainersComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersPreparer

func (client ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersPreparer(ctx context.Context, fabricName string, protectionContainerName string) (*http.Request, error)

ListByReplicationProtectionContainersPreparer prepares the ListByReplicationProtectionContainers request.

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersResponder

func (client ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersResponder(resp *http.Response) (result ProtectionContainerMappingCollection, err error)

ListByReplicationProtectionContainersResponder handles the response to the ListByReplicationProtectionContainers request. The method always closes the http.Response Body.

func (ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersSender

func (client ReplicationProtectionContainerMappingsClient) ListByReplicationProtectionContainersSender(req *http.Request) (*http.Response, error)

ListByReplicationProtectionContainersSender sends the ListByReplicationProtectionContainers request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainerMappingsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationProtectionContainerMappingsClient) ListPreparer

ListPreparer prepares the List request.

func (ReplicationProtectionContainerMappingsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationProtectionContainerMappingsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainerMappingsClient) Purge

func (client ReplicationProtectionContainerMappingsClient) Purge(ctx context.Context, fabricName string, protectionContainerName string, mappingName string) (result ReplicationProtectionContainerMappingsPurgeFuture, err error)

Purge the operation to purge(force delete) a protection container mapping Parameters: fabricName - fabric name. protectionContainerName - protection container name. mappingName - protection container mapping name.

func (ReplicationProtectionContainerMappingsClient) PurgePreparer

func (client ReplicationProtectionContainerMappingsClient) PurgePreparer(ctx context.Context, fabricName string, protectionContainerName string, mappingName string) (*http.Request, error)

PurgePreparer prepares the Purge request.

func (ReplicationProtectionContainerMappingsClient) PurgeResponder

func (client ReplicationProtectionContainerMappingsClient) PurgeResponder(resp *http.Response) (result autorest.Response, err error)

PurgeResponder handles the response to the Purge request. The method always closes the http.Response Body.

func (ReplicationProtectionContainerMappingsClient) PurgeSender

PurgeSender sends the Purge request. The method will close the http.Response Body if it receives an error.

type ReplicationProtectionContainerMappingsCreateFuture

type ReplicationProtectionContainerMappingsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectionContainerMappingsClient) (ProtectionContainerMapping, error)
}

ReplicationProtectionContainerMappingsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectionContainerMappingsCreateFuture) UnmarshalJSON

func (future *ReplicationProtectionContainerMappingsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectionContainerMappingsDeleteFuture

type ReplicationProtectionContainerMappingsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectionContainerMappingsClient) (autorest.Response, error)
}

ReplicationProtectionContainerMappingsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectionContainerMappingsDeleteFuture) UnmarshalJSON

func (future *ReplicationProtectionContainerMappingsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectionContainerMappingsPurgeFuture

type ReplicationProtectionContainerMappingsPurgeFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectionContainerMappingsClient) (autorest.Response, error)
}

ReplicationProtectionContainerMappingsPurgeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectionContainerMappingsPurgeFuture) UnmarshalJSON

func (future *ReplicationProtectionContainerMappingsPurgeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectionContainersClient

type ReplicationProtectionContainersClient struct {
	BaseClient
}

ReplicationProtectionContainersClient is the client for the ReplicationProtectionContainers methods of the Siterecovery service.

func NewReplicationProtectionContainersClient

func NewReplicationProtectionContainersClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectionContainersClient

NewReplicationProtectionContainersClient creates an instance of the ReplicationProtectionContainersClient client.

func NewReplicationProtectionContainersClientWithBaseURI

func NewReplicationProtectionContainersClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationProtectionContainersClient

NewReplicationProtectionContainersClientWithBaseURI creates an instance of the ReplicationProtectionContainersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationProtectionContainersClient) Create

func (client ReplicationProtectionContainersClient) Create(ctx context.Context, fabricName string, protectionContainerName string, creationInput CreateProtectionContainerInput) (result ReplicationProtectionContainersCreateFuture, err error)

Create operation to create a protection container. Parameters: fabricName - unique fabric ARM name. protectionContainerName - unique protection container ARM name. creationInput - creation input.

func (ReplicationProtectionContainersClient) CreatePreparer

func (client ReplicationProtectionContainersClient) CreatePreparer(ctx context.Context, fabricName string, protectionContainerName string, creationInput CreateProtectionContainerInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationProtectionContainersClient) CreateResponder

func (client ReplicationProtectionContainersClient) CreateResponder(resp *http.Response) (result ProtectionContainer, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationProtectionContainersClient) CreateSender

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainersClient) Delete

func (client ReplicationProtectionContainersClient) Delete(ctx context.Context, fabricName string, protectionContainerName string) (result ReplicationProtectionContainersDeleteFuture, err error)

Delete operation to remove a protection container. Parameters: fabricName - unique fabric ARM name. protectionContainerName - unique protection container ARM name.

func (ReplicationProtectionContainersClient) DeletePreparer

func (client ReplicationProtectionContainersClient) DeletePreparer(ctx context.Context, fabricName string, protectionContainerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationProtectionContainersClient) DeleteResponder

func (client ReplicationProtectionContainersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationProtectionContainersClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainersClient) DiscoverProtectableItem

func (client ReplicationProtectionContainersClient) DiscoverProtectableItem(ctx context.Context, fabricName string, protectionContainerName string, discoverProtectableItemRequest DiscoverProtectableItemRequest) (result ReplicationProtectionContainersDiscoverProtectableItemFuture, err error)

DiscoverProtectableItem the operation to a add a protectable item to a protection container(Add physical server.) Parameters: fabricName - the name of the fabric. protectionContainerName - the name of the protection container. discoverProtectableItemRequest - the request object to add a protectable item.

func (ReplicationProtectionContainersClient) DiscoverProtectableItemPreparer

func (client ReplicationProtectionContainersClient) DiscoverProtectableItemPreparer(ctx context.Context, fabricName string, protectionContainerName string, discoverProtectableItemRequest DiscoverProtectableItemRequest) (*http.Request, error)

DiscoverProtectableItemPreparer prepares the DiscoverProtectableItem request.

func (ReplicationProtectionContainersClient) DiscoverProtectableItemResponder

func (client ReplicationProtectionContainersClient) DiscoverProtectableItemResponder(resp *http.Response) (result ProtectionContainer, err error)

DiscoverProtectableItemResponder handles the response to the DiscoverProtectableItem request. The method always closes the http.Response Body.

func (ReplicationProtectionContainersClient) DiscoverProtectableItemSender

DiscoverProtectableItemSender sends the DiscoverProtectableItem request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainersClient) Get

func (client ReplicationProtectionContainersClient) Get(ctx context.Context, fabricName string, protectionContainerName string) (result ProtectionContainer, err error)

Get gets the details of a protection container. Parameters: fabricName - fabric name. protectionContainerName - protection container name.

func (ReplicationProtectionContainersClient) GetPreparer

func (client ReplicationProtectionContainersClient) GetPreparer(ctx context.Context, fabricName string, protectionContainerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationProtectionContainersClient) GetResponder

func (client ReplicationProtectionContainersClient) GetResponder(resp *http.Response) (result ProtectionContainer, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationProtectionContainersClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainersClient) List

List lists the protection containers in a vault.

func (ReplicationProtectionContainersClient) ListByReplicationFabrics

func (client ReplicationProtectionContainersClient) ListByReplicationFabrics(ctx context.Context, fabricName string) (result ProtectionContainerCollectionPage, err error)

ListByReplicationFabrics lists the protection containers in the specified fabric. Parameters: fabricName - fabric name.

func (ReplicationProtectionContainersClient) ListByReplicationFabricsComplete

func (client ReplicationProtectionContainersClient) ListByReplicationFabricsComplete(ctx context.Context, fabricName string) (result ProtectionContainerCollectionIterator, err error)

ListByReplicationFabricsComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationProtectionContainersClient) ListByReplicationFabricsPreparer

func (client ReplicationProtectionContainersClient) ListByReplicationFabricsPreparer(ctx context.Context, fabricName string) (*http.Request, error)

ListByReplicationFabricsPreparer prepares the ListByReplicationFabrics request.

func (ReplicationProtectionContainersClient) ListByReplicationFabricsResponder

func (client ReplicationProtectionContainersClient) ListByReplicationFabricsResponder(resp *http.Response) (result ProtectionContainerCollection, err error)

ListByReplicationFabricsResponder handles the response to the ListByReplicationFabrics request. The method always closes the http.Response Body.

func (ReplicationProtectionContainersClient) ListByReplicationFabricsSender

func (client ReplicationProtectionContainersClient) ListByReplicationFabricsSender(req *http.Request) (*http.Response, error)

ListByReplicationFabricsSender sends the ListByReplicationFabrics request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainersClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationProtectionContainersClient) ListPreparer

ListPreparer prepares the List request.

func (ReplicationProtectionContainersClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationProtectionContainersClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationProtectionContainersClient) SwitchProtection

func (client ReplicationProtectionContainersClient) SwitchProtection(ctx context.Context, fabricName string, protectionContainerName string, switchInput SwitchProtectionInput) (result ReplicationProtectionContainersSwitchProtectionFuture, err error)

SwitchProtection operation to switch protection from one container to another or one replication provider to another. Parameters: fabricName - unique fabric name. protectionContainerName - protection container name. switchInput - switch protection input.

func (ReplicationProtectionContainersClient) SwitchProtectionPreparer

func (client ReplicationProtectionContainersClient) SwitchProtectionPreparer(ctx context.Context, fabricName string, protectionContainerName string, switchInput SwitchProtectionInput) (*http.Request, error)

SwitchProtectionPreparer prepares the SwitchProtection request.

func (ReplicationProtectionContainersClient) SwitchProtectionResponder

func (client ReplicationProtectionContainersClient) SwitchProtectionResponder(resp *http.Response) (result ProtectionContainer, err error)

SwitchProtectionResponder handles the response to the SwitchProtection request. The method always closes the http.Response Body.

func (ReplicationProtectionContainersClient) SwitchProtectionSender

SwitchProtectionSender sends the SwitchProtection request. The method will close the http.Response Body if it receives an error.

type ReplicationProtectionContainersCreateFuture

type ReplicationProtectionContainersCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectionContainersClient) (ProtectionContainer, error)
}

ReplicationProtectionContainersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectionContainersCreateFuture) UnmarshalJSON

func (future *ReplicationProtectionContainersCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectionContainersDeleteFuture

type ReplicationProtectionContainersDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectionContainersClient) (autorest.Response, error)
}

ReplicationProtectionContainersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectionContainersDeleteFuture) UnmarshalJSON

func (future *ReplicationProtectionContainersDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectionContainersDiscoverProtectableItemFuture

type ReplicationProtectionContainersDiscoverProtectableItemFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectionContainersClient) (ProtectionContainer, error)
}

ReplicationProtectionContainersDiscoverProtectableItemFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectionContainersDiscoverProtectableItemFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProtectionContainersSwitchProtectionFuture

type ReplicationProtectionContainersSwitchProtectionFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationProtectionContainersClient) (ProtectionContainer, error)
}

ReplicationProtectionContainersSwitchProtectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationProtectionContainersSwitchProtectionFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationProviderContainerUnmappingInput

type ReplicationProviderContainerUnmappingInput struct {
	// InstanceType - The class type.
	InstanceType *string `json:"instanceType,omitempty"`
}

ReplicationProviderContainerUnmappingInput provider specific input for unpairing operations.

type ReplicationProviderSpecificContainerCreationInput

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

ReplicationProviderSpecificContainerCreationInput provider specific input for container creation operation.

func (ReplicationProviderSpecificContainerCreationInput) AsA2AContainerCreationInput

func (rpscci ReplicationProviderSpecificContainerCreationInput) AsA2AContainerCreationInput() (*A2AContainerCreationInput, bool)

AsA2AContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for ReplicationProviderSpecificContainerCreationInput.

func (ReplicationProviderSpecificContainerCreationInput) AsBasicReplicationProviderSpecificContainerCreationInput

func (rpscci ReplicationProviderSpecificContainerCreationInput) AsBasicReplicationProviderSpecificContainerCreationInput() (BasicReplicationProviderSpecificContainerCreationInput, bool)

AsBasicReplicationProviderSpecificContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for ReplicationProviderSpecificContainerCreationInput.

func (ReplicationProviderSpecificContainerCreationInput) AsReplicationProviderSpecificContainerCreationInput

func (rpscci ReplicationProviderSpecificContainerCreationInput) AsReplicationProviderSpecificContainerCreationInput() (*ReplicationProviderSpecificContainerCreationInput, bool)

AsReplicationProviderSpecificContainerCreationInput is the BasicReplicationProviderSpecificContainerCreationInput implementation for ReplicationProviderSpecificContainerCreationInput.

func (ReplicationProviderSpecificContainerCreationInput) MarshalJSON

MarshalJSON is the custom marshaler for ReplicationProviderSpecificContainerCreationInput.

type ReplicationProviderSpecificContainerMappingInput

type ReplicationProviderSpecificContainerMappingInput struct {
	// InstanceType - The class type.
	InstanceType *string `json:"instanceType,omitempty"`
}

ReplicationProviderSpecificContainerMappingInput provider specific input for pairing operations.

type ReplicationProviderSpecificSettings

type ReplicationProviderSpecificSettings struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeReplicationProviderSpecificSettings', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaBaseReplicationDetails', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMageAzureV2', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeInMage', 'InstanceTypeBasicReplicationProviderSpecificSettingsInstanceTypeA2A'
	InstanceType InstanceTypeBasicReplicationProviderSpecificSettings `json:"instanceType,omitempty"`
}

ReplicationProviderSpecificSettings replication provider specific settings.

func (ReplicationProviderSpecificSettings) AsA2AReplicationDetails

func (rpss ReplicationProviderSpecificSettings) AsA2AReplicationDetails() (*A2AReplicationDetails, bool)

AsA2AReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsBasicReplicationProviderSpecificSettings

func (rpss ReplicationProviderSpecificSettings) AsBasicReplicationProviderSpecificSettings() (BasicReplicationProviderSpecificSettings, bool)

AsBasicReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsHyperVReplicaAzureReplicationDetails

func (rpss ReplicationProviderSpecificSettings) AsHyperVReplicaAzureReplicationDetails() (*HyperVReplicaAzureReplicationDetails, bool)

AsHyperVReplicaAzureReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsHyperVReplicaBaseReplicationDetails

func (rpss ReplicationProviderSpecificSettings) AsHyperVReplicaBaseReplicationDetails() (*HyperVReplicaBaseReplicationDetails, bool)

AsHyperVReplicaBaseReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsHyperVReplicaBlueReplicationDetails

func (rpss ReplicationProviderSpecificSettings) AsHyperVReplicaBlueReplicationDetails() (*HyperVReplicaBlueReplicationDetails, bool)

AsHyperVReplicaBlueReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsHyperVReplicaReplicationDetails

func (rpss ReplicationProviderSpecificSettings) AsHyperVReplicaReplicationDetails() (*HyperVReplicaReplicationDetails, bool)

AsHyperVReplicaReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsInMageAzureV2ReplicationDetails

func (rpss ReplicationProviderSpecificSettings) AsInMageAzureV2ReplicationDetails() (*InMageAzureV2ReplicationDetails, bool)

AsInMageAzureV2ReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsInMageReplicationDetails

func (rpss ReplicationProviderSpecificSettings) AsInMageReplicationDetails() (*InMageReplicationDetails, bool)

AsInMageReplicationDetails is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) AsReplicationProviderSpecificSettings

func (rpss ReplicationProviderSpecificSettings) AsReplicationProviderSpecificSettings() (*ReplicationProviderSpecificSettings, bool)

AsReplicationProviderSpecificSettings is the BasicReplicationProviderSpecificSettings implementation for ReplicationProviderSpecificSettings.

func (ReplicationProviderSpecificSettings) MarshalJSON

func (rpss ReplicationProviderSpecificSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicationProviderSpecificSettings.

type ReplicationRecoveryPlansClient

type ReplicationRecoveryPlansClient struct {
	BaseClient
}

ReplicationRecoveryPlansClient is the client for the ReplicationRecoveryPlans methods of the Siterecovery service.

func NewReplicationRecoveryPlansClient

func NewReplicationRecoveryPlansClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationRecoveryPlansClient

NewReplicationRecoveryPlansClient creates an instance of the ReplicationRecoveryPlansClient client.

func NewReplicationRecoveryPlansClientWithBaseURI

func NewReplicationRecoveryPlansClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationRecoveryPlansClient

NewReplicationRecoveryPlansClientWithBaseURI creates an instance of the ReplicationRecoveryPlansClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationRecoveryPlansClient) Create

Create the operation to create a recovery plan. Parameters: recoveryPlanName - recovery plan name. input - recovery Plan creation input.

func (ReplicationRecoveryPlansClient) CreatePreparer

func (client ReplicationRecoveryPlansClient) CreatePreparer(ctx context.Context, recoveryPlanName string, input CreateRecoveryPlanInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationRecoveryPlansClient) CreateResponder

func (client ReplicationRecoveryPlansClient) CreateResponder(resp *http.Response) (result RecoveryPlan, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) CreateSender

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) Delete

func (client ReplicationRecoveryPlansClient) Delete(ctx context.Context, recoveryPlanName string) (result ReplicationRecoveryPlansDeleteFuture, err error)

Delete delete a recovery plan. Parameters: recoveryPlanName - recovery plan name.

func (ReplicationRecoveryPlansClient) DeletePreparer

func (client ReplicationRecoveryPlansClient) DeletePreparer(ctx context.Context, recoveryPlanName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationRecoveryPlansClient) DeleteResponder

func (client ReplicationRecoveryPlansClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) FailoverCommit

func (client ReplicationRecoveryPlansClient) FailoverCommit(ctx context.Context, recoveryPlanName string) (result ReplicationRecoveryPlansFailoverCommitFuture, err error)

FailoverCommit the operation to commit the fail over of a recovery plan. Parameters: recoveryPlanName - recovery plan name.

func (ReplicationRecoveryPlansClient) FailoverCommitPreparer

func (client ReplicationRecoveryPlansClient) FailoverCommitPreparer(ctx context.Context, recoveryPlanName string) (*http.Request, error)

FailoverCommitPreparer prepares the FailoverCommit request.

func (ReplicationRecoveryPlansClient) FailoverCommitResponder

func (client ReplicationRecoveryPlansClient) FailoverCommitResponder(resp *http.Response) (result RecoveryPlan, err error)

FailoverCommitResponder handles the response to the FailoverCommit request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) FailoverCommitSender

func (client ReplicationRecoveryPlansClient) FailoverCommitSender(req *http.Request) (future ReplicationRecoveryPlansFailoverCommitFuture, err error)

FailoverCommitSender sends the FailoverCommit request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) Get

func (client ReplicationRecoveryPlansClient) Get(ctx context.Context, recoveryPlanName string) (result RecoveryPlan, err error)

Get gets the details of the recovery plan. Parameters: recoveryPlanName - name of the recovery plan.

func (ReplicationRecoveryPlansClient) GetPreparer

func (client ReplicationRecoveryPlansClient) GetPreparer(ctx context.Context, recoveryPlanName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationRecoveryPlansClient) GetResponder

func (client ReplicationRecoveryPlansClient) GetResponder(resp *http.Response) (result RecoveryPlan, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) GetSender

func (client ReplicationRecoveryPlansClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) List

List lists the recovery plans in the vault.

func (ReplicationRecoveryPlansClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationRecoveryPlansClient) ListPreparer

func (client ReplicationRecoveryPlansClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationRecoveryPlansClient) ListResponder

func (client ReplicationRecoveryPlansClient) ListResponder(resp *http.Response) (result RecoveryPlanCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) ListSender

func (client ReplicationRecoveryPlansClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) PlannedFailover

PlannedFailover the operation to start the planned failover of a recovery plan. Parameters: recoveryPlanName - recovery plan name. input - failover input.

func (ReplicationRecoveryPlansClient) PlannedFailoverPreparer

func (client ReplicationRecoveryPlansClient) PlannedFailoverPreparer(ctx context.Context, recoveryPlanName string, input RecoveryPlanPlannedFailoverInput) (*http.Request, error)

PlannedFailoverPreparer prepares the PlannedFailover request.

func (ReplicationRecoveryPlansClient) PlannedFailoverResponder

func (client ReplicationRecoveryPlansClient) PlannedFailoverResponder(resp *http.Response) (result RecoveryPlan, err error)

PlannedFailoverResponder handles the response to the PlannedFailover request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) PlannedFailoverSender

func (client ReplicationRecoveryPlansClient) PlannedFailoverSender(req *http.Request) (future ReplicationRecoveryPlansPlannedFailoverFuture, err error)

PlannedFailoverSender sends the PlannedFailover request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) Reprotect

func (client ReplicationRecoveryPlansClient) Reprotect(ctx context.Context, recoveryPlanName string) (result ReplicationRecoveryPlansReprotectFuture, err error)

Reprotect the operation to reprotect(reverse replicate) a recovery plan. Parameters: recoveryPlanName - recovery plan name.

func (ReplicationRecoveryPlansClient) ReprotectPreparer

func (client ReplicationRecoveryPlansClient) ReprotectPreparer(ctx context.Context, recoveryPlanName string) (*http.Request, error)

ReprotectPreparer prepares the Reprotect request.

func (ReplicationRecoveryPlansClient) ReprotectResponder

func (client ReplicationRecoveryPlansClient) ReprotectResponder(resp *http.Response) (result RecoveryPlan, err error)

ReprotectResponder handles the response to the Reprotect request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) ReprotectSender

ReprotectSender sends the Reprotect request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) TestFailover

TestFailover the operation to start the test failover of a recovery plan. Parameters: recoveryPlanName - recovery plan name. input - failover input.

func (ReplicationRecoveryPlansClient) TestFailoverCleanup

TestFailoverCleanup the operation to cleanup test failover of a recovery plan. Parameters: recoveryPlanName - recovery plan name. input - test failover cleanup input.

func (ReplicationRecoveryPlansClient) TestFailoverCleanupPreparer

func (client ReplicationRecoveryPlansClient) TestFailoverCleanupPreparer(ctx context.Context, recoveryPlanName string, input RecoveryPlanTestFailoverCleanupInput) (*http.Request, error)

TestFailoverCleanupPreparer prepares the TestFailoverCleanup request.

func (ReplicationRecoveryPlansClient) TestFailoverCleanupResponder

func (client ReplicationRecoveryPlansClient) TestFailoverCleanupResponder(resp *http.Response) (result RecoveryPlan, err error)

TestFailoverCleanupResponder handles the response to the TestFailoverCleanup request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) TestFailoverCleanupSender

func (client ReplicationRecoveryPlansClient) TestFailoverCleanupSender(req *http.Request) (future ReplicationRecoveryPlansTestFailoverCleanupFuture, err error)

TestFailoverCleanupSender sends the TestFailoverCleanup request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) TestFailoverPreparer

func (client ReplicationRecoveryPlansClient) TestFailoverPreparer(ctx context.Context, recoveryPlanName string, input RecoveryPlanTestFailoverInput) (*http.Request, error)

TestFailoverPreparer prepares the TestFailover request.

func (ReplicationRecoveryPlansClient) TestFailoverResponder

func (client ReplicationRecoveryPlansClient) TestFailoverResponder(resp *http.Response) (result RecoveryPlan, err error)

TestFailoverResponder handles the response to the TestFailover request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) TestFailoverSender

func (client ReplicationRecoveryPlansClient) TestFailoverSender(req *http.Request) (future ReplicationRecoveryPlansTestFailoverFuture, err error)

TestFailoverSender sends the TestFailover request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) UnplannedFailover

UnplannedFailover the operation to start the failover of a recovery plan. Parameters: recoveryPlanName - recovery plan name. input - failover input.

func (ReplicationRecoveryPlansClient) UnplannedFailoverPreparer

func (client ReplicationRecoveryPlansClient) UnplannedFailoverPreparer(ctx context.Context, recoveryPlanName string, input RecoveryPlanUnplannedFailoverInput) (*http.Request, error)

UnplannedFailoverPreparer prepares the UnplannedFailover request.

func (ReplicationRecoveryPlansClient) UnplannedFailoverResponder

func (client ReplicationRecoveryPlansClient) UnplannedFailoverResponder(resp *http.Response) (result RecoveryPlan, err error)

UnplannedFailoverResponder handles the response to the UnplannedFailover request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) UnplannedFailoverSender

func (client ReplicationRecoveryPlansClient) UnplannedFailoverSender(req *http.Request) (future ReplicationRecoveryPlansUnplannedFailoverFuture, err error)

UnplannedFailoverSender sends the UnplannedFailover request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryPlansClient) Update

Update the operation to update a recovery plan. Parameters: recoveryPlanName - recovery plan name. input - update recovery plan input

func (ReplicationRecoveryPlansClient) UpdatePreparer

func (client ReplicationRecoveryPlansClient) UpdatePreparer(ctx context.Context, recoveryPlanName string, input UpdateRecoveryPlanInput) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ReplicationRecoveryPlansClient) UpdateResponder

func (client ReplicationRecoveryPlansClient) UpdateResponder(resp *http.Response) (result RecoveryPlan, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ReplicationRecoveryPlansClient) UpdateSender

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ReplicationRecoveryPlansCreateFuture

type ReplicationRecoveryPlansCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansCreateFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansDeleteFuture

type ReplicationRecoveryPlansDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (autorest.Response, error)
}

ReplicationRecoveryPlansDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansDeleteFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansFailoverCommitFuture

type ReplicationRecoveryPlansFailoverCommitFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansFailoverCommitFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansFailoverCommitFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansFailoverCommitFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansPlannedFailoverFuture

type ReplicationRecoveryPlansPlannedFailoverFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansPlannedFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansPlannedFailoverFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansPlannedFailoverFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansReprotectFuture

type ReplicationRecoveryPlansReprotectFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansReprotectFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansReprotectFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansReprotectFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansTestFailoverCleanupFuture

type ReplicationRecoveryPlansTestFailoverCleanupFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansTestFailoverCleanupFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansTestFailoverCleanupFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansTestFailoverCleanupFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansTestFailoverFuture

type ReplicationRecoveryPlansTestFailoverFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansTestFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansTestFailoverFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansTestFailoverFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansUnplannedFailoverFuture

type ReplicationRecoveryPlansUnplannedFailoverFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansUnplannedFailoverFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansUnplannedFailoverFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansUnplannedFailoverFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryPlansUpdateFuture

type ReplicationRecoveryPlansUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryPlansClient) (RecoveryPlan, error)
}

ReplicationRecoveryPlansUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryPlansUpdateFuture) UnmarshalJSON

func (future *ReplicationRecoveryPlansUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryServicesProvidersClient

type ReplicationRecoveryServicesProvidersClient struct {
	BaseClient
}

ReplicationRecoveryServicesProvidersClient is the client for the ReplicationRecoveryServicesProviders methods of the Siterecovery service.

func NewReplicationRecoveryServicesProvidersClient

func NewReplicationRecoveryServicesProvidersClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationRecoveryServicesProvidersClient

NewReplicationRecoveryServicesProvidersClient creates an instance of the ReplicationRecoveryServicesProvidersClient client.

func NewReplicationRecoveryServicesProvidersClientWithBaseURI

func NewReplicationRecoveryServicesProvidersClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationRecoveryServicesProvidersClient

NewReplicationRecoveryServicesProvidersClientWithBaseURI creates an instance of the ReplicationRecoveryServicesProvidersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationRecoveryServicesProvidersClient) Delete

Delete the operation to removes/delete(unregister) a recovery services provider from the vault Parameters: fabricName - fabric name. providerName - recovery services provider name.

func (ReplicationRecoveryServicesProvidersClient) DeletePreparer

func (client ReplicationRecoveryServicesProvidersClient) DeletePreparer(ctx context.Context, fabricName string, providerName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationRecoveryServicesProvidersClient) DeleteResponder

func (client ReplicationRecoveryServicesProvidersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationRecoveryServicesProvidersClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryServicesProvidersClient) Get

func (client ReplicationRecoveryServicesProvidersClient) Get(ctx context.Context, fabricName string, providerName string) (result RecoveryServicesProvider, err error)

Get gets the details of registered recovery services provider. Parameters: fabricName - fabric name. providerName - recovery services provider name

func (ReplicationRecoveryServicesProvidersClient) GetPreparer

func (client ReplicationRecoveryServicesProvidersClient) GetPreparer(ctx context.Context, fabricName string, providerName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationRecoveryServicesProvidersClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationRecoveryServicesProvidersClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryServicesProvidersClient) List

List lists the registered recovery services providers in the vault

func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabrics

func (client ReplicationRecoveryServicesProvidersClient) ListByReplicationFabrics(ctx context.Context, fabricName string) (result RecoveryServicesProviderCollectionPage, err error)

ListByReplicationFabrics lists the registered recovery services providers for the specified fabric. Parameters: fabricName - fabric name

func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsComplete

func (client ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsComplete(ctx context.Context, fabricName string) (result RecoveryServicesProviderCollectionIterator, err error)

ListByReplicationFabricsComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsPreparer

func (client ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsPreparer(ctx context.Context, fabricName string) (*http.Request, error)

ListByReplicationFabricsPreparer prepares the ListByReplicationFabrics request.

func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsResponder

func (client ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsResponder(resp *http.Response) (result RecoveryServicesProviderCollection, err error)

ListByReplicationFabricsResponder handles the response to the ListByReplicationFabrics request. The method always closes the http.Response Body.

func (ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsSender

func (client ReplicationRecoveryServicesProvidersClient) ListByReplicationFabricsSender(req *http.Request) (*http.Response, error)

ListByReplicationFabricsSender sends the ListByReplicationFabrics request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryServicesProvidersClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationRecoveryServicesProvidersClient) ListPreparer

ListPreparer prepares the List request.

func (ReplicationRecoveryServicesProvidersClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationRecoveryServicesProvidersClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryServicesProvidersClient) Purge

Purge the operation to purge(force delete) a recovery services provider from the vault. Parameters: fabricName - fabric name. providerName - recovery services provider name.

func (ReplicationRecoveryServicesProvidersClient) PurgePreparer

func (client ReplicationRecoveryServicesProvidersClient) PurgePreparer(ctx context.Context, fabricName string, providerName string) (*http.Request, error)

PurgePreparer prepares the Purge request.

func (ReplicationRecoveryServicesProvidersClient) PurgeResponder

func (client ReplicationRecoveryServicesProvidersClient) PurgeResponder(resp *http.Response) (result autorest.Response, err error)

PurgeResponder handles the response to the Purge request. The method always closes the http.Response Body.

func (ReplicationRecoveryServicesProvidersClient) PurgeSender

PurgeSender sends the Purge request. The method will close the http.Response Body if it receives an error.

func (ReplicationRecoveryServicesProvidersClient) RefreshProvider

RefreshProvider the operation to refresh the information from the recovery services provider. Parameters: fabricName - fabric name. providerName - recovery services provider name.

func (ReplicationRecoveryServicesProvidersClient) RefreshProviderPreparer

func (client ReplicationRecoveryServicesProvidersClient) RefreshProviderPreparer(ctx context.Context, fabricName string, providerName string) (*http.Request, error)

RefreshProviderPreparer prepares the RefreshProvider request.

func (ReplicationRecoveryServicesProvidersClient) RefreshProviderResponder

func (client ReplicationRecoveryServicesProvidersClient) RefreshProviderResponder(resp *http.Response) (result RecoveryServicesProvider, err error)

RefreshProviderResponder handles the response to the RefreshProvider request. The method always closes the http.Response Body.

func (ReplicationRecoveryServicesProvidersClient) RefreshProviderSender

RefreshProviderSender sends the RefreshProvider request. The method will close the http.Response Body if it receives an error.

type ReplicationRecoveryServicesProvidersDeleteFuture

type ReplicationRecoveryServicesProvidersDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryServicesProvidersClient) (autorest.Response, error)
}

ReplicationRecoveryServicesProvidersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryServicesProvidersDeleteFuture) UnmarshalJSON

func (future *ReplicationRecoveryServicesProvidersDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryServicesProvidersPurgeFuture

type ReplicationRecoveryServicesProvidersPurgeFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryServicesProvidersClient) (autorest.Response, error)
}

ReplicationRecoveryServicesProvidersPurgeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryServicesProvidersPurgeFuture) UnmarshalJSON

func (future *ReplicationRecoveryServicesProvidersPurgeFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationRecoveryServicesProvidersRefreshProviderFuture

type ReplicationRecoveryServicesProvidersRefreshProviderFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationRecoveryServicesProvidersClient) (RecoveryServicesProvider, error)
}

ReplicationRecoveryServicesProvidersRefreshProviderFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationRecoveryServicesProvidersRefreshProviderFuture) UnmarshalJSON

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationStorageClassificationMappingsClient

type ReplicationStorageClassificationMappingsClient struct {
	BaseClient
}

ReplicationStorageClassificationMappingsClient is the client for the ReplicationStorageClassificationMappings methods of the Siterecovery service.

func NewReplicationStorageClassificationMappingsClient

func NewReplicationStorageClassificationMappingsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationStorageClassificationMappingsClient

NewReplicationStorageClassificationMappingsClient creates an instance of the ReplicationStorageClassificationMappingsClient client.

func NewReplicationStorageClassificationMappingsClientWithBaseURI

func NewReplicationStorageClassificationMappingsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationStorageClassificationMappingsClient

NewReplicationStorageClassificationMappingsClientWithBaseURI creates an instance of the ReplicationStorageClassificationMappingsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationStorageClassificationMappingsClient) Create

func (client ReplicationStorageClassificationMappingsClient) Create(ctx context.Context, fabricName string, storageClassificationName string, storageClassificationMappingName string, pairingInput StorageClassificationMappingInput) (result ReplicationStorageClassificationMappingsCreateFuture, err error)

Create the operation to create a storage classification mapping. Parameters: fabricName - fabric name. storageClassificationName - storage classification name. storageClassificationMappingName - storage classification mapping name. pairingInput - pairing input.

func (ReplicationStorageClassificationMappingsClient) CreatePreparer

func (client ReplicationStorageClassificationMappingsClient) CreatePreparer(ctx context.Context, fabricName string, storageClassificationName string, storageClassificationMappingName string, pairingInput StorageClassificationMappingInput) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationStorageClassificationMappingsClient) CreateResponder

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationMappingsClient) CreateSender

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationStorageClassificationMappingsClient) Delete

func (client ReplicationStorageClassificationMappingsClient) Delete(ctx context.Context, fabricName string, storageClassificationName string, storageClassificationMappingName string) (result ReplicationStorageClassificationMappingsDeleteFuture, err error)

Delete the operation to delete a storage classification mapping. Parameters: fabricName - fabric name. storageClassificationName - storage classification name. storageClassificationMappingName - storage classification mapping name.

func (ReplicationStorageClassificationMappingsClient) DeletePreparer

func (client ReplicationStorageClassificationMappingsClient) DeletePreparer(ctx context.Context, fabricName string, storageClassificationName string, storageClassificationMappingName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationStorageClassificationMappingsClient) DeleteResponder

func (client ReplicationStorageClassificationMappingsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationMappingsClient) DeleteSender

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationStorageClassificationMappingsClient) Get

func (client ReplicationStorageClassificationMappingsClient) Get(ctx context.Context, fabricName string, storageClassificationName string, storageClassificationMappingName string) (result StorageClassificationMapping, err error)

Get gets the details of the specified storage classification mapping. Parameters: fabricName - fabric name. storageClassificationName - storage classification name. storageClassificationMappingName - storage classification mapping name.

func (ReplicationStorageClassificationMappingsClient) GetPreparer

func (client ReplicationStorageClassificationMappingsClient) GetPreparer(ctx context.Context, fabricName string, storageClassificationName string, storageClassificationMappingName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationStorageClassificationMappingsClient) GetResponder

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationMappingsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationStorageClassificationMappingsClient) List

List lists the storage classification mappings in the vault.

func (ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassifications

func (client ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassifications(ctx context.Context, fabricName string, storageClassificationName string) (result StorageClassificationMappingCollectionPage, err error)

ListByReplicationStorageClassifications lists the storage classification mappings for the fabric. Parameters: fabricName - fabric name. storageClassificationName - storage classification name.

func (ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsComplete

func (client ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsComplete(ctx context.Context, fabricName string, storageClassificationName string) (result StorageClassificationMappingCollectionIterator, err error)

ListByReplicationStorageClassificationsComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsPreparer

func (client ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsPreparer(ctx context.Context, fabricName string, storageClassificationName string) (*http.Request, error)

ListByReplicationStorageClassificationsPreparer prepares the ListByReplicationStorageClassifications request.

func (ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsResponder

func (client ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsResponder(resp *http.Response) (result StorageClassificationMappingCollection, err error)

ListByReplicationStorageClassificationsResponder handles the response to the ListByReplicationStorageClassifications request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsSender

func (client ReplicationStorageClassificationMappingsClient) ListByReplicationStorageClassificationsSender(req *http.Request) (*http.Response, error)

ListByReplicationStorageClassificationsSender sends the ListByReplicationStorageClassifications request. The method will close the http.Response Body if it receives an error.

func (ReplicationStorageClassificationMappingsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationStorageClassificationMappingsClient) ListPreparer

ListPreparer prepares the List request.

func (ReplicationStorageClassificationMappingsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationMappingsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ReplicationStorageClassificationMappingsCreateFuture

type ReplicationStorageClassificationMappingsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationStorageClassificationMappingsClient) (StorageClassificationMapping, error)
}

ReplicationStorageClassificationMappingsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationStorageClassificationMappingsCreateFuture) UnmarshalJSON

func (future *ReplicationStorageClassificationMappingsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationStorageClassificationMappingsDeleteFuture

type ReplicationStorageClassificationMappingsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationStorageClassificationMappingsClient) (autorest.Response, error)
}

ReplicationStorageClassificationMappingsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationStorageClassificationMappingsDeleteFuture) UnmarshalJSON

func (future *ReplicationStorageClassificationMappingsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationStorageClassificationsClient

type ReplicationStorageClassificationsClient struct {
	BaseClient
}

ReplicationStorageClassificationsClient is the client for the ReplicationStorageClassifications methods of the Siterecovery service.

func NewReplicationStorageClassificationsClient

func NewReplicationStorageClassificationsClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationStorageClassificationsClient

NewReplicationStorageClassificationsClient creates an instance of the ReplicationStorageClassificationsClient client.

func NewReplicationStorageClassificationsClientWithBaseURI

func NewReplicationStorageClassificationsClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationStorageClassificationsClient

NewReplicationStorageClassificationsClientWithBaseURI creates an instance of the ReplicationStorageClassificationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationStorageClassificationsClient) Get

func (client ReplicationStorageClassificationsClient) Get(ctx context.Context, fabricName string, storageClassificationName string) (result StorageClassification, err error)

Get gets the details of the specified storage classification. Parameters: fabricName - fabric name. storageClassificationName - storage classification name.

func (ReplicationStorageClassificationsClient) GetPreparer

func (client ReplicationStorageClassificationsClient) GetPreparer(ctx context.Context, fabricName string, storageClassificationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationStorageClassificationsClient) GetResponder

func (client ReplicationStorageClassificationsClient) GetResponder(resp *http.Response) (result StorageClassification, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationStorageClassificationsClient) List

List lists the storage classifications in the vault.

func (ReplicationStorageClassificationsClient) ListByReplicationFabrics

func (client ReplicationStorageClassificationsClient) ListByReplicationFabrics(ctx context.Context, fabricName string) (result StorageClassificationCollectionPage, err error)

ListByReplicationFabrics lists the storage classifications available in the specified fabric. Parameters: fabricName - site name of interest.

func (ReplicationStorageClassificationsClient) ListByReplicationFabricsComplete

func (client ReplicationStorageClassificationsClient) ListByReplicationFabricsComplete(ctx context.Context, fabricName string) (result StorageClassificationCollectionIterator, err error)

ListByReplicationFabricsComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationStorageClassificationsClient) ListByReplicationFabricsPreparer

func (client ReplicationStorageClassificationsClient) ListByReplicationFabricsPreparer(ctx context.Context, fabricName string) (*http.Request, error)

ListByReplicationFabricsPreparer prepares the ListByReplicationFabrics request.

func (ReplicationStorageClassificationsClient) ListByReplicationFabricsResponder

func (client ReplicationStorageClassificationsClient) ListByReplicationFabricsResponder(resp *http.Response) (result StorageClassificationCollection, err error)

ListByReplicationFabricsResponder handles the response to the ListByReplicationFabrics request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationsClient) ListByReplicationFabricsSender

func (client ReplicationStorageClassificationsClient) ListByReplicationFabricsSender(req *http.Request) (*http.Response, error)

ListByReplicationFabricsSender sends the ListByReplicationFabrics request. The method will close the http.Response Body if it receives an error.

func (ReplicationStorageClassificationsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationStorageClassificationsClient) ListPreparer

ListPreparer prepares the List request.

func (ReplicationStorageClassificationsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationStorageClassificationsClient) ListSender

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ReplicationVaultHealthClient

type ReplicationVaultHealthClient struct {
	BaseClient
}

ReplicationVaultHealthClient is the client for the ReplicationVaultHealth methods of the Siterecovery service.

func NewReplicationVaultHealthClient

func NewReplicationVaultHealthClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationVaultHealthClient

NewReplicationVaultHealthClient creates an instance of the ReplicationVaultHealthClient client.

func NewReplicationVaultHealthClientWithBaseURI

func NewReplicationVaultHealthClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationVaultHealthClient

NewReplicationVaultHealthClientWithBaseURI creates an instance of the ReplicationVaultHealthClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationVaultHealthClient) Get

Get gets the health details of the vault.

func (ReplicationVaultHealthClient) GetPreparer

func (client ReplicationVaultHealthClient) GetPreparer(ctx context.Context) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationVaultHealthClient) GetResponder

func (client ReplicationVaultHealthClient) GetResponder(resp *http.Response) (result VaultHealthDetails, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationVaultHealthClient) GetSender

func (client ReplicationVaultHealthClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ReplicationvCentersClient

type ReplicationvCentersClient struct {
	BaseClient
}

ReplicationvCentersClient is the client for the ReplicationvCenters methods of the Siterecovery service.

func NewReplicationvCentersClient

func NewReplicationvCentersClient(subscriptionID string, resourceGroupName string, resourceName string) ReplicationvCentersClient

NewReplicationvCentersClient creates an instance of the ReplicationvCentersClient client.

func NewReplicationvCentersClientWithBaseURI

func NewReplicationvCentersClientWithBaseURI(baseURI string, subscriptionID string, resourceGroupName string, resourceName string) ReplicationvCentersClient

NewReplicationvCentersClientWithBaseURI creates an instance of the ReplicationvCentersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ReplicationvCentersClient) Create

func (client ReplicationvCentersClient) Create(ctx context.Context, fabricName string, vCenterName string, addVCenterRequest AddVCenterRequest) (result ReplicationvCentersCreateFuture, err error)

Create the operation to create a vCenter object.. Parameters: fabricName - fabric name. vCenterName - vCenter name. addVCenterRequest - the input to the add vCenter operation.

func (ReplicationvCentersClient) CreatePreparer

func (client ReplicationvCentersClient) CreatePreparer(ctx context.Context, fabricName string, vCenterName string, addVCenterRequest AddVCenterRequest) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ReplicationvCentersClient) CreateResponder

func (client ReplicationvCentersClient) CreateResponder(resp *http.Response) (result VCenter, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ReplicationvCentersClient) CreateSender

func (client ReplicationvCentersClient) CreateSender(req *http.Request) (future ReplicationvCentersCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ReplicationvCentersClient) Delete

func (client ReplicationvCentersClient) Delete(ctx context.Context, fabricName string, vCenterName string) (result ReplicationvCentersDeleteFuture, err error)

Delete the operation to remove(unregister) a registered vCenter server from the vault. Parameters: fabricName - fabric name. vCenterName - vCenter name.

func (ReplicationvCentersClient) DeletePreparer

func (client ReplicationvCentersClient) DeletePreparer(ctx context.Context, fabricName string, vCenterName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ReplicationvCentersClient) DeleteResponder

func (client ReplicationvCentersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ReplicationvCentersClient) DeleteSender

func (client ReplicationvCentersClient) DeleteSender(req *http.Request) (future ReplicationvCentersDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ReplicationvCentersClient) Get

func (client ReplicationvCentersClient) Get(ctx context.Context, fabricName string, vCenterName string) (result VCenter, err error)

Get gets the details of a registered vCenter server(Add vCenter server.) Parameters: fabricName - fabric name. vCenterName - vCenter name.

func (ReplicationvCentersClient) GetPreparer

func (client ReplicationvCentersClient) GetPreparer(ctx context.Context, fabricName string, vCenterName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicationvCentersClient) GetResponder

func (client ReplicationvCentersClient) GetResponder(resp *http.Response) (result VCenter, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicationvCentersClient) GetSender

func (client ReplicationvCentersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicationvCentersClient) List

func (client ReplicationvCentersClient) List(ctx context.Context) (result VCenterCollectionPage, err error)

List lists the vCenter servers registered in the vault.

func (ReplicationvCentersClient) ListByReplicationFabrics

func (client ReplicationvCentersClient) ListByReplicationFabrics(ctx context.Context, fabricName string) (result VCenterCollectionPage, err error)

ListByReplicationFabrics lists the vCenter servers registered in a fabric. Parameters: fabricName - fabric name.

func (ReplicationvCentersClient) ListByReplicationFabricsComplete

func (client ReplicationvCentersClient) ListByReplicationFabricsComplete(ctx context.Context, fabricName string) (result VCenterCollectionIterator, err error)

ListByReplicationFabricsComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationvCentersClient) ListByReplicationFabricsPreparer

func (client ReplicationvCentersClient) ListByReplicationFabricsPreparer(ctx context.Context, fabricName string) (*http.Request, error)

ListByReplicationFabricsPreparer prepares the ListByReplicationFabrics request.

func (ReplicationvCentersClient) ListByReplicationFabricsResponder

func (client ReplicationvCentersClient) ListByReplicationFabricsResponder(resp *http.Response) (result VCenterCollection, err error)

ListByReplicationFabricsResponder handles the response to the ListByReplicationFabrics request. The method always closes the http.Response Body.

func (ReplicationvCentersClient) ListByReplicationFabricsSender

func (client ReplicationvCentersClient) ListByReplicationFabricsSender(req *http.Request) (*http.Response, error)

ListByReplicationFabricsSender sends the ListByReplicationFabrics request. The method will close the http.Response Body if it receives an error.

func (ReplicationvCentersClient) ListComplete

func (client ReplicationvCentersClient) ListComplete(ctx context.Context) (result VCenterCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ReplicationvCentersClient) ListPreparer

func (client ReplicationvCentersClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicationvCentersClient) ListResponder

func (client ReplicationvCentersClient) ListResponder(resp *http.Response) (result VCenterCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicationvCentersClient) ListSender

func (client ReplicationvCentersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ReplicationvCentersClient) Update

func (client ReplicationvCentersClient) Update(ctx context.Context, fabricName string, vCenterName string, updateVCenterRequest UpdateVCenterRequest) (result ReplicationvCentersUpdateFuture, err error)

Update the operation to update a registered vCenter. Parameters: fabricName - fabric name. vCenterName - vCenter name updateVCenterRequest - the input to the update vCenter operation.

func (ReplicationvCentersClient) UpdatePreparer

func (client ReplicationvCentersClient) UpdatePreparer(ctx context.Context, fabricName string, vCenterName string, updateVCenterRequest UpdateVCenterRequest) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ReplicationvCentersClient) UpdateResponder

func (client ReplicationvCentersClient) UpdateResponder(resp *http.Response) (result VCenter, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ReplicationvCentersClient) UpdateSender

func (client ReplicationvCentersClient) UpdateSender(req *http.Request) (future ReplicationvCentersUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ReplicationvCentersCreateFuture

type ReplicationvCentersCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationvCentersClient) (VCenter, error)
}

ReplicationvCentersCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationvCentersCreateFuture) UnmarshalJSON

func (future *ReplicationvCentersCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationvCentersDeleteFuture

type ReplicationvCentersDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationvCentersClient) (autorest.Response, error)
}

ReplicationvCentersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationvCentersDeleteFuture) UnmarshalJSON

func (future *ReplicationvCentersDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ReplicationvCentersUpdateFuture

type ReplicationvCentersUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ReplicationvCentersClient) (VCenter, error)
}

ReplicationvCentersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ReplicationvCentersUpdateFuture) UnmarshalJSON

func (future *ReplicationvCentersUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Resource

type Resource struct {
	// 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"`
}

Resource azure resource.

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceHealthSummary

type ResourceHealthSummary struct {
	// ResourceCount - The count of total resources under the container.
	ResourceCount *int32 `json:"resourceCount,omitempty"`
	// Issues - The list of summary of health errors across the resources under the container.
	Issues *[]HealthErrorSummary `json:"issues,omitempty"`
}

ResourceHealthSummary base class to define the health summary of the resources contained under an Arm resource.

type ResumeJobParams

type ResumeJobParams struct {
	// Properties - Resume job properties.
	Properties *ResumeJobParamsProperties `json:"properties,omitempty"`
}

ResumeJobParams resume job params.

type ResumeJobParamsProperties

type ResumeJobParamsProperties struct {
	// Comments - Resume job comments.
	Comments *string `json:"comments,omitempty"`
}

ResumeJobParamsProperties resume job properties.

type RetentionVolume

type RetentionVolume struct {
	// VolumeName - The volume name.
	VolumeName *string `json:"volumeName,omitempty"`
	// CapacityInBytes - The volume capacity.
	CapacityInBytes *int64 `json:"capacityInBytes,omitempty"`
	// FreeSpaceInBytes - The free space available in this volume.
	FreeSpaceInBytes *int64 `json:"freeSpaceInBytes,omitempty"`
	// ThresholdPercentage - The threshold percentage.
	ThresholdPercentage *int32 `json:"thresholdPercentage,omitempty"`
}

RetentionVolume the retention details of the MT.

type ReverseReplicationInput

type ReverseReplicationInput struct {
	// Properties - Reverse replication properties
	Properties *ReverseReplicationInputProperties `json:"properties,omitempty"`
}

ReverseReplicationInput reverse replication input.

type ReverseReplicationInputProperties

type ReverseReplicationInputProperties struct {
	// FailoverDirection - Failover direction.
	FailoverDirection *string `json:"failoverDirection,omitempty"`
	// ProviderSpecificDetails - Provider specific reverse replication input.
	ProviderSpecificDetails BasicReverseReplicationProviderSpecificInput `json:"providerSpecificDetails,omitempty"`
}

ReverseReplicationInputProperties reverse replication input properties.

func (*ReverseReplicationInputProperties) UnmarshalJSON

func (rrip *ReverseReplicationInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ReverseReplicationInputProperties struct.

type ReverseReplicationProviderSpecificInput

type ReverseReplicationProviderSpecificInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeReverseReplicationProviderSpecificInput', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicReverseReplicationProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicReverseReplicationProviderSpecificInput `json:"instanceType,omitempty"`
}

ReverseReplicationProviderSpecificInput provider specific reverse replication input.

func (ReverseReplicationProviderSpecificInput) AsA2AReprotectInput

func (rrpsi ReverseReplicationProviderSpecificInput) AsA2AReprotectInput() (*A2AReprotectInput, bool)

AsA2AReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for ReverseReplicationProviderSpecificInput.

func (ReverseReplicationProviderSpecificInput) AsBasicReverseReplicationProviderSpecificInput

func (rrpsi ReverseReplicationProviderSpecificInput) AsBasicReverseReplicationProviderSpecificInput() (BasicReverseReplicationProviderSpecificInput, bool)

AsBasicReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for ReverseReplicationProviderSpecificInput.

func (ReverseReplicationProviderSpecificInput) AsHyperVReplicaAzureReprotectInput

func (rrpsi ReverseReplicationProviderSpecificInput) AsHyperVReplicaAzureReprotectInput() (*HyperVReplicaAzureReprotectInput, bool)

AsHyperVReplicaAzureReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for ReverseReplicationProviderSpecificInput.

func (ReverseReplicationProviderSpecificInput) AsInMageAzureV2ReprotectInput

func (rrpsi ReverseReplicationProviderSpecificInput) AsInMageAzureV2ReprotectInput() (*InMageAzureV2ReprotectInput, bool)

AsInMageAzureV2ReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for ReverseReplicationProviderSpecificInput.

func (ReverseReplicationProviderSpecificInput) AsInMageReprotectInput

func (rrpsi ReverseReplicationProviderSpecificInput) AsInMageReprotectInput() (*InMageReprotectInput, bool)

AsInMageReprotectInput is the BasicReverseReplicationProviderSpecificInput implementation for ReverseReplicationProviderSpecificInput.

func (ReverseReplicationProviderSpecificInput) AsReverseReplicationProviderSpecificInput

func (rrpsi ReverseReplicationProviderSpecificInput) AsReverseReplicationProviderSpecificInput() (*ReverseReplicationProviderSpecificInput, bool)

AsReverseReplicationProviderSpecificInput is the BasicReverseReplicationProviderSpecificInput implementation for ReverseReplicationProviderSpecificInput.

func (ReverseReplicationProviderSpecificInput) MarshalJSON

func (rrpsi ReverseReplicationProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReverseReplicationProviderSpecificInput.

type RoleAssignment

type RoleAssignment struct {
	// ID - The ARM Id of the role assignment.
	ID *string `json:"id,omitempty"`
	// Name - The name of the role assignment.
	Name *string `json:"name,omitempty"`
	// Scope - Role assignment scope.
	Scope *string `json:"scope,omitempty"`
	// PrincipalID - Principal Id.
	PrincipalID *string `json:"principalId,omitempty"`
	// RoleDefinitionID - Role definition id.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
}

RoleAssignment azure role assignment details.

type RpInMageRecoveryPointType

type RpInMageRecoveryPointType string

RpInMageRecoveryPointType enumerates the values for rp in mage recovery point type.

const (
	// RpInMageRecoveryPointTypeCustom ...
	RpInMageRecoveryPointTypeCustom RpInMageRecoveryPointType = "Custom"
	// RpInMageRecoveryPointTypeLatestTag ...
	RpInMageRecoveryPointTypeLatestTag RpInMageRecoveryPointType = "LatestTag"
	// RpInMageRecoveryPointTypeLatestTime ...
	RpInMageRecoveryPointTypeLatestTime RpInMageRecoveryPointType = "LatestTime"
)

func PossibleRpInMageRecoveryPointTypeValues

func PossibleRpInMageRecoveryPointTypeValues() []RpInMageRecoveryPointType

PossibleRpInMageRecoveryPointTypeValues returns an array of possible values for the RpInMageRecoveryPointType const type.

type RunAsAccount

type RunAsAccount struct {
	// AccountID - The CS RunAs account Id.
	AccountID *string `json:"accountId,omitempty"`
	// AccountName - The CS RunAs account name.
	AccountName *string `json:"accountName,omitempty"`
}

RunAsAccount CS Accounts Details.

type SanEnableProtectionInput

type SanEnableProtectionInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeEnableProtectionProviderSpecificInput', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeSan', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicEnableProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicEnableProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

SanEnableProtectionInput san enable protection provider specific input.

func (SanEnableProtectionInput) AsA2AEnableProtectionInput

func (sepi SanEnableProtectionInput) AsA2AEnableProtectionInput() (*A2AEnableProtectionInput, bool)

AsA2AEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for SanEnableProtectionInput.

func (SanEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput

func (sepi SanEnableProtectionInput) AsBasicEnableProtectionProviderSpecificInput() (BasicEnableProtectionProviderSpecificInput, bool)

AsBasicEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for SanEnableProtectionInput.

func (SanEnableProtectionInput) AsEnableProtectionProviderSpecificInput

func (sepi SanEnableProtectionInput) AsEnableProtectionProviderSpecificInput() (*EnableProtectionProviderSpecificInput, bool)

AsEnableProtectionProviderSpecificInput is the BasicEnableProtectionProviderSpecificInput implementation for SanEnableProtectionInput.

func (SanEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput

func (sepi SanEnableProtectionInput) AsHyperVReplicaAzureEnableProtectionInput() (*HyperVReplicaAzureEnableProtectionInput, bool)

AsHyperVReplicaAzureEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for SanEnableProtectionInput.

func (SanEnableProtectionInput) AsInMageAzureV2EnableProtectionInput

func (sepi SanEnableProtectionInput) AsInMageAzureV2EnableProtectionInput() (*InMageAzureV2EnableProtectionInput, bool)

AsInMageAzureV2EnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for SanEnableProtectionInput.

func (SanEnableProtectionInput) AsInMageEnableProtectionInput

func (sepi SanEnableProtectionInput) AsInMageEnableProtectionInput() (*InMageEnableProtectionInput, bool)

AsInMageEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for SanEnableProtectionInput.

func (SanEnableProtectionInput) AsSanEnableProtectionInput

func (sepi SanEnableProtectionInput) AsSanEnableProtectionInput() (*SanEnableProtectionInput, bool)

AsSanEnableProtectionInput is the BasicEnableProtectionProviderSpecificInput implementation for SanEnableProtectionInput.

func (SanEnableProtectionInput) MarshalJSON

func (sepi SanEnableProtectionInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SanEnableProtectionInput.

type ScriptActionTaskDetails

type ScriptActionTaskDetails struct {
	// Name - The name.
	Name *string `json:"name,omitempty"`
	// Path - The path.
	Path *string `json:"path,omitempty"`
	// Output - The output.
	Output *string `json:"output,omitempty"`
	// IsPrimarySideScript - A value indicating whether it is a primary side script or not.
	IsPrimarySideScript *bool `json:"isPrimarySideScript,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

ScriptActionTaskDetails this class represents the script action task details.

func (ScriptActionTaskDetails) AsAutomationRunbookTaskDetails

func (satd ScriptActionTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsBasicTaskTypeDetails

func (satd ScriptActionTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsConsistencyCheckTaskDetails

func (satd ScriptActionTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsFabricReplicationGroupTaskDetails

func (satd ScriptActionTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsJobTaskDetails

func (satd ScriptActionTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsManualActionTaskDetails

func (satd ScriptActionTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsScriptActionTaskDetails

func (satd ScriptActionTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsTaskTypeDetails

func (satd ScriptActionTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsVMNicUpdatesTaskDetails

func (satd ScriptActionTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) AsVirtualMachineTaskDetails

func (satd ScriptActionTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for ScriptActionTaskDetails.

func (ScriptActionTaskDetails) MarshalJSON

func (satd ScriptActionTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScriptActionTaskDetails.

type ServiceError

type ServiceError struct {
	// Code - Error code.
	Code *string `json:"code,omitempty"`
	// Message - Error message.
	Message *string `json:"message,omitempty"`
	// PossibleCauses - Possible causes of error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// RecommendedAction - Recommended action to resolve error.
	RecommendedAction *string `json:"recommendedAction,omitempty"`
	// ActivityID - Activity Id.
	ActivityID *string `json:"activityId,omitempty"`
}

ServiceError ASR error model

type SetMultiVMSyncStatus

type SetMultiVMSyncStatus string

SetMultiVMSyncStatus enumerates the values for set multi vm sync status.

const (
	// Disable ...
	Disable SetMultiVMSyncStatus = "Disable"
	// Enable ...
	Enable SetMultiVMSyncStatus = "Enable"
)

func PossibleSetMultiVMSyncStatusValues

func PossibleSetMultiVMSyncStatusValues() []SetMultiVMSyncStatus

PossibleSetMultiVMSyncStatusValues returns an array of possible values for the SetMultiVMSyncStatus const type.

type Severity

type Severity string

Severity enumerates the values for severity.

const (
	// Error ...
	Error Severity = "Error"
	// Info ...
	Info Severity = "Info"
	// NONE ...
	NONE Severity = "NONE"
	// Warning ...
	Warning Severity = "Warning"
)

func PossibleSeverityValues

func PossibleSeverityValues() []Severity

PossibleSeverityValues returns an array of possible values for the Severity const type.

type SourceSiteOperations

type SourceSiteOperations string

SourceSiteOperations enumerates the values for source site operations.

const (
	// NotRequired ...
	NotRequired SourceSiteOperations = "NotRequired"
	// Required ...
	Required SourceSiteOperations = "Required"
)

func PossibleSourceSiteOperationsValues

func PossibleSourceSiteOperationsValues() []SourceSiteOperations

PossibleSourceSiteOperationsValues returns an array of possible values for the SourceSiteOperations const type.

type StorageClassification

type StorageClassification struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the storage object.
	Properties *StorageClassificationProperties `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"`
}

StorageClassification storage object definition.

func (StorageClassification) MarshalJSON

func (sc StorageClassification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageClassification.

type StorageClassificationCollection

type StorageClassificationCollection struct {
	autorest.Response `json:"-"`
	// Value - The storage details.
	Value *[]StorageClassification `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

StorageClassificationCollection collection of storage details.

func (StorageClassificationCollection) IsEmpty

func (scc StorageClassificationCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type StorageClassificationCollectionIterator

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

StorageClassificationCollectionIterator provides access to a complete listing of StorageClassification values.

func NewStorageClassificationCollectionIterator

func NewStorageClassificationCollectionIterator(page StorageClassificationCollectionPage) StorageClassificationCollectionIterator

Creates a new instance of the StorageClassificationCollectionIterator type.

func (*StorageClassificationCollectionIterator) Next

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 (*StorageClassificationCollectionIterator) NextWithContext

func (iter *StorageClassificationCollectionIterator) 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 (StorageClassificationCollectionIterator) NotDone

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

func (StorageClassificationCollectionIterator) Response

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

func (StorageClassificationCollectionIterator) Value

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

type StorageClassificationCollectionPage

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

StorageClassificationCollectionPage contains a page of StorageClassification values.

func NewStorageClassificationCollectionPage

Creates a new instance of the StorageClassificationCollectionPage type.

func (*StorageClassificationCollectionPage) Next

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 (*StorageClassificationCollectionPage) NextWithContext

func (page *StorageClassificationCollectionPage) 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 (StorageClassificationCollectionPage) NotDone

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

func (StorageClassificationCollectionPage) Response

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

func (StorageClassificationCollectionPage) Values

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

type StorageClassificationMapping

type StorageClassificationMapping struct {
	autorest.Response `json:"-"`
	// Properties - Properties of the storage mapping object.
	Properties *StorageClassificationMappingProperties `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"`
}

StorageClassificationMapping storage mapping object.

func (StorageClassificationMapping) MarshalJSON

func (scm StorageClassificationMapping) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageClassificationMapping.

type StorageClassificationMappingCollection

type StorageClassificationMappingCollection struct {
	autorest.Response `json:"-"`
	// Value - The storage details.
	Value *[]StorageClassificationMapping `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

StorageClassificationMappingCollection collection of storage mapping details.

func (StorageClassificationMappingCollection) IsEmpty

IsEmpty returns true if the ListResult contains no values.

type StorageClassificationMappingCollectionIterator

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

StorageClassificationMappingCollectionIterator provides access to a complete listing of StorageClassificationMapping values.

func NewStorageClassificationMappingCollectionIterator

func NewStorageClassificationMappingCollectionIterator(page StorageClassificationMappingCollectionPage) StorageClassificationMappingCollectionIterator

Creates a new instance of the StorageClassificationMappingCollectionIterator type.

func (*StorageClassificationMappingCollectionIterator) Next

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 (*StorageClassificationMappingCollectionIterator) NextWithContext

func (iter *StorageClassificationMappingCollectionIterator) 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 (StorageClassificationMappingCollectionIterator) NotDone

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

func (StorageClassificationMappingCollectionIterator) Response

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

func (StorageClassificationMappingCollectionIterator) Value

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

type StorageClassificationMappingCollectionPage

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

StorageClassificationMappingCollectionPage contains a page of StorageClassificationMapping values.

func NewStorageClassificationMappingCollectionPage

Creates a new instance of the StorageClassificationMappingCollectionPage type.

func (*StorageClassificationMappingCollectionPage) Next

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 (*StorageClassificationMappingCollectionPage) NextWithContext

func (page *StorageClassificationMappingCollectionPage) 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 (StorageClassificationMappingCollectionPage) NotDone

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

func (StorageClassificationMappingCollectionPage) Response

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

func (StorageClassificationMappingCollectionPage) Values

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

type StorageClassificationMappingInput

type StorageClassificationMappingInput struct {
	// Properties - Storage mapping input properties.
	Properties *StorageMappingInputProperties `json:"properties,omitempty"`
}

StorageClassificationMappingInput storage mapping input.

type StorageClassificationMappingProperties

type StorageClassificationMappingProperties struct {
	// TargetStorageClassificationID - Target storage object Id.
	TargetStorageClassificationID *string `json:"targetStorageClassificationId,omitempty"`
}

StorageClassificationMappingProperties storage mapping properties.

type StorageClassificationProperties

type StorageClassificationProperties struct {
	// FriendlyName - Friendly name of the Storage classification.
	FriendlyName *string `json:"friendlyName,omitempty"`
}

StorageClassificationProperties storage object properties.

type StorageMappingInputProperties

type StorageMappingInputProperties struct {
	// TargetStorageClassificationID - The ID of the storage object.
	TargetStorageClassificationID *string `json:"targetStorageClassificationId,omitempty"`
}

StorageMappingInputProperties storage mapping input properties.

type Subnet

type Subnet struct {
	// Name - The subnet name.
	Name *string `json:"name,omitempty"`
	// FriendlyName - The subnet friendly name.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// AddressList - The list of addresses for the subnet.
	AddressList *[]string `json:"addressList,omitempty"`
}

Subnet subnets of the network.

type SwitchProtectionInput

type SwitchProtectionInput struct {
	// Properties - Switch protection properties
	Properties *SwitchProtectionInputProperties `json:"properties,omitempty"`
}

SwitchProtectionInput switch protection input.

type SwitchProtectionInputProperties

type SwitchProtectionInputProperties struct {
	// ReplicationProtectedItemName - The unique replication protected item name.
	ReplicationProtectedItemName *string `json:"replicationProtectedItemName,omitempty"`
	// ProviderSpecificDetails - Provider specific switch protection input.
	ProviderSpecificDetails BasicSwitchProtectionProviderSpecificInput `json:"providerSpecificDetails,omitempty"`
}

SwitchProtectionInputProperties switch protection input properties.

func (*SwitchProtectionInputProperties) UnmarshalJSON

func (spip *SwitchProtectionInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SwitchProtectionInputProperties struct.

type SwitchProtectionJobDetails

type SwitchProtectionJobDetails struct {
	// NewReplicationProtectedItemID - ARM Id of the new replication protected item.
	NewReplicationProtectedItemID *string `json:"newReplicationProtectedItemId,omitempty"`
	// 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', 'InstanceTypeTestFailoverJobDetails', 'InstanceTypeFailoverJobDetails', 'InstanceTypeExportJobDetails', 'InstanceTypeSwitchProtectionJobDetails'
	InstanceType InstanceTypeBasicJobDetails `json:"instanceType,omitempty"`
}

SwitchProtectionJobDetails this class represents details for switch protection job.

func (SwitchProtectionJobDetails) AsAsrJobDetails

func (spjd SwitchProtectionJobDetails) AsAsrJobDetails() (*AsrJobDetails, bool)

AsAsrJobDetails is the BasicJobDetails implementation for SwitchProtectionJobDetails.

func (SwitchProtectionJobDetails) AsBasicJobDetails

func (spjd SwitchProtectionJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)

AsBasicJobDetails is the BasicJobDetails implementation for SwitchProtectionJobDetails.

func (SwitchProtectionJobDetails) AsExportJobDetails

func (spjd SwitchProtectionJobDetails) AsExportJobDetails() (*ExportJobDetails, bool)

AsExportJobDetails is the BasicJobDetails implementation for SwitchProtectionJobDetails.

func (SwitchProtectionJobDetails) AsFailoverJobDetails

func (spjd SwitchProtectionJobDetails) AsFailoverJobDetails() (*FailoverJobDetails, bool)

AsFailoverJobDetails is the BasicJobDetails implementation for SwitchProtectionJobDetails.

func (SwitchProtectionJobDetails) AsJobDetails

func (spjd SwitchProtectionJobDetails) AsJobDetails() (*JobDetails, bool)

AsJobDetails is the BasicJobDetails implementation for SwitchProtectionJobDetails.

func (SwitchProtectionJobDetails) AsSwitchProtectionJobDetails

func (spjd SwitchProtectionJobDetails) AsSwitchProtectionJobDetails() (*SwitchProtectionJobDetails, bool)

AsSwitchProtectionJobDetails is the BasicJobDetails implementation for SwitchProtectionJobDetails.

func (SwitchProtectionJobDetails) AsTestFailoverJobDetails

func (spjd SwitchProtectionJobDetails) AsTestFailoverJobDetails() (*TestFailoverJobDetails, bool)

AsTestFailoverJobDetails is the BasicJobDetails implementation for SwitchProtectionJobDetails.

func (SwitchProtectionJobDetails) MarshalJSON

func (spjd SwitchProtectionJobDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SwitchProtectionJobDetails.

type SwitchProtectionProviderSpecificInput

type SwitchProtectionProviderSpecificInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeSwitchProtectionProviderSpecificInput', 'InstanceTypeBasicSwitchProtectionProviderSpecificInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicSwitchProtectionProviderSpecificInput `json:"instanceType,omitempty"`
}

SwitchProtectionProviderSpecificInput provider specific switch protection input.

func (SwitchProtectionProviderSpecificInput) AsA2ASwitchProtectionInput

func (sppsi SwitchProtectionProviderSpecificInput) AsA2ASwitchProtectionInput() (*A2ASwitchProtectionInput, bool)

AsA2ASwitchProtectionInput is the BasicSwitchProtectionProviderSpecificInput implementation for SwitchProtectionProviderSpecificInput.

func (SwitchProtectionProviderSpecificInput) AsBasicSwitchProtectionProviderSpecificInput

func (sppsi SwitchProtectionProviderSpecificInput) AsBasicSwitchProtectionProviderSpecificInput() (BasicSwitchProtectionProviderSpecificInput, bool)

AsBasicSwitchProtectionProviderSpecificInput is the BasicSwitchProtectionProviderSpecificInput implementation for SwitchProtectionProviderSpecificInput.

func (SwitchProtectionProviderSpecificInput) AsSwitchProtectionProviderSpecificInput

func (sppsi SwitchProtectionProviderSpecificInput) AsSwitchProtectionProviderSpecificInput() (*SwitchProtectionProviderSpecificInput, bool)

AsSwitchProtectionProviderSpecificInput is the BasicSwitchProtectionProviderSpecificInput implementation for SwitchProtectionProviderSpecificInput.

func (SwitchProtectionProviderSpecificInput) MarshalJSON

func (sppsi SwitchProtectionProviderSpecificInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SwitchProtectionProviderSpecificInput.

type TaskTypeDetails

type TaskTypeDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

TaskTypeDetails task details based on specific task type.

func (TaskTypeDetails) AsAutomationRunbookTaskDetails

func (ttd TaskTypeDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsBasicTaskTypeDetails

func (ttd TaskTypeDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsConsistencyCheckTaskDetails

func (ttd TaskTypeDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsFabricReplicationGroupTaskDetails

func (ttd TaskTypeDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsJobTaskDetails

func (ttd TaskTypeDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsManualActionTaskDetails

func (ttd TaskTypeDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsScriptActionTaskDetails

func (ttd TaskTypeDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsTaskTypeDetails

func (ttd TaskTypeDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsVMNicUpdatesTaskDetails

func (ttd TaskTypeDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) AsVirtualMachineTaskDetails

func (ttd TaskTypeDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for TaskTypeDetails.

func (TaskTypeDetails) MarshalJSON

func (ttd TaskTypeDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TaskTypeDetails.

type TestFailoverCleanupInput

type TestFailoverCleanupInput struct {
	// Properties - Test failover cleanup input properties.
	Properties *TestFailoverCleanupInputProperties `json:"properties,omitempty"`
}

TestFailoverCleanupInput input definition for test failover cleanup.

type TestFailoverCleanupInputProperties

type TestFailoverCleanupInputProperties struct {
	// Comments - Test failover cleanup comments.
	Comments *string `json:"comments,omitempty"`
}

TestFailoverCleanupInputProperties input definition for test failover cleanup input properties.

type TestFailoverInput

type TestFailoverInput struct {
	// Properties - Planned failover input properties
	Properties *TestFailoverInputProperties `json:"properties,omitempty"`
}

TestFailoverInput input definition for planned failover.

type TestFailoverInputProperties

type TestFailoverInputProperties struct {
	// FailoverDirection - Failover direction.
	FailoverDirection *string `json:"failoverDirection,omitempty"`
	// NetworkType - Network type to be used for test failover.
	NetworkType *string `json:"networkType,omitempty"`
	// NetworkID - The id of the network to be used for test failover
	NetworkID *string `json:"networkId,omitempty"`
	// SkipTestFailoverCleanup - A value indicating whether the test failover cleanup is to be skipped.
	SkipTestFailoverCleanup *string `json:"skipTestFailoverCleanup,omitempty"`
	// ProviderSpecificDetails - Provider specific settings
	ProviderSpecificDetails BasicProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"`
}

TestFailoverInputProperties input definition for planned failover input properties.

func (*TestFailoverInputProperties) UnmarshalJSON

func (tfip *TestFailoverInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TestFailoverInputProperties struct.

type TestFailoverJobDetails

type TestFailoverJobDetails struct {
	// TestFailoverStatus - The test failover status.
	TestFailoverStatus *string `json:"testFailoverStatus,omitempty"`
	// Comments - The test failover comments.
	Comments *string `json:"comments,omitempty"`
	// NetworkName - The test network name.
	NetworkName *string `json:"networkName,omitempty"`
	// NetworkFriendlyName - The test network friendly name.
	NetworkFriendlyName *string `json:"networkFriendlyName,omitempty"`
	// NetworkType - The test network type (see TestFailoverInput enum for possible values).
	NetworkType *string `json:"networkType,omitempty"`
	// ProtectedItemDetails - The test VM details.
	ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails `json:"protectedItemDetails,omitempty"`
	// 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', 'InstanceTypeTestFailoverJobDetails', 'InstanceTypeFailoverJobDetails', 'InstanceTypeExportJobDetails', 'InstanceTypeSwitchProtectionJobDetails'
	InstanceType InstanceTypeBasicJobDetails `json:"instanceType,omitempty"`
}

TestFailoverJobDetails this class represents the details for a test failover job.

func (TestFailoverJobDetails) AsAsrJobDetails

func (tfjd TestFailoverJobDetails) AsAsrJobDetails() (*AsrJobDetails, bool)

AsAsrJobDetails is the BasicJobDetails implementation for TestFailoverJobDetails.

func (TestFailoverJobDetails) AsBasicJobDetails

func (tfjd TestFailoverJobDetails) AsBasicJobDetails() (BasicJobDetails, bool)

AsBasicJobDetails is the BasicJobDetails implementation for TestFailoverJobDetails.

func (TestFailoverJobDetails) AsExportJobDetails

func (tfjd TestFailoverJobDetails) AsExportJobDetails() (*ExportJobDetails, bool)

AsExportJobDetails is the BasicJobDetails implementation for TestFailoverJobDetails.

func (TestFailoverJobDetails) AsFailoverJobDetails

func (tfjd TestFailoverJobDetails) AsFailoverJobDetails() (*FailoverJobDetails, bool)

AsFailoverJobDetails is the BasicJobDetails implementation for TestFailoverJobDetails.

func (TestFailoverJobDetails) AsJobDetails

func (tfjd TestFailoverJobDetails) AsJobDetails() (*JobDetails, bool)

AsJobDetails is the BasicJobDetails implementation for TestFailoverJobDetails.

func (TestFailoverJobDetails) AsSwitchProtectionJobDetails

func (tfjd TestFailoverJobDetails) AsSwitchProtectionJobDetails() (*SwitchProtectionJobDetails, bool)

AsSwitchProtectionJobDetails is the BasicJobDetails implementation for TestFailoverJobDetails.

func (TestFailoverJobDetails) AsTestFailoverJobDetails

func (tfjd TestFailoverJobDetails) AsTestFailoverJobDetails() (*TestFailoverJobDetails, bool)

AsTestFailoverJobDetails is the BasicJobDetails implementation for TestFailoverJobDetails.

func (TestFailoverJobDetails) MarshalJSON

func (tfjd TestFailoverJobDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TestFailoverJobDetails.

type UnplannedFailoverInput

type UnplannedFailoverInput struct {
	// Properties - Planned failover input properties
	Properties *UnplannedFailoverInputProperties `json:"properties,omitempty"`
}

UnplannedFailoverInput input definition for planned failover.

type UnplannedFailoverInputProperties

type UnplannedFailoverInputProperties struct {
	// FailoverDirection - Failover direction.
	FailoverDirection *string `json:"failoverDirection,omitempty"`
	// SourceSiteOperations - Source site operations status
	SourceSiteOperations *string `json:"sourceSiteOperations,omitempty"`
	// ProviderSpecificDetails - Provider specific settings
	ProviderSpecificDetails BasicProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"`
}

UnplannedFailoverInputProperties input definition for planned failover input properties.

func (*UnplannedFailoverInputProperties) UnmarshalJSON

func (ufip *UnplannedFailoverInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UnplannedFailoverInputProperties struct.

type UpdateMobilityServiceRequest

type UpdateMobilityServiceRequest struct {
	// Properties - The properties of the update mobility service request.
	Properties *UpdateMobilityServiceRequestProperties `json:"properties,omitempty"`
}

UpdateMobilityServiceRequest request to update the mobility service on a protected item.

type UpdateMobilityServiceRequestProperties

type UpdateMobilityServiceRequestProperties struct {
	// RunAsAccountID - The CS run as account Id.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
}

UpdateMobilityServiceRequestProperties the properties of an update mobility service request.

type UpdateNetworkMappingInput

type UpdateNetworkMappingInput struct {
	// Properties - The input properties needed to update network mapping.
	Properties *UpdateNetworkMappingInputProperties `json:"properties,omitempty"`
}

UpdateNetworkMappingInput update network mapping input.

type UpdateNetworkMappingInputProperties

type UpdateNetworkMappingInputProperties struct {
	// RecoveryFabricName - Recovery fabric name.
	RecoveryFabricName *string `json:"recoveryFabricName,omitempty"`
	// RecoveryNetworkID - Recovery network Id.
	RecoveryNetworkID *string `json:"recoveryNetworkId,omitempty"`
	// FabricSpecificDetails - Fabrics specific input network Id.
	FabricSpecificDetails BasicFabricSpecificUpdateNetworkMappingInput `json:"fabricSpecificDetails,omitempty"`
}

UpdateNetworkMappingInputProperties common input details for network mapping operation.

func (*UpdateNetworkMappingInputProperties) UnmarshalJSON

func (unmip *UpdateNetworkMappingInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateNetworkMappingInputProperties struct.

type UpdatePolicyInput

type UpdatePolicyInput struct {
	// Properties - The ReplicationProviderSettings.
	Properties *UpdatePolicyInputProperties `json:"properties,omitempty"`
}

UpdatePolicyInput update protection profile input.

type UpdatePolicyInputProperties

type UpdatePolicyInputProperties struct {
	// ReplicationProviderSettings - The ReplicationProviderSettings.
	ReplicationProviderSettings BasicPolicyProviderSpecificInput `json:"replicationProviderSettings,omitempty"`
}

UpdatePolicyInputProperties policy update properties.

func (*UpdatePolicyInputProperties) UnmarshalJSON

func (upip *UpdatePolicyInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdatePolicyInputProperties struct.

type UpdateRecoveryPlanInput

type UpdateRecoveryPlanInput struct {
	// Properties - Recovery plan update properties.
	Properties *UpdateRecoveryPlanInputProperties `json:"properties,omitempty"`
}

UpdateRecoveryPlanInput update recovery plan input class.

type UpdateRecoveryPlanInputProperties

type UpdateRecoveryPlanInputProperties struct {
	// Groups - The recovery plan groups.
	Groups *[]RecoveryPlanGroup `json:"groups,omitempty"`
}

UpdateRecoveryPlanInputProperties recovery plan update properties.

type UpdateReplicationProtectedItemInput

type UpdateReplicationProtectedItemInput struct {
	// Properties - Update replication protected item properties.
	Properties *UpdateReplicationProtectedItemInputProperties `json:"properties,omitempty"`
}

UpdateReplicationProtectedItemInput update replication protected item input.

type UpdateReplicationProtectedItemInputProperties

type UpdateReplicationProtectedItemInputProperties struct {
	// RecoveryAzureVMName - Target azure VM name given by the user.
	RecoveryAzureVMName *string `json:"recoveryAzureVMName,omitempty"`
	// RecoveryAzureVMSize - Target Azure Vm size.
	RecoveryAzureVMSize *string `json:"recoveryAzureVMSize,omitempty"`
	// SelectedRecoveryAzureNetworkID - Target Azure Network Id.
	SelectedRecoveryAzureNetworkID *string `json:"selectedRecoveryAzureNetworkId,omitempty"`
	// EnableRDPOnTargetOption - The selected option to enable RDP\SSH on target vm after failover. String value of {SrsDataContract.EnableRDPOnTargetOption} enum.
	EnableRDPOnTargetOption *string `json:"enableRDPOnTargetOption,omitempty"`
	// VMNics - The list of vm nic details.
	VMNics *[]VMNicInputDetails `json:"vmNics,omitempty"`
	// LicenseType - License type. Possible values include: 'LicenseTypeNotSpecified', 'LicenseTypeNoLicenseType', 'LicenseTypeWindowsServer'
	LicenseType LicenseType `json:"licenseType,omitempty"`
	// RecoveryAvailabilitySetID - The target availability set id.
	RecoveryAvailabilitySetID *string `json:"recoveryAvailabilitySetId,omitempty"`
	// ProviderSpecificDetails - The provider specific input to update replication protected item.
	ProviderSpecificDetails BasicUpdateReplicationProtectedItemProviderInput `json:"providerSpecificDetails,omitempty"`
}

UpdateReplicationProtectedItemInputProperties update protected item input properties.

func (*UpdateReplicationProtectedItemInputProperties) UnmarshalJSON

func (urpiip *UpdateReplicationProtectedItemInputProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UpdateReplicationProtectedItemInputProperties struct.

type UpdateReplicationProtectedItemProviderInput

type UpdateReplicationProtectedItemProviderInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeUpdateReplicationProtectedItemProviderInput', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicUpdateReplicationProtectedItemProviderInputInstanceTypeA2A'
	InstanceType InstanceTypeBasicUpdateReplicationProtectedItemProviderInput `json:"instanceType,omitempty"`
}

UpdateReplicationProtectedItemProviderInput update replication protected item provider specific input.

func (UpdateReplicationProtectedItemProviderInput) AsA2AUpdateReplicationProtectedItemInput

func (urpipi UpdateReplicationProtectedItemProviderInput) AsA2AUpdateReplicationProtectedItemInput() (*A2AUpdateReplicationProtectedItemInput, bool)

AsA2AUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for UpdateReplicationProtectedItemProviderInput.

func (UpdateReplicationProtectedItemProviderInput) AsBasicUpdateReplicationProtectedItemProviderInput

func (urpipi UpdateReplicationProtectedItemProviderInput) AsBasicUpdateReplicationProtectedItemProviderInput() (BasicUpdateReplicationProtectedItemProviderInput, bool)

AsBasicUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for UpdateReplicationProtectedItemProviderInput.

func (UpdateReplicationProtectedItemProviderInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput

func (urpipi UpdateReplicationProtectedItemProviderInput) AsHyperVReplicaAzureUpdateReplicationProtectedItemInput() (*HyperVReplicaAzureUpdateReplicationProtectedItemInput, bool)

AsHyperVReplicaAzureUpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for UpdateReplicationProtectedItemProviderInput.

func (UpdateReplicationProtectedItemProviderInput) AsInMageAzureV2UpdateReplicationProtectedItemInput

func (urpipi UpdateReplicationProtectedItemProviderInput) AsInMageAzureV2UpdateReplicationProtectedItemInput() (*InMageAzureV2UpdateReplicationProtectedItemInput, bool)

AsInMageAzureV2UpdateReplicationProtectedItemInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for UpdateReplicationProtectedItemProviderInput.

func (UpdateReplicationProtectedItemProviderInput) AsUpdateReplicationProtectedItemProviderInput

func (urpipi UpdateReplicationProtectedItemProviderInput) AsUpdateReplicationProtectedItemProviderInput() (*UpdateReplicationProtectedItemProviderInput, bool)

AsUpdateReplicationProtectedItemProviderInput is the BasicUpdateReplicationProtectedItemProviderInput implementation for UpdateReplicationProtectedItemProviderInput.

func (UpdateReplicationProtectedItemProviderInput) MarshalJSON

func (urpipi UpdateReplicationProtectedItemProviderInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateReplicationProtectedItemProviderInput.

type UpdateVCenterRequest

type UpdateVCenterRequest struct {
	// Properties - The update VCenter Request Properties.
	Properties *UpdateVCenterRequestProperties `json:"properties,omitempty"`
}

UpdateVCenterRequest input required to update vCenter.

type UpdateVCenterRequestProperties

type UpdateVCenterRequestProperties 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 update can be orchestrated.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// Port - The port number for discovery.
	Port *string `json:"port,omitempty"`
	// RunAsAccountID - The CS account Id which has privileges to update the vCenter.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
}

UpdateVCenterRequestProperties the properties of an update vCenter request.

type VCenter

type VCenter struct {
	autorest.Response `json:"-"`
	// Properties - VCenter related data.
	Properties *VCenterProperties `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"`
}

VCenter vCenter definition.

func (VCenter) MarshalJSON

func (vc VCenter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VCenter.

type VCenterCollection

type VCenterCollection struct {
	autorest.Response `json:"-"`
	// Value - The vCenter details.
	Value *[]VCenter `json:"value,omitempty"`
	// NextLink - The value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

VCenterCollection collection of vCenter details.

func (VCenterCollection) IsEmpty

func (vcc VCenterCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VCenterCollectionIterator

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

VCenterCollectionIterator provides access to a complete listing of VCenter values.

func NewVCenterCollectionIterator

func NewVCenterCollectionIterator(page VCenterCollectionPage) VCenterCollectionIterator

Creates a new instance of the VCenterCollectionIterator type.

func (*VCenterCollectionIterator) Next

func (iter *VCenterCollectionIterator) 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 (*VCenterCollectionIterator) NextWithContext

func (iter *VCenterCollectionIterator) 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 (VCenterCollectionIterator) NotDone

func (iter VCenterCollectionIterator) NotDone() bool

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

func (VCenterCollectionIterator) Response

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

func (VCenterCollectionIterator) Value

func (iter VCenterCollectionIterator) Value() VCenter

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

type VCenterCollectionPage

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

VCenterCollectionPage contains a page of VCenter values.

func NewVCenterCollectionPage

func NewVCenterCollectionPage(cur VCenterCollection, getNextPage func(context.Context, VCenterCollection) (VCenterCollection, error)) VCenterCollectionPage

Creates a new instance of the VCenterCollectionPage type.

func (*VCenterCollectionPage) Next

func (page *VCenterCollectionPage) 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 (*VCenterCollectionPage) NextWithContext

func (page *VCenterCollectionPage) 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 (VCenterCollectionPage) NotDone

func (page VCenterCollectionPage) NotDone() bool

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

func (VCenterCollectionPage) Response

func (page VCenterCollectionPage) Response() VCenterCollection

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

func (VCenterCollectionPage) Values

func (page VCenterCollectionPage) Values() []VCenter

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

type VCenterProperties

type VCenterProperties struct {
	// FriendlyName - Friendly name of the vCenter.
	FriendlyName *string `json:"friendlyName,omitempty"`
	// InternalID - VCenter internal ID.
	InternalID *string `json:"internalId,omitempty"`
	// LastHeartbeat - The time when the last heartbeat was received by vCenter.
	LastHeartbeat *date.Time `json:"lastHeartbeat,omitempty"`
	// DiscoveryStatus - The VCenter discovery status.
	DiscoveryStatus *string `json:"discoveryStatus,omitempty"`
	// ProcessServerID - The process server Id.
	ProcessServerID *string `json:"processServerId,omitempty"`
	// IPAddress - The IP address of the vCenter.
	IPAddress *string `json:"ipAddress,omitempty"`
	// InfrastructureID - The infrastructure Id of vCenter.
	InfrastructureID *string `json:"infrastructureId,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"`
	// FabricArmResourceName - The ARM resource name of the fabric containing this VCenter.
	FabricArmResourceName *string `json:"fabricArmResourceName,omitempty"`
}

VCenterProperties vCenter properties.

type VMNicDetails

type VMNicDetails struct {
	// NicID - The nic Id.
	NicID *string `json:"nicId,omitempty"`
	// ReplicaNicID - The replica nic Id.
	ReplicaNicID *string `json:"replicaNicId,omitempty"`
	// SourceNicArmID - The source nic ARM Id.
	SourceNicArmID *string `json:"sourceNicArmId,omitempty"`
	// VMSubnetName - VM subnet name.
	VMSubnetName *string `json:"vMSubnetName,omitempty"`
	// VMNetworkName - VM network name.
	VMNetworkName *string `json:"vMNetworkName,omitempty"`
	// RecoveryVMNetworkID - Recovery VM network Id.
	RecoveryVMNetworkID *string `json:"recoveryVMNetworkId,omitempty"`
	// RecoveryVMSubnetName - Recovery VM subnet name.
	RecoveryVMSubnetName *string `json:"recoveryVMSubnetName,omitempty"`
	// IPAddressType - Ip address type.
	IPAddressType *string `json:"ipAddressType,omitempty"`
	// PrimaryNicStaticIPAddress - Primary nic static IP address.
	PrimaryNicStaticIPAddress *string `json:"primaryNicStaticIPAddress,omitempty"`
	// ReplicaNicStaticIPAddress - Replica nic static IP address.
	ReplicaNicStaticIPAddress *string `json:"replicaNicStaticIPAddress,omitempty"`
	// SelectionType - Selection type for failover.
	SelectionType *string `json:"selectionType,omitempty"`
	// RecoveryNicIPAddressType - IP allocation type for recovery VM.
	RecoveryNicIPAddressType *string `json:"recoveryNicIpAddressType,omitempty"`
}

VMNicDetails hyper V VM network details.

type VMNicInputDetails

type VMNicInputDetails struct {
	// NicID - The nic Id.
	NicID *string `json:"nicId,omitempty"`
	// RecoveryVMSubnetName - Recovery VM subnet name.
	RecoveryVMSubnetName *string `json:"recoveryVMSubnetName,omitempty"`
	// ReplicaNicStaticIPAddress - Replica nic static IP address.
	ReplicaNicStaticIPAddress *string `json:"replicaNicStaticIPAddress,omitempty"`
	// SelectionType - Selection type for failover.
	SelectionType *string `json:"selectionType,omitempty"`
}

VMNicInputDetails hyper V VM network input details.

type VMNicUpdatesTaskDetails

type VMNicUpdatesTaskDetails struct {
	// VMID - Virtual machine Id.
	VMID *string `json:"vmId,omitempty"`
	// NicID - Nic Id.
	NicID *string `json:"nicId,omitempty"`
	// Name - Name of the Nic.
	Name *string `json:"name,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

VMNicUpdatesTaskDetails this class represents the vm NicUpdates task details.

func (VMNicUpdatesTaskDetails) AsAutomationRunbookTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsBasicTaskTypeDetails

func (vnutd VMNicUpdatesTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsConsistencyCheckTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsFabricReplicationGroupTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsJobTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsManualActionTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsScriptActionTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsTaskTypeDetails

func (vnutd VMNicUpdatesTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsVMNicUpdatesTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) AsVirtualMachineTaskDetails

func (vnutd VMNicUpdatesTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for VMNicUpdatesTaskDetails.

func (VMNicUpdatesTaskDetails) MarshalJSON

func (vnutd VMNicUpdatesTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMNicUpdatesTaskDetails.

type VMwareCbtPolicyCreationInput

type VMwareCbtPolicyCreationInput 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"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypePolicyProviderSpecificInput', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificInputInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificInput `json:"instanceType,omitempty"`
}

VMwareCbtPolicyCreationInput vMware Cbt Policy creation input.

func (VMwareCbtPolicyCreationInput) AsA2APolicyCreationInput

func (vmcpci VMwareCbtPolicyCreationInput) AsA2APolicyCreationInput() (*A2APolicyCreationInput, bool)

AsA2APolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsBasicPolicyProviderSpecificInput

func (vmcpci VMwareCbtPolicyCreationInput) AsBasicPolicyProviderSpecificInput() (BasicPolicyProviderSpecificInput, bool)

AsBasicPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsHyperVReplicaAzurePolicyInput

func (vmcpci VMwareCbtPolicyCreationInput) AsHyperVReplicaAzurePolicyInput() (*HyperVReplicaAzurePolicyInput, bool)

AsHyperVReplicaAzurePolicyInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsHyperVReplicaBluePolicyInput

func (vmcpci VMwareCbtPolicyCreationInput) AsHyperVReplicaBluePolicyInput() (*HyperVReplicaBluePolicyInput, bool)

AsHyperVReplicaBluePolicyInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsHyperVReplicaPolicyInput

func (vmcpci VMwareCbtPolicyCreationInput) AsHyperVReplicaPolicyInput() (*HyperVReplicaPolicyInput, bool)

AsHyperVReplicaPolicyInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsInMageAzureV2PolicyInput

func (vmcpci VMwareCbtPolicyCreationInput) AsInMageAzureV2PolicyInput() (*InMageAzureV2PolicyInput, bool)

AsInMageAzureV2PolicyInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsInMagePolicyInput

func (vmcpci VMwareCbtPolicyCreationInput) AsInMagePolicyInput() (*InMagePolicyInput, bool)

AsInMagePolicyInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsPolicyProviderSpecificInput

func (vmcpci VMwareCbtPolicyCreationInput) AsPolicyProviderSpecificInput() (*PolicyProviderSpecificInput, bool)

AsPolicyProviderSpecificInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) AsVMwareCbtPolicyCreationInput

func (vmcpci VMwareCbtPolicyCreationInput) AsVMwareCbtPolicyCreationInput() (*VMwareCbtPolicyCreationInput, bool)

AsVMwareCbtPolicyCreationInput is the BasicPolicyProviderSpecificInput implementation for VMwareCbtPolicyCreationInput.

func (VMwareCbtPolicyCreationInput) MarshalJSON

func (vmcpci VMwareCbtPolicyCreationInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMwareCbtPolicyCreationInput.

type VMwareDetails

type VMwareDetails struct {
	// ProcessServers - The list of Process Servers associated with the fabric.
	ProcessServers *[]ProcessServer `json:"processServers,omitempty"`
	// MasterTargetServers - The list of Master Target servers associated with the fabric.
	MasterTargetServers *[]MasterTargetServer `json:"masterTargetServers,omitempty"`
	// RunAsAccounts - The list of run as accounts created on the server.
	RunAsAccounts *[]RunAsAccount `json:"runAsAccounts,omitempty"`
	// ReplicationPairCount - The number of replication pairs configured in this CS.
	ReplicationPairCount *string `json:"replicationPairCount,omitempty"`
	// ProcessServerCount - The number of process servers.
	ProcessServerCount *string `json:"processServerCount,omitempty"`
	// AgentCount - The number of source and target servers configured to talk to this CS.
	AgentCount *string `json:"agentCount,omitempty"`
	// ProtectedServers - The number of protected servers.
	ProtectedServers *string `json:"protectedServers,omitempty"`
	// SystemLoad - The percentage of the system load.
	SystemLoad *string `json:"systemLoad,omitempty"`
	// SystemLoadStatus - The system load status.
	SystemLoadStatus *string `json:"systemLoadStatus,omitempty"`
	// CPULoad - The percentage of the CPU load.
	CPULoad *string `json:"cpuLoad,omitempty"`
	// CPULoadStatus - The CPU load status.
	CPULoadStatus *string `json:"cpuLoadStatus,omitempty"`
	// TotalMemoryInBytes - The total memory.
	TotalMemoryInBytes *int64 `json:"totalMemoryInBytes,omitempty"`
	// AvailableMemoryInBytes - The available memory.
	AvailableMemoryInBytes *int64 `json:"availableMemoryInBytes,omitempty"`
	// MemoryUsageStatus - The memory usage status.
	MemoryUsageStatus *string `json:"memoryUsageStatus,omitempty"`
	// TotalSpaceInBytes - The total space.
	TotalSpaceInBytes *int64 `json:"totalSpaceInBytes,omitempty"`
	// AvailableSpaceInBytes - The available space.
	AvailableSpaceInBytes *int64 `json:"availableSpaceInBytes,omitempty"`
	// SpaceUsageStatus - The space usage status.
	SpaceUsageStatus *string `json:"spaceUsageStatus,omitempty"`
	// WebLoad - The web load.
	WebLoad *string `json:"webLoad,omitempty"`
	// WebLoadStatus - The web load status.
	WebLoadStatus *string `json:"webLoadStatus,omitempty"`
	// DatabaseServerLoad - The database server load.
	DatabaseServerLoad *string `json:"databaseServerLoad,omitempty"`
	// DatabaseServerLoadStatus - The database server load status.
	DatabaseServerLoadStatus *string `json:"databaseServerLoadStatus,omitempty"`
	// CsServiceStatus - The CS service status.
	CsServiceStatus *string `json:"csServiceStatus,omitempty"`
	// IPAddress - The IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
	// AgentVersion - The agent Version.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// HostName - The host name.
	HostName *string `json:"hostName,omitempty"`
	// LastHeartbeat - The last heartbeat received from CS server.
	LastHeartbeat *date.Time `json:"lastHeartbeat,omitempty"`
	// VersionStatus - Version status
	VersionStatus *string `json:"versionStatus,omitempty"`
	// SslCertExpiryDate - CS SSL cert expiry date.
	SslCertExpiryDate *date.Time `json:"sslCertExpiryDate,omitempty"`
	// SslCertExpiryRemainingDays - CS SSL cert expiry date.
	SslCertExpiryRemainingDays *int32 `json:"sslCertExpiryRemainingDays,omitempty"`
	// PsTemplateVersion - PS template version.
	PsTemplateVersion *string `json:"psTemplateVersion,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificDetails `json:"instanceType,omitempty"`
}

VMwareDetails store the fabric details specific to the VMware fabric.

func (VMwareDetails) AsAzureFabricSpecificDetails

func (vmd VMwareDetails) AsAzureFabricSpecificDetails() (*AzureFabricSpecificDetails, bool)

AsAzureFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareDetails.

func (VMwareDetails) AsBasicFabricSpecificDetails

func (vmd VMwareDetails) AsBasicFabricSpecificDetails() (BasicFabricSpecificDetails, bool)

AsBasicFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareDetails.

func (VMwareDetails) AsFabricSpecificDetails

func (vmd VMwareDetails) AsFabricSpecificDetails() (*FabricSpecificDetails, bool)

AsFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareDetails.

func (VMwareDetails) AsHyperVSiteDetails

func (vmd VMwareDetails) AsHyperVSiteDetails() (*HyperVSiteDetails, bool)

AsHyperVSiteDetails is the BasicFabricSpecificDetails implementation for VMwareDetails.

func (VMwareDetails) AsVMwareDetails

func (vmd VMwareDetails) AsVMwareDetails() (*VMwareDetails, bool)

AsVMwareDetails is the BasicFabricSpecificDetails implementation for VMwareDetails.

func (VMwareDetails) AsVMwareV2FabricSpecificDetails

func (vmd VMwareDetails) AsVMwareV2FabricSpecificDetails() (*VMwareV2FabricSpecificDetails, bool)

AsVMwareV2FabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareDetails.

func (VMwareDetails) AsVmmDetails

func (vmd VMwareDetails) AsVmmDetails() (*VmmDetails, bool)

AsVmmDetails is the BasicFabricSpecificDetails implementation for VMwareDetails.

func (VMwareDetails) MarshalJSON

func (vmd VMwareDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMwareDetails.

type VMwareV2FabricCreationInput

type VMwareV2FabricCreationInput struct {
	// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreationInput', 'InstanceTypeAzure', 'InstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificCreationInput `json:"instanceType,omitempty"`
}

VMwareV2FabricCreationInput fabric provider specific settings.

func (VMwareV2FabricCreationInput) AsAzureFabricCreationInput

func (vmvfci VMwareV2FabricCreationInput) AsAzureFabricCreationInput() (*AzureFabricCreationInput, bool)

AsAzureFabricCreationInput is the BasicFabricSpecificCreationInput implementation for VMwareV2FabricCreationInput.

func (VMwareV2FabricCreationInput) AsBasicFabricSpecificCreationInput

func (vmvfci VMwareV2FabricCreationInput) AsBasicFabricSpecificCreationInput() (BasicFabricSpecificCreationInput, bool)

AsBasicFabricSpecificCreationInput is the BasicFabricSpecificCreationInput implementation for VMwareV2FabricCreationInput.

func (VMwareV2FabricCreationInput) AsFabricSpecificCreationInput

func (vmvfci VMwareV2FabricCreationInput) AsFabricSpecificCreationInput() (*FabricSpecificCreationInput, bool)

AsFabricSpecificCreationInput is the BasicFabricSpecificCreationInput implementation for VMwareV2FabricCreationInput.

func (VMwareV2FabricCreationInput) AsVMwareV2FabricCreationInput

func (vmvfci VMwareV2FabricCreationInput) AsVMwareV2FabricCreationInput() (*VMwareV2FabricCreationInput, bool)

AsVMwareV2FabricCreationInput is the BasicFabricSpecificCreationInput implementation for VMwareV2FabricCreationInput.

func (VMwareV2FabricCreationInput) MarshalJSON

func (vmvfci VMwareV2FabricCreationInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMwareV2FabricCreationInput.

type VMwareV2FabricSpecificDetails

type VMwareV2FabricSpecificDetails struct {
	// SrsServiceEndpoint - The endpoint for making requests to the SRS Service.
	SrsServiceEndpoint *string `json:"srsServiceEndpoint,omitempty"`
	// RcmServiceEndpoint - The endpoint for making requests to the RCM Service.
	RcmServiceEndpoint *string `json:"rcmServiceEndpoint,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificDetails `json:"instanceType,omitempty"`
}

VMwareV2FabricSpecificDetails vMwareV2 fabric Specific Details.

func (VMwareV2FabricSpecificDetails) AsAzureFabricSpecificDetails

func (vmvfsd VMwareV2FabricSpecificDetails) AsAzureFabricSpecificDetails() (*AzureFabricSpecificDetails, bool)

AsAzureFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareV2FabricSpecificDetails.

func (VMwareV2FabricSpecificDetails) AsBasicFabricSpecificDetails

func (vmvfsd VMwareV2FabricSpecificDetails) AsBasicFabricSpecificDetails() (BasicFabricSpecificDetails, bool)

AsBasicFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareV2FabricSpecificDetails.

func (VMwareV2FabricSpecificDetails) AsFabricSpecificDetails

func (vmvfsd VMwareV2FabricSpecificDetails) AsFabricSpecificDetails() (*FabricSpecificDetails, bool)

AsFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareV2FabricSpecificDetails.

func (VMwareV2FabricSpecificDetails) AsHyperVSiteDetails

func (vmvfsd VMwareV2FabricSpecificDetails) AsHyperVSiteDetails() (*HyperVSiteDetails, bool)

AsHyperVSiteDetails is the BasicFabricSpecificDetails implementation for VMwareV2FabricSpecificDetails.

func (VMwareV2FabricSpecificDetails) AsVMwareDetails

func (vmvfsd VMwareV2FabricSpecificDetails) AsVMwareDetails() (*VMwareDetails, bool)

AsVMwareDetails is the BasicFabricSpecificDetails implementation for VMwareV2FabricSpecificDetails.

func (VMwareV2FabricSpecificDetails) AsVMwareV2FabricSpecificDetails

func (vmvfsd VMwareV2FabricSpecificDetails) AsVMwareV2FabricSpecificDetails() (*VMwareV2FabricSpecificDetails, bool)

AsVMwareV2FabricSpecificDetails is the BasicFabricSpecificDetails implementation for VMwareV2FabricSpecificDetails.

func (VMwareV2FabricSpecificDetails) AsVmmDetails

func (vmvfsd VMwareV2FabricSpecificDetails) AsVmmDetails() (*VmmDetails, bool)

AsVmmDetails is the BasicFabricSpecificDetails implementation for VMwareV2FabricSpecificDetails.

func (VMwareV2FabricSpecificDetails) MarshalJSON

func (vmvfsd VMwareV2FabricSpecificDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMwareV2FabricSpecificDetails.

type VMwareVirtualMachineDetails

type VMwareVirtualMachineDetails struct {
	// AgentGeneratedID - The ID generated by the InMage agent after it gets installed on guest. This is the ID to be used during InMage CreateProtection.
	AgentGeneratedID *string `json:"agentGeneratedId,omitempty"`
	// AgentInstalled - The value indicating if InMage scout agent is installed on guest.
	AgentInstalled *string `json:"agentInstalled,omitempty"`
	// OsType - The OsType installed on VM.
	OsType *string `json:"osType,omitempty"`
	// AgentVersion - The agent version.
	AgentVersion *string `json:"agentVersion,omitempty"`
	// IPAddress - The IP address.
	IPAddress *string `json:"ipAddress,omitempty"`
	// PoweredOn - The value indicating whether VM is powered on.
	PoweredOn *string `json:"poweredOn,omitempty"`
	// VCenterInfrastructureID - The VCenter infrastructure Id.
	VCenterInfrastructureID *string `json:"vCenterInfrastructureId,omitempty"`
	// DiscoveryType - A value indicating the discovery type of the machine. Value can be vCenter or physical.
	DiscoveryType *string `json:"discoveryType,omitempty"`
	// DiskDetails - The disk details.
	DiskDetails *[]InMageDiskDetails `json:"diskDetails,omitempty"`
	// ValidationErrors - The validation errors.
	ValidationErrors *[]HealthError `json:"validationErrors,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeConfigurationSettings', 'InstanceTypeHyperVVirtualMachine', 'InstanceTypeVMwareVirtualMachine', 'InstanceTypeReplicationGroupDetails'
	InstanceType InstanceTypeBasicConfigurationSettings `json:"instanceType,omitempty"`
}

VMwareVirtualMachineDetails vMware provider specific settings

func (VMwareVirtualMachineDetails) AsBasicConfigurationSettings

func (vmvmd VMwareVirtualMachineDetails) AsBasicConfigurationSettings() (BasicConfigurationSettings, bool)

AsBasicConfigurationSettings is the BasicConfigurationSettings implementation for VMwareVirtualMachineDetails.

func (VMwareVirtualMachineDetails) AsConfigurationSettings

func (vmvmd VMwareVirtualMachineDetails) AsConfigurationSettings() (*ConfigurationSettings, bool)

AsConfigurationSettings is the BasicConfigurationSettings implementation for VMwareVirtualMachineDetails.

func (VMwareVirtualMachineDetails) AsHyperVVirtualMachineDetails

func (vmvmd VMwareVirtualMachineDetails) AsHyperVVirtualMachineDetails() (*HyperVVirtualMachineDetails, bool)

AsHyperVVirtualMachineDetails is the BasicConfigurationSettings implementation for VMwareVirtualMachineDetails.

func (VMwareVirtualMachineDetails) AsReplicationGroupDetails

func (vmvmd VMwareVirtualMachineDetails) AsReplicationGroupDetails() (*ReplicationGroupDetails, bool)

AsReplicationGroupDetails is the BasicConfigurationSettings implementation for VMwareVirtualMachineDetails.

func (VMwareVirtualMachineDetails) AsVMwareVirtualMachineDetails

func (vmvmd VMwareVirtualMachineDetails) AsVMwareVirtualMachineDetails() (*VMwareVirtualMachineDetails, bool)

AsVMwareVirtualMachineDetails is the BasicConfigurationSettings implementation for VMwareVirtualMachineDetails.

func (VMwareVirtualMachineDetails) MarshalJSON

func (vmvmd VMwareVirtualMachineDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMwareVirtualMachineDetails.

type VaultHealthDetails

type VaultHealthDetails struct {
	autorest.Response `json:"-"`
	// Properties - The vault health related data.
	Properties *VaultHealthProperties `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"`
}

VaultHealthDetails vault health details definition.

func (VaultHealthDetails) MarshalJSON

func (vhd VaultHealthDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VaultHealthDetails.

type VaultHealthProperties

type VaultHealthProperties struct {
	// VaultErrors - The list of errors on the vault.
	VaultErrors *[]HealthError `json:"vaultErrors,omitempty"`
	// ProtectedItemsHealth - The list of the health detail of the protected items in the vault.
	ProtectedItemsHealth *ResourceHealthSummary `json:"protectedItemsHealth,omitempty"`
	// FabricsHealth - The list of the health detail of the fabrics in the vault.
	FabricsHealth *ResourceHealthSummary `json:"fabricsHealth,omitempty"`
}

VaultHealthProperties class to define the health summary of the Vault.

type VirtualMachineTaskDetails

type VirtualMachineTaskDetails struct {
	// SkippedReason - The skipped reason.
	SkippedReason *string `json:"skippedReason,omitempty"`
	// SkippedReasonString - The skipped reason string.
	SkippedReasonString *string `json:"skippedReasonString,omitempty"`
	// JobTask - The job entity.
	JobTask *JobEntity `json:"jobTask,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeTaskTypeDetails', 'InstanceTypeJobTaskDetails', 'InstanceTypeVirtualMachineTaskDetails', 'InstanceTypeFabricReplicationGroupTaskDetails', 'InstanceTypeManualActionTaskDetails', 'InstanceTypeScriptActionTaskDetails', 'InstanceTypeVMNicUpdatesTaskDetails', 'InstanceTypeConsistencyCheckTaskDetails', 'InstanceTypeAutomationRunbookTaskDetails'
	InstanceType InstanceTypeBasicTaskTypeDetails `json:"instanceType,omitempty"`
}

VirtualMachineTaskDetails this class represents the virtual machine task details.

func (VirtualMachineTaskDetails) AsAutomationRunbookTaskDetails

func (vmtd VirtualMachineTaskDetails) AsAutomationRunbookTaskDetails() (*AutomationRunbookTaskDetails, bool)

AsAutomationRunbookTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsBasicTaskTypeDetails

func (vmtd VirtualMachineTaskDetails) AsBasicTaskTypeDetails() (BasicTaskTypeDetails, bool)

AsBasicTaskTypeDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsConsistencyCheckTaskDetails

func (vmtd VirtualMachineTaskDetails) AsConsistencyCheckTaskDetails() (*ConsistencyCheckTaskDetails, bool)

AsConsistencyCheckTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsFabricReplicationGroupTaskDetails

func (vmtd VirtualMachineTaskDetails) AsFabricReplicationGroupTaskDetails() (*FabricReplicationGroupTaskDetails, bool)

AsFabricReplicationGroupTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsJobTaskDetails

func (vmtd VirtualMachineTaskDetails) AsJobTaskDetails() (*JobTaskDetails, bool)

AsJobTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsManualActionTaskDetails

func (vmtd VirtualMachineTaskDetails) AsManualActionTaskDetails() (*ManualActionTaskDetails, bool)

AsManualActionTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsScriptActionTaskDetails

func (vmtd VirtualMachineTaskDetails) AsScriptActionTaskDetails() (*ScriptActionTaskDetails, bool)

AsScriptActionTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsTaskTypeDetails

func (vmtd VirtualMachineTaskDetails) AsTaskTypeDetails() (*TaskTypeDetails, bool)

AsTaskTypeDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsVMNicUpdatesTaskDetails

func (vmtd VirtualMachineTaskDetails) AsVMNicUpdatesTaskDetails() (*VMNicUpdatesTaskDetails, bool)

AsVMNicUpdatesTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) AsVirtualMachineTaskDetails

func (vmtd VirtualMachineTaskDetails) AsVirtualMachineTaskDetails() (*VirtualMachineTaskDetails, bool)

AsVirtualMachineTaskDetails is the BasicTaskTypeDetails implementation for VirtualMachineTaskDetails.

func (VirtualMachineTaskDetails) MarshalJSON

func (vmtd VirtualMachineTaskDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VirtualMachineTaskDetails.

type VmmDetails

type VmmDetails struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeFabricSpecificDetails', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeAzure', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMM', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeHyperVSite', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMware', 'InstanceTypeBasicFabricSpecificDetailsInstanceTypeVMwareV2'
	InstanceType InstanceTypeBasicFabricSpecificDetails `json:"instanceType,omitempty"`
}

VmmDetails VMM fabric specific details.

func (VmmDetails) AsAzureFabricSpecificDetails

func (vd VmmDetails) AsAzureFabricSpecificDetails() (*AzureFabricSpecificDetails, bool)

AsAzureFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VmmDetails.

func (VmmDetails) AsBasicFabricSpecificDetails

func (vd VmmDetails) AsBasicFabricSpecificDetails() (BasicFabricSpecificDetails, bool)

AsBasicFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VmmDetails.

func (VmmDetails) AsFabricSpecificDetails

func (vd VmmDetails) AsFabricSpecificDetails() (*FabricSpecificDetails, bool)

AsFabricSpecificDetails is the BasicFabricSpecificDetails implementation for VmmDetails.

func (VmmDetails) AsHyperVSiteDetails

func (vd VmmDetails) AsHyperVSiteDetails() (*HyperVSiteDetails, bool)

AsHyperVSiteDetails is the BasicFabricSpecificDetails implementation for VmmDetails.

func (VmmDetails) AsVMwareDetails

func (vd VmmDetails) AsVMwareDetails() (*VMwareDetails, bool)

AsVMwareDetails is the BasicFabricSpecificDetails implementation for VmmDetails.

func (VmmDetails) AsVMwareV2FabricSpecificDetails

func (vd VmmDetails) AsVMwareV2FabricSpecificDetails() (*VMwareV2FabricSpecificDetails, bool)

AsVMwareV2FabricSpecificDetails is the BasicFabricSpecificDetails implementation for VmmDetails.

func (VmmDetails) AsVmmDetails

func (vd VmmDetails) AsVmmDetails() (*VmmDetails, bool)

AsVmmDetails is the BasicFabricSpecificDetails implementation for VmmDetails.

func (VmmDetails) MarshalJSON

func (vd VmmDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmmDetails.

type VmmToAzureCreateNetworkMappingInput

type VmmToAzureCreateNetworkMappingInput struct {
	// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreateNetworkMappingInput', 'InstanceTypeAzureToAzure', 'InstanceTypeVmmToAzure', 'InstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificCreateNetworkMappingInput `json:"instanceType,omitempty"`
}

VmmToAzureCreateNetworkMappingInput create network mappings input properties/behavior specific to Vmm to Azure Network mapping.

func (VmmToAzureCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput

func (vtacnmi VmmToAzureCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput() (*AzureToAzureCreateNetworkMappingInput, bool)

AsAzureToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToAzureCreateNetworkMappingInput.

func (VmmToAzureCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput

func (vtacnmi VmmToAzureCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput() (BasicFabricSpecificCreateNetworkMappingInput, bool)

AsBasicFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToAzureCreateNetworkMappingInput.

func (VmmToAzureCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput

func (vtacnmi VmmToAzureCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput() (*FabricSpecificCreateNetworkMappingInput, bool)

AsFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToAzureCreateNetworkMappingInput.

func (VmmToAzureCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput

func (vtacnmi VmmToAzureCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput() (*VmmToAzureCreateNetworkMappingInput, bool)

AsVmmToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToAzureCreateNetworkMappingInput.

func (VmmToAzureCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput

func (vtacnmi VmmToAzureCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput() (*VmmToVmmCreateNetworkMappingInput, bool)

AsVmmToVmmCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToAzureCreateNetworkMappingInput.

func (VmmToAzureCreateNetworkMappingInput) MarshalJSON

func (vtacnmi VmmToAzureCreateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmmToAzureCreateNetworkMappingInput.

type VmmToAzureNetworkMappingSettings

type VmmToAzureNetworkMappingSettings struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeNetworkMappingFabricSpecificSettings', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeAzureToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicNetworkMappingFabricSpecificSettings `json:"instanceType,omitempty"`
}

VmmToAzureNetworkMappingSettings e2A Network Mapping fabric specific settings.

func (VmmToAzureNetworkMappingSettings) AsAzureToAzureNetworkMappingSettings

func (vtanms VmmToAzureNetworkMappingSettings) AsAzureToAzureNetworkMappingSettings() (*AzureToAzureNetworkMappingSettings, bool)

AsAzureToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToAzureNetworkMappingSettings.

func (VmmToAzureNetworkMappingSettings) AsBasicNetworkMappingFabricSpecificSettings

func (vtanms VmmToAzureNetworkMappingSettings) AsBasicNetworkMappingFabricSpecificSettings() (BasicNetworkMappingFabricSpecificSettings, bool)

AsBasicNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToAzureNetworkMappingSettings.

func (VmmToAzureNetworkMappingSettings) AsNetworkMappingFabricSpecificSettings

func (vtanms VmmToAzureNetworkMappingSettings) AsNetworkMappingFabricSpecificSettings() (*NetworkMappingFabricSpecificSettings, bool)

AsNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToAzureNetworkMappingSettings.

func (VmmToAzureNetworkMappingSettings) AsVmmToAzureNetworkMappingSettings

func (vtanms VmmToAzureNetworkMappingSettings) AsVmmToAzureNetworkMappingSettings() (*VmmToAzureNetworkMappingSettings, bool)

AsVmmToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToAzureNetworkMappingSettings.

func (VmmToAzureNetworkMappingSettings) AsVmmToVmmNetworkMappingSettings

func (vtanms VmmToAzureNetworkMappingSettings) AsVmmToVmmNetworkMappingSettings() (*VmmToVmmNetworkMappingSettings, bool)

AsVmmToVmmNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToAzureNetworkMappingSettings.

func (VmmToAzureNetworkMappingSettings) MarshalJSON

func (vtanms VmmToAzureNetworkMappingSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmmToAzureNetworkMappingSettings.

type VmmToAzureUpdateNetworkMappingInput

type VmmToAzureUpdateNetworkMappingInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeFabricSpecificUpdateNetworkMappingInput', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeAzureToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput `json:"instanceType,omitempty"`
}

VmmToAzureUpdateNetworkMappingInput update network mappings input properties/behavior specific to vmm to azure.

func (VmmToAzureUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput

func (vtaunmi VmmToAzureUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput() (*AzureToAzureUpdateNetworkMappingInput, bool)

AsAzureToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToAzureUpdateNetworkMappingInput.

func (VmmToAzureUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput

func (vtaunmi VmmToAzureUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput() (BasicFabricSpecificUpdateNetworkMappingInput, bool)

AsBasicFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToAzureUpdateNetworkMappingInput.

func (VmmToAzureUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput

func (vtaunmi VmmToAzureUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput() (*FabricSpecificUpdateNetworkMappingInput, bool)

AsFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToAzureUpdateNetworkMappingInput.

func (VmmToAzureUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput

func (vtaunmi VmmToAzureUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput() (*VmmToAzureUpdateNetworkMappingInput, bool)

AsVmmToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToAzureUpdateNetworkMappingInput.

func (VmmToAzureUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput

func (vtaunmi VmmToAzureUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput() (*VmmToVmmUpdateNetworkMappingInput, bool)

AsVmmToVmmUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToAzureUpdateNetworkMappingInput.

func (VmmToAzureUpdateNetworkMappingInput) MarshalJSON

func (vtaunmi VmmToAzureUpdateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmmToAzureUpdateNetworkMappingInput.

type VmmToVmmCreateNetworkMappingInput

type VmmToVmmCreateNetworkMappingInput struct {
	// InstanceType - Possible values include: 'InstanceTypeFabricSpecificCreateNetworkMappingInput', 'InstanceTypeAzureToAzure', 'InstanceTypeVmmToAzure', 'InstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificCreateNetworkMappingInput `json:"instanceType,omitempty"`
}

VmmToVmmCreateNetworkMappingInput create network mappings input properties/behavior specific to vmm to vmm Network mapping.

func (VmmToVmmCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput

func (vtvcnmi VmmToVmmCreateNetworkMappingInput) AsAzureToAzureCreateNetworkMappingInput() (*AzureToAzureCreateNetworkMappingInput, bool)

AsAzureToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToVmmCreateNetworkMappingInput.

func (VmmToVmmCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput

func (vtvcnmi VmmToVmmCreateNetworkMappingInput) AsBasicFabricSpecificCreateNetworkMappingInput() (BasicFabricSpecificCreateNetworkMappingInput, bool)

AsBasicFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToVmmCreateNetworkMappingInput.

func (VmmToVmmCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput

func (vtvcnmi VmmToVmmCreateNetworkMappingInput) AsFabricSpecificCreateNetworkMappingInput() (*FabricSpecificCreateNetworkMappingInput, bool)

AsFabricSpecificCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToVmmCreateNetworkMappingInput.

func (VmmToVmmCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput

func (vtvcnmi VmmToVmmCreateNetworkMappingInput) AsVmmToAzureCreateNetworkMappingInput() (*VmmToAzureCreateNetworkMappingInput, bool)

AsVmmToAzureCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToVmmCreateNetworkMappingInput.

func (VmmToVmmCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput

func (vtvcnmi VmmToVmmCreateNetworkMappingInput) AsVmmToVmmCreateNetworkMappingInput() (*VmmToVmmCreateNetworkMappingInput, bool)

AsVmmToVmmCreateNetworkMappingInput is the BasicFabricSpecificCreateNetworkMappingInput implementation for VmmToVmmCreateNetworkMappingInput.

func (VmmToVmmCreateNetworkMappingInput) MarshalJSON

func (vtvcnmi VmmToVmmCreateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmmToVmmCreateNetworkMappingInput.

type VmmToVmmNetworkMappingSettings

type VmmToVmmNetworkMappingSettings struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeNetworkMappingFabricSpecificSettings', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeAzureToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToAzure', 'InstanceTypeBasicNetworkMappingFabricSpecificSettingsInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicNetworkMappingFabricSpecificSettings `json:"instanceType,omitempty"`
}

VmmToVmmNetworkMappingSettings e2E Network Mapping fabric specific settings.

func (VmmToVmmNetworkMappingSettings) AsAzureToAzureNetworkMappingSettings

func (vtvnms VmmToVmmNetworkMappingSettings) AsAzureToAzureNetworkMappingSettings() (*AzureToAzureNetworkMappingSettings, bool)

AsAzureToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToVmmNetworkMappingSettings.

func (VmmToVmmNetworkMappingSettings) AsBasicNetworkMappingFabricSpecificSettings

func (vtvnms VmmToVmmNetworkMappingSettings) AsBasicNetworkMappingFabricSpecificSettings() (BasicNetworkMappingFabricSpecificSettings, bool)

AsBasicNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToVmmNetworkMappingSettings.

func (VmmToVmmNetworkMappingSettings) AsNetworkMappingFabricSpecificSettings

func (vtvnms VmmToVmmNetworkMappingSettings) AsNetworkMappingFabricSpecificSettings() (*NetworkMappingFabricSpecificSettings, bool)

AsNetworkMappingFabricSpecificSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToVmmNetworkMappingSettings.

func (VmmToVmmNetworkMappingSettings) AsVmmToAzureNetworkMappingSettings

func (vtvnms VmmToVmmNetworkMappingSettings) AsVmmToAzureNetworkMappingSettings() (*VmmToAzureNetworkMappingSettings, bool)

AsVmmToAzureNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToVmmNetworkMappingSettings.

func (VmmToVmmNetworkMappingSettings) AsVmmToVmmNetworkMappingSettings

func (vtvnms VmmToVmmNetworkMappingSettings) AsVmmToVmmNetworkMappingSettings() (*VmmToVmmNetworkMappingSettings, bool)

AsVmmToVmmNetworkMappingSettings is the BasicNetworkMappingFabricSpecificSettings implementation for VmmToVmmNetworkMappingSettings.

func (VmmToVmmNetworkMappingSettings) MarshalJSON

func (vtvnms VmmToVmmNetworkMappingSettings) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmmToVmmNetworkMappingSettings.

type VmmToVmmUpdateNetworkMappingInput

type VmmToVmmUpdateNetworkMappingInput struct {
	// InstanceType - Possible values include: 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeFabricSpecificUpdateNetworkMappingInput', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeAzureToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToAzure', 'InstanceTypeBasicFabricSpecificUpdateNetworkMappingInputInstanceTypeVmmToVmm'
	InstanceType InstanceTypeBasicFabricSpecificUpdateNetworkMappingInput `json:"instanceType,omitempty"`
}

VmmToVmmUpdateNetworkMappingInput update network mappings input properties/behavior specific to vmm to vmm.

func (VmmToVmmUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput

func (vtvunmi VmmToVmmUpdateNetworkMappingInput) AsAzureToAzureUpdateNetworkMappingInput() (*AzureToAzureUpdateNetworkMappingInput, bool)

AsAzureToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToVmmUpdateNetworkMappingInput.

func (VmmToVmmUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput

func (vtvunmi VmmToVmmUpdateNetworkMappingInput) AsBasicFabricSpecificUpdateNetworkMappingInput() (BasicFabricSpecificUpdateNetworkMappingInput, bool)

AsBasicFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToVmmUpdateNetworkMappingInput.

func (VmmToVmmUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput

func (vtvunmi VmmToVmmUpdateNetworkMappingInput) AsFabricSpecificUpdateNetworkMappingInput() (*FabricSpecificUpdateNetworkMappingInput, bool)

AsFabricSpecificUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToVmmUpdateNetworkMappingInput.

func (VmmToVmmUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput

func (vtvunmi VmmToVmmUpdateNetworkMappingInput) AsVmmToAzureUpdateNetworkMappingInput() (*VmmToAzureUpdateNetworkMappingInput, bool)

AsVmmToAzureUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToVmmUpdateNetworkMappingInput.

func (VmmToVmmUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput

func (vtvunmi VmmToVmmUpdateNetworkMappingInput) AsVmmToVmmUpdateNetworkMappingInput() (*VmmToVmmUpdateNetworkMappingInput, bool)

AsVmmToVmmUpdateNetworkMappingInput is the BasicFabricSpecificUpdateNetworkMappingInput implementation for VmmToVmmUpdateNetworkMappingInput.

func (VmmToVmmUpdateNetworkMappingInput) MarshalJSON

func (vtvunmi VmmToVmmUpdateNetworkMappingInput) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmmToVmmUpdateNetworkMappingInput.

type VmwareCbtPolicyDetails

type VmwareCbtPolicyDetails 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"`
	// CrashConsistentFrequencyInMinutes - The crash consistent snapshot frequency in minutes.
	CrashConsistentFrequencyInMinutes *int32 `json:"crashConsistentFrequencyInMinutes,omitempty"`
	// InstanceType - Possible values include: 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypePolicyProviderSpecificDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaAzure', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplicaBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeHyperVReplica2012R2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageBasePolicyDetails', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMageAzureV2', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeInMage', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeA2A', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeRcmAzureMigration', 'InstanceTypeBasicPolicyProviderSpecificDetailsInstanceTypeVMwareCbt'
	InstanceType InstanceTypeBasicPolicyProviderSpecificDetails `json:"instanceType,omitempty"`
}

VmwareCbtPolicyDetails vMware Cbt specific policy details.

func (VmwareCbtPolicyDetails) AsA2APolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsA2APolicyDetails() (*A2APolicyDetails, bool)

AsA2APolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsBasicPolicyProviderSpecificDetails

func (vcpd VmwareCbtPolicyDetails) AsBasicPolicyProviderSpecificDetails() (BasicPolicyProviderSpecificDetails, bool)

AsBasicPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsHyperVReplicaAzurePolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsHyperVReplicaAzurePolicyDetails() (*HyperVReplicaAzurePolicyDetails, bool)

AsHyperVReplicaAzurePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsHyperVReplicaBasePolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsHyperVReplicaBasePolicyDetails() (*HyperVReplicaBasePolicyDetails, bool)

AsHyperVReplicaBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsHyperVReplicaBluePolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsHyperVReplicaBluePolicyDetails() (*HyperVReplicaBluePolicyDetails, bool)

AsHyperVReplicaBluePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsHyperVReplicaPolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsHyperVReplicaPolicyDetails() (*HyperVReplicaPolicyDetails, bool)

AsHyperVReplicaPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsInMageAzureV2PolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsInMageAzureV2PolicyDetails() (*InMageAzureV2PolicyDetails, bool)

AsInMageAzureV2PolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsInMageBasePolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsInMageBasePolicyDetails() (*InMageBasePolicyDetails, bool)

AsInMageBasePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsInMagePolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsInMagePolicyDetails() (*InMagePolicyDetails, bool)

AsInMagePolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsPolicyProviderSpecificDetails

func (vcpd VmwareCbtPolicyDetails) AsPolicyProviderSpecificDetails() (*PolicyProviderSpecificDetails, bool)

AsPolicyProviderSpecificDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsRcmAzureMigrationPolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsRcmAzureMigrationPolicyDetails() (*RcmAzureMigrationPolicyDetails, bool)

AsRcmAzureMigrationPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) AsVmwareCbtPolicyDetails

func (vcpd VmwareCbtPolicyDetails) AsVmwareCbtPolicyDetails() (*VmwareCbtPolicyDetails, bool)

AsVmwareCbtPolicyDetails is the BasicPolicyProviderSpecificDetails implementation for VmwareCbtPolicyDetails.

func (VmwareCbtPolicyDetails) MarshalJSON

func (vcpd VmwareCbtPolicyDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VmwareCbtPolicyDetails.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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