replicationprotecteditems

package
v0.20240110.1151535 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

README ¶

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2023-04-01/replicationprotecteditems Documentation

The replicationprotecteditems SDK allows for interaction with the Azure Resource Manager Service recoveryservicessiterecovery (API Version 2023-04-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/2023-04-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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue")

// 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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue")

// 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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationProtectedItemValue")

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 PossibleValuesForDisableProtectionReason ¶

func PossibleValuesForDisableProtectionReason() []string

func PossibleValuesForDiskAccountType ¶

func PossibleValuesForDiskAccountType() []string

func PossibleValuesForDiskReplicationProgressHealth ¶

func PossibleValuesForDiskReplicationProgressHealth() []string

func PossibleValuesForEthernetAddressType ¶

func PossibleValuesForEthernetAddressType() []string

func PossibleValuesForHealthErrorCustomerResolvability ¶

func PossibleValuesForHealthErrorCustomerResolvability() []string

func PossibleValuesForInMageRcmFailbackRecoveryPointType ¶

func PossibleValuesForInMageRcmFailbackRecoveryPointType() []string

func PossibleValuesForLicenseType ¶

func PossibleValuesForLicenseType() []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 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"`
}

func (A2AAddDisksInput) MarshalJSON ¶

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

type A2AApplyRecoveryPointInput ¶

type A2AApplyRecoveryPointInput struct {
}

func (A2AApplyRecoveryPointInput) MarshalJSON ¶

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

type A2ACrossClusterMigrationApplyRecoveryPointInput ¶

type A2ACrossClusterMigrationApplyRecoveryPointInput struct {
}

func (A2ACrossClusterMigrationApplyRecoveryPointInput) MarshalJSON ¶

type A2ACrossClusterMigrationEnableProtectionInput ¶

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

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

func (A2ACrossClusterMigrationReplicationDetails) MarshalJSON ¶

type A2AEnableProtectionInput ¶

type A2AEnableProtectionInput struct {
	DiskEncryptionInfo                 *DiskEncryptionInfo             `json:"diskEncryptionInfo,omitempty"`
	FabricObjectId                     string                          `json:"fabricObjectId"`
	MultiVMGroupId                     *string                         `json:"multiVmGroupId,omitempty"`
	MultiVMGroupName                   *string                         `json:"multiVmGroupName,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"`
}

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

func (A2ARemoveDisksInput) MarshalJSON ¶

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

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

func (A2AReplicationDetails) MarshalJSON ¶

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

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

func (A2AReprotectInput) MarshalJSON ¶

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

type A2ATestFailoverInput ¶

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

func (A2ATestFailoverInput) MarshalJSON ¶

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

type A2AUnplannedFailoverInput ¶

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

func (A2AUnplannedFailoverInput) MarshalJSON ¶

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

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

func (A2AUpdateReplicationProtectedItemInput) MarshalJSON ¶

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

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
}

type AddDisksProviderSpecificInput ¶

type AddDisksProviderSpecificInput interface {
}

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 ¶ added in v0.20230809.1081239

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
}

type ApplyRecoveryPointProviderSpecificInput ¶

type ApplyRecoveryPointProviderSpecificInput interface {
}

type AutoProtectionOfDataDisk ¶

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

func (*AutoProtectionOfDataDisk) UnmarshalJSON ¶ added in v0.20230809.1081239

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 CreateOperationResponse ¶

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

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 {
}

type DisableProtectionReason ¶

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

func (*DisableProtectionReason) UnmarshalJSON ¶ added in v0.20230809.1081239

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

type DiskAccountType ¶

type DiskAccountType string
const (
	DiskAccountTypePremiumLRS     DiskAccountType = "Premium_LRS"
	DiskAccountTypeStandardLRS    DiskAccountType = "Standard_LRS"
	DiskAccountTypeStandardSSDLRS DiskAccountType = "StandardSSD_LRS"
)

func (*DiskAccountType) UnmarshalJSON ¶ added in v0.20230809.1081239

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 ¶ added in v0.20230809.1081239

