replicationprotecteditems

package
v0.20241118.1115603 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 15 Imported by: 0

README ¶

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2024-10-01/replicationprotecteditems Documentation

The replicationprotecteditems SDK allows for interaction with Azure Resource Manager recoveryservicessiterecovery (API Version 2024-10-01).

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

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2024-10-01/replicationprotecteditems"

Client Initialization

client := replicationprotecteditems.NewReplicationProtectedItemsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationProtectedItemsClient.AddDisks

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.AddDisksInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.ApplyRecoveryPoint

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.ApplyRecoveryPointInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.Create

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.EnableProtectionInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.Delete

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.DisableProtectionInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.FailoverCancel

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

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

Example Usage: ReplicationProtectedItemsClient.FailoverCommit

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

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

Example Usage: ReplicationProtectedItemsClient.Get

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ReplicationProtectedItemsClient.List

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

// alternatively `client.List(ctx, id, replicationprotecteditems.DefaultListOperationOptions())` can be used to do batched pagination
items, err := client.ListComplete(ctx, id, replicationprotecteditems.DefaultListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ReplicationProtectedItemsClient.ListByReplicationProtectionContainers

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName")

// alternatively `client.ListByReplicationProtectionContainers(ctx, id)` can be used to do batched pagination
items, err := client.ListByReplicationProtectionContainersComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ReplicationProtectedItemsClient.PlannedFailover

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.PlannedFailoverInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.Purge

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

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

Example Usage: ReplicationProtectedItemsClient.RemoveDisks

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.RemoveDisksInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.RepairReplication

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

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

Example Usage: ReplicationProtectedItemsClient.Reprotect

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.ReverseReplicationInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.ResolveHealthErrors

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.ResolveHealthInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.SwitchProvider

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.SwitchProviderInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.TestFailover

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.TestFailoverInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.TestFailoverCleanup

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.TestFailoverCleanupInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.UnplannedFailover

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.UnplannedFailoverInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.Update

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.UpdateReplicationProtectedItemInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.UpdateAppliance

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.UpdateApplianceForReplicationProtectedItemInput{
	// ...
}


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

Example Usage: ReplicationProtectedItemsClient.UpdateMobilityService

ctx := context.TODO()
id := replicationprotecteditems.NewReplicationProtectedItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultName", "replicationFabricName", "replicationProtectionContainerName", "replicationProtectedItemName")

payload := replicationprotecteditems.UpdateMobilityServiceRequest{
	// ...
}


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

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func PossibleValuesForAgentUpgradeBlockedReason ¶

func PossibleValuesForAgentUpgradeBlockedReason() []string

func PossibleValuesForAutoProtectionOfDataDisk ¶

func PossibleValuesForAutoProtectionOfDataDisk() []string

func PossibleValuesForChurnOptionSelected ¶

func PossibleValuesForChurnOptionSelected() []string

func PossibleValuesForDisableProtectionReason ¶

func PossibleValuesForDisableProtectionReason() []string

func PossibleValuesForDiskAccountType ¶

func PossibleValuesForDiskAccountType() []string

func PossibleValuesForDiskReplicationProgressHealth ¶

func PossibleValuesForDiskReplicationProgressHealth() []string

func PossibleValuesForDiskState ¶

func PossibleValuesForDiskState() []string

func PossibleValuesForEthernetAddressType ¶

func PossibleValuesForEthernetAddressType() []string

func PossibleValuesForHealthErrorCustomerResolvability ¶

func PossibleValuesForHealthErrorCustomerResolvability() []string

func PossibleValuesForInMageRcmFailbackRecoveryPointType ¶

func PossibleValuesForInMageRcmFailbackRecoveryPointType() []string

func PossibleValuesForLicenseType ¶

func PossibleValuesForLicenseType() []string

func PossibleValuesForLinuxLicenseType ¶

func PossibleValuesForLinuxLicenseType() []string

func PossibleValuesForMobilityAgentUpgradeState ¶

func PossibleValuesForMobilityAgentUpgradeState() []string

func PossibleValuesForMultiVMGroupCreateOption ¶

func PossibleValuesForMultiVMGroupCreateOption() []string

func PossibleValuesForPlannedFailoverStatus ¶

func PossibleValuesForPlannedFailoverStatus() []string

func PossibleValuesForRecoveryPointType ¶

func PossibleValuesForRecoveryPointType() []string

func PossibleValuesForResyncState ¶

func PossibleValuesForResyncState() []string

func PossibleValuesForSecurityConfiguration ¶

func PossibleValuesForSecurityConfiguration() []string

func PossibleValuesForSecurityType ¶

func PossibleValuesForSecurityType() []string

func PossibleValuesForSqlServerLicenseType ¶

func PossibleValuesForSqlServerLicenseType() []string

func PossibleValuesForVMEncryptionType ¶

func PossibleValuesForVMEncryptionType() []string

func PossibleValuesForVMReplicationProgressHealth ¶

func PossibleValuesForVMReplicationProgressHealth() []string

func ValidateReplicationProtectedItemID ¶

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

ValidateReplicationProtectedItemID checks that 'input' can be parsed as a Replication Protected Item ID

func ValidateReplicationProtectionContainerID ¶

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

ValidateReplicationProtectionContainerID checks that 'input' can be parsed as a Replication Protection Container ID

func ValidateVaultID ¶

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

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

Types ¶

type A2AAddDisksInput ¶

type A2AAddDisksInput struct {
	VMDisks        *[]A2AVMDiskInputDetails        `json:"vmDisks,omitempty"`
	VMManagedDisks *[]A2AVMManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2AAddDisksInput) AddDisksProviderSpecificInput ¶

func (s A2AAddDisksInput) AddDisksProviderSpecificInput() BaseAddDisksProviderSpecificInputImpl

func (A2AAddDisksInput) MarshalJSON ¶

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

type A2AApplyRecoveryPointInput ¶

type A2AApplyRecoveryPointInput struct {
	InstanceType string `json:"instanceType"`
}

func (A2AApplyRecoveryPointInput) ApplyRecoveryPointProviderSpecificInput ¶

func (s A2AApplyRecoveryPointInput) ApplyRecoveryPointProviderSpecificInput() BaseApplyRecoveryPointProviderSpecificInputImpl

func (A2AApplyRecoveryPointInput) MarshalJSON ¶

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

type A2ACrossClusterMigrationApplyRecoveryPointInput ¶

type A2ACrossClusterMigrationApplyRecoveryPointInput struct {
	InstanceType string `json:"instanceType"`
}

func (A2ACrossClusterMigrationApplyRecoveryPointInput) ApplyRecoveryPointProviderSpecificInput ¶

func (A2ACrossClusterMigrationApplyRecoveryPointInput) MarshalJSON ¶

type A2ACrossClusterMigrationEnableProtectionInput ¶

type A2ACrossClusterMigrationEnableProtectionInput struct {
	FabricObjectId      *string `json:"fabricObjectId,omitempty"`
	RecoveryContainerId *string `json:"recoveryContainerId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2ACrossClusterMigrationEnableProtectionInput) EnableProtectionProviderSpecificInput ¶

func (A2ACrossClusterMigrationEnableProtectionInput) MarshalJSON ¶

type A2ACrossClusterMigrationReplicationDetails ¶

type A2ACrossClusterMigrationReplicationDetails struct {
	FabricObjectId               *string `json:"fabricObjectId,omitempty"`
	LifecycleId                  *string `json:"lifecycleId,omitempty"`
	OsType                       *string `json:"osType,omitempty"`
	PrimaryFabricLocation        *string `json:"primaryFabricLocation,omitempty"`
	VMProtectionState            *string `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription *string `json:"vmProtectionStateDescription,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2ACrossClusterMigrationReplicationDetails) MarshalJSON ¶

func (A2ACrossClusterMigrationReplicationDetails) ReplicationProviderSpecificSettings ¶

type A2AEnableProtectionInput ¶

type A2AEnableProtectionInput struct {
	AutoProtectionOfDataDisk           *AutoProtectionOfDataDisk       `json:"autoProtectionOfDataDisk,omitempty"`
	DiskEncryptionInfo                 *DiskEncryptionInfo             `json:"diskEncryptionInfo,omitempty"`
	FabricObjectId                     string                          `json:"fabricObjectId"`
	MultiVMGroupId                     *string                         `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName                   *string                         `json:"multiVmGroupName,omitempty"`
	ProtectionClusterId                *string                         `json:"protectionClusterId,omitempty"`
	RecoveryAvailabilitySetId          *string                         `json:"recoveryAvailabilitySetId,omitempty"`
	RecoveryAvailabilityZone           *string                         `json:"recoveryAvailabilityZone,omitempty"`
	RecoveryAzureNetworkId             *string                         `json:"recoveryAzureNetworkId,omitempty"`
	RecoveryBootDiagStorageAccountId   *string                         `json:"recoveryBootDiagStorageAccountId,omitempty"`
	RecoveryCapacityReservationGroupId *string                         `json:"recoveryCapacityReservationGroupId,omitempty"`
	RecoveryCloudServiceId             *string                         `json:"recoveryCloudServiceId,omitempty"`
	RecoveryContainerId                *string                         `json:"recoveryContainerId,omitempty"`
	RecoveryExtendedLocation           *edgezones.Model                `json:"recoveryExtendedLocation,omitempty"`
	RecoveryProximityPlacementGroupId  *string                         `json:"recoveryProximityPlacementGroupId,omitempty"`
	RecoveryResourceGroupId            *string                         `json:"recoveryResourceGroupId,omitempty"`
	RecoverySubnetName                 *string                         `json:"recoverySubnetName,omitempty"`
	RecoveryVirtualMachineScaleSetId   *string                         `json:"recoveryVirtualMachineScaleSetId,omitempty"`
	VMDisks                            *[]A2AVMDiskInputDetails        `json:"vmDisks,omitempty"`
	VMManagedDisks                     *[]A2AVMManagedDiskInputDetails `json:"vmManagedDisks,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2AEnableProtectionInput) EnableProtectionProviderSpecificInput ¶

func (s A2AEnableProtectionInput) EnableProtectionProviderSpecificInput() BaseEnableProtectionProviderSpecificInputImpl

func (A2AEnableProtectionInput) MarshalJSON ¶

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

type A2AProtectedDiskDetails ¶

type A2AProtectedDiskDetails struct {
	AllowedDiskLevelOperation              *[]string `json:"allowedDiskLevelOperation,omitempty"`
	DataPendingAtSourceAgentInMB           *float64  `json:"dataPendingAtSourceAgentInMB,omitempty"`
	DataPendingInStagingStorageAccountInMB *float64  `json:"dataPendingInStagingStorageAccountInMB,omitempty"`
	DekKeyVaultArmId                       *string   `json:"dekKeyVaultArmId,omitempty"`
	DiskCapacityInBytes                    *int64    `json:"diskCapacityInBytes,omitempty"`
	DiskName                               *string   `json:"diskName,omitempty"`
	DiskState                              *string   `json:"diskState,omitempty"`
	DiskType                               *string   `json:"diskType,omitempty"`
	DiskUri                                *string   `json:"diskUri,omitempty"`
	FailoverDiskName                       *string   `json:"failoverDiskName,omitempty"`
	IsDiskEncrypted                        *bool     `json:"isDiskEncrypted,omitempty"`
	IsDiskKeyEncrypted                     *bool     `json:"isDiskKeyEncrypted,omitempty"`
	KekKeyVaultArmId                       *string   `json:"kekKeyVaultArmId,omitempty"`
	KeyIdentifier                          *string   `json:"keyIdentifier,omitempty"`
	MonitoringJobType                      *string   `json:"monitoringJobType,omitempty"`
	MonitoringPercentageCompletion         *int64    `json:"monitoringPercentageCompletion,omitempty"`
	PrimaryDiskAzureStorageAccountId       *string   `json:"primaryDiskAzureStorageAccountId,omitempty"`
	PrimaryStagingAzureStorageAccountId    *string   `json:"primaryStagingAzureStorageAccountId,omitempty"`
	RecoveryAzureStorageAccountId          *string   `json:"recoveryAzureStorageAccountId,omitempty"`
	RecoveryDiskUri                        *string   `json:"recoveryDiskUri,omitempty"`
	ResyncRequired                         *bool     `json:"resyncRequired,omitempty"`
	SecretIdentifier                       *string   `json:"secretIdentifier,omitempty"`
	TfoDiskName                            *string   `json:"tfoDiskName,omitempty"`
}

type A2AProtectedManagedDiskDetails ¶

type A2AProtectedManagedDiskDetails struct {
	AllowedDiskLevelOperation              *[]string `json:"allowedDiskLevelOperation,omitempty"`
	DataPendingAtSourceAgentInMB           *float64  `json:"dataPendingAtSourceAgentInMB,omitempty"`
	DataPendingInStagingStorageAccountInMB *float64  `json:"dataPendingInStagingStorageAccountInMB,omitempty"`
	DekKeyVaultArmId                       *string   `json:"dekKeyVaultArmId,omitempty"`
	DiskCapacityInBytes                    *int64    `json:"diskCapacityInBytes,omitempty"`
	DiskId                                 *string   `json:"diskId,omitempty"`
	DiskName                               *string   `json:"diskName,omitempty"`
	DiskState                              *string   `json:"diskState,omitempty"`
	DiskType                               *string   `json:"diskType,omitempty"`
	FailoverDiskName                       *string   `json:"failoverDiskName,omitempty"`
	IsDiskEncrypted                        *bool     `json:"isDiskEncrypted,omitempty"`
	IsDiskKeyEncrypted                     *bool     `json:"isDiskKeyEncrypted,omitempty"`
	KekKeyVaultArmId                       *string   `json:"kekKeyVaultArmId,omitempty"`
	KeyIdentifier                          *string   `json:"keyIdentifier,omitempty"`
	MonitoringJobType                      *string   `json:"monitoringJobType,omitempty"`
	MonitoringPercentageCompletion         *int64    `json:"monitoringPercentageCompletion,omitempty"`
	PrimaryDiskEncryptionSetId             *string   `json:"primaryDiskEncryptionSetId,omitempty"`
	PrimaryStagingAzureStorageAccountId    *string   `json:"primaryStagingAzureStorageAccountId,omitempty"`
	RecoveryDiskEncryptionSetId            *string   `json:"recoveryDiskEncryptionSetId,omitempty"`
	RecoveryOrignalTargetDiskId            *string   `json:"recoveryOrignalTargetDiskId,omitempty"`
	RecoveryReplicaDiskAccountType         *string   `json:"recoveryReplicaDiskAccountType,omitempty"`
	RecoveryReplicaDiskId                  *string   `json:"recoveryReplicaDiskId,omitempty"`
	RecoveryResourceGroupId                *string   `json:"recoveryResourceGroupId,omitempty"`
	RecoveryTargetDiskAccountType          *string   `json:"recoveryTargetDiskAccountType,omitempty"`
	RecoveryTargetDiskId                   *string   `json:"recoveryTargetDiskId,omitempty"`
	ResyncRequired                         *bool     `json:"resyncRequired,omitempty"`
	SecretIdentifier                       *string   `json:"secretIdentifier,omitempty"`
	TfoDiskName                            *string   `json:"tfoDiskName,omitempty"`
}

type A2ARemoveDisksInput ¶

type A2ARemoveDisksInput struct {
	VMDisksUris       *[]string `json:"vmDisksUris,omitempty"`
	VMManagedDisksIds *[]string `json:"vmManagedDisksIds,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2ARemoveDisksInput) MarshalJSON ¶

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

func (A2ARemoveDisksInput) RemoveDisksProviderSpecificInput ¶

func (s A2ARemoveDisksInput) RemoveDisksProviderSpecificInput() BaseRemoveDisksProviderSpecificInputImpl

type A2AReplicationDetails ¶

type A2AReplicationDetails struct {
	AgentCertificateExpiryDate                  *string                            `json:"agentCertificateExpiryDate,omitempty"`
	AgentExpiryDate                             *string                            `json:"agentExpiryDate,omitempty"`
	AgentVersion                                *string                            `json:"agentVersion,omitempty"`
	AutoProtectionOfDataDisk                    *AutoProtectionOfDataDisk          `json:"autoProtectionOfDataDisk,omitempty"`
	ChurnOptionSelected                         *ChurnOptionSelected               `json:"churnOptionSelected,omitempty"`
	FabricObjectId                              *string                            `json:"fabricObjectId,omitempty"`
	InitialPrimaryExtendedLocation              *edgezones.Model                   `json:"initialPrimaryExtendedLocation,omitempty"`
	InitialPrimaryFabricLocation                *string                            `json:"initialPrimaryFabricLocation,omitempty"`
	InitialPrimaryZone                          *string                            `json:"initialPrimaryZone,omitempty"`
	InitialRecoveryExtendedLocation             *edgezones.Model                   `json:"initialRecoveryExtendedLocation,omitempty"`
	InitialRecoveryFabricLocation               *string                            `json:"initialRecoveryFabricLocation,omitempty"`
	InitialRecoveryZone                         *string                            `json:"initialRecoveryZone,omitempty"`
	IsClusterInfraReady                         *bool                              `json:"isClusterInfraReady,omitempty"`
	IsReplicationAgentCertificateUpdateRequired *bool                              `json:"isReplicationAgentCertificateUpdateRequired,omitempty"`
	IsReplicationAgentUpdateRequired            *bool                              `json:"isReplicationAgentUpdateRequired,omitempty"`
	LastHeartbeat                               *string                            `json:"lastHeartbeat,omitempty"`
	LastRpoCalculatedTime                       *string                            `json:"lastRpoCalculatedTime,omitempty"`
	LifecycleId                                 *string                            `json:"lifecycleId,omitempty"`
	ManagementId                                *string                            `json:"managementId,omitempty"`
	MonitoringJobType                           *string                            `json:"monitoringJobType,omitempty"`
	MonitoringPercentageCompletion              *int64                             `json:"monitoringPercentageCompletion,omitempty"`
	MultiVMGroupCreateOption                    *MultiVMGroupCreateOption          `json:"multiVmGroupCreateOption,omitempty"`
	MultiVMGroupId                              *string                            `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName                            *string                            `json:"multiVmGroupName,omitempty"`
	OsType                                      *string                            `json:"osType,omitempty"`
	PrimaryAvailabilityZone                     *string                            `json:"primaryAvailabilityZone,omitempty"`
	PrimaryExtendedLocation                     *edgezones.Model                   `json:"primaryExtendedLocation,omitempty"`
	PrimaryFabricLocation                       *string                            `json:"primaryFabricLocation,omitempty"`
	ProtectedDisks                              *[]A2AProtectedDiskDetails         `json:"protectedDisks,omitempty"`
	ProtectedManagedDisks                       *[]A2AProtectedManagedDiskDetails  `json:"protectedManagedDisks,omitempty"`
	ProtectionClusterId                         *string                            `json:"protectionClusterId,omitempty"`
	RecoveryAvailabilitySet                     *string                            `json:"recoveryAvailabilitySet,omitempty"`
	RecoveryAvailabilityZone                    *string                            `json:"recoveryAvailabilityZone,omitempty"`
	RecoveryAzureGeneration                     *string                            `json:"recoveryAzureGeneration,omitempty"`
	RecoveryAzureResourceGroupId                *string                            `json:"recoveryAzureResourceGroupId,omitempty"`
	RecoveryAzureVMName                         *string                            `json:"recoveryAzureVMName,omitempty"`
	RecoveryAzureVMSize                         *string                            `json:"recoveryAzureVMSize,omitempty"`
	RecoveryBootDiagStorageAccountId            *string                            `json:"recoveryBootDiagStorageAccountId,omitempty"`
	RecoveryCapacityReservationGroupId          *string                            `json:"recoveryCapacityReservationGroupId,omitempty"`
	RecoveryCloudService                        *string                            `json:"recoveryCloudService,omitempty"`
	RecoveryExtendedLocation                    *edgezones.Model                   `json:"recoveryExtendedLocation,omitempty"`
	RecoveryFabricLocation                      *string                            `json:"recoveryFabricLocation,omitempty"`
	RecoveryFabricObjectId                      *string                            `json:"recoveryFabricObjectId,omitempty"`
	RecoveryProximityPlacementGroupId           *string                            `json:"recoveryProximityPlacementGroupId,omitempty"`
	RecoveryVirtualMachineScaleSetId            *string                            `json:"recoveryVirtualMachineScaleSetId,omitempty"`
	RpoInSeconds                                *int64                             `json:"rpoInSeconds,omitempty"`
	SelectedRecoveryAzureNetworkId              *string                            `json:"selectedRecoveryAzureNetworkId,omitempty"`
	SelectedTfoAzureNetworkId                   *string                            `json:"selectedTfoAzureNetworkId,omitempty"`
	TestFailoverRecoveryFabricObjectId          *string                            `json:"testFailoverRecoveryFabricObjectId,omitempty"`
	TfoAzureVMName                              *string                            `json:"tfoAzureVMName,omitempty"`
	UnprotectedDisks                            *[]A2AUnprotectedDiskDetails       `json:"unprotectedDisks,omitempty"`
	VMEncryptionType                            *VMEncryptionType                  `json:"vmEncryptionType,omitempty"`
	VMNics                                      *[]VMNicDetails                    `json:"vmNics,omitempty"`
	VMProtectionState                           *string                            `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription                *string                            `json:"vmProtectionStateDescription,omitempty"`
	VMSyncedConfigDetails                       *AzureToAzureVMSyncedConfigDetails `json:"vmSyncedConfigDetails,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2AReplicationDetails) MarshalJSON ¶

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

func (A2AReplicationDetails) ReplicationProviderSpecificSettings ¶

func (s A2AReplicationDetails) ReplicationProviderSpecificSettings() BaseReplicationProviderSpecificSettingsImpl

type A2AReprotectInput ¶

type A2AReprotectInput struct {
	PolicyId                  *string                  `json:"policyId,omitempty"`
	RecoveryAvailabilitySetId *string                  `json:"recoveryAvailabilitySetId,omitempty"`
	RecoveryCloudServiceId    *string                  `json:"recoveryCloudServiceId,omitempty"`
	RecoveryContainerId       *string                  `json:"recoveryContainerId,omitempty"`
	RecoveryResourceGroupId   *string                  `json:"recoveryResourceGroupId,omitempty"`
	VMDisks                   *[]A2AVMDiskInputDetails `json:"vmDisks,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2AReprotectInput) MarshalJSON ¶

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

func (A2AReprotectInput) ReverseReplicationProviderSpecificInput ¶

func (s A2AReprotectInput) ReverseReplicationProviderSpecificInput() BaseReverseReplicationProviderSpecificInputImpl

type A2ATestFailoverInput ¶

type A2ATestFailoverInput struct {
	CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"`
	RecoveryPointId            *string `json:"recoveryPointId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2ATestFailoverInput) MarshalJSON ¶

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

func (A2ATestFailoverInput) TestFailoverProviderSpecificInput ¶

func (s A2ATestFailoverInput) TestFailoverProviderSpecificInput() BaseTestFailoverProviderSpecificInputImpl

type A2AUnplannedFailoverInput ¶

type A2AUnplannedFailoverInput struct {
	CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"`
	RecoveryPointId            *string `json:"recoveryPointId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2AUnplannedFailoverInput) MarshalJSON ¶

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

func (A2AUnplannedFailoverInput) UnplannedFailoverProviderSpecificInput ¶

func (s A2AUnplannedFailoverInput) UnplannedFailoverProviderSpecificInput() BaseUnplannedFailoverProviderSpecificInputImpl

type A2AUnprotectedDiskDetails ¶

type A2AUnprotectedDiskDetails struct {
	DiskAutoProtectionStatus *AutoProtectionOfDataDisk `json:"diskAutoProtectionStatus,omitempty"`
	DiskLunId                *int64                    `json:"diskLunId,omitempty"`
}

type A2AUpdateReplicationProtectedItemInput ¶

type A2AUpdateReplicationProtectedItemInput struct {
	DiskEncryptionInfo                 *DiskEncryptionInfo              `json:"diskEncryptionInfo,omitempty"`
	ManagedDiskUpdateDetails           *[]A2AVMManagedDiskUpdateDetails `json:"managedDiskUpdateDetails,omitempty"`
	RecoveryBootDiagStorageAccountId   *string                          `json:"recoveryBootDiagStorageAccountId,omitempty"`
	RecoveryCapacityReservationGroupId *string                          `json:"recoveryCapacityReservationGroupId,omitempty"`
	RecoveryCloudServiceId             *string                          `json:"recoveryCloudServiceId,omitempty"`
	RecoveryProximityPlacementGroupId  *string                          `json:"recoveryProximityPlacementGroupId,omitempty"`
	RecoveryResourceGroupId            *string                          `json:"recoveryResourceGroupId,omitempty"`
	RecoveryVirtualMachineScaleSetId   *string                          `json:"recoveryVirtualMachineScaleSetId,omitempty"`
	TfoAzureVMName                     *string                          `json:"tfoAzureVMName,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (A2AUpdateReplicationProtectedItemInput) MarshalJSON ¶

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

func (A2AUpdateReplicationProtectedItemInput) UpdateReplicationProtectedItemProviderInput ¶

type A2AVMDiskInputDetails ¶

type A2AVMDiskInputDetails struct {
	DiskUri                             string `json:"diskUri"`
	PrimaryStagingAzureStorageAccountId string `json:"primaryStagingAzureStorageAccountId"`
	RecoveryAzureStorageAccountId       string `json:"recoveryAzureStorageAccountId"`
}

type A2AVMManagedDiskInputDetails ¶

type A2AVMManagedDiskInputDetails struct {
	DiskEncryptionInfo                  *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
	DiskId                              string              `json:"diskId"`
	PrimaryStagingAzureStorageAccountId string              `json:"primaryStagingAzureStorageAccountId"`
	RecoveryDiskEncryptionSetId         *string             `json:"recoveryDiskEncryptionSetId,omitempty"`
	RecoveryReplicaDiskAccountType      *string             `json:"recoveryReplicaDiskAccountType,omitempty"`
	RecoveryResourceGroupId             string              `json:"recoveryResourceGroupId"`
	RecoveryTargetDiskAccountType       *string             `json:"recoveryTargetDiskAccountType,omitempty"`
}

type A2AVMManagedDiskUpdateDetails ¶

type A2AVMManagedDiskUpdateDetails struct {
	DiskEncryptionInfo             *DiskEncryptionInfo `json:"diskEncryptionInfo,omitempty"`
	DiskId                         *string             `json:"diskId,omitempty"`
	FailoverDiskName               *string             `json:"failoverDiskName,omitempty"`
	RecoveryReplicaDiskAccountType *string             `json:"recoveryReplicaDiskAccountType,omitempty"`
	RecoveryTargetDiskAccountType  *string             `json:"recoveryTargetDiskAccountType,omitempty"`
	TfoDiskName                    *string             `json:"tfoDiskName,omitempty"`
}

type AddDisksInput ¶

type AddDisksInput struct {
	Properties *AddDisksInputProperties `json:"properties,omitempty"`
}

type AddDisksInputProperties ¶

type AddDisksInputProperties struct {
	ProviderSpecificDetails AddDisksProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*AddDisksInputProperties) UnmarshalJSON ¶

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

type AddDisksOperationResponse ¶

type AddDisksOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type AddDisksProviderSpecificInput ¶

type AddDisksProviderSpecificInput interface {
	AddDisksProviderSpecificInput() BaseAddDisksProviderSpecificInputImpl
}

func UnmarshalAddDisksProviderSpecificInputImplementation ¶

func UnmarshalAddDisksProviderSpecificInputImplementation(input []byte) (AddDisksProviderSpecificInput, error)

type AgentUpgradeBlockedReason ¶

type AgentUpgradeBlockedReason string
const (
	AgentUpgradeBlockedReasonAgentNoHeartbeat              AgentUpgradeBlockedReason = "AgentNoHeartbeat"
	AgentUpgradeBlockedReasonAlreadyOnLatestVersion        AgentUpgradeBlockedReason = "AlreadyOnLatestVersion"
	AgentUpgradeBlockedReasonDistroIsNotReported           AgentUpgradeBlockedReason = "DistroIsNotReported"
	AgentUpgradeBlockedReasonDistroNotSupportedForUpgrade  AgentUpgradeBlockedReason = "DistroNotSupportedForUpgrade"
	AgentUpgradeBlockedReasonIncompatibleApplianceVersion  AgentUpgradeBlockedReason = "IncompatibleApplianceVersion"
	AgentUpgradeBlockedReasonInvalidAgentVersion           AgentUpgradeBlockedReason = "InvalidAgentVersion"
	AgentUpgradeBlockedReasonInvalidDriverVersion          AgentUpgradeBlockedReason = "InvalidDriverVersion"
	AgentUpgradeBlockedReasonMissingUpgradePath            AgentUpgradeBlockedReason = "MissingUpgradePath"
	AgentUpgradeBlockedReasonNotProtected                  AgentUpgradeBlockedReason = "NotProtected"
	AgentUpgradeBlockedReasonProcessServerNoHeartbeat      AgentUpgradeBlockedReason = "ProcessServerNoHeartbeat"
	AgentUpgradeBlockedReasonRcmProxyNoHeartbeat           AgentUpgradeBlockedReason = "RcmProxyNoHeartbeat"
	AgentUpgradeBlockedReasonRebootRequired                AgentUpgradeBlockedReason = "RebootRequired"
	AgentUpgradeBlockedReasonUnknown                       AgentUpgradeBlockedReason = "Unknown"
	AgentUpgradeBlockedReasonUnsupportedProtectionScenario AgentUpgradeBlockedReason = "UnsupportedProtectionScenario"
)

func (*AgentUpgradeBlockedReason) UnmarshalJSON ¶

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

type ApplyRecoveryPointInput ¶

type ApplyRecoveryPointInput struct {
	Properties ApplyRecoveryPointInputProperties `json:"properties"`
}

type ApplyRecoveryPointInputProperties ¶

type ApplyRecoveryPointInputProperties struct {
	ProviderSpecificDetails ApplyRecoveryPointProviderSpecificInput `json:"providerSpecificDetails"`
	RecoveryPointId         *string                                 `json:"recoveryPointId,omitempty"`
}

func (*ApplyRecoveryPointInputProperties) UnmarshalJSON ¶

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

type ApplyRecoveryPointOperationResponse ¶

type ApplyRecoveryPointOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type ApplyRecoveryPointProviderSpecificInput ¶

type ApplyRecoveryPointProviderSpecificInput interface {
	ApplyRecoveryPointProviderSpecificInput() BaseApplyRecoveryPointProviderSpecificInputImpl
}

func UnmarshalApplyRecoveryPointProviderSpecificInputImplementation ¶

func UnmarshalApplyRecoveryPointProviderSpecificInputImplementation(input []byte) (ApplyRecoveryPointProviderSpecificInput, error)

type AutoProtectionOfDataDisk ¶

type AutoProtectionOfDataDisk string
const (
	AutoProtectionOfDataDiskDisabled AutoProtectionOfDataDisk = "Disabled"
	AutoProtectionOfDataDiskEnabled  AutoProtectionOfDataDisk = "Enabled"
)

func (*AutoProtectionOfDataDisk) UnmarshalJSON ¶

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

type AzureToAzureVMSyncedConfigDetails ¶

type AzureToAzureVMSyncedConfigDetails struct {
	InputEndpoints *[]InputEndpoint   `json:"inputEndpoints,omitempty"`
	Tags           *map[string]string `json:"tags,omitempty"`
}

type AzureVMDiskDetails ¶

type AzureVMDiskDetails struct {
	CustomTargetDiskName *string `json:"customTargetDiskName,omitempty"`
	DiskEncryptionSetId  *string `json:"diskEncryptionSetId,omitempty"`
	DiskId               *string `json:"diskId,omitempty"`
	LunId                *string `json:"lunId,omitempty"`
	MaxSizeMB            *string `json:"maxSizeMB,omitempty"`
	TargetDiskLocation   *string `json:"targetDiskLocation,omitempty"`
	TargetDiskName       *string `json:"targetDiskName,omitempty"`
	VhdId                *string `json:"vhdId,omitempty"`
	VhdName              *string `json:"vhdName,omitempty"`
	VhdType              *string `json:"vhdType,omitempty"`
}

type BaseAddDisksProviderSpecificInputImpl ¶

type BaseAddDisksProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseAddDisksProviderSpecificInputImpl) AddDisksProviderSpecificInput ¶

type BaseApplyRecoveryPointProviderSpecificInputImpl ¶

type BaseApplyRecoveryPointProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseApplyRecoveryPointProviderSpecificInputImpl) ApplyRecoveryPointProviderSpecificInput ¶

type BaseDisableProtectionProviderSpecificInputImpl ¶

type BaseDisableProtectionProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseDisableProtectionProviderSpecificInputImpl) DisableProtectionProviderSpecificInput ¶

type BaseEnableProtectionProviderSpecificInputImpl ¶

type BaseEnableProtectionProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseEnableProtectionProviderSpecificInputImpl) EnableProtectionProviderSpecificInput ¶