func (s *DiskReplicationProgressHealth) 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 {
}

type EthernetAddressType ¶

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

func (*EthernetAddressType) UnmarshalJSON ¶ added in v0.20230809.1081239

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

type FailoverCancelOperationResponse ¶

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

type FailoverCommitOperationResponse ¶

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

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 ¶ added in v0.20230809.1081239

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

type HyperVReplicaAzureApplyRecoveryPointInput ¶

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

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

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"`
	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"`
	TargetVMSize                    *string                               `json:"targetVmSize,omitempty"`
	TargetVMTags                    *map[string]string                    `json:"targetVmTags,omitempty"`
	UseManagedDisks                 *string                               `json:"useManagedDisks,omitempty"`
	UseManagedDisksForReplication   *string                               `json:"useManagedDisksForReplication,omitempty"`
	VhdId                           *string                               `json:"vhdId,omitempty"`
	VirtualMachineName              *string                               `json:"vmName,omitempty"`
}

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

func (HyperVReplicaAzureFailbackProviderInput) MarshalJSON ¶

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

type HyperVReplicaAzureManagedDiskDetails ¶

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

type HyperVReplicaAzurePlannedFailoverProviderInput ¶

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

func (HyperVReplicaAzurePlannedFailoverProviderInput) MarshalJSON ¶

type HyperVReplicaAzureReplicationDetails ¶

type HyperVReplicaAzureReplicationDetails struct {
	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"`
	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"`
	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"`
}

func (HyperVReplicaAzureReplicationDetails) MarshalJSON ¶

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

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

func (HyperVReplicaAzureReprotectInput) MarshalJSON ¶

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

type HyperVReplicaAzureTestFailoverInput ¶

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

func (HyperVReplicaAzureTestFailoverInput) MarshalJSON ¶

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

type HyperVReplicaAzureUnplannedFailoverInput ¶

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

func (HyperVReplicaAzureUnplannedFailoverInput) MarshalJSON ¶

type HyperVReplicaAzureUpdateReplicationProtectedItemInput ¶

type HyperVReplicaAzureUpdateReplicationProtectedItemInput struct {
	DiskIdToDiskEncryptionMap       *map[string]string    `json:"diskIdToDiskEncryptionMap,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"`
	VMDisks                         *[]UpdateDiskInput    `json:"vmDisks,omitempty"`
}

func (HyperVReplicaAzureUpdateReplicationProtectedItemInput) MarshalJSON ¶

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

func (HyperVReplicaBaseReplicationDetails) MarshalJSON ¶

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

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

func (HyperVReplicaBlueReplicationDetails) MarshalJSON ¶

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

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

func (HyperVReplicaReplicationDetails) MarshalJSON ¶

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

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 {
}

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

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

func (InMageAzureV2ReplicationDetails) MarshalJSON ¶

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

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

func (InMageAzureV2ReprotectInput) MarshalJSON ¶

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

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

func (InMageAzureV2SwitchProviderProviderInput) MarshalJSON ¶

type InMageAzureV2TestFailoverInput ¶

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

func (InMageAzureV2TestFailoverInput) MarshalJSON ¶

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

type InMageAzureV2UnplannedFailoverInput ¶

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

func (InMageAzureV2UnplannedFailoverInput) MarshalJSON ¶

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

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

func (InMageAzureV2UpdateReplicationProtectedItemInput) MarshalJSON ¶

type InMageDisableProtectionProviderSpecificInput ¶

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

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

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

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

type InMageRcmDisksDefaultInput ¶

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

type InMageRcmEnableProtectionInput ¶