type BasePlannedFailoverProviderSpecificFailoverInputImpl ¶

type BasePlannedFailoverProviderSpecificFailoverInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BasePlannedFailoverProviderSpecificFailoverInputImpl) PlannedFailoverProviderSpecificFailoverInput ¶

type BaseRemoveDisksProviderSpecificInputImpl ¶

type BaseRemoveDisksProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseRemoveDisksProviderSpecificInputImpl) RemoveDisksProviderSpecificInput ¶

type BaseReplicationProviderSpecificSettingsImpl ¶

type BaseReplicationProviderSpecificSettingsImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseReplicationProviderSpecificSettingsImpl) ReplicationProviderSpecificSettings ¶

type BaseReverseReplicationProviderSpecificInputImpl ¶

type BaseReverseReplicationProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseReverseReplicationProviderSpecificInputImpl) ReverseReplicationProviderSpecificInput ¶

type BaseSwitchProviderProviderSpecificInputImpl ¶

type BaseSwitchProviderProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseSwitchProviderProviderSpecificInputImpl) SwitchProviderProviderSpecificInput ¶

type BaseTestFailoverProviderSpecificInputImpl ¶

type BaseTestFailoverProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseTestFailoverProviderSpecificInputImpl) TestFailoverProviderSpecificInput ¶

type BaseUnplannedFailoverProviderSpecificInputImpl ¶

type BaseUnplannedFailoverProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseUnplannedFailoverProviderSpecificInputImpl) UnplannedFailoverProviderSpecificInput ¶

type BaseUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl ¶

type BaseUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl) UpdateApplianceForReplicationProtectedItemProviderSpecificInput ¶

type BaseUpdateReplicationProtectedItemProviderInputImpl ¶

type BaseUpdateReplicationProtectedItemProviderInputImpl struct {
	InstanceType string `json:"instanceType"`
}

func (BaseUpdateReplicationProtectedItemProviderInputImpl) UpdateReplicationProtectedItemProviderInput ¶

type ChurnOptionSelected ¶

type ChurnOptionSelected string
const (
	ChurnOptionSelectedHigh   ChurnOptionSelected = "High"
	ChurnOptionSelectedNormal ChurnOptionSelected = "Normal"
)

func (*ChurnOptionSelected) UnmarshalJSON ¶

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

type CreateOperationResponse ¶

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type CurrentScenarioDetails ¶

type CurrentScenarioDetails struct {
	JobId        *string `json:"jobId,omitempty"`
	ScenarioName *string `json:"scenarioName,omitempty"`
	StartTime    *string `json:"startTime,omitempty"`
}

func (*CurrentScenarioDetails) GetStartTimeAsTime ¶

func (o *CurrentScenarioDetails) GetStartTimeAsTime() (*time.Time, error)

func (*CurrentScenarioDetails) SetStartTimeAsTime ¶

func (o *CurrentScenarioDetails) SetStartTimeAsTime(input time.Time)

type DeleteOperationResponse ¶

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DisableProtectionInput ¶

type DisableProtectionInput struct {
	Properties DisableProtectionInputProperties `json:"properties"`
}

type DisableProtectionInputProperties ¶

type DisableProtectionInputProperties struct {
	DisableProtectionReason  *DisableProtectionReason               `json:"disableProtectionReason,omitempty"`
	ReplicationProviderInput DisableProtectionProviderSpecificInput `json:"replicationProviderInput"`
}

func (*DisableProtectionInputProperties) UnmarshalJSON ¶

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

type DisableProtectionProviderSpecificInput ¶

type DisableProtectionProviderSpecificInput interface {
	DisableProtectionProviderSpecificInput() BaseDisableProtectionProviderSpecificInputImpl
}

func UnmarshalDisableProtectionProviderSpecificInputImplementation ¶

func UnmarshalDisableProtectionProviderSpecificInputImplementation(input []byte) (DisableProtectionProviderSpecificInput, error)

type DisableProtectionReason ¶

type DisableProtectionReason string
const (
	DisableProtectionReasonMigrationComplete DisableProtectionReason = "MigrationComplete"
	DisableProtectionReasonNotSpecified      DisableProtectionReason = "NotSpecified"
)

func (*DisableProtectionReason) UnmarshalJSON ¶

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

type DiskAccountType ¶

type DiskAccountType string
const (
	DiskAccountTypePremiumLRS     DiskAccountType = "Premium_LRS"
	DiskAccountTypePremiumVTwoLRS DiskAccountType = "PremiumV2_LRS"
	DiskAccountTypePremiumZRS     DiskAccountType = "Premium_ZRS"
	DiskAccountTypeStandardLRS    DiskAccountType = "Standard_LRS"
	DiskAccountTypeStandardSSDLRS DiskAccountType = "StandardSSD_LRS"
	DiskAccountTypeStandardSSDZRS DiskAccountType = "StandardSSD_ZRS"
	DiskAccountTypeUltraSSDLRS    DiskAccountType = "UltraSSD_LRS"
)

func (*DiskAccountType) UnmarshalJSON ¶

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

type DiskDetails ¶

type DiskDetails struct {
	MaxSizeMB *int64  `json:"maxSizeMB,omitempty"`
	VhdId     *string `json:"vhdId,omitempty"`
	VhdName   *string `json:"vhdName,omitempty"`
	VhdType   *string `json:"vhdType,omitempty"`
}

type DiskEncryptionInfo ¶

type DiskEncryptionInfo struct {
	DiskEncryptionKeyInfo *DiskEncryptionKeyInfo `json:"diskEncryptionKeyInfo,omitempty"`
	KeyEncryptionKeyInfo  *KeyEncryptionKeyInfo  `json:"keyEncryptionKeyInfo,omitempty"`
}

type DiskEncryptionKeyInfo ¶

type DiskEncryptionKeyInfo struct {
	KeyVaultResourceArmId *string `json:"keyVaultResourceArmId,omitempty"`
	SecretIdentifier      *string `json:"secretIdentifier,omitempty"`
}

type DiskReplicationProgressHealth ¶

type DiskReplicationProgressHealth string
const (
	DiskReplicationProgressHealthInProgress   DiskReplicationProgressHealth = "InProgress"
	DiskReplicationProgressHealthNoProgress   DiskReplicationProgressHealth = "NoProgress"
	DiskReplicationProgressHealthNone         DiskReplicationProgressHealth = "None"
	DiskReplicationProgressHealthQueued       DiskReplicationProgressHealth = "Queued"
	DiskReplicationProgressHealthSlowProgress DiskReplicationProgressHealth = "SlowProgress"
)

func (*DiskReplicationProgressHealth) UnmarshalJSON ¶

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

type DiskState ¶

type DiskState string
const (
	DiskStateInitialReplicationFailed  DiskState = "InitialReplicationFailed"
	DiskStateInitialReplicationPending DiskState = "InitialReplicationPending"
	DiskStateProtected                 DiskState = "Protected"
	DiskStateUnavailable               DiskState = "Unavailable"
)

func (*DiskState) UnmarshalJSON ¶

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

type EnableProtectionInput ¶

type EnableProtectionInput struct {
	Properties *EnableProtectionInputProperties `json:"properties,omitempty"`
}

type EnableProtectionInputProperties ¶

type EnableProtectionInputProperties struct {
	PolicyId                *string                               `json:"policyId,omitempty"`
	ProtectableItemId       *string                               `json:"protectableItemId,omitempty"`
	ProviderSpecificDetails EnableProtectionProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*EnableProtectionInputProperties) UnmarshalJSON ¶

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

type EnableProtectionProviderSpecificInput ¶

type EnableProtectionProviderSpecificInput interface {
	EnableProtectionProviderSpecificInput() BaseEnableProtectionProviderSpecificInputImpl
}

func UnmarshalEnableProtectionProviderSpecificInputImplementation ¶

func UnmarshalEnableProtectionProviderSpecificInputImplementation(input []byte) (EnableProtectionProviderSpecificInput, error)

type EthernetAddressType ¶

type EthernetAddressType string
const (
	EthernetAddressTypeDynamic EthernetAddressType = "Dynamic"
	EthernetAddressTypeStatic  EthernetAddressType = "Static"
)

func (*EthernetAddressType) UnmarshalJSON ¶

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

type FailoverCancelOperationResponse ¶

type FailoverCancelOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type FailoverCommitOperationResponse ¶

type FailoverCommitOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type GetOperationResponse ¶

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type HealthError ¶

type HealthError struct {
	CreationTimeUtc              *string                           `json:"creationTimeUtc,omitempty"`
	CustomerResolvability        *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"`
	EntityId                     *string                           `json:"entityId,omitempty"`
	ErrorCategory                *string                           `json:"errorCategory,omitempty"`
	ErrorCode                    *string                           `json:"errorCode,omitempty"`
	ErrorId                      *string                           `json:"errorId,omitempty"`
	ErrorLevel                   *string                           `json:"errorLevel,omitempty"`
	ErrorMessage                 *string                           `json:"errorMessage,omitempty"`
	ErrorSource                  *string                           `json:"errorSource,omitempty"`
	ErrorType                    *string                           `json:"errorType,omitempty"`
	InnerHealthErrors            *[]InnerHealthError               `json:"innerHealthErrors,omitempty"`
	PossibleCauses               *string                           `json:"possibleCauses,omitempty"`
	RecommendedAction            *string                           `json:"recommendedAction,omitempty"`
	RecoveryProviderErrorMessage *string                           `json:"recoveryProviderErrorMessage,omitempty"`
	SummaryMessage               *string                           `json:"summaryMessage,omitempty"`
}

func (*HealthError) GetCreationTimeUtcAsTime ¶

func (o *HealthError) GetCreationTimeUtcAsTime() (*time.Time, error)

func (*HealthError) SetCreationTimeUtcAsTime ¶

func (o *HealthError) SetCreationTimeUtcAsTime(input time.Time)

type HealthErrorCustomerResolvability ¶

type HealthErrorCustomerResolvability string
const (
	HealthErrorCustomerResolvabilityAllowed    HealthErrorCustomerResolvability = "Allowed"
	HealthErrorCustomerResolvabilityNotAllowed HealthErrorCustomerResolvability = "NotAllowed"
)

func (*HealthErrorCustomerResolvability) UnmarshalJSON ¶

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

type HyperVReplicaAzureApplyRecoveryPointInput ¶

type HyperVReplicaAzureApplyRecoveryPointInput struct {
	PrimaryKekCertificatePfx   *string `json:"primaryKekCertificatePfx,omitempty"`
	SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureApplyRecoveryPointInput) ApplyRecoveryPointProviderSpecificInput ¶

func (HyperVReplicaAzureApplyRecoveryPointInput) MarshalJSON ¶

type HyperVReplicaAzureDiskInputDetails ¶

type HyperVReplicaAzureDiskInputDetails struct {
	DiskEncryptionSetId *string          `json:"diskEncryptionSetId,omitempty"`
	DiskId              *string          `json:"diskId,omitempty"`
	DiskType            *DiskAccountType `json:"diskType,omitempty"`
	LogStorageAccountId *string          `json:"logStorageAccountId,omitempty"`
	SectorSizeInBytes   *int64           `json:"sectorSizeInBytes,omitempty"`
}

type HyperVReplicaAzureEnableProtectionInput ¶