type InMageRcmEnableProtectionInput struct {
	DisksDefault                          *InMageRcmDisksDefaultInput `json:"disksDefault,omitempty"`
	DisksToInclude                        *[]InMageRcmDiskInput       `json:"disksToInclude,omitempty"`
	FabricDiscoveryMachineId              string                      `json:"fabricDiscoveryMachineId"`
	LicenseType                           *LicenseType                `json:"licenseType,omitempty"`
	MultiVMGroupName                      *string                     `json:"multiVmGroupName,omitempty"`
	ProcessServerId                       string                      `json:"processServerId"`
	RunAsAccountId                        *string                     `json:"runAsAccountId,omitempty"`
	TargetAvailabilitySetId               *string                     `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                     `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                     `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetNetworkId                       *string                     `json:"targetNetworkId,omitempty"`
	TargetProximityPlacementGroupId       *string                     `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 string                      `json:"targetResourceGroupId"`
	TargetSubnetName                      *string                     `json:"targetSubnetName,omitempty"`
	TargetVMName                          *string                     `json:"targetVmName,omitempty"`
	TargetVMSize                          *string                     `json:"targetVmSize,omitempty"`
	TestNetworkId                         *string                     `json:"testNetworkId,omitempty"`
	TestSubnetName                        *string                     `json:"testSubnetName,omitempty"`
}

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

func (InMageRcmFailbackPlannedFailoverProviderInput) MarshalJSON ¶

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 ¶ added in v0.20230809.1081239

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

func (InMageRcmFailbackReplicationDetails) MarshalJSON ¶

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

type InMageRcmFailbackReprotectInput ¶

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

func (InMageRcmFailbackReprotectInput) MarshalJSON ¶

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

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"`
	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"`
	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"`
	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"`
	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"`
	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"`
	MobilityAgentDetails                       *InMageRcmMobilityAgentDetails               `json:"mobilityAgentDetails,omitempty"`
	MultiVMGroupName                           *string                                      `json:"multiVmGroupName,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"`
	StorageAccountId                           *string                                      `json:"storageAccountId,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"`
	TargetNetworkId                            *string                                      `json:"targetNetworkId,omitempty"`
	TargetProximityPlacementGroupId            *string                                      `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                      *string                                      `json:"targetResourceGroupId,omitempty"`
	TargetVMName                               *string                                      `json:"targetVmName,omitempty"`
	TargetVMSize                               *string                                      `json:"targetVmSize,omitempty"`
	TestNetworkId                              *string                                      `json:"testNetworkId,omitempty"`
	VMNics                                     *[]InMageRcmNicDetails                       `json:"vmNics,omitempty"`
}

func (InMageRcmReplicationDetails) MarshalJSON ¶

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

type InMageRcmReprotectInput ¶

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

func (InMageRcmReprotectInput) MarshalJSON ¶

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

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"`
	RecoveryPointId *string `json:"recoveryPointId,omitempty"`
}

func (InMageRcmTestFailoverInput) MarshalJSON ¶

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

type InMageRcmUnplannedFailoverInput ¶

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

func (InMageRcmUnplannedFailoverInput) MarshalJSON ¶

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

type InMageRcmUpdateApplianceForReplicationProtectedItemInput ¶

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

func (InMageRcmUpdateApplianceForReplicationProtectedItemInput) MarshalJSON ¶

type InMageRcmUpdateReplicationProtectedItemInput ¶

type InMageRcmUpdateReplicationProtectedItemInput struct {
	LicenseType                           *LicenseType         `json:"licenseType,omitempty"`
	TargetAvailabilitySetId               *string              `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string              `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string              `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetNetworkId                       *string              `json:"targetNetworkId,omitempty"`
	TargetProximityPlacementGroupId       *string              `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 *string              `json:"targetResourceGroupId,omitempty"`
	TargetVMName                          *string              `json:"targetVmName,omitempty"`
	TargetVMSize                          *string              `json:"targetVmSize,omitempty"`
	TestNetworkId                         *string              `json:"testNetworkId,omitempty"`
	VMNics                                *[]InMageRcmNicInput `json:"vmNics,omitempty"`
}

func (InMageRcmUpdateReplicationProtectedItemInput) MarshalJSON ¶

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

func (InMageReplicationDetails) MarshalJSON ¶

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

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

func (InMageReprotectInput) MarshalJSON ¶

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

type InMageTestFailoverInput ¶

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

func (InMageTestFailoverInput) MarshalJSON ¶

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

type InMageUnplannedFailoverInput ¶

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