type HyperVReplicaAzureEnableProtectionInput struct {
	DiskEncryptionSetId             *string                               `json:"diskEncryptionSetId,omitempty"`
	DiskType                        *DiskAccountType                      `json:"diskType,omitempty"`
	DisksToInclude                  *[]string                             `json:"disksToInclude,omitempty"`
	DisksToIncludeForManagedDisks   *[]HyperVReplicaAzureDiskInputDetails `json:"disksToIncludeForManagedDisks,omitempty"`
	EnableRdpOnTargetOption         *string                               `json:"enableRdpOnTargetOption,omitempty"`
	HvHostVMId                      *string                               `json:"hvHostVmId,omitempty"`
	LicenseType                     *LicenseType                          `json:"licenseType,omitempty"`
	LinuxLicenseType                *LinuxLicenseType                     `json:"linuxLicenseType,omitempty"`
	LogStorageAccountId             *string                               `json:"logStorageAccountId,omitempty"`
	OsType                          *string                               `json:"osType,omitempty"`
	SeedManagedDiskTags             *map[string]string                    `json:"seedManagedDiskTags,omitempty"`
	SqlServerLicenseType            *SqlServerLicenseType                 `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilitySetId         *string                               `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone          *string                               `json:"targetAvailabilityZone,omitempty"`
	TargetAzureNetworkId            *string                               `json:"targetAzureNetworkId,omitempty"`
	TargetAzureSubnetId             *string                               `json:"targetAzureSubnetId,omitempty"`
	TargetAzureV1ResourceGroupId    *string                               `json:"targetAzureV1ResourceGroupId,omitempty"`
	TargetAzureV2ResourceGroupId    *string                               `json:"targetAzureV2ResourceGroupId,omitempty"`
	TargetAzureVMName               *string                               `json:"targetAzureVmName,omitempty"`
	TargetManagedDiskTags           *map[string]string                    `json:"targetManagedDiskTags,omitempty"`
	TargetNicTags                   *map[string]string                    `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId *string                               `json:"targetProximityPlacementGroupId,omitempty"`
	TargetStorageAccountId          *string                               `json:"targetStorageAccountId,omitempty"`
	TargetVMSecurityProfile         *SecurityProfileProperties            `json:"targetVmSecurityProfile,omitempty"`
	TargetVMSize                    *string                               `json:"targetVmSize,omitempty"`
	TargetVMTags                    *map[string]string                    `json:"targetVmTags,omitempty"`
	UseManagedDisks                 *string                               `json:"useManagedDisks,omitempty"`
	UseManagedDisksForReplication   *string                               `json:"useManagedDisksForReplication,omitempty"`
	UserSelectedOSName              *string                               `json:"userSelectedOSName,omitempty"`
	VhdId                           *string                               `json:"vhdId,omitempty"`
	VirtualMachineName              *string                               `json:"vmName,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureEnableProtectionInput) EnableProtectionProviderSpecificInput ¶

func (HyperVReplicaAzureEnableProtectionInput) MarshalJSON ¶

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

type HyperVReplicaAzureFailbackProviderInput ¶

type HyperVReplicaAzureFailbackProviderInput struct {
	DataSyncOption                 *string `json:"dataSyncOption,omitempty"`
	ProviderIdForAlternateRecovery *string `json:"providerIdForAlternateRecovery,omitempty"`
	RecoveryVMCreationOption       *string `json:"recoveryVmCreationOption,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureFailbackProviderInput) MarshalJSON ¶

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

func (HyperVReplicaAzureFailbackProviderInput) PlannedFailoverProviderSpecificFailoverInput ¶

type HyperVReplicaAzureManagedDiskDetails ¶

type HyperVReplicaAzureManagedDiskDetails struct {
	DiskEncryptionSetId   *string          `json:"diskEncryptionSetId,omitempty"`
	DiskId                *string          `json:"diskId,omitempty"`
	ReplicaDiskType       *string          `json:"replicaDiskType,omitempty"`
	SectorSizeInBytes     *int64           `json:"sectorSizeInBytes,omitempty"`
	SeedManagedDiskId     *string          `json:"seedManagedDiskId,omitempty"`
	TargetDiskAccountType *DiskAccountType `json:"targetDiskAccountType,omitempty"`
}

type HyperVReplicaAzurePlannedFailoverProviderInput ¶

type HyperVReplicaAzurePlannedFailoverProviderInput struct {
	OsUpgradeVersion           *string `json:"osUpgradeVersion,omitempty"`
	PrimaryKekCertificatePfx   *string `json:"primaryKekCertificatePfx,omitempty"`
	RecoveryPointId            *string `json:"recoveryPointId,omitempty"`
	SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzurePlannedFailoverProviderInput) MarshalJSON ¶

func (HyperVReplicaAzurePlannedFailoverProviderInput) PlannedFailoverProviderSpecificFailoverInput ¶

type HyperVReplicaAzureReplicationDetails ¶

type HyperVReplicaAzureReplicationDetails struct {
	AllAvailableOSUpgradeConfigurations *[]OSUpgradeSupportedVersions           `json:"allAvailableOSUpgradeConfigurations,omitempty"`
	AzureVMDiskDetails                  *[]AzureVMDiskDetails                   `json:"azureVmDiskDetails,omitempty"`
	EnableRdpOnTargetOption             *string                                 `json:"enableRdpOnTargetOption,omitempty"`
	Encryption                          *string                                 `json:"encryption,omitempty"`
	InitialReplicationDetails           *InitialReplicationDetails              `json:"initialReplicationDetails,omitempty"`
	LastRecoveryPointReceived           *string                                 `json:"lastRecoveryPointReceived,omitempty"`
	LastReplicatedTime                  *string                                 `json:"lastReplicatedTime,omitempty"`
	LastRpoCalculatedTime               *string                                 `json:"lastRpoCalculatedTime,omitempty"`
	LicenseType                         *string                                 `json:"licenseType,omitempty"`
	LinuxLicenseType                    *LinuxLicenseType                       `json:"linuxLicenseType,omitempty"`
	OSDetails                           *OSDetails                              `json:"oSDetails,omitempty"`
	ProtectedManagedDisks               *[]HyperVReplicaAzureManagedDiskDetails `json:"protectedManagedDisks,omitempty"`
	RecoveryAvailabilitySetId           *string                                 `json:"recoveryAvailabilitySetId,omitempty"`
	RecoveryAzureLogStorageAccountId    *string                                 `json:"recoveryAzureLogStorageAccountId,omitempty"`
	RecoveryAzureResourceGroupId        *string                                 `json:"recoveryAzureResourceGroupId,omitempty"`
	RecoveryAzureStorageAccount         *string                                 `json:"recoveryAzureStorageAccount,omitempty"`
	RecoveryAzureVMName                 *string                                 `json:"recoveryAzureVmName,omitempty"`
	RecoveryAzureVMSize                 *string                                 `json:"recoveryAzureVMSize,omitempty"`
	RpoInSeconds                        *int64                                  `json:"rpoInSeconds,omitempty"`
	SeedManagedDiskTags                 *map[string]string                      `json:"seedManagedDiskTags,omitempty"`
	SelectedRecoveryAzureNetworkId      *string                                 `json:"selectedRecoveryAzureNetworkId,omitempty"`
	SelectedSourceNicId                 *string                                 `json:"selectedSourceNicId,omitempty"`
	SourceVMCPUCount                    *int64                                  `json:"sourceVmCpuCount,omitempty"`
	SourceVMRamSizeInMB                 *int64                                  `json:"sourceVmRamSizeInMB,omitempty"`
	SqlServerLicenseType                *string                                 `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilityZone              *string                                 `json:"targetAvailabilityZone,omitempty"`
	TargetManagedDiskTags               *map[string]string                      `json:"targetManagedDiskTags,omitempty"`
	TargetNicTags                       *map[string]string                      `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId     *string                                 `json:"targetProximityPlacementGroupId,omitempty"`
	TargetVMSecurityProfile             *SecurityProfileProperties              `json:"targetVmSecurityProfile,omitempty"`
	TargetVMTags                        *map[string]string                      `json:"targetVmTags,omitempty"`
	UseManagedDisks                     *string                                 `json:"useManagedDisks,omitempty"`
	VMId                                *string                                 `json:"vmId,omitempty"`
	VMNics                              *[]VMNicDetails                         `json:"vmNics,omitempty"`
	VMProtectionState                   *string                                 `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription        *string                                 `json:"vmProtectionStateDescription,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureReplicationDetails) MarshalJSON ¶

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

func (HyperVReplicaAzureReplicationDetails) ReplicationProviderSpecificSettings ¶

type HyperVReplicaAzureReprotectInput ¶

type HyperVReplicaAzureReprotectInput struct {
	HvHostVMId          *string `json:"hvHostVmId,omitempty"`
	LogStorageAccountId *string `json:"logStorageAccountId,omitempty"`
	OsType              *string `json:"osType,omitempty"`
	StorageAccountId    *string `json:"storageAccountId,omitempty"`
	VHDId               *string `json:"vHDId,omitempty"`
	VirtualMachineName  *string `json:"vmName,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureReprotectInput) MarshalJSON ¶

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

func (HyperVReplicaAzureReprotectInput) ReverseReplicationProviderSpecificInput ¶

func (s HyperVReplicaAzureReprotectInput) ReverseReplicationProviderSpecificInput() BaseReverseReplicationProviderSpecificInputImpl

type HyperVReplicaAzureTestFailoverInput ¶

type HyperVReplicaAzureTestFailoverInput struct {
	OsUpgradeVersion           *string `json:"osUpgradeVersion,omitempty"`
	PrimaryKekCertificatePfx   *string `json:"primaryKekCertificatePfx,omitempty"`
	RecoveryPointId            *string `json:"recoveryPointId,omitempty"`
	SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureTestFailoverInput) MarshalJSON ¶

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

func (HyperVReplicaAzureTestFailoverInput) TestFailoverProviderSpecificInput ¶

type HyperVReplicaAzureUnplannedFailoverInput ¶

type HyperVReplicaAzureUnplannedFailoverInput struct {
	PrimaryKekCertificatePfx   *string `json:"primaryKekCertificatePfx,omitempty"`
	RecoveryPointId            *string `json:"recoveryPointId,omitempty"`
	SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureUnplannedFailoverInput) MarshalJSON ¶

func (HyperVReplicaAzureUnplannedFailoverInput) UnplannedFailoverProviderSpecificInput ¶

type HyperVReplicaAzureUpdateReplicationProtectedItemInput ¶

type HyperVReplicaAzureUpdateReplicationProtectedItemInput struct {
	DiskIdToDiskEncryptionMap       *map[string]string    `json:"diskIdToDiskEncryptionMap,omitempty"`
	LinuxLicenseType                *LinuxLicenseType     `json:"linuxLicenseType,omitempty"`
	RecoveryAzureV1ResourceGroupId  *string               `json:"recoveryAzureV1ResourceGroupId,omitempty"`
	RecoveryAzureV2ResourceGroupId  *string               `json:"recoveryAzureV2ResourceGroupId,omitempty"`
	SqlServerLicenseType            *SqlServerLicenseType `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilityZone          *string               `json:"targetAvailabilityZone,omitempty"`
	TargetManagedDiskTags           *map[string]string    `json:"targetManagedDiskTags,omitempty"`
	TargetNicTags                   *map[string]string    `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId *string               `json:"targetProximityPlacementGroupId,omitempty"`
	TargetVMTags                    *map[string]string    `json:"targetVmTags,omitempty"`
	UseManagedDisks                 *string               `json:"useManagedDisks,omitempty"`
	UserSelectedOSName              *string               `json:"userSelectedOSName,omitempty"`
	VMDisks                         *[]UpdateDiskInput    `json:"vmDisks,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) MarshalJSON ¶

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) UpdateReplicationProtectedItemProviderInput ¶

type HyperVReplicaBaseReplicationDetails ¶

type HyperVReplicaBaseReplicationDetails struct {
	InitialReplicationDetails    *InitialReplicationDetails `json:"initialReplicationDetails,omitempty"`
	LastReplicatedTime           *string                    `json:"lastReplicatedTime,omitempty"`
	VMDiskDetails                *[]DiskDetails             `json:"vMDiskDetails,omitempty"`
	VMId                         *string                    `json:"vmId,omitempty"`
	VMNics                       *[]VMNicDetails            `json:"vmNics,omitempty"`
	VMProtectionState            *string                    `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription *string                    `json:"vmProtectionStateDescription,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaBaseReplicationDetails) MarshalJSON ¶

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

func (HyperVReplicaBaseReplicationDetails) ReplicationProviderSpecificSettings ¶

type HyperVReplicaBlueReplicationDetails ¶

type HyperVReplicaBlueReplicationDetails struct {
	InitialReplicationDetails    *InitialReplicationDetails `json:"initialReplicationDetails,omitempty"`
	LastReplicatedTime           *string                    `json:"lastReplicatedTime,omitempty"`
	VMDiskDetails                *[]DiskDetails             `json:"vMDiskDetails,omitempty"`
	VMId                         *string                    `json:"vmId,omitempty"`
	VMNics                       *[]VMNicDetails            `json:"vmNics,omitempty"`
	VMProtectionState            *string                    `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription *string                    `json:"vmProtectionStateDescription,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaBlueReplicationDetails) MarshalJSON ¶

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

func (HyperVReplicaBlueReplicationDetails) ReplicationProviderSpecificSettings ¶

type HyperVReplicaReplicationDetails ¶

type HyperVReplicaReplicationDetails struct {
	InitialReplicationDetails    *InitialReplicationDetails `json:"initialReplicationDetails,omitempty"`
	LastReplicatedTime           *string                    `json:"lastReplicatedTime,omitempty"`
	VMDiskDetails                *[]DiskDetails             `json:"vMDiskDetails,omitempty"`
	VMId                         *string                    `json:"vmId,omitempty"`
	VMNics                       *[]VMNicDetails            `json:"vmNics,omitempty"`
	VMProtectionState            *string                    `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription *string                    `json:"vmProtectionStateDescription,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (HyperVReplicaReplicationDetails) MarshalJSON ¶

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

func (HyperVReplicaReplicationDetails) ReplicationProviderSpecificSettings ¶

func (s HyperVReplicaReplicationDetails) ReplicationProviderSpecificSettings() BaseReplicationProviderSpecificSettingsImpl

type IPConfigDetails ¶

type IPConfigDetails struct {
	IPAddressType                   *string   `json:"ipAddressType,omitempty"`
	IsPrimary                       *bool     `json:"isPrimary,omitempty"`
	IsSeletedForFailover            *bool     `json:"isSeletedForFailover,omitempty"`
	Name                            *string   `json:"name,omitempty"`
	RecoveryIPAddressType           *string   `json:"recoveryIPAddressType,omitempty"`
	RecoveryLBBackendAddressPoolIds *[]string `json:"recoveryLBBackendAddressPoolIds,omitempty"`
	RecoveryPublicIPAddressId       *string   `json:"recoveryPublicIPAddressId,omitempty"`
	RecoveryStaticIPAddress         *string   `json:"recoveryStaticIPAddress,omitempty"`
	RecoverySubnetName              *string   `json:"recoverySubnetName,omitempty"`
	StaticIPAddress                 *string   `json:"staticIPAddress,omitempty"`
	SubnetName                      *string   `json:"subnetName,omitempty"`
	TfoLBBackendAddressPoolIds      *[]string `json:"tfoLBBackendAddressPoolIds,omitempty"`
	TfoPublicIPAddressId            *string   `json:"tfoPublicIPAddressId,omitempty"`
	TfoStaticIPAddress              *string   `json:"tfoStaticIPAddress,omitempty"`
	TfoSubnetName                   *string   `json:"tfoSubnetName,omitempty"`
}

type IPConfigInputDetails ¶

type IPConfigInputDetails struct {
	IPConfigName                    *string   `json:"ipConfigName,omitempty"`
	IsPrimary                       *bool     `json:"isPrimary,omitempty"`
	IsSeletedForFailover            *bool     `json:"isSeletedForFailover,omitempty"`
	RecoveryLBBackendAddressPoolIds *[]string `json:"recoveryLBBackendAddressPoolIds,omitempty"`
	RecoveryPublicIPAddressId       *string   `json:"recoveryPublicIPAddressId,omitempty"`
	RecoveryStaticIPAddress         *string   `json:"recoveryStaticIPAddress,omitempty"`
	RecoverySubnetName              *string   `json:"recoverySubnetName,omitempty"`
	TfoLBBackendAddressPoolIds      *[]string `json:"tfoLBBackendAddressPoolIds,omitempty"`
	TfoPublicIPAddressId            *string   `json:"tfoPublicIPAddressId,omitempty"`
	TfoStaticIPAddress              *string   `json:"tfoStaticIPAddress,omitempty"`
	TfoSubnetName                   *string   `json:"tfoSubnetName,omitempty"`
}

type InMageAgentDetails ¶

type InMageAgentDetails struct {
	AgentExpiryDate        *string `json:"agentExpiryDate,omitempty"`
	AgentUpdateStatus      *string `json:"agentUpdateStatus,omitempty"`
	AgentVersion           *string `json:"agentVersion,omitempty"`
	PostUpdateRebootStatus *string `json:"postUpdateRebootStatus,omitempty"`
}

func (*InMageAgentDetails) GetAgentExpiryDateAsTime ¶

func (o *InMageAgentDetails) GetAgentExpiryDateAsTime() (*time.Time, error)

func (*InMageAgentDetails) SetAgentExpiryDateAsTime ¶

func (o *InMageAgentDetails) SetAgentExpiryDateAsTime(input time.Time)

type InMageAzureV2ApplyRecoveryPointInput ¶

type InMageAzureV2ApplyRecoveryPointInput struct {
	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2ApplyRecoveryPointInput) ApplyRecoveryPointProviderSpecificInput ¶

func (InMageAzureV2ApplyRecoveryPointInput) MarshalJSON ¶

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

type InMageAzureV2DiskInputDetails ¶

type InMageAzureV2DiskInputDetails struct {
	DiskEncryptionSetId *string          `json:"diskEncryptionSetId,omitempty"`
	DiskId              *string          `json:"diskId,omitempty"`
	DiskType            *DiskAccountType `json:"diskType,omitempty"`
	LogStorageAccountId *string          `json:"logStorageAccountId,omitempty"`
}

type InMageAzureV2EnableProtectionInput ¶

type InMageAzureV2EnableProtectionInput struct {
	DiskEncryptionSetId             *string                          `json:"diskEncryptionSetId,omitempty"`
	DiskType                        *DiskAccountType                 `json:"diskType,omitempty"`
	DisksToInclude                  *[]InMageAzureV2DiskInputDetails `json:"disksToInclude,omitempty"`
	EnableRdpOnTargetOption         *string                          `json:"enableRdpOnTargetOption,omitempty"`
	LicenseType                     *LicenseType                     `json:"licenseType,omitempty"`
	LogStorageAccountId             *string                          `json:"logStorageAccountId,omitempty"`
	MasterTargetId                  *string                          `json:"masterTargetId,omitempty"`
	MultiVMGroupId                  *string                          `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName                *string                          `json:"multiVmGroupName,omitempty"`
	ProcessServerId                 *string                          `json:"processServerId,omitempty"`
	RunAsAccountId                  *string                          `json:"runAsAccountId,omitempty"`
	SeedManagedDiskTags             *map[string]string               `json:"seedManagedDiskTags,omitempty"`
	SqlServerLicenseType            *SqlServerLicenseType            `json:"sqlServerLicenseType,omitempty"`
	StorageAccountId                *string                          `json:"storageAccountId,omitempty"`
	TargetAvailabilitySetId         *string                          `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone          *string                          `json:"targetAvailabilityZone,omitempty"`
	TargetAzureNetworkId            *string                          `json:"targetAzureNetworkId,omitempty"`
	TargetAzureSubnetId             *string                          `json:"targetAzureSubnetId,omitempty"`
	TargetAzureV1ResourceGroupId    *string                          `json:"targetAzureV1ResourceGroupId,omitempty"`
	TargetAzureV2ResourceGroupId    *string                          `json:"targetAzureV2ResourceGroupId,omitempty"`
	TargetAzureVMName               *string                          `json:"targetAzureVmName,omitempty"`
	TargetManagedDiskTags           *map[string]string               `json:"targetManagedDiskTags,omitempty"`
	TargetNicTags                   *map[string]string               `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId *string                          `json:"targetProximityPlacementGroupId,omitempty"`
	TargetVMSize                    *string                          `json:"targetVmSize,omitempty"`
	TargetVMTags                    *map[string]string               `json:"targetVmTags,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2EnableProtectionInput) EnableProtectionProviderSpecificInput ¶

func (InMageAzureV2EnableProtectionInput) MarshalJSON ¶

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

type InMageAzureV2ManagedDiskDetails ¶

type InMageAzureV2ManagedDiskDetails struct {
	DiskEncryptionSetId *string `json:"diskEncryptionSetId,omitempty"`
	DiskId              *string `json:"diskId,omitempty"`
	ReplicaDiskType     *string `json:"replicaDiskType,omitempty"`
	SeedManagedDiskId   *string `json:"seedManagedDiskId,omitempty"`
	TargetDiskName      *string `json:"targetDiskName,omitempty"`
}

type InMageAzureV2ProtectedDiskDetails ¶

type InMageAzureV2ProtectedDiskDetails struct {
	DiskCapacityInBytes                 *int64   `json:"diskCapacityInBytes,omitempty"`
	DiskId                              *string  `json:"diskId,omitempty"`
	DiskName                            *string  `json:"diskName,omitempty"`
	DiskResized                         *string  `json:"diskResized,omitempty"`
	FileSystemCapacityInBytes           *int64   `json:"fileSystemCapacityInBytes,omitempty"`
	HealthErrorCode                     *string  `json:"healthErrorCode,omitempty"`
	LastRpoCalculatedTime               *string  `json:"lastRpoCalculatedTime,omitempty"`
	ProgressHealth                      *string  `json:"progressHealth,omitempty"`
	ProgressStatus                      *string  `json:"progressStatus,omitempty"`
	ProtectionStage                     *string  `json:"protectionStage,omitempty"`
	PsDataInMegaBytes                   *float64 `json:"psDataInMegaBytes,omitempty"`
	ResyncDurationInSeconds             *int64   `json:"resyncDurationInSeconds,omitempty"`
	ResyncLast15MinutesTransferredBytes *int64   `json:"resyncLast15MinutesTransferredBytes,omitempty"`
	ResyncLastDataTransferTimeUTC       *string  `json:"resyncLastDataTransferTimeUTC,omitempty"`
	ResyncProcessedBytes                *int64   `json:"resyncProcessedBytes,omitempty"`
	ResyncProgressPercentage            *int64   `json:"resyncProgressPercentage,omitempty"`
	ResyncRequired                      *string  `json:"resyncRequired,omitempty"`
	ResyncStartTime                     *string  `json:"resyncStartTime,omitempty"`
	ResyncTotalTransferredBytes         *int64   `json:"resyncTotalTransferredBytes,omitempty"`
	RpoInSeconds                        *int64   `json:"rpoInSeconds,omitempty"`
	SecondsToTakeSwitchProvider         *int64   `json:"secondsToTakeSwitchProvider,omitempty"`
	SourceDataInMegaBytes               *float64 `json:"sourceDataInMegaBytes,omitempty"`
	TargetDataInMegaBytes               *float64 `json:"targetDataInMegaBytes,omitempty"`
}

func (*InMageAzureV2ProtectedDiskDetails) GetLastRpoCalculatedTimeAsTime ¶

func (o *InMageAzureV2ProtectedDiskDetails) GetLastRpoCalculatedTimeAsTime() (*time.Time, error)

func (*InMageAzureV2ProtectedDiskDetails) GetResyncLastDataTransferTimeUTCAsTime ¶

func (o *InMageAzureV2ProtectedDiskDetails) GetResyncLastDataTransferTimeUTCAsTime() (*time.Time, error)

func (*InMageAzureV2ProtectedDiskDetails) GetResyncStartTimeAsTime ¶

func (o *InMageAzureV2ProtectedDiskDetails) GetResyncStartTimeAsTime() (*time.Time, error)

func (*InMageAzureV2ProtectedDiskDetails) SetLastRpoCalculatedTimeAsTime ¶

func (o *InMageAzureV2ProtectedDiskDetails) SetLastRpoCalculatedTimeAsTime(input time.Time)

func (*InMageAzureV2ProtectedDiskDetails) SetResyncLastDataTransferTimeUTCAsTime ¶

func (o *InMageAzureV2ProtectedDiskDetails) SetResyncLastDataTransferTimeUTCAsTime(input time.Time)

func (*InMageAzureV2ProtectedDiskDetails) SetResyncStartTimeAsTime ¶

func (o *InMageAzureV2ProtectedDiskDetails) SetResyncStartTimeAsTime(input time.Time)

type InMageAzureV2ReplicationDetails ¶

type InMageAzureV2ReplicationDetails struct {
	AgentExpiryDate                     *string                                            `json:"agentExpiryDate,omitempty"`
	AgentVersion                        *string                                            `json:"agentVersion,omitempty"`
	AllAvailableOSUpgradeConfigurations *[]OSUpgradeSupportedVersions                      `json:"allAvailableOSUpgradeConfigurations,omitempty"`
	AzureVMDiskDetails                  *[]AzureVMDiskDetails                              `json:"azureVMDiskDetails,omitempty"`
	AzureVMGeneration                   *string                                            `json:"azureVmGeneration,omitempty"`
	CompressedDataRateInMB              *float64                                           `json:"compressedDataRateInMB,omitempty"`
	DataStores                          *[]string                                          `json:"datastores,omitempty"`
	DiscoveryType                       *string                                            `json:"discoveryType,omitempty"`
	DiskResized                         *string                                            `json:"diskResized,omitempty"`
	EnableRdpOnTargetOption             *string                                            `json:"enableRdpOnTargetOption,omitempty"`
	FirmwareType                        *string                                            `json:"firmwareType,omitempty"`
	IPAddress                           *string                                            `json:"ipAddress,omitempty"`
	InfrastructureVMId                  *string                                            `json:"infrastructureVmId,omitempty"`
	IsAdditionalStatsAvailable          *bool                                              `json:"isAdditionalStatsAvailable,omitempty"`
	IsAgentUpdateRequired               *string                                            `json:"isAgentUpdateRequired,omitempty"`
	IsRebootAfterUpdateRequired         *string                                            `json:"isRebootAfterUpdateRequired,omitempty"`
	LastHeartbeat                       *string                                            `json:"lastHeartbeat,omitempty"`
	LastRecoveryPointReceived           *string                                            `json:"lastRecoveryPointReceived,omitempty"`
	LastRpoCalculatedTime               *string                                            `json:"lastRpoCalculatedTime,omitempty"`
	LastUpdateReceivedTime              *string                                            `json:"lastUpdateReceivedTime,omitempty"`
	LicenseType                         *string                                            `json:"licenseType,omitempty"`
	MasterTargetId                      *string                                            `json:"masterTargetId,omitempty"`
	MultiVMGroupId                      *string                                            `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName                    *string                                            `json:"multiVmGroupName,omitempty"`
	MultiVMSyncStatus                   *string                                            `json:"multiVmSyncStatus,omitempty"`
	OsDiskId                            *string                                            `json:"osDiskId,omitempty"`
	OsName                              *string                                            `json:"osName,omitempty"`
	OsType                              *string                                            `json:"osType,omitempty"`
	OsVersion                           *string                                            `json:"osVersion,omitempty"`
	ProcessServerId                     *string                                            `json:"processServerId,omitempty"`
	ProcessServerName                   *string                                            `json:"processServerName,omitempty"`
	ProtectedDisks                      *[]InMageAzureV2ProtectedDiskDetails               `json:"protectedDisks,omitempty"`
	ProtectedManagedDisks               *[]InMageAzureV2ManagedDiskDetails                 `json:"protectedManagedDisks,omitempty"`
	ProtectionStage                     *string                                            `json:"protectionStage,omitempty"`
	RecoveryAvailabilitySetId           *string                                            `json:"recoveryAvailabilitySetId,omitempty"`
	RecoveryAzureLogStorageAccountId    *string                                            `json:"recoveryAzureLogStorageAccountId,omitempty"`
	RecoveryAzureResourceGroupId        *string                                            `json:"recoveryAzureResourceGroupId,omitempty"`
	RecoveryAzureStorageAccount         *string                                            `json:"recoveryAzureStorageAccount,omitempty"`
	RecoveryAzureVMName                 *string                                            `json:"recoveryAzureVMName,omitempty"`
	RecoveryAzureVMSize                 *string                                            `json:"recoveryAzureVMSize,omitempty"`
	ReplicaId                           *string                                            `json:"replicaId,omitempty"`
	ResyncProgressPercentage            *int64                                             `json:"resyncProgressPercentage,omitempty"`
	RpoInSeconds                        *int64                                             `json:"rpoInSeconds,omitempty"`
	SeedManagedDiskTags                 *map[string]string                                 `json:"seedManagedDiskTags,omitempty"`
	SelectedRecoveryAzureNetworkId      *string                                            `json:"selectedRecoveryAzureNetworkId,omitempty"`
	SelectedSourceNicId                 *string                                            `json:"selectedSourceNicId,omitempty"`
	SelectedTfoAzureNetworkId           *string                                            `json:"selectedTfoAzureNetworkId,omitempty"`
	SourceVMCPUCount                    *int64                                             `json:"sourceVmCpuCount,omitempty"`
	SourceVMRamSizeInMB                 *int64                                             `json:"sourceVmRamSizeInMB,omitempty"`
	SqlServerLicenseType                *string                                            `json:"sqlServerLicenseType,omitempty"`
	SupportedOSVersions                 *[]string                                          `json:"supportedOSVersions,omitempty"`
	SwitchProviderBlockingErrorDetails  *[]InMageAzureV2SwitchProviderBlockingErrorDetails `json:"switchProviderBlockingErrorDetails,omitempty"`
	SwitchProviderDetails               *InMageAzureV2SwitchProviderDetails                `json:"switchProviderDetails,omitempty"`
	TargetAvailabilityZone              *string                                            `json:"targetAvailabilityZone,omitempty"`
	TargetManagedDiskTags               *map[string]string                                 `json:"targetManagedDiskTags,omitempty"`
	TargetNicTags                       *map[string]string                                 `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId     *string                                            `json:"targetProximityPlacementGroupId,omitempty"`
	TargetVMId                          *string                                            `json:"targetVmId,omitempty"`
	TargetVMTags                        *map[string]string                                 `json:"targetVmTags,omitempty"`
	TotalDataTransferred                *int64                                             `json:"totalDataTransferred,omitempty"`
	TotalProgressHealth                 *string                                            `json:"totalProgressHealth,omitempty"`
	UncompressedDataRateInMB            *float64                                           `json:"uncompressedDataRateInMB,omitempty"`
	UseManagedDisks                     *string                                            `json:"useManagedDisks,omitempty"`
	VCenterInfrastructureId             *string                                            `json:"vCenterInfrastructureId,omitempty"`
	VMId                                *string                                            `json:"vmId,omitempty"`
	VMNics                              *[]VMNicDetails                                    `json:"vmNics,omitempty"`
	VMProtectionState                   *string                                            `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription        *string                                            `json:"vmProtectionStateDescription,omitempty"`
	ValidationErrors                    *[]HealthError                                     `json:"validationErrors,omitempty"`
	VhdName                             *string                                            `json:"vhdName,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2ReplicationDetails) MarshalJSON ¶

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

func (InMageAzureV2ReplicationDetails) ReplicationProviderSpecificSettings ¶

func (s InMageAzureV2ReplicationDetails) ReplicationProviderSpecificSettings() BaseReplicationProviderSpecificSettingsImpl

type InMageAzureV2ReprotectInput ¶

type InMageAzureV2ReprotectInput struct {
	DisksToInclude      *[]string `json:"disksToInclude,omitempty"`
	LogStorageAccountId *string   `json:"logStorageAccountId,omitempty"`
	MasterTargetId      *string   `json:"masterTargetId,omitempty"`
	PolicyId            *string   `json:"policyId,omitempty"`
	ProcessServerId     *string   `json:"processServerId,omitempty"`
	RunAsAccountId      *string   `json:"runAsAccountId,omitempty"`
	StorageAccountId    *string   `json:"storageAccountId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2ReprotectInput) MarshalJSON ¶

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

func (InMageAzureV2ReprotectInput) ReverseReplicationProviderSpecificInput ¶

func (s InMageAzureV2ReprotectInput) ReverseReplicationProviderSpecificInput() BaseReverseReplicationProviderSpecificInputImpl

type InMageAzureV2SwitchProviderBlockingErrorDetails ¶

type InMageAzureV2SwitchProviderBlockingErrorDetails struct {
	ErrorCode              *string            `json:"errorCode,omitempty"`
	ErrorMessage           *string            `json:"errorMessage,omitempty"`
	ErrorMessageParameters *map[string]string `json:"errorMessageParameters,omitempty"`
	ErrorTags              *map[string]string `json:"errorTags,omitempty"`
	PossibleCauses         *string            `json:"possibleCauses,omitempty"`
	RecommendedAction      *string            `json:"recommendedAction,omitempty"`
}

type InMageAzureV2SwitchProviderDetails ¶

type InMageAzureV2SwitchProviderDetails struct {
	TargetApplianceId *string `json:"targetApplianceId,omitempty"`
	TargetFabricId    *string `json:"targetFabricId,omitempty"`
	TargetResourceId  *string `json:"targetResourceId,omitempty"`
	TargetVaultId     *string `json:"targetVaultId,omitempty"`
}

type InMageAzureV2SwitchProviderProviderInput ¶

type InMageAzureV2SwitchProviderProviderInput struct {
	TargetApplianceID string `json:"targetApplianceID"`
	TargetFabricID    string `json:"targetFabricID"`
	TargetVaultID     string `json:"targetVaultID"`

	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2SwitchProviderProviderInput) MarshalJSON ¶

func (InMageAzureV2SwitchProviderProviderInput) SwitchProviderProviderSpecificInput ¶

type InMageAzureV2TestFailoverInput ¶

type InMageAzureV2TestFailoverInput struct {
	OsUpgradeVersion *string `json:"osUpgradeVersion,omitempty"`
	RecoveryPointId  *string `json:"recoveryPointId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2TestFailoverInput) MarshalJSON ¶

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

func (InMageAzureV2TestFailoverInput) TestFailoverProviderSpecificInput ¶

func (s InMageAzureV2TestFailoverInput) TestFailoverProviderSpecificInput() BaseTestFailoverProviderSpecificInputImpl

type InMageAzureV2UnplannedFailoverInput ¶

type InMageAzureV2UnplannedFailoverInput struct {
	OsUpgradeVersion *string `json:"osUpgradeVersion,omitempty"`
	RecoveryPointId  *string `json:"recoveryPointId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2UnplannedFailoverInput) MarshalJSON ¶

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

func (InMageAzureV2UnplannedFailoverInput) UnplannedFailoverProviderSpecificInput ¶

type InMageAzureV2UpdateReplicationProtectedItemInput ¶

type InMageAzureV2UpdateReplicationProtectedItemInput struct {
	RecoveryAzureV1ResourceGroupId  *string               `json:"recoveryAzureV1ResourceGroupId,omitempty"`
	RecoveryAzureV2ResourceGroupId  *string               `json:"recoveryAzureV2ResourceGroupId,omitempty"`
	SqlServerLicenseType            *SqlServerLicenseType `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilityZone          *string               `json:"targetAvailabilityZone,omitempty"`
	TargetManagedDiskTags           *map[string]string    `json:"targetManagedDiskTags,omitempty"`
	TargetNicTags                   *map[string]string    `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId *string               `json:"targetProximityPlacementGroupId,omitempty"`
	TargetVMTags                    *map[string]string    `json:"targetVmTags,omitempty"`
	UseManagedDisks                 *string               `json:"useManagedDisks,omitempty"`
	VMDisks                         *[]UpdateDiskInput    `json:"vmDisks,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageAzureV2UpdateReplicationProtectedItemInput) MarshalJSON ¶

func (InMageAzureV2UpdateReplicationProtectedItemInput) UpdateReplicationProtectedItemProviderInput ¶

type InMageDisableProtectionProviderSpecificInput ¶

type InMageDisableProtectionProviderSpecificInput struct {
	ReplicaVMDeletionStatus *string `json:"replicaVmDeletionStatus,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageDisableProtectionProviderSpecificInput) DisableProtectionProviderSpecificInput ¶

func (InMageDisableProtectionProviderSpecificInput) MarshalJSON ¶

type InMageDiskExclusionInput ¶

type InMageDiskExclusionInput struct {
	DiskSignatureOptions *[]InMageDiskSignatureExclusionOptions `json:"diskSignatureOptions,omitempty"`
	VolumeOptions        *[]InMageVolumeExclusionOptions        `json:"volumeOptions,omitempty"`
}

type InMageDiskSignatureExclusionOptions ¶

type InMageDiskSignatureExclusionOptions struct {
	DiskSignature *string `json:"diskSignature,omitempty"`
}

type InMageEnableProtectionInput ¶

type InMageEnableProtectionInput struct {
	DatastoreName      *string                   `json:"datastoreName,omitempty"`
	DiskExclusionInput *InMageDiskExclusionInput `json:"diskExclusionInput,omitempty"`
	DisksToInclude     *[]string                 `json:"disksToInclude,omitempty"`
	MasterTargetId     string                    `json:"masterTargetId"`
	MultiVMGroupId     string                    `json:"multiVmGroupId"`
	MultiVMGroupName   string                    `json:"multiVmGroupName"`
	ProcessServerId    string                    `json:"processServerId"`
	RetentionDrive     string                    `json:"retentionDrive"`
	RunAsAccountId     *string                   `json:"runAsAccountId,omitempty"`
	VMFriendlyName     *string                   `json:"vmFriendlyName,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageEnableProtectionInput) EnableProtectionProviderSpecificInput ¶

func (s InMageEnableProtectionInput) EnableProtectionProviderSpecificInput() BaseEnableProtectionProviderSpecificInputImpl

func (InMageEnableProtectionInput) MarshalJSON ¶

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

type InMageProtectedDiskDetails ¶

type InMageProtectedDiskDetails struct {
	DiskCapacityInBytes                 *int64   `json:"diskCapacityInBytes,omitempty"`
	DiskId                              *string  `json:"diskId,omitempty"`
	DiskName                            *string  `json:"diskName,omitempty"`
	DiskResized                         *string  `json:"diskResized,omitempty"`
	FileSystemCapacityInBytes           *int64   `json:"fileSystemCapacityInBytes,omitempty"`
	HealthErrorCode                     *string  `json:"healthErrorCode,omitempty"`
	LastRpoCalculatedTime               *string  `json:"lastRpoCalculatedTime,omitempty"`
	ProgressHealth                      *string  `json:"progressHealth,omitempty"`
	ProgressStatus                      *string  `json:"progressStatus,omitempty"`
	ProtectionStage                     *string  `json:"protectionStage,omitempty"`
	PsDataInMB                          *float64 `json:"psDataInMB,omitempty"`
	ResyncDurationInSeconds             *int64   `json:"resyncDurationInSeconds,omitempty"`
	ResyncLast15MinutesTransferredBytes *int64   `json:"resyncLast15MinutesTransferredBytes,omitempty"`
	ResyncLastDataTransferTimeUTC       *string  `json:"resyncLastDataTransferTimeUTC,omitempty"`
	ResyncProcessedBytes                *int64   `json:"resyncProcessedBytes,omitempty"`
	ResyncProgressPercentage            *int64   `json:"resyncProgressPercentage,omitempty"`
	ResyncRequired                      *string  `json:"resyncRequired,omitempty"`
	ResyncStartTime                     *string  `json:"resyncStartTime,omitempty"`
	ResyncTotalTransferredBytes         *int64   `json:"resyncTotalTransferredBytes,omitempty"`
	RpoInSeconds                        *int64   `json:"rpoInSeconds,omitempty"`
	SourceDataInMB                      *float64 `json:"sourceDataInMB,omitempty"`
	TargetDataInMB                      *float64 `json:"targetDataInMB,omitempty"`
}

func (*InMageProtectedDiskDetails) GetLastRpoCalculatedTimeAsTime ¶

func (o *InMageProtectedDiskDetails) GetLastRpoCalculatedTimeAsTime() (*time.Time, error)

func (*InMageProtectedDiskDetails) GetResyncLastDataTransferTimeUTCAsTime ¶

func (o *InMageProtectedDiskDetails) GetResyncLastDataTransferTimeUTCAsTime() (*time.Time, error)

func (*InMageProtectedDiskDetails) GetResyncStartTimeAsTime ¶

func (o *InMageProtectedDiskDetails) GetResyncStartTimeAsTime() (*time.Time, error)

func (*InMageProtectedDiskDetails) SetLastRpoCalculatedTimeAsTime ¶

func (o *InMageProtectedDiskDetails) SetLastRpoCalculatedTimeAsTime(input time.Time)

func (*InMageProtectedDiskDetails) SetResyncLastDataTransferTimeUTCAsTime ¶

func (o *InMageProtectedDiskDetails) SetResyncLastDataTransferTimeUTCAsTime(input time.Time)

func (*InMageProtectedDiskDetails) SetResyncStartTimeAsTime ¶

func (o *InMageProtectedDiskDetails) SetResyncStartTimeAsTime(input time.Time)

type InMageRcmAddDisksInput ¶

type InMageRcmAddDisksInput struct {
	Disks []InMageRcmDiskInput `json:"disks"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmAddDisksInput) AddDisksProviderSpecificInput ¶

func (s InMageRcmAddDisksInput) AddDisksProviderSpecificInput() BaseAddDisksProviderSpecificInputImpl

func (InMageRcmAddDisksInput) MarshalJSON ¶

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

type InMageRcmAgentUpgradeBlockingErrorDetails ¶

type InMageRcmAgentUpgradeBlockingErrorDetails struct {
	ErrorCode              *string            `json:"errorCode,omitempty"`
	ErrorMessage           *string            `json:"errorMessage,omitempty"`
	ErrorMessageParameters *map[string]string `json:"errorMessageParameters,omitempty"`
	ErrorTags              *map[string]string `json:"errorTags,omitempty"`
	PossibleCauses         *string            `json:"possibleCauses,omitempty"`
	RecommendedAction      *string            `json:"recommendedAction,omitempty"`
}

type InMageRcmApplyRecoveryPointInput ¶

type InMageRcmApplyRecoveryPointInput struct {
	RecoveryPointId string `json:"recoveryPointId"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmApplyRecoveryPointInput) ApplyRecoveryPointProviderSpecificInput ¶

func (s InMageRcmApplyRecoveryPointInput) ApplyRecoveryPointProviderSpecificInput() BaseApplyRecoveryPointProviderSpecificInputImpl

func (InMageRcmApplyRecoveryPointInput) MarshalJSON ¶

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

type InMageRcmDiscoveredProtectedVMDetails ¶

type InMageRcmDiscoveredProtectedVMDetails struct {
	CreatedTimestamp       *string   `json:"createdTimestamp,omitempty"`
	DataStores             *[]string `json:"datastores,omitempty"`
	IPAddresses            *[]string `json:"ipAddresses,omitempty"`
	IsDeleted              *bool     `json:"isDeleted,omitempty"`
	LastDiscoveryTimeInUtc *string   `json:"lastDiscoveryTimeInUtc,omitempty"`
	OsName                 *string   `json:"osName,omitempty"`
	PowerStatus            *string   `json:"powerStatus,omitempty"`
	UpdatedTimestamp       *string   `json:"updatedTimestamp,omitempty"`
	VCenterFqdn            *string   `json:"vCenterFqdn,omitempty"`
	VCenterId              *string   `json:"vCenterId,omitempty"`
	VMFqdn                 *string   `json:"vmFqdn,omitempty"`
	VMwareToolsStatus      *string   `json:"vmwareToolsStatus,omitempty"`
}

func (*InMageRcmDiscoveredProtectedVMDetails) GetCreatedTimestampAsTime ¶

func (o *InMageRcmDiscoveredProtectedVMDetails) GetCreatedTimestampAsTime() (*time.Time, error)

func (*InMageRcmDiscoveredProtectedVMDetails) GetLastDiscoveryTimeInUtcAsTime ¶

func (o *InMageRcmDiscoveredProtectedVMDetails) GetLastDiscoveryTimeInUtcAsTime() (*time.Time, error)

func (*InMageRcmDiscoveredProtectedVMDetails) GetUpdatedTimestampAsTime ¶

func (o *InMageRcmDiscoveredProtectedVMDetails) GetUpdatedTimestampAsTime() (*time.Time, error)

func (*InMageRcmDiscoveredProtectedVMDetails) SetCreatedTimestampAsTime ¶

func (o *InMageRcmDiscoveredProtectedVMDetails) SetCreatedTimestampAsTime(input time.Time)

func (*InMageRcmDiscoveredProtectedVMDetails) SetLastDiscoveryTimeInUtcAsTime ¶

func (o *InMageRcmDiscoveredProtectedVMDetails) SetLastDiscoveryTimeInUtcAsTime(input time.Time)

func (*InMageRcmDiscoveredProtectedVMDetails) SetUpdatedTimestampAsTime ¶

func (o *InMageRcmDiscoveredProtectedVMDetails) SetUpdatedTimestampAsTime(input time.Time)

type InMageRcmDiskInput ¶

type InMageRcmDiskInput struct {
	DiskEncryptionSetId *string         `json:"diskEncryptionSetId,omitempty"`
	DiskId              string          `json:"diskId"`
	DiskType            DiskAccountType `json:"diskType"`
	LogStorageAccountId string          `json:"logStorageAccountId"`
	SectorSizeInBytes   *int64          `json:"sectorSizeInBytes,omitempty"`
}

type InMageRcmDisksDefaultInput ¶

type InMageRcmDisksDefaultInput struct {
	DiskEncryptionSetId *string         `json:"diskEncryptionSetId,omitempty"`
	DiskType            DiskAccountType `json:"diskType"`
	LogStorageAccountId string          `json:"logStorageAccountId"`
	SectorSizeInBytes   *int64          `json:"sectorSizeInBytes,omitempty"`
}

type InMageRcmEnableProtectionInput ¶

type InMageRcmEnableProtectionInput struct {
	DisksDefault                          *InMageRcmDisksDefaultInput `json:"disksDefault,omitempty"`
	DisksToInclude                        *[]InMageRcmDiskInput       `json:"disksToInclude,omitempty"`
	FabricDiscoveryMachineId              string                      `json:"fabricDiscoveryMachineId"`
	LicenseType                           *LicenseType                `json:"licenseType,omitempty"`
	LinuxLicenseType                      *LinuxLicenseType           `json:"linuxLicenseType,omitempty"`
	MultiVMGroupName                      *string                     `json:"multiVmGroupName,omitempty"`
	ProcessServerId                       string                      `json:"processServerId"`
	RunAsAccountId                        *string                     `json:"runAsAccountId,omitempty"`
	SeedManagedDiskTags                   *[]UserCreatedResourceTag   `json:"seedManagedDiskTags,omitempty"`
	SqlServerLicenseType                  *SqlServerLicenseType       `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilitySetId               *string                     `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                     `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                     `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetManagedDiskTags                 *[]UserCreatedResourceTag   `json:"targetManagedDiskTags,omitempty"`
	TargetNetworkId                       *string                     `json:"targetNetworkId,omitempty"`
	TargetNicTags                         *[]UserCreatedResourceTag   `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                     `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 string                      `json:"targetResourceGroupId"`
	TargetSubnetName                      *string                     `json:"targetSubnetName,omitempty"`
	TargetVMName                          *string                     `json:"targetVmName,omitempty"`
	TargetVMSecurityProfile               *SecurityProfileProperties  `json:"targetVmSecurityProfile,omitempty"`
	TargetVMSize                          *string                     `json:"targetVmSize,omitempty"`
	TargetVMTags                          *[]UserCreatedResourceTag   `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                     `json:"testNetworkId,omitempty"`
	TestSubnetName                        *string                     `json:"testSubnetName,omitempty"`
	UserSelectedOSName                    *string                     `json:"userSelectedOSName,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmEnableProtectionInput) EnableProtectionProviderSpecificInput ¶

func (s InMageRcmEnableProtectionInput) EnableProtectionProviderSpecificInput() BaseEnableProtectionProviderSpecificInputImpl

func (InMageRcmEnableProtectionInput) MarshalJSON ¶

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

type InMageRcmFailbackDiscoveredProtectedVMDetails ¶

type InMageRcmFailbackDiscoveredProtectedVMDetails struct {
	CreatedTimestamp       *string   `json:"createdTimestamp,omitempty"`
	DataStores             *[]string `json:"datastores,omitempty"`
	IPAddresses            *[]string `json:"ipAddresses,omitempty"`
	IsDeleted              *bool     `json:"isDeleted,omitempty"`
	LastDiscoveryTimeInUtc *string   `json:"lastDiscoveryTimeInUtc,omitempty"`
	OsName                 *string   `json:"osName,omitempty"`
	PowerStatus            *string   `json:"powerStatus,omitempty"`
	UpdatedTimestamp       *string   `json:"updatedTimestamp,omitempty"`
	VCenterFqdn            *string   `json:"vCenterFqdn,omitempty"`
	VCenterId              *string   `json:"vCenterId,omitempty"`
	VMFqdn                 *string   `json:"vmFqdn,omitempty"`
	VMwareToolsStatus      *string   `json:"vmwareToolsStatus,omitempty"`
}

func (*InMageRcmFailbackDiscoveredProtectedVMDetails) GetCreatedTimestampAsTime ¶

func (o *InMageRcmFailbackDiscoveredProtectedVMDetails) GetCreatedTimestampAsTime() (*time.Time, error)

func (*InMageRcmFailbackDiscoveredProtectedVMDetails) GetLastDiscoveryTimeInUtcAsTime ¶

func (o *InMageRcmFailbackDiscoveredProtectedVMDetails) GetLastDiscoveryTimeInUtcAsTime() (*time.Time, error)

func (*InMageRcmFailbackDiscoveredProtectedVMDetails) GetUpdatedTimestampAsTime ¶

func (o *InMageRcmFailbackDiscoveredProtectedVMDetails) GetUpdatedTimestampAsTime() (*time.Time, error)

func (*InMageRcmFailbackDiscoveredProtectedVMDetails) SetCreatedTimestampAsTime ¶

func (o *InMageRcmFailbackDiscoveredProtectedVMDetails) SetCreatedTimestampAsTime(input time.Time)

func (*InMageRcmFailbackDiscoveredProtectedVMDetails) SetLastDiscoveryTimeInUtcAsTime ¶

func (o *InMageRcmFailbackDiscoveredProtectedVMDetails) SetLastDiscoveryTimeInUtcAsTime(input time.Time)

func (*InMageRcmFailbackDiscoveredProtectedVMDetails) SetUpdatedTimestampAsTime ¶

func (o *InMageRcmFailbackDiscoveredProtectedVMDetails) SetUpdatedTimestampAsTime(input time.Time)

type InMageRcmFailbackMobilityAgentDetails ¶

type InMageRcmFailbackMobilityAgentDetails struct {
	AgentVersionExpiryDate               *string                      `json:"agentVersionExpiryDate,omitempty"`
	DriverVersion                        *string                      `json:"driverVersion,omitempty"`
	DriverVersionExpiryDate              *string                      `json:"driverVersionExpiryDate,omitempty"`
	IsUpgradeable                        *string                      `json:"isUpgradeable,omitempty"`
	LastHeartbeatUtc                     *string                      `json:"lastHeartbeatUtc,omitempty"`
	LatestUpgradableVersionWithoutReboot *string                      `json:"latestUpgradableVersionWithoutReboot,omitempty"`
	LatestVersion                        *string                      `json:"latestVersion,omitempty"`
	ReasonsBlockingUpgrade               *[]AgentUpgradeBlockedReason `json:"reasonsBlockingUpgrade,omitempty"`
	Version                              *string                      `json:"version,omitempty"`
}

func (*InMageRcmFailbackMobilityAgentDetails) GetAgentVersionExpiryDateAsTime ¶

func (o *InMageRcmFailbackMobilityAgentDetails) GetAgentVersionExpiryDateAsTime() (*time.Time, error)

func (*InMageRcmFailbackMobilityAgentDetails) GetDriverVersionExpiryDateAsTime ¶

func (o *InMageRcmFailbackMobilityAgentDetails) GetDriverVersionExpiryDateAsTime() (*time.Time, error)

func (*InMageRcmFailbackMobilityAgentDetails) GetLastHeartbeatUtcAsTime ¶

func (o *InMageRcmFailbackMobilityAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*InMageRcmFailbackMobilityAgentDetails) SetAgentVersionExpiryDateAsTime ¶

func (o *InMageRcmFailbackMobilityAgentDetails) SetAgentVersionExpiryDateAsTime(input time.Time)

func (*InMageRcmFailbackMobilityAgentDetails) SetDriverVersionExpiryDateAsTime ¶

func (o *InMageRcmFailbackMobilityAgentDetails) SetDriverVersionExpiryDateAsTime(input time.Time)

func (*InMageRcmFailbackMobilityAgentDetails) SetLastHeartbeatUtcAsTime ¶

func (o *InMageRcmFailbackMobilityAgentDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type InMageRcmFailbackNicDetails ¶

type InMageRcmFailbackNicDetails struct {
	AdapterType     *string `json:"adapterType,omitempty"`
	MacAddress      *string `json:"macAddress,omitempty"`
	NetworkName     *string `json:"networkName,omitempty"`
	SourceIPAddress *string `json:"sourceIpAddress,omitempty"`
}

type InMageRcmFailbackPlannedFailoverProviderInput ¶

type InMageRcmFailbackPlannedFailoverProviderInput struct {
	RecoveryPointType InMageRcmFailbackRecoveryPointType `json:"recoveryPointType"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmFailbackPlannedFailoverProviderInput) MarshalJSON ¶

func (InMageRcmFailbackPlannedFailoverProviderInput) PlannedFailoverProviderSpecificFailoverInput ¶

type InMageRcmFailbackProtectedDiskDetails ¶

type InMageRcmFailbackProtectedDiskDetails struct {
	CapacityInBytes               *int64                        `json:"capacityInBytes,omitempty"`
	DataPendingAtSourceAgentInMB  *float64                      `json:"dataPendingAtSourceAgentInMB,omitempty"`
	DataPendingInLogDataStoreInMB *float64                      `json:"dataPendingInLogDataStoreInMB,omitempty"`
	DiskId                        *string                       `json:"diskId,omitempty"`
	DiskName                      *string                       `json:"diskName,omitempty"`
	DiskUuid                      *string                       `json:"diskUuid,omitempty"`
	IrDetails                     *InMageRcmFailbackSyncDetails `json:"irDetails,omitempty"`
	IsInitialReplicationComplete  *string                       `json:"isInitialReplicationComplete,omitempty"`
	IsOSDisk                      *string                       `json:"isOSDisk,omitempty"`
	LastSyncTime                  *string                       `json:"lastSyncTime,omitempty"`
	ResyncDetails                 *InMageRcmFailbackSyncDetails `json:"resyncDetails,omitempty"`
}

func (*InMageRcmFailbackProtectedDiskDetails) GetLastSyncTimeAsTime ¶

func (o *InMageRcmFailbackProtectedDiskDetails) GetLastSyncTimeAsTime() (*time.Time, error)

func (*InMageRcmFailbackProtectedDiskDetails) SetLastSyncTimeAsTime ¶

func (o *InMageRcmFailbackProtectedDiskDetails) SetLastSyncTimeAsTime(input time.Time)

type InMageRcmFailbackRecoveryPointType ¶

type InMageRcmFailbackRecoveryPointType string
const (
	InMageRcmFailbackRecoveryPointTypeApplicationConsistent InMageRcmFailbackRecoveryPointType = "ApplicationConsistent"
	InMageRcmFailbackRecoveryPointTypeCrashConsistent       InMageRcmFailbackRecoveryPointType = "CrashConsistent"
)

func (*InMageRcmFailbackRecoveryPointType) UnmarshalJSON ¶

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

type InMageRcmFailbackReplicationDetails ¶

type InMageRcmFailbackReplicationDetails struct {
	AzureVirtualMachineId                      *string                                        `json:"azureVirtualMachineId,omitempty"`
	DiscoveredVMDetails                        *InMageRcmFailbackDiscoveredProtectedVMDetails `json:"discoveredVmDetails,omitempty"`
	InitialReplicationProcessedBytes           *int64                                         `json:"initialReplicationProcessedBytes,omitempty"`
	InitialReplicationProgressHealth           *VMReplicationProgressHealth                   `json:"initialReplicationProgressHealth,omitempty"`
	InitialReplicationProgressPercentage       *int64                                         `json:"initialReplicationProgressPercentage,omitempty"`
	InitialReplicationTransferredBytes         *int64                                         `json:"initialReplicationTransferredBytes,omitempty"`
	InternalIdentifier                         *string                                        `json:"internalIdentifier,omitempty"`
	IsAgentRegistrationSuccessfulAfterFailover *bool                                          `json:"isAgentRegistrationSuccessfulAfterFailover,omitempty"`
	LastPlannedFailoverStartTime               *string                                        `json:"lastPlannedFailoverStartTime,omitempty"`
	LastPlannedFailoverStatus                  *PlannedFailoverStatus                         `json:"lastPlannedFailoverStatus,omitempty"`
	LastUsedPolicyFriendlyName                 *string                                        `json:"lastUsedPolicyFriendlyName,omitempty"`
	LastUsedPolicyId                           *string                                        `json:"lastUsedPolicyId,omitempty"`
	LogStorageAccountId                        *string                                        `json:"logStorageAccountId,omitempty"`
	MobilityAgentDetails                       *InMageRcmFailbackMobilityAgentDetails         `json:"mobilityAgentDetails,omitempty"`
	MultiVMGroupName                           *string                                        `json:"multiVmGroupName,omitempty"`
	OsType                                     *string                                        `json:"osType,omitempty"`
	ProtectedDisks                             *[]InMageRcmFailbackProtectedDiskDetails       `json:"protectedDisks,omitempty"`
	ReprotectAgentId                           *string                                        `json:"reprotectAgentId,omitempty"`
	ReprotectAgentName                         *string                                        `json:"reprotectAgentName,omitempty"`
	ResyncProcessedBytes                       *int64                                         `json:"resyncProcessedBytes,omitempty"`
	ResyncProgressHealth                       *VMReplicationProgressHealth                   `json:"resyncProgressHealth,omitempty"`
	ResyncProgressPercentage                   *int64                                         `json:"resyncProgressPercentage,omitempty"`
	ResyncRequired                             *string                                        `json:"resyncRequired,omitempty"`
	ResyncState                                *ResyncState                                   `json:"resyncState,omitempty"`
	ResyncTransferredBytes                     *int64                                         `json:"resyncTransferredBytes,omitempty"`
	TargetDataStoreName                        *string                                        `json:"targetDataStoreName,omitempty"`
	TargetVMName                               *string                                        `json:"targetVmName,omitempty"`
	TargetvCenterId                            *string                                        `json:"targetvCenterId,omitempty"`
	VMNics                                     *[]InMageRcmFailbackNicDetails                 `json:"vmNics,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmFailbackReplicationDetails) MarshalJSON ¶

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

func (InMageRcmFailbackReplicationDetails) ReplicationProviderSpecificSettings ¶

type InMageRcmFailbackReprotectInput ¶

type InMageRcmFailbackReprotectInput struct {
	PolicyId        string  `json:"policyId"`
	ProcessServerId string  `json:"processServerId"`
	RunAsAccountId  *string `json:"runAsAccountId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmFailbackReprotectInput) MarshalJSON ¶

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

func (InMageRcmFailbackReprotectInput) ReverseReplicationProviderSpecificInput ¶

func (s InMageRcmFailbackReprotectInput) ReverseReplicationProviderSpecificInput() BaseReverseReplicationProviderSpecificInputImpl

type InMageRcmFailbackSyncDetails ¶

type InMageRcmFailbackSyncDetails struct {
	Last15MinutesTransferredBytes *int64                         `json:"last15MinutesTransferredBytes,omitempty"`
	LastDataTransferTimeUtc       *string                        `json:"lastDataTransferTimeUtc,omitempty"`
	LastRefreshTime               *string                        `json:"lastRefreshTime,omitempty"`
	ProcessedBytes                *int64                         `json:"processedBytes,omitempty"`
	ProgressHealth                *DiskReplicationProgressHealth `json:"progressHealth,omitempty"`
	ProgressPercentage            *int64                         `json:"progressPercentage,omitempty"`
	StartTime                     *string                        `json:"startTime,omitempty"`
	TransferredBytes              *int64                         `json:"transferredBytes,omitempty"`
}

type InMageRcmLastAgentUpgradeErrorDetails ¶

type InMageRcmLastAgentUpgradeErrorDetails struct {
	ErrorCode              *string            `json:"errorCode,omitempty"`
	ErrorMessage           *string            `json:"errorMessage,omitempty"`
	ErrorMessageParameters *map[string]string `json:"errorMessageParameters,omitempty"`
	ErrorTags              *map[string]string `json:"errorTags,omitempty"`
	PossibleCauses         *string            `json:"possibleCauses,omitempty"`
	RecommendedAction      *string            `json:"recommendedAction,omitempty"`
}

type InMageRcmMobilityAgentDetails ¶

type InMageRcmMobilityAgentDetails struct {
	AgentVersionExpiryDate               *string                      `json:"agentVersionExpiryDate,omitempty"`
	DriverVersion                        *string                      `json:"driverVersion,omitempty"`
	DriverVersionExpiryDate              *string                      `json:"driverVersionExpiryDate,omitempty"`
	IsUpgradeable                        *string                      `json:"isUpgradeable,omitempty"`
	LastHeartbeatUtc                     *string                      `json:"lastHeartbeatUtc,omitempty"`
	LatestAgentReleaseDate               *string                      `json:"latestAgentReleaseDate,omitempty"`
	LatestUpgradableVersionWithoutReboot *string                      `json:"latestUpgradableVersionWithoutReboot,omitempty"`
	LatestVersion                        *string                      `json:"latestVersion,omitempty"`
	ReasonsBlockingUpgrade               *[]AgentUpgradeBlockedReason `json:"reasonsBlockingUpgrade,omitempty"`
	Version                              *string                      `json:"version,omitempty"`
}

func (*InMageRcmMobilityAgentDetails) GetAgentVersionExpiryDateAsTime ¶

func (o *InMageRcmMobilityAgentDetails) GetAgentVersionExpiryDateAsTime() (*time.Time, error)

func (*InMageRcmMobilityAgentDetails) GetDriverVersionExpiryDateAsTime ¶

func (o *InMageRcmMobilityAgentDetails) GetDriverVersionExpiryDateAsTime() (*time.Time, error)

func (*InMageRcmMobilityAgentDetails) GetLastHeartbeatUtcAsTime ¶

func (o *InMageRcmMobilityAgentDetails) GetLastHeartbeatUtcAsTime() (*time.Time, error)

func (*InMageRcmMobilityAgentDetails) SetAgentVersionExpiryDateAsTime ¶

func (o *InMageRcmMobilityAgentDetails) SetAgentVersionExpiryDateAsTime(input time.Time)

func (*InMageRcmMobilityAgentDetails) SetDriverVersionExpiryDateAsTime ¶

func (o *InMageRcmMobilityAgentDetails) SetDriverVersionExpiryDateAsTime(input time.Time)

func (*InMageRcmMobilityAgentDetails) SetLastHeartbeatUtcAsTime ¶

func (o *InMageRcmMobilityAgentDetails) SetLastHeartbeatUtcAsTime(input time.Time)

type InMageRcmNicDetails ¶

type InMageRcmNicDetails struct {
	IsPrimaryNic          *string              `json:"isPrimaryNic,omitempty"`
	IsSelectedForFailover *string              `json:"isSelectedForFailover,omitempty"`
	NicId                 *string              `json:"nicId,omitempty"`
	SourceIPAddress       *string              `json:"sourceIPAddress,omitempty"`
	SourceIPAddressType   *EthernetAddressType `json:"sourceIPAddressType,omitempty"`
	SourceNetworkId       *string              `json:"sourceNetworkId,omitempty"`
	SourceSubnetName      *string              `json:"sourceSubnetName,omitempty"`
	TargetIPAddress       *string              `json:"targetIPAddress,omitempty"`
	TargetIPAddressType   *EthernetAddressType `json:"targetIPAddressType,omitempty"`
	TargetNicName         *string              `json:"targetNicName,omitempty"`
	TargetSubnetName      *string              `json:"targetSubnetName,omitempty"`
	TestIPAddress         *string              `json:"testIPAddress,omitempty"`
	TestIPAddressType     *EthernetAddressType `json:"testIPAddressType,omitempty"`
	TestSubnetName        *string              `json:"testSubnetName,omitempty"`
}

type InMageRcmNicInput ¶

type InMageRcmNicInput struct {
	IsPrimaryNic          string  `json:"isPrimaryNic"`
	IsSelectedForFailover *string `json:"isSelectedForFailover,omitempty"`
	NicId                 string  `json:"nicId"`
	TargetNicName         *string `json:"targetNicName,omitempty"`
	TargetStaticIPAddress *string `json:"targetStaticIPAddress,omitempty"`
	TargetSubnetName      *string `json:"targetSubnetName,omitempty"`
	TestStaticIPAddress   *string `json:"testStaticIPAddress,omitempty"`
	TestSubnetName        *string `json:"testSubnetName,omitempty"`
}

type InMageRcmProtectedDiskDetails ¶

type InMageRcmProtectedDiskDetails struct {
	CapacityInBytes               *int64                `json:"capacityInBytes,omitempty"`
	CustomTargetDiskName          *string               `json:"customTargetDiskName,omitempty"`
	DataPendingAtSourceAgentInMB  *float64              `json:"dataPendingAtSourceAgentInMB,omitempty"`
	DataPendingInLogDataStoreInMB *float64              `json:"dataPendingInLogDataStoreInMB,omitempty"`
	DiskEncryptionSetId           *string               `json:"diskEncryptionSetId,omitempty"`
	DiskId                        *string               `json:"diskId,omitempty"`
	DiskName                      *string               `json:"diskName,omitempty"`
	DiskState                     *DiskState            `json:"diskState,omitempty"`
	DiskType                      *DiskAccountType      `json:"diskType,omitempty"`
	IrDetails                     *InMageRcmSyncDetails `json:"irDetails,omitempty"`
	IsInitialReplicationComplete  *string               `json:"isInitialReplicationComplete,omitempty"`
	IsOSDisk                      *string               `json:"isOSDisk,omitempty"`
	LogStorageAccountId           *string               `json:"logStorageAccountId,omitempty"`
	ResyncDetails                 *InMageRcmSyncDetails `json:"resyncDetails,omitempty"`
	SectorSizeInBytes             *int64                `json:"sectorSizeInBytes,omitempty"`
	SeedBlobUri                   *string               `json:"seedBlobUri,omitempty"`
	SeedManagedDiskId             *string               `json:"seedManagedDiskId,omitempty"`
	TargetManagedDiskId           *string               `json:"targetManagedDiskId,omitempty"`
}

type InMageRcmReplicationDetails ¶

type InMageRcmReplicationDetails struct {
	AgentUpgradeAttemptToVersion               *string                                      `json:"agentUpgradeAttemptToVersion,omitempty"`
	AgentUpgradeBlockingErrorDetails           *[]InMageRcmAgentUpgradeBlockingErrorDetails `json:"agentUpgradeBlockingErrorDetails,omitempty"`
	AgentUpgradeJobId                          *string                                      `json:"agentUpgradeJobId,omitempty"`
	AgentUpgradeState                          *MobilityAgentUpgradeState                   `json:"agentUpgradeState,omitempty"`
	AllocatedMemoryInMB                        *float64                                     `json:"allocatedMemoryInMB,omitempty"`
	DiscoveredVMDetails                        *InMageRcmDiscoveredProtectedVMDetails       `json:"discoveredVmDetails,omitempty"`
	DiscoveryType                              *string                                      `json:"discoveryType,omitempty"`
	FabricDiscoveryMachineId                   *string                                      `json:"fabricDiscoveryMachineId,omitempty"`
	FailoverRecoveryPointId                    *string                                      `json:"failoverRecoveryPointId,omitempty"`
	FirmwareType                               *string                                      `json:"firmwareType,omitempty"`
	InitialReplicationProcessedBytes           *int64                                       `json:"initialReplicationProcessedBytes,omitempty"`
	InitialReplicationProgressHealth           *VMReplicationProgressHealth                 `json:"initialReplicationProgressHealth,omitempty"`
	InitialReplicationProgressPercentage       *int64                                       `json:"initialReplicationProgressPercentage,omitempty"`
	InitialReplicationTransferredBytes         *int64                                       `json:"initialReplicationTransferredBytes,omitempty"`
	InternalIdentifier                         *string                                      `json:"internalIdentifier,omitempty"`
	IsAgentRegistrationSuccessfulAfterFailover *bool                                        `json:"isAgentRegistrationSuccessfulAfterFailover,omitempty"`
	IsLastUpgradeSuccessful                    *string                                      `json:"isLastUpgradeSuccessful,omitempty"`
	LastAgentUpgradeErrorDetails               *[]InMageRcmLastAgentUpgradeErrorDetails     `json:"lastAgentUpgradeErrorDetails,omitempty"`
	LastAgentUpgradeType                       *string                                      `json:"lastAgentUpgradeType,omitempty"`
	LastRecoveryPointId                        *string                                      `json:"lastRecoveryPointId,omitempty"`
	LastRecoveryPointReceived                  *string                                      `json:"lastRecoveryPointReceived,omitempty"`
	LastRpoCalculatedTime                      *string                                      `json:"lastRpoCalculatedTime,omitempty"`
	LastRpoInSeconds                           *int64                                       `json:"lastRpoInSeconds,omitempty"`
	LicenseType                                *string                                      `json:"licenseType,omitempty"`
	LinuxLicenseType                           *LinuxLicenseType                            `json:"linuxLicenseType,omitempty"`
	MobilityAgentDetails                       *InMageRcmMobilityAgentDetails               `json:"mobilityAgentDetails,omitempty"`
	MultiVMGroupName                           *string                                      `json:"multiVmGroupName,omitempty"`
	OsName                                     *string                                      `json:"osName,omitempty"`
	OsType                                     *string                                      `json:"osType,omitempty"`
	PrimaryNicIPAddress                        *string                                      `json:"primaryNicIpAddress,omitempty"`
	ProcessServerId                            *string                                      `json:"processServerId,omitempty"`
	ProcessServerName                          *string                                      `json:"processServerName,omitempty"`
	ProcessorCoreCount                         *int64                                       `json:"processorCoreCount,omitempty"`
	ProtectedDisks                             *[]InMageRcmProtectedDiskDetails             `json:"protectedDisks,omitempty"`
	ResyncProcessedBytes                       *int64                                       `json:"resyncProcessedBytes,omitempty"`
	ResyncProgressHealth                       *VMReplicationProgressHealth                 `json:"resyncProgressHealth,omitempty"`
	ResyncProgressPercentage                   *int64                                       `json:"resyncProgressPercentage,omitempty"`
	ResyncRequired                             *string                                      `json:"resyncRequired,omitempty"`
	ResyncState                                *ResyncState                                 `json:"resyncState,omitempty"`
	ResyncTransferredBytes                     *int64                                       `json:"resyncTransferredBytes,omitempty"`
	RunAsAccountId                             *string                                      `json:"runAsAccountId,omitempty"`
	SeedManagedDiskTags                        *[]UserCreatedResourceTag                    `json:"seedManagedDiskTags,omitempty"`
	SqlServerLicenseType                       *string                                      `json:"sqlServerLicenseType,omitempty"`
	StorageAccountId                           *string                                      `json:"storageAccountId,omitempty"`
	SupportedOSVersions                        *[]string                                    `json:"supportedOSVersions,omitempty"`
	TargetAvailabilitySetId                    *string                                      `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                     *string                                      `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId      *string                                      `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetGeneration                           *string                                      `json:"targetGeneration,omitempty"`
	TargetLocation                             *string                                      `json:"targetLocation,omitempty"`
	TargetManagedDiskTags                      *[]UserCreatedResourceTag                    `json:"targetManagedDiskTags,omitempty"`
	TargetNetworkId                            *string                                      `json:"targetNetworkId,omitempty"`
	TargetNicTags                              *[]UserCreatedResourceTag                    `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId            *string                                      `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                      *string                                      `json:"targetResourceGroupId,omitempty"`
	TargetVMName                               *string                                      `json:"targetVmName,omitempty"`
	TargetVMSecurityProfile                    *SecurityProfileProperties                   `json:"targetVmSecurityProfile,omitempty"`
	TargetVMSize                               *string                                      `json:"targetVmSize,omitempty"`
	TargetVMTags                               *[]UserCreatedResourceTag                    `json:"targetVmTags,omitempty"`
	TestNetworkId                              *string                                      `json:"testNetworkId,omitempty"`
	UnprotectedDisks                           *[]InMageRcmUnProtectedDiskDetails           `json:"unprotectedDisks,omitempty"`
	VMNics                                     *[]InMageRcmNicDetails                       `json:"vmNics,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmReplicationDetails) MarshalJSON ¶

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

func (InMageRcmReplicationDetails) ReplicationProviderSpecificSettings ¶

func (s InMageRcmReplicationDetails) ReplicationProviderSpecificSettings() BaseReplicationProviderSpecificSettingsImpl

type InMageRcmReprotectInput ¶

type InMageRcmReprotectInput struct {
	DatastoreName       string  `json:"datastoreName"`
	LogStorageAccountId string  `json:"logStorageAccountId"`
	PolicyId            *string `json:"policyId,omitempty"`
	ReprotectAgentId    string  `json:"reprotectAgentId"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmReprotectInput) MarshalJSON ¶

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

func (InMageRcmReprotectInput) ReverseReplicationProviderSpecificInput ¶

func (s InMageRcmReprotectInput) ReverseReplicationProviderSpecificInput() BaseReverseReplicationProviderSpecificInputImpl

type InMageRcmSyncDetails ¶

type InMageRcmSyncDetails struct {
	Last15MinutesTransferredBytes *int64                         `json:"last15MinutesTransferredBytes,omitempty"`
	LastDataTransferTimeUtc       *string                        `json:"lastDataTransferTimeUtc,omitempty"`
	LastRefreshTime               *string                        `json:"lastRefreshTime,omitempty"`
	ProcessedBytes                *int64                         `json:"processedBytes,omitempty"`
	ProgressHealth                *DiskReplicationProgressHealth `json:"progressHealth,omitempty"`
	ProgressPercentage            *int64                         `json:"progressPercentage,omitempty"`
	StartTime                     *string                        `json:"startTime,omitempty"`
	TransferredBytes              *int64                         `json:"transferredBytes,omitempty"`
}

type InMageRcmTestFailoverInput ¶

type InMageRcmTestFailoverInput struct {
	NetworkId        *string `json:"networkId,omitempty"`
	OsUpgradeVersion *string `json:"osUpgradeVersion,omitempty"`
	RecoveryPointId  *string `json:"recoveryPointId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmTestFailoverInput) MarshalJSON ¶

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

func (InMageRcmTestFailoverInput) TestFailoverProviderSpecificInput ¶

func (s InMageRcmTestFailoverInput) TestFailoverProviderSpecificInput() BaseTestFailoverProviderSpecificInputImpl

type InMageRcmUnProtectedDiskDetails ¶

type InMageRcmUnProtectedDiskDetails struct {
	CapacityInBytes *int64  `json:"capacityInBytes,omitempty"`
	DiskId          *string `json:"diskId,omitempty"`
	DiskName        *string `json:"diskName,omitempty"`
}

type InMageRcmUnplannedFailoverInput ¶

type InMageRcmUnplannedFailoverInput struct {
	OsUpgradeVersion *string `json:"osUpgradeVersion,omitempty"`
	PerformShutdown  string  `json:"performShutdown"`
	RecoveryPointId  *string `json:"recoveryPointId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmUnplannedFailoverInput) MarshalJSON ¶

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

func (InMageRcmUnplannedFailoverInput) UnplannedFailoverProviderSpecificInput ¶

func (s InMageRcmUnplannedFailoverInput) UnplannedFailoverProviderSpecificInput() BaseUnplannedFailoverProviderSpecificInputImpl

type InMageRcmUpdateApplianceForReplicationProtectedItemInput ¶

type InMageRcmUpdateApplianceForReplicationProtectedItemInput struct {
	RunAsAccountId *string `json:"runAsAccountId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmUpdateApplianceForReplicationProtectedItemInput) MarshalJSON ¶

func (InMageRcmUpdateApplianceForReplicationProtectedItemInput) UpdateApplianceForReplicationProtectedItemProviderSpecificInput ¶

type InMageRcmUpdateReplicationProtectedItemInput ¶

type InMageRcmUpdateReplicationProtectedItemInput struct {
	LicenseType                           *LicenseType              `json:"licenseType,omitempty"`
	LinuxLicenseType                      *LinuxLicenseType         `json:"linuxLicenseType,omitempty"`
	SqlServerLicenseType                  *SqlServerLicenseType     `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilitySetId               *string                   `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                   `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                   `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetManagedDiskTags                 *[]UserCreatedResourceTag `json:"targetManagedDiskTags,omitempty"`
	TargetNetworkId                       *string                   `json:"targetNetworkId,omitempty"`
	TargetNicTags                         *[]UserCreatedResourceTag `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                   `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 *string                   `json:"targetResourceGroupId,omitempty"`
	TargetVMName                          *string                   `json:"targetVmName,omitempty"`
	TargetVMSize                          *string                   `json:"targetVmSize,omitempty"`
	TargetVMTags                          *[]UserCreatedResourceTag `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                   `json:"testNetworkId,omitempty"`
	UserSelectedOSName                    *string                   `json:"userSelectedOSName,omitempty"`
	VMNics                                *[]InMageRcmNicInput      `json:"vmNics,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageRcmUpdateReplicationProtectedItemInput) MarshalJSON ¶

func (InMageRcmUpdateReplicationProtectedItemInput) UpdateReplicationProtectedItemProviderInput ¶

type InMageReplicationDetails ¶

type InMageReplicationDetails struct {
	ActiveSiteType               *string                       `json:"activeSiteType,omitempty"`
	AgentDetails                 *InMageAgentDetails           `json:"agentDetails,omitempty"`
	AzureStorageAccountId        *string                       `json:"azureStorageAccountId,omitempty"`
	CompressedDataRateInMB       *float64                      `json:"compressedDataRateInMB,omitempty"`
	ConsistencyPoints            *map[string]string            `json:"consistencyPoints,omitempty"`
	DataStores                   *[]string                     `json:"datastores,omitempty"`
	DiscoveryType                *string                       `json:"discoveryType,omitempty"`
	DiskResized                  *string                       `json:"diskResized,omitempty"`
	IPAddress                    *string                       `json:"ipAddress,omitempty"`
	InfrastructureVMId           *string                       `json:"infrastructureVmId,omitempty"`
	IsAdditionalStatsAvailable   *bool                         `json:"isAdditionalStatsAvailable,omitempty"`
	LastHeartbeat                *string                       `json:"lastHeartbeat,omitempty"`
	LastRpoCalculatedTime        *string                       `json:"lastRpoCalculatedTime,omitempty"`
	LastUpdateReceivedTime       *string                       `json:"lastUpdateReceivedTime,omitempty"`
	MasterTargetId               *string                       `json:"masterTargetId,omitempty"`
	MultiVMGroupId               *string                       `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName             *string                       `json:"multiVmGroupName,omitempty"`
	MultiVMSyncStatus            *string                       `json:"multiVmSyncStatus,omitempty"`
	OsDetails                    *OSDiskDetails                `json:"osDetails,omitempty"`
	OsVersion                    *string                       `json:"osVersion,omitempty"`
	ProcessServerId              *string                       `json:"processServerId,omitempty"`
	ProtectedDisks               *[]InMageProtectedDiskDetails `json:"protectedDisks,omitempty"`
	ProtectionStage              *string                       `json:"protectionStage,omitempty"`
	RebootAfterUpdateStatus      *string                       `json:"rebootAfterUpdateStatus,omitempty"`
	ReplicaId                    *string                       `json:"replicaId,omitempty"`
	ResyncDetails                *InitialReplicationDetails    `json:"resyncDetails,omitempty"`
	RetentionWindowEnd           *string                       `json:"retentionWindowEnd,omitempty"`
	RetentionWindowStart         *string                       `json:"retentionWindowStart,omitempty"`
	RpoInSeconds                 *int64                        `json:"rpoInSeconds,omitempty"`
	SourceVMCPUCount             *int64                        `json:"sourceVmCpuCount,omitempty"`
	SourceVMRamSizeInMB          *int64                        `json:"sourceVmRamSizeInMB,omitempty"`
	TotalDataTransferred         *int64                        `json:"totalDataTransferred,omitempty"`
	TotalProgressHealth          *string                       `json:"totalProgressHealth,omitempty"`
	UncompressedDataRateInMB     *float64                      `json:"uncompressedDataRateInMB,omitempty"`
	VCenterInfrastructureId      *string                       `json:"vCenterInfrastructureId,omitempty"`
	VMId                         *string                       `json:"vmId,omitempty"`
	VMNics                       *[]VMNicDetails               `json:"vmNics,omitempty"`
	VMProtectionState            *string                       `json:"vmProtectionState,omitempty"`
	VMProtectionStateDescription *string                       `json:"vmProtectionStateDescription,omitempty"`
	ValidationErrors             *[]HealthError                `json:"validationErrors,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageReplicationDetails) MarshalJSON ¶

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

func (InMageReplicationDetails) ReplicationProviderSpecificSettings ¶

func (s InMageReplicationDetails) ReplicationProviderSpecificSettings() BaseReplicationProviderSpecificSettingsImpl

type InMageReprotectInput ¶

type InMageReprotectInput struct {
	DatastoreName      *string                   `json:"datastoreName,omitempty"`
	DiskExclusionInput *InMageDiskExclusionInput `json:"diskExclusionInput,omitempty"`
	DisksToInclude     *[]string                 `json:"disksToInclude,omitempty"`
	MasterTargetId     string                    `json:"masterTargetId"`
	ProcessServerId    string                    `json:"processServerId"`
	ProfileId          string                    `json:"profileId"`
	RetentionDrive     string                    `json:"retentionDrive"`
	RunAsAccountId     *string                   `json:"runAsAccountId,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageReprotectInput) MarshalJSON ¶

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

func (InMageReprotectInput) ReverseReplicationProviderSpecificInput ¶

func (s InMageReprotectInput) ReverseReplicationProviderSpecificInput() BaseReverseReplicationProviderSpecificInputImpl

type InMageTestFailoverInput ¶

type InMageTestFailoverInput struct {
	RecoveryPointId   *string            `json:"recoveryPointId,omitempty"`
	RecoveryPointType *RecoveryPointType `json:"recoveryPointType,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageTestFailoverInput) MarshalJSON ¶

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

func (InMageTestFailoverInput) TestFailoverProviderSpecificInput ¶

func (s InMageTestFailoverInput) TestFailoverProviderSpecificInput() BaseTestFailoverProviderSpecificInputImpl

type InMageUnplannedFailoverInput ¶

type InMageUnplannedFailoverInput struct {
	RecoveryPointId   *string            `json:"recoveryPointId,omitempty"`
	RecoveryPointType *RecoveryPointType `json:"recoveryPointType,omitempty"`

	InstanceType string `json:"instanceType"`
}

func (InMageUnplannedFailoverInput) MarshalJSON ¶

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

func (InMageUnplannedFailoverInput) UnplannedFailoverProviderSpecificInput ¶

func (s InMageUnplannedFailoverInput) UnplannedFailoverProviderSpecificInput() BaseUnplannedFailoverProviderSpecificInputImpl

type InMageVolumeExclusionOptions ¶

type InMageVolumeExclusionOptions struct {
	OnlyExcludeIfSingleVolume *string `json:"onlyExcludeIfSingleVolume,omitempty"`
	VolumeLabel               *string `json:"volumeLabel,omitempty"`
}

type InitialReplicationDetails ¶

type InitialReplicationDetails struct {
	InitialReplicationProgressPercentage *string `json:"initialReplicationProgressPercentage,omitempty"`
	InitialReplicationType               *string `json:"initialReplicationType,omitempty"`
}

type InnerHealthError ¶

type InnerHealthError struct {
	CreationTimeUtc              *string                           `json:"creationTimeUtc,omitempty"`
	CustomerResolvability        *HealthErrorCustomerResolvability `json:"customerResolvability,omitempty"`
	EntityId                     *string                           `json:"entityId,omitempty"`
	ErrorCategory                *string                           `json:"errorCategory,omitempty"`
	ErrorCode                    *string                           `json:"errorCode,omitempty"`
	ErrorId                      *string                           `json:"errorId,omitempty"`
	ErrorLevel                   *string                           `json:"errorLevel,omitempty"`
	ErrorMessage                 *string                           `json:"errorMessage,omitempty"`
	ErrorSource                  *string                           `json:"errorSource,omitempty"`
	ErrorType                    *string                           `json:"errorType,omitempty"`
	PossibleCauses               *string                           `json:"possibleCauses,omitempty"`
	RecommendedAction            *string                           `json:"recommendedAction,omitempty"`
	RecoveryProviderErrorMessage *string                           `json:"recoveryProviderErrorMessage,omitempty"`
	SummaryMessage               *string                           `json:"summaryMessage,omitempty"`
}

func (*InnerHealthError) GetCreationTimeUtcAsTime ¶

func (o *InnerHealthError) GetCreationTimeUtcAsTime() (*time.Time, error)

func (*InnerHealthError) SetCreationTimeUtcAsTime ¶

func (o *InnerHealthError) SetCreationTimeUtcAsTime(input time.Time)

type InputEndpoint ¶

type InputEndpoint struct {
	EndpointName *string `json:"endpointName,omitempty"`
	PrivatePort  *int64  `json:"privatePort,omitempty"`
	Protocol     *string `json:"protocol,omitempty"`
	PublicPort   *int64  `json:"publicPort,omitempty"`
}

type KeyEncryptionKeyInfo ¶

type KeyEncryptionKeyInfo struct {
	KeyIdentifier         *string `json:"keyIdentifier,omitempty"`
	KeyVaultResourceArmId *string `json:"keyVaultResourceArmId,omitempty"`
}

type LicenseType ¶

type LicenseType string
const (
	LicenseTypeNoLicenseType LicenseType = "NoLicenseType"
	LicenseTypeNotSpecified  LicenseType = "NotSpecified"
	LicenseTypeWindowsServer LicenseType = "WindowsServer"
)

func (*LicenseType) UnmarshalJSON ¶

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

type LinuxLicenseType ¶

type LinuxLicenseType string
const (
	LinuxLicenseTypeLinuxServer   LinuxLicenseType = "LinuxServer"
	LinuxLicenseTypeNoLicenseType LinuxLicenseType = "NoLicenseType"
	LinuxLicenseTypeNotSpecified  LinuxLicenseType = "NotSpecified"
)

func (*LinuxLicenseType) UnmarshalJSON ¶

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

type ListByReplicationProtectionContainersCompleteResult ¶

type ListByReplicationProtectionContainersCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ReplicationProtectedItem
}

type ListByReplicationProtectionContainersCustomPager ¶

type ListByReplicationProtectionContainersCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ListByReplicationProtectionContainersOperationResponse ¶

type ListByReplicationProtectionContainersOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ReplicationProtectedItem
}

type ListCompleteResult ¶

type ListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ReplicationProtectedItem
}

type ListCustomPager ¶

type ListCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListCustomPager) NextPageLink() *odata.Link

type ListOperationOptions ¶

type ListOperationOptions struct {
	Filter    *string
	SkipToken *string
}

func DefaultListOperationOptions ¶

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders ¶

func (o ListOperationOptions) ToHeaders() *client.Headers

func (ListOperationOptions) ToOData ¶

func (o ListOperationOptions) ToOData() *odata.Query

func (ListOperationOptions) ToQuery ¶

type ListOperationResponse ¶

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ReplicationProtectedItem
}

type MobilityAgentUpgradeState ¶

type MobilityAgentUpgradeState string
const (
	MobilityAgentUpgradeStateCommit    MobilityAgentUpgradeState = "Commit"
	MobilityAgentUpgradeStateCompleted MobilityAgentUpgradeState = "Completed"
	MobilityAgentUpgradeStateNone      MobilityAgentUpgradeState = "None"
	MobilityAgentUpgradeStateStarted   MobilityAgentUpgradeState = "Started"
)

func (*MobilityAgentUpgradeState) UnmarshalJSON ¶

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

type MultiVMGroupCreateOption ¶

type MultiVMGroupCreateOption string
const (
	MultiVMGroupCreateOptionAutoCreated   MultiVMGroupCreateOption = "AutoCreated"
	MultiVMGroupCreateOptionUserSpecified MultiVMGroupCreateOption = "UserSpecified"
)

func (*MultiVMGroupCreateOption) UnmarshalJSON ¶

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

type OSDetails ¶

type OSDetails struct {
	OSMajorVersion     *string `json:"oSMajorVersion,omitempty"`
	OSMinorVersion     *string `json:"oSMinorVersion,omitempty"`
	OSVersion          *string `json:"oSVersion,omitempty"`
	OsEdition          *string `json:"osEdition,omitempty"`
	OsType             *string `json:"osType,omitempty"`
	ProductType        *string `json:"productType,omitempty"`
	UserSelectedOSName *string `json:"userSelectedOSName,omitempty"`
}

type OSDiskDetails ¶

type OSDiskDetails struct {
	OsType  *string `json:"osType,omitempty"`
	OsVhdId *string `json:"osVhdId,omitempty"`
	VhdName *string `json:"vhdName,omitempty"`
}

type OSUpgradeSupportedVersions ¶

type OSUpgradeSupportedVersions struct {
	SupportedSourceOsVersion  *string   `json:"supportedSourceOsVersion,omitempty"`
	SupportedTargetOsVersions *[]string `json:"supportedTargetOsVersions,omitempty"`
}

type PlannedFailoverInput ¶

type PlannedFailoverInput struct {
	Properties *PlannedFailoverInputProperties `json:"properties,omitempty"`
}

type PlannedFailoverInputProperties ¶

type PlannedFailoverInputProperties struct {
	FailoverDirection       *string                                      `json:"failoverDirection,omitempty"`
	ProviderSpecificDetails PlannedFailoverProviderSpecificFailoverInput `json:"providerSpecificDetails"`
}

func (*PlannedFailoverInputProperties) UnmarshalJSON ¶

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

type PlannedFailoverOperationResponse ¶

type PlannedFailoverOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type PlannedFailoverProviderSpecificFailoverInput ¶

type PlannedFailoverProviderSpecificFailoverInput interface {
	PlannedFailoverProviderSpecificFailoverInput() BasePlannedFailoverProviderSpecificFailoverInputImpl
}

func UnmarshalPlannedFailoverProviderSpecificFailoverInputImplementation ¶

func UnmarshalPlannedFailoverProviderSpecificFailoverInputImplementation(input []byte) (PlannedFailoverProviderSpecificFailoverInput, error)

type PlannedFailoverStatus ¶

type PlannedFailoverStatus string
const (
	PlannedFailoverStatusCancelled PlannedFailoverStatus = "Cancelled"
	PlannedFailoverStatusFailed    PlannedFailoverStatus = "Failed"
	PlannedFailoverStatusSucceeded PlannedFailoverStatus = "Succeeded"
	PlannedFailoverStatusUnknown   PlannedFailoverStatus = "Unknown"
)

func (*PlannedFailoverStatus) UnmarshalJSON ¶

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

type PurgeOperationResponse ¶

type PurgeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type RawAddDisksProviderSpecificInputImpl ¶

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

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

func (RawAddDisksProviderSpecificInputImpl) AddDisksProviderSpecificInput ¶

type RawApplyRecoveryPointProviderSpecificInputImpl ¶

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

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

func (RawApplyRecoveryPointProviderSpecificInputImpl) ApplyRecoveryPointProviderSpecificInput ¶

type RawDisableProtectionProviderSpecificInputImpl ¶

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

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

func (RawDisableProtectionProviderSpecificInputImpl) DisableProtectionProviderSpecificInput ¶

type RawEnableProtectionProviderSpecificInputImpl ¶

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

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

func (RawEnableProtectionProviderSpecificInputImpl) EnableProtectionProviderSpecificInput ¶

type RawPlannedFailoverProviderSpecificFailoverInputImpl ¶

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

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

func (RawPlannedFailoverProviderSpecificFailoverInputImpl) PlannedFailoverProviderSpecificFailoverInput ¶

type RawRemoveDisksProviderSpecificInputImpl ¶

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

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

func (RawRemoveDisksProviderSpecificInputImpl) RemoveDisksProviderSpecificInput ¶

type RawReplicationProviderSpecificSettingsImpl ¶

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

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

func (RawReplicationProviderSpecificSettingsImpl) ReplicationProviderSpecificSettings ¶

type RawReverseReplicationProviderSpecificInputImpl ¶

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

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

func (RawReverseReplicationProviderSpecificInputImpl) ReverseReplicationProviderSpecificInput ¶

type RawSwitchProviderProviderSpecificInputImpl ¶

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

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

func (RawSwitchProviderProviderSpecificInputImpl) SwitchProviderProviderSpecificInput ¶

type RawTestFailoverProviderSpecificInputImpl ¶

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

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

func (RawTestFailoverProviderSpecificInputImpl) TestFailoverProviderSpecificInput ¶

type RawUnplannedFailoverProviderSpecificInputImpl ¶

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

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

func (RawUnplannedFailoverProviderSpecificInputImpl) UnplannedFailoverProviderSpecificInput ¶

type RawUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl ¶

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

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

func (RawUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl) UpdateApplianceForReplicationProtectedItemProviderSpecificInput ¶

type RawUpdateReplicationProtectedItemProviderInputImpl ¶

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

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

func (RawUpdateReplicationProtectedItemProviderInputImpl) UpdateReplicationProtectedItemProviderInput ¶

type RecoveryPointType ¶

type RecoveryPointType string
const (
	RecoveryPointTypeCustom     RecoveryPointType = "Custom"
	RecoveryPointTypeLatestTag  RecoveryPointType = "LatestTag"
	RecoveryPointTypeLatestTime RecoveryPointType = "LatestTime"
)

func (*RecoveryPointType) UnmarshalJSON ¶

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

type RemoveDisksInput ¶

type RemoveDisksInput struct {
	Properties *RemoveDisksInputProperties `json:"properties,omitempty"`
}

type RemoveDisksInputProperties ¶

type RemoveDisksInputProperties struct {
	ProviderSpecificDetails RemoveDisksProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*RemoveDisksInputProperties) UnmarshalJSON ¶

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

type RemoveDisksOperationResponse ¶

type RemoveDisksOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type RemoveDisksProviderSpecificInput ¶

type RemoveDisksProviderSpecificInput interface {
	RemoveDisksProviderSpecificInput() BaseRemoveDisksProviderSpecificInputImpl
}

func UnmarshalRemoveDisksProviderSpecificInputImplementation ¶

func UnmarshalRemoveDisksProviderSpecificInputImplementation(input []byte) (RemoveDisksProviderSpecificInput, error)

type RepairReplicationOperationResponse ¶

type RepairReplicationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type ReplicationProtectedItem ¶

type ReplicationProtectedItem struct {
	Id         *string                             `json:"id,omitempty"`
	Location   *string                             `json:"location,omitempty"`
	Name       *string                             `json:"name,omitempty"`
	Properties *ReplicationProtectedItemProperties `json:"properties,omitempty"`
	Type       *string                             `json:"type,omitempty"`
}

type ReplicationProtectedItemId ¶

type ReplicationProtectedItemId struct {
	SubscriptionId                     string
	ResourceGroupName                  string
	VaultName                          string
	ReplicationFabricName              string
	ReplicationProtectionContainerName string
	ReplicationProtectedItemName       string
}

ReplicationProtectedItemId is a struct representing the Resource ID for a Replication Protected Item

func NewReplicationProtectedItemID ¶

func NewReplicationProtectedItemID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string, replicationProtectedItemName string) ReplicationProtectedItemId

NewReplicationProtectedItemID returns a new ReplicationProtectedItemId struct

func ParseReplicationProtectedItemID ¶

func ParseReplicationProtectedItemID(input string) (*ReplicationProtectedItemId, error)

ParseReplicationProtectedItemID parses 'input' into a ReplicationProtectedItemId

func ParseReplicationProtectedItemIDInsensitively ¶

func ParseReplicationProtectedItemIDInsensitively(input string) (*ReplicationProtectedItemId, error)

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

func (*ReplicationProtectedItemId) FromParseResult ¶

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

func (ReplicationProtectedItemId) ID ¶

ID returns the formatted Replication Protected Item ID

func (ReplicationProtectedItemId) Segments ¶

Segments returns a slice of Resource ID Segments which comprise this Replication Protected Item ID

func (ReplicationProtectedItemId) String ¶

func (id ReplicationProtectedItemId) String() string

String returns a human-readable description of this Replication Protected Item ID

type ReplicationProtectedItemOperationPredicate ¶

type ReplicationProtectedItemOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (ReplicationProtectedItemOperationPredicate) Matches ¶

type ReplicationProtectedItemProperties ¶

type ReplicationProtectedItemProperties struct {
	ActiveLocation                          *string                             `json:"activeLocation,omitempty"`
	AllowedOperations                       *[]string                           `json:"allowedOperations,omitempty"`
	CurrentScenario                         *CurrentScenarioDetails             `json:"currentScenario,omitempty"`
	EventCorrelationId                      *string                             `json:"eventCorrelationId,omitempty"`
	FailoverHealth                          *string                             `json:"failoverHealth,omitempty"`
	FailoverRecoveryPointId                 *string                             `json:"failoverRecoveryPointId,omitempty"`
	FriendlyName                            *string                             `json:"friendlyName,omitempty"`
	HealthErrors                            *[]HealthError                      `json:"healthErrors,omitempty"`
	LastSuccessfulFailoverTime              *string                             `json:"lastSuccessfulFailoverTime,omitempty"`
	LastSuccessfulTestFailoverTime          *string                             `json:"lastSuccessfulTestFailoverTime,omitempty"`
	PolicyFriendlyName                      *string                             `json:"policyFriendlyName,omitempty"`
	PolicyId                                *string                             `json:"policyId,omitempty"`
	PrimaryFabricFriendlyName               *string                             `json:"primaryFabricFriendlyName,omitempty"`
	PrimaryFabricProvider                   *string                             `json:"primaryFabricProvider,omitempty"`
	PrimaryProtectionContainerFriendlyName  *string                             `json:"primaryProtectionContainerFriendlyName,omitempty"`
	ProtectableItemId                       *string                             `json:"protectableItemId,omitempty"`
	ProtectedItemType                       *string                             `json:"protectedItemType,omitempty"`
	ProtectionState                         *string                             `json:"protectionState,omitempty"`
	ProtectionStateDescription              *string                             `json:"protectionStateDescription,omitempty"`
	ProviderSpecificDetails                 ReplicationProviderSpecificSettings `json:"providerSpecificDetails"`
	RecoveryContainerId                     *string                             `json:"recoveryContainerId,omitempty"`
	RecoveryFabricFriendlyName              *string                             `json:"recoveryFabricFriendlyName,omitempty"`
	RecoveryFabricId                        *string                             `json:"recoveryFabricId,omitempty"`
	RecoveryProtectionContainerFriendlyName *string                             `json:"recoveryProtectionContainerFriendlyName,omitempty"`
	RecoveryServicesProviderId              *string                             `json:"recoveryServicesProviderId,omitempty"`
	ReplicationHealth                       *string                             `json:"replicationHealth,omitempty"`
	SwitchProviderState                     *string                             `json:"switchProviderState,omitempty"`
	SwitchProviderStateDescription          *string                             `json:"switchProviderStateDescription,omitempty"`
	TestFailoverState                       *string                             `json:"testFailoverState,omitempty"`
	TestFailoverStateDescription            *string                             `json:"testFailoverStateDescription,omitempty"`
}

func (*ReplicationProtectedItemProperties) GetLastSuccessfulFailoverTimeAsTime ¶

func (o *ReplicationProtectedItemProperties) GetLastSuccessfulFailoverTimeAsTime() (*time.Time, error)

func (*ReplicationProtectedItemProperties) GetLastSuccessfulTestFailoverTimeAsTime ¶

func (o *ReplicationProtectedItemProperties) GetLastSuccessfulTestFailoverTimeAsTime() (*time.Time, error)

func (*ReplicationProtectedItemProperties) SetLastSuccessfulFailoverTimeAsTime ¶

func (o *ReplicationProtectedItemProperties) SetLastSuccessfulFailoverTimeAsTime(input time.Time)

func (*ReplicationProtectedItemProperties) SetLastSuccessfulTestFailoverTimeAsTime ¶

func (o *ReplicationProtectedItemProperties) SetLastSuccessfulTestFailoverTimeAsTime(input time.Time)

func (*ReplicationProtectedItemProperties) UnmarshalJSON ¶

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

type ReplicationProtectedItemsClient ¶

type ReplicationProtectedItemsClient struct {
	Client *resourcemanager.Client
}

func NewReplicationProtectedItemsClientWithBaseURI ¶

func NewReplicationProtectedItemsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationProtectedItemsClient, error)

func (ReplicationProtectedItemsClient) AddDisks ¶

AddDisks ...

func (ReplicationProtectedItemsClient) AddDisksThenPoll ¶

AddDisksThenPoll performs AddDisks then polls until it's completed

func (ReplicationProtectedItemsClient) ApplyRecoveryPoint ¶

ApplyRecoveryPoint ...

func (ReplicationProtectedItemsClient) ApplyRecoveryPointThenPoll ¶

ApplyRecoveryPointThenPoll performs ApplyRecoveryPoint then polls until it's completed

func (ReplicationProtectedItemsClient) Create ¶

Create ...

func (ReplicationProtectedItemsClient) CreateThenPoll ¶

CreateThenPoll performs Create then polls until it's completed

func (ReplicationProtectedItemsClient) Delete ¶

Delete ...

func (ReplicationProtectedItemsClient) DeleteThenPoll ¶

DeleteThenPoll performs Delete then polls until it's completed

func (ReplicationProtectedItemsClient) FailoverCancel ¶

FailoverCancel ...

func (ReplicationProtectedItemsClient) FailoverCancelThenPoll ¶

FailoverCancelThenPoll performs FailoverCancel then polls until it's completed

func (ReplicationProtectedItemsClient) FailoverCommit ¶

FailoverCommit ...

func (ReplicationProtectedItemsClient) FailoverCommitThenPoll ¶

FailoverCommitThenPoll performs FailoverCommit then polls until it's completed

func (ReplicationProtectedItemsClient) Get ¶

Get ...

func (ReplicationProtectedItemsClient) List ¶

List ...

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainers ¶

ListByReplicationProtectionContainers ...

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainersComplete ¶

ListByReplicationProtectionContainersComplete retrieves all the results into a single object

func (ReplicationProtectedItemsClient) ListByReplicationProtectionContainersCompleteMatchingPredicate ¶

ListByReplicationProtectionContainersCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ReplicationProtectedItemsClient) ListComplete ¶

ListComplete retrieves all the results into a single object

func (ReplicationProtectedItemsClient) ListCompleteMatchingPredicate ¶

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ReplicationProtectedItemsClient) PlannedFailover ¶

PlannedFailover ...

func (ReplicationProtectedItemsClient) PlannedFailoverThenPoll ¶

PlannedFailoverThenPoll performs PlannedFailover then polls until it's completed

func (ReplicationProtectedItemsClient) Purge ¶

Purge ...

func (ReplicationProtectedItemsClient) PurgeThenPoll ¶

PurgeThenPoll performs Purge then polls until it's completed

func (ReplicationProtectedItemsClient) RemoveDisks ¶

RemoveDisks ...

func (ReplicationProtectedItemsClient) RemoveDisksThenPoll ¶

RemoveDisksThenPoll performs RemoveDisks then polls until it's completed

func (ReplicationProtectedItemsClient) RepairReplication ¶

RepairReplication ...

func (ReplicationProtectedItemsClient) RepairReplicationThenPoll ¶

RepairReplicationThenPoll performs RepairReplication then polls until it's completed

func (ReplicationProtectedItemsClient) Reprotect ¶

Reprotect ...

func (ReplicationProtectedItemsClient) ReprotectThenPoll ¶

ReprotectThenPoll performs Reprotect then polls until it's completed

func (ReplicationProtectedItemsClient) ResolveHealthErrors ¶

ResolveHealthErrors ...

func (ReplicationProtectedItemsClient) ResolveHealthErrorsThenPoll ¶

ResolveHealthErrorsThenPoll performs ResolveHealthErrors then polls until it's completed

func (ReplicationProtectedItemsClient) SwitchProvider ¶

SwitchProvider ...

func (ReplicationProtectedItemsClient) SwitchProviderThenPoll ¶

SwitchProviderThenPoll performs SwitchProvider then polls until it's completed

func (ReplicationProtectedItemsClient) TestFailover ¶

TestFailover ...

func (ReplicationProtectedItemsClient) TestFailoverCleanup ¶

TestFailoverCleanup ...

func (ReplicationProtectedItemsClient) TestFailoverCleanupThenPoll ¶

TestFailoverCleanupThenPoll performs TestFailoverCleanup then polls until it's completed

func (ReplicationProtectedItemsClient) TestFailoverThenPoll ¶

TestFailoverThenPoll performs TestFailover then polls until it's completed

func (ReplicationProtectedItemsClient) UnplannedFailover ¶

UnplannedFailover ...

func (ReplicationProtectedItemsClient) UnplannedFailoverThenPoll ¶

UnplannedFailoverThenPoll performs UnplannedFailover then polls until it's completed

func (ReplicationProtectedItemsClient) Update ¶

Update ...

func (ReplicationProtectedItemsClient) UpdateAppliance ¶

UpdateAppliance ...

func (ReplicationProtectedItemsClient) UpdateApplianceThenPoll ¶

UpdateApplianceThenPoll performs UpdateAppliance then polls until it's completed

func (ReplicationProtectedItemsClient) UpdateMobilityService ¶

UpdateMobilityService ...

func (ReplicationProtectedItemsClient) UpdateMobilityServiceThenPoll ¶

UpdateMobilityServiceThenPoll performs UpdateMobilityService then polls until it's completed

func (ReplicationProtectedItemsClient) UpdateThenPoll ¶

UpdateThenPoll performs Update then polls until it's completed

type ReplicationProtectionContainerId ¶

type ReplicationProtectionContainerId struct {
	SubscriptionId                     string
	ResourceGroupName                  string
	VaultName                          string
	ReplicationFabricName              string
	ReplicationProtectionContainerName string
}

ReplicationProtectionContainerId is a struct representing the Resource ID for a Replication Protection Container

func NewReplicationProtectionContainerID ¶

func NewReplicationProtectionContainerID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string) ReplicationProtectionContainerId

NewReplicationProtectionContainerID returns a new ReplicationProtectionContainerId struct

func ParseReplicationProtectionContainerID ¶

func ParseReplicationProtectionContainerID(input string) (*ReplicationProtectionContainerId, error)

ParseReplicationProtectionContainerID parses 'input' into a ReplicationProtectionContainerId

func ParseReplicationProtectionContainerIDInsensitively ¶

func ParseReplicationProtectionContainerIDInsensitively(input string) (*ReplicationProtectionContainerId, error)

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

func (*ReplicationProtectionContainerId) FromParseResult ¶

func (ReplicationProtectionContainerId) ID ¶

ID returns the formatted Replication Protection Container ID

func (ReplicationProtectionContainerId) Segments ¶

Segments returns a slice of Resource ID Segments which comprise this Replication Protection Container ID

func (ReplicationProtectionContainerId) String ¶

String returns a human-readable description of this Replication Protection Container ID

type ReplicationProviderSpecificSettings ¶

type ReplicationProviderSpecificSettings interface {
	ReplicationProviderSpecificSettings() BaseReplicationProviderSpecificSettingsImpl
}

func UnmarshalReplicationProviderSpecificSettingsImplementation ¶

func UnmarshalReplicationProviderSpecificSettingsImplementation(input []byte) (ReplicationProviderSpecificSettings, error)

type ReprotectOperationResponse ¶

type ReprotectOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type ResolveHealthError ¶

type ResolveHealthError struct {
	HealthErrorId *string `json:"healthErrorId,omitempty"`
}

type ResolveHealthErrorsOperationResponse ¶

type ResolveHealthErrorsOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type ResolveHealthInput ¶

type ResolveHealthInput struct {
	Properties *ResolveHealthInputProperties `json:"properties,omitempty"`
}

type ResolveHealthInputProperties ¶

type ResolveHealthInputProperties struct {
	HealthErrors *[]ResolveHealthError `json:"healthErrors,omitempty"`
}

type ResyncState ¶

type ResyncState string
const (
	ResyncStateNone                         ResyncState = "None"
	ResyncStatePreparedForResynchronization ResyncState = "PreparedForResynchronization"
	ResyncStateStartedResynchronization     ResyncState = "StartedResynchronization"
)

func (*ResyncState) UnmarshalJSON ¶

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

type ReverseReplicationInput ¶

type ReverseReplicationInput struct {
	Properties *ReverseReplicationInputProperties `json:"properties,omitempty"`
}

type ReverseReplicationInputProperties ¶

type ReverseReplicationInputProperties struct {
	FailoverDirection       *string                                 `json:"failoverDirection,omitempty"`
	ProviderSpecificDetails ReverseReplicationProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*ReverseReplicationInputProperties) UnmarshalJSON ¶

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

type ReverseReplicationProviderSpecificInput ¶

type ReverseReplicationProviderSpecificInput interface {
	ReverseReplicationProviderSpecificInput() BaseReverseReplicationProviderSpecificInputImpl
}

func UnmarshalReverseReplicationProviderSpecificInputImplementation ¶

func UnmarshalReverseReplicationProviderSpecificInputImplementation(input []byte) (ReverseReplicationProviderSpecificInput, error)

type SecurityConfiguration ¶

type SecurityConfiguration string
const (
	SecurityConfigurationDisabled SecurityConfiguration = "Disabled"
	SecurityConfigurationEnabled  SecurityConfiguration = "Enabled"
)

func (*SecurityConfiguration) UnmarshalJSON ¶

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

type SecurityProfileProperties ¶

type SecurityProfileProperties struct {
	TargetVMConfidentialEncryption *SecurityConfiguration `json:"targetVmConfidentialEncryption,omitempty"`
	TargetVMMonitoring             *SecurityConfiguration `json:"targetVmMonitoring,omitempty"`
	TargetVMSecureBoot             *SecurityConfiguration `json:"targetVmSecureBoot,omitempty"`
	TargetVMSecurityType           *SecurityType          `json:"targetVmSecurityType,omitempty"`
	TargetVMTpm                    *SecurityConfiguration `json:"targetVmTpm,omitempty"`
}

type SecurityType ¶

type SecurityType string
const (
	SecurityTypeConfidentialVM SecurityType = "ConfidentialVM"
	SecurityTypeNone           SecurityType = "None"
	SecurityTypeTrustedLaunch  SecurityType = "TrustedLaunch"
)

func (*SecurityType) UnmarshalJSON ¶

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

type SqlServerLicenseType ¶

type SqlServerLicenseType string
const (
	SqlServerLicenseTypeAHUB          SqlServerLicenseType = "AHUB"
	SqlServerLicenseTypeNoLicenseType SqlServerLicenseType = "NoLicenseType"
	SqlServerLicenseTypeNotSpecified  SqlServerLicenseType = "NotSpecified"
	SqlServerLicenseTypePAYG          SqlServerLicenseType = "PAYG"
)

func (*SqlServerLicenseType) UnmarshalJSON ¶

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

type SwitchProviderInput ¶

type SwitchProviderInput struct {
	Properties *SwitchProviderInputProperties `json:"properties,omitempty"`
}

type SwitchProviderInputProperties ¶

type SwitchProviderInputProperties struct {
	ProviderSpecificDetails SwitchProviderProviderSpecificInput `json:"providerSpecificDetails"`
	TargetInstanceType      *string                             `json:"targetInstanceType,omitempty"`
}

func (*SwitchProviderInputProperties) UnmarshalJSON ¶

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

type SwitchProviderOperationResponse ¶

type SwitchProviderOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type SwitchProviderProviderSpecificInput ¶

type SwitchProviderProviderSpecificInput interface {
	SwitchProviderProviderSpecificInput() BaseSwitchProviderProviderSpecificInputImpl
}

func UnmarshalSwitchProviderProviderSpecificInputImplementation ¶

func UnmarshalSwitchProviderProviderSpecificInputImplementation(input []byte) (SwitchProviderProviderSpecificInput, error)

type TestFailoverCleanupInput ¶

type TestFailoverCleanupInput struct {
	Properties TestFailoverCleanupInputProperties `json:"properties"`
}

type TestFailoverCleanupInputProperties ¶

type TestFailoverCleanupInputProperties struct {
	Comments *string `json:"comments,omitempty"`
}

type TestFailoverCleanupOperationResponse ¶

type TestFailoverCleanupOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type TestFailoverInput ¶

type TestFailoverInput struct {
	Properties TestFailoverInputProperties `json:"properties"`
}

type TestFailoverInputProperties ¶

type TestFailoverInputProperties struct {
	FailoverDirection       *string                           `json:"failoverDirection,omitempty"`
	NetworkId               *string                           `json:"networkId,omitempty"`
	NetworkType             *string                           `json:"networkType,omitempty"`
	ProviderSpecificDetails TestFailoverProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*TestFailoverInputProperties) UnmarshalJSON ¶

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

type TestFailoverOperationResponse ¶

type TestFailoverOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type TestFailoverProviderSpecificInput ¶

type TestFailoverProviderSpecificInput interface {
	TestFailoverProviderSpecificInput() BaseTestFailoverProviderSpecificInputImpl
}

func UnmarshalTestFailoverProviderSpecificInputImplementation ¶

func UnmarshalTestFailoverProviderSpecificInputImplementation(input []byte) (TestFailoverProviderSpecificInput, error)

type UnplannedFailoverInput ¶

type UnplannedFailoverInput struct {
	Properties UnplannedFailoverInputProperties `json:"properties"`
}

type UnplannedFailoverInputProperties ¶

type UnplannedFailoverInputProperties struct {
	FailoverDirection       *string                                `json:"failoverDirection,omitempty"`
	ProviderSpecificDetails UnplannedFailoverProviderSpecificInput `json:"providerSpecificDetails"`
	SourceSiteOperations    *string                                `json:"sourceSiteOperations,omitempty"`
}

func (*UnplannedFailoverInputProperties) UnmarshalJSON ¶

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

type UnplannedFailoverOperationResponse ¶

type UnplannedFailoverOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type UnplannedFailoverProviderSpecificInput ¶

type UnplannedFailoverProviderSpecificInput interface {
	UnplannedFailoverProviderSpecificInput() BaseUnplannedFailoverProviderSpecificInputImpl
}

func UnmarshalUnplannedFailoverProviderSpecificInputImplementation ¶

func UnmarshalUnplannedFailoverProviderSpecificInputImplementation(input []byte) (UnplannedFailoverProviderSpecificInput, error)

type UpdateApplianceForReplicationProtectedItemInput ¶

type UpdateApplianceForReplicationProtectedItemInput struct {
	Properties UpdateApplianceForReplicationProtectedItemInputProperties `json:"properties"`
}

type UpdateApplianceForReplicationProtectedItemInputProperties ¶

type UpdateApplianceForReplicationProtectedItemInputProperties struct {
	ProviderSpecificDetails UpdateApplianceForReplicationProtectedItemProviderSpecificInput `json:"providerSpecificDetails"`
	TargetApplianceId       string                                                          `json:"targetApplianceId"`
}

func (*UpdateApplianceForReplicationProtectedItemInputProperties) UnmarshalJSON ¶

type UpdateApplianceForReplicationProtectedItemProviderSpecificInput ¶

type UpdateApplianceForReplicationProtectedItemProviderSpecificInput interface {
	UpdateApplianceForReplicationProtectedItemProviderSpecificInput() BaseUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl
}

func UnmarshalUpdateApplianceForReplicationProtectedItemProviderSpecificInputImplementation ¶

func UnmarshalUpdateApplianceForReplicationProtectedItemProviderSpecificInputImplementation(input []byte) (UpdateApplianceForReplicationProtectedItemProviderSpecificInput, error)

type UpdateApplianceOperationResponse ¶

type UpdateApplianceOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type UpdateDiskInput ¶

type UpdateDiskInput struct {
	DiskId         string  `json:"diskId"`
	TargetDiskName *string `json:"targetDiskName,omitempty"`
}

type UpdateMobilityServiceOperationResponse ¶

type UpdateMobilityServiceOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type UpdateMobilityServiceRequest ¶

type UpdateMobilityServiceRequest struct {
	Properties *UpdateMobilityServiceRequestProperties `json:"properties,omitempty"`
}

type UpdateMobilityServiceRequestProperties ¶

type UpdateMobilityServiceRequestProperties struct {
	RunAsAccountId *string `json:"runAsAccountId,omitempty"`
}

type UpdateOperationResponse ¶

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ReplicationProtectedItem
}

type UpdateReplicationProtectedItemInput ¶

type UpdateReplicationProtectedItemInput struct {
	Properties *UpdateReplicationProtectedItemInputProperties `json:"properties,omitempty"`
}

type UpdateReplicationProtectedItemInputProperties ¶

type UpdateReplicationProtectedItemInputProperties struct {
	EnableRdpOnTargetOption        *string                                     `json:"enableRdpOnTargetOption,omitempty"`
	LicenseType                    *LicenseType                                `json:"licenseType,omitempty"`
	ProviderSpecificDetails        UpdateReplicationProtectedItemProviderInput `json:"providerSpecificDetails"`
	RecoveryAvailabilitySetId      *string                                     `json:"recoveryAvailabilitySetId,omitempty"`
	RecoveryAzureVMName            *string                                     `json:"recoveryAzureVMName,omitempty"`
	RecoveryAzureVMSize            *string                                     `json:"recoveryAzureVMSize,omitempty"`
	SelectedRecoveryAzureNetworkId *string                                     `json:"selectedRecoveryAzureNetworkId,omitempty"`
	SelectedSourceNicId            *string                                     `json:"selectedSourceNicId,omitempty"`
	SelectedTfoAzureNetworkId      *string                                     `json:"selectedTfoAzureNetworkId,omitempty"`
	VMNics                         *[]VMNicInputDetails                        `json:"vmNics,omitempty"`
}

func (*UpdateReplicationProtectedItemInputProperties) UnmarshalJSON ¶

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

type UpdateReplicationProtectedItemProviderInput ¶

type UpdateReplicationProtectedItemProviderInput interface {
	UpdateReplicationProtectedItemProviderInput() BaseUpdateReplicationProtectedItemProviderInputImpl
}

func UnmarshalUpdateReplicationProtectedItemProviderInputImplementation ¶

func UnmarshalUpdateReplicationProtectedItemProviderInputImplementation(input []byte) (UpdateReplicationProtectedItemProviderInput, error)

type UserCreatedResourceTag ¶

type UserCreatedResourceTag struct {
	TagName  *string `json:"tagName,omitempty"`
	TagValue *string `json:"tagValue,omitempty"`
}

type VMEncryptionType ¶

type VMEncryptionType string
const (
	VMEncryptionTypeNotEncrypted     VMEncryptionType = "NotEncrypted"
	VMEncryptionTypeOnePassEncrypted VMEncryptionType = "OnePassEncrypted"
	VMEncryptionTypeTwoPassEncrypted VMEncryptionType = "TwoPassEncrypted"
)

func (*VMEncryptionType) UnmarshalJSON ¶

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

type VMNicDetails ¶

type VMNicDetails struct {
	EnableAcceleratedNetworkingOnRecovery *bool              `json:"enableAcceleratedNetworkingOnRecovery,omitempty"`
	EnableAcceleratedNetworkingOnTfo      *bool              `json:"enableAcceleratedNetworkingOnTfo,omitempty"`
	IPConfigs                             *[]IPConfigDetails `json:"ipConfigs,omitempty"`
	NicId                                 *string            `json:"nicId,omitempty"`
	RecoveryNetworkSecurityGroupId        *string            `json:"recoveryNetworkSecurityGroupId,omitempty"`
	RecoveryNicName                       *string            `json:"recoveryNicName,omitempty"`
	RecoveryNicResourceGroupName          *string            `json:"recoveryNicResourceGroupName,omitempty"`
	RecoveryVMNetworkId                   *string            `json:"recoveryVMNetworkId,omitempty"`
	ReplicaNicId                          *string            `json:"replicaNicId,omitempty"`
	ReuseExistingNic                      *bool              `json:"reuseExistingNic,omitempty"`
	SelectionType                         *string            `json:"selectionType,omitempty"`
	SourceNicArmId                        *string            `json:"sourceNicArmId,omitempty"`
	TargetNicName                         *string            `json:"targetNicName,omitempty"`
	TfoNetworkSecurityGroupId             *string            `json:"tfoNetworkSecurityGroupId,omitempty"`
	TfoRecoveryNicName                    *string            `json:"tfoRecoveryNicName,omitempty"`
	TfoRecoveryNicResourceGroupName       *string            `json:"tfoRecoveryNicResourceGroupName,omitempty"`
	TfoReuseExistingNic                   *bool              `json:"tfoReuseExistingNic,omitempty"`
	TfoVMNetworkId                        *string            `json:"tfoVMNetworkId,omitempty"`
	VMNetworkName                         *string            `json:"vMNetworkName,omitempty"`
}

type VMNicInputDetails ¶

type VMNicInputDetails struct {
	EnableAcceleratedNetworkingOnRecovery *bool                   `json:"enableAcceleratedNetworkingOnRecovery,omitempty"`
	EnableAcceleratedNetworkingOnTfo      *bool                   `json:"enableAcceleratedNetworkingOnTfo,omitempty"`
	IPConfigs                             *[]IPConfigInputDetails `json:"ipConfigs,omitempty"`
	NicId                                 *string                 `json:"nicId,omitempty"`
	RecoveryNetworkSecurityGroupId        *string                 `json:"recoveryNetworkSecurityGroupId,omitempty"`
	RecoveryNicName                       *string                 `json:"recoveryNicName,omitempty"`
	RecoveryNicResourceGroupName          *string                 `json:"recoveryNicResourceGroupName,omitempty"`
	ReuseExistingNic                      *bool                   `json:"reuseExistingNic,omitempty"`
	SelectionType                         *string                 `json:"selectionType,omitempty"`
	TargetNicName                         *string                 `json:"targetNicName,omitempty"`
	TfoNetworkSecurityGroupId             *string                 `json:"tfoNetworkSecurityGroupId,omitempty"`
	TfoNicName                            *string                 `json:"tfoNicName,omitempty"`
	TfoNicResourceGroupName               *string                 `json:"tfoNicResourceGroupName,omitempty"`
	TfoReuseExistingNic                   *bool                   `json:"tfoReuseExistingNic,omitempty"`
}

type VMReplicationProgressHealth ¶

type VMReplicationProgressHealth string
const (
	VMReplicationProgressHealthInProgress   VMReplicationProgressHealth = "InProgress"
	VMReplicationProgressHealthNoProgress   VMReplicationProgressHealth = "NoProgress"
	VMReplicationProgressHealthNone         VMReplicationProgressHealth = "None"
	VMReplicationProgressHealthSlowProgress VMReplicationProgressHealth = "SlowProgress"
)

func (*VMReplicationProgressHealth) UnmarshalJSON ¶

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

type VaultId ¶

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID ¶

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

NewVaultID returns a new VaultId struct

func ParseVaultID ¶

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

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively ¶

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

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

func (*VaultId) FromParseResult ¶

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

func (VaultId) ID ¶

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments ¶

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

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

func (VaultId) String ¶

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

Source Files ¶

Jump to

Keyboard shortcuts

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