func (InMageUnplannedFailoverInput) MarshalJSON ¶

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

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 ¶ added in v0.20230809.1081239

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

type ListByReplicationProtectionContainersCompleteResult ¶

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

type ListByReplicationProtectionContainersOperationResponse ¶

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

type ListCompleteResult ¶

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

type ListOperationOptions ¶

type ListOperationOptions struct {
	Filter    *string
	SkipToken *string
}

func DefaultListOperationOptions ¶

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders ¶ added in v0.20230809.1081239

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

func (ListOperationOptions) ToOData ¶ added in v0.20230809.1081239

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

func (ListOperationOptions) ToQuery ¶ added in v0.20230809.1081239

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 ¶ added in v0.20230809.1081239

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

type MultiVMGroupCreateOption ¶

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

func (*MultiVMGroupCreateOption) UnmarshalJSON ¶ added in v0.20230809.1081239

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

type OSDiskDetails ¶

type OSDiskDetails struct {
	OsType  *string `json:"osType,omitempty"`
	OsVhdId *string `json:"osVhdId,omitempty"`
	VhdName *string `json:"vhdName,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
}

type PlannedFailoverProviderSpecificFailoverInput ¶

type PlannedFailoverProviderSpecificFailoverInput interface {
}

type PlannedFailoverStatus ¶

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

func (*PlannedFailoverStatus) UnmarshalJSON ¶ added in v0.20230809.1081239

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

type PurgeOperationResponse ¶

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

type RawAddDisksProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawAddDisksProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawApplyRecoveryPointProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawApplyRecoveryPointProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawDisableProtectionProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawDisableProtectionProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawEnableProtectionProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawEnableProtectionProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawPlannedFailoverProviderSpecificFailoverInputImpl ¶ added in v0.20230807.1063129

type RawPlannedFailoverProviderSpecificFailoverInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawRemoveDisksProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawRemoveDisksProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawReplicationProviderSpecificSettingsImpl ¶ added in v0.20230807.1063129

type RawReplicationProviderSpecificSettingsImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawReverseReplicationProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawReverseReplicationProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawSwitchProviderProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawSwitchProviderProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawTestFailoverProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawTestFailoverProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawUnplannedFailoverProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawUnplannedFailoverProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl ¶ added in v0.20230807.1063129

type RawUpdateApplianceForReplicationProtectedItemProviderSpecificInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawUpdateReplicationProtectedItemProviderInputImpl ¶ added in v0.20230807.1063129

type RawUpdateReplicationProtectedItemProviderInputImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RecoveryPointType ¶

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

func (*RecoveryPointType) UnmarshalJSON ¶ added in v0.20230809.1081239

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
}

type RemoveDisksProviderSpecificInput ¶

type RemoveDisksProviderSpecificInput interface {
}

type RepairReplicationOperationResponse ¶

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

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 ¶ added in v0.20231127.1171502

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 ¶ added in v0.20231127.1171502

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 {
}

type ReprotectOperationResponse ¶

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

type ResolveHealthError ¶

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

type ResolveHealthErrorsOperationResponse ¶

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

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 ¶ added in v0.20230809.1081239

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 {
}

type SqlServerLicenseType ¶

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

func (*SqlServerLicenseType) UnmarshalJSON ¶ added in v0.20230809.1081239

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
}

type SwitchProviderProviderSpecificInput ¶

type SwitchProviderProviderSpecificInput interface {
}

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
}

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
}

type TestFailoverProviderSpecificInput ¶

type TestFailoverProviderSpecificInput interface {
}

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
}

type UnplannedFailoverProviderSpecificInput ¶

type UnplannedFailoverProviderSpecificInput interface {
}

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 {
}

type UpdateApplianceOperationResponse ¶

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

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
}

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
}

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 {
}

type VMEncryptionType ¶

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

func (*VMEncryptionType) UnmarshalJSON ¶ added in v0.20230809.1081239

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 ¶ added in v0.20230809.1081239

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 ¶ added in v0.20231127.1171502

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