replicationmigrationitems

package
v0.20240312.1134121 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2023-08-01/replicationmigrationitems Documentation

The replicationmigrationitems SDK allows for interaction with the Azure Resource Manager Service recoveryservicessiterecovery (API Version 2023-08-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-08-01/replicationmigrationitems"

Client Initialization

client := replicationmigrationitems.NewReplicationMigrationItemsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ReplicationMigrationItemsClient.Create

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.EnableMigrationInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.Delete

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

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

Example Usage: ReplicationMigrationItemsClient.Get

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

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: ReplicationMigrationItemsClient.List

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

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

Example Usage: ReplicationMigrationItemsClient.ListByReplicationProtectionContainers

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationProtectionContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue")

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

Example Usage: ReplicationMigrationItemsClient.Migrate

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.MigrateInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.PauseReplication

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.PauseReplicationInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.ResumeReplication

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.ResumeReplicationInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.Resync

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.ResyncInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.TestMigrate

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.TestMigrateInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.TestMigrateCleanup

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.TestMigrateCleanupInput{
	// ...
}


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

Example Usage: ReplicationMigrationItemsClient.Update

ctx := context.TODO()
id := replicationmigrationitems.NewReplicationMigrationItemID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationFabricValue", "replicationProtectionContainerValue", "replicationMigrationItemValue")

payload := replicationmigrationitems.UpdateMigrationItemInput{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForDiskAccountType

func PossibleValuesForDiskAccountType() []string

func PossibleValuesForEthernetAddressType

func PossibleValuesForEthernetAddressType() []string

func PossibleValuesForHealthErrorCustomerResolvability

func PossibleValuesForHealthErrorCustomerResolvability() []string

func PossibleValuesForLicenseType

func PossibleValuesForLicenseType() []string

func PossibleValuesForMigrationItemOperation

func PossibleValuesForMigrationItemOperation() []string

func PossibleValuesForMigrationState

func PossibleValuesForMigrationState() []string

func PossibleValuesForProtectionHealth

func PossibleValuesForProtectionHealth() []string

func PossibleValuesForResyncState

func PossibleValuesForResyncState() []string

func PossibleValuesForSecurityType

func PossibleValuesForSecurityType() []string

func PossibleValuesForSqlServerLicenseType

func PossibleValuesForSqlServerLicenseType() []string

func PossibleValuesForTestMigrationState

func PossibleValuesForTestMigrationState() []string

func ValidateReplicationMigrationItemID

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

ValidateReplicationMigrationItemID checks that 'input' can be parsed as a Replication Migration 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 ApplianceMonitoringDetails

type ApplianceMonitoringDetails struct {
	CpuDetails              *ApplianceResourceDetails      `json:"cpuDetails,omitempty"`
	DatastoreSnapshot       *[]DataStoreUtilizationDetails `json:"datastoreSnapshot,omitempty"`
	DisksReplicationDetails *ApplianceResourceDetails      `json:"disksReplicationDetails,omitempty"`
	EsxiNfcBuffer           *ApplianceResourceDetails      `json:"esxiNfcBuffer,omitempty"`
	NetworkBandwidth        *ApplianceResourceDetails      `json:"networkBandwidth,omitempty"`
	RamDetails              *ApplianceResourceDetails      `json:"ramDetails,omitempty"`
}

type ApplianceResourceDetails

type ApplianceResourceDetails struct {
	Capacity           *int64   `json:"capacity,omitempty"`
	ProcessUtilization *float64 `json:"processUtilization,omitempty"`
	Status             *string  `json:"status,omitempty"`
	TotalUtilization   *float64 `json:"totalUtilization,omitempty"`
}

type CreateOperationResponse

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

type CriticalJobHistoryDetails

type CriticalJobHistoryDetails struct {
	JobId     *string `json:"jobId,omitempty"`
	JobName   *string `json:"jobName,omitempty"`
	JobStatus *string `json:"jobStatus,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
}

func (*CriticalJobHistoryDetails) GetStartTimeAsTime

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

func (*CriticalJobHistoryDetails) SetStartTimeAsTime

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

type CurrentJobDetails

type CurrentJobDetails struct {
	JobId     *string `json:"jobId,omitempty"`
	JobName   *string `json:"jobName,omitempty"`
	StartTime *string `json:"startTime,omitempty"`
}

func (*CurrentJobDetails) GetStartTimeAsTime

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

func (*CurrentJobDetails) SetStartTimeAsTime

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

type DataStoreUtilizationDetails

type DataStoreUtilizationDetails struct {
	DataStoreName           *string `json:"dataStoreName,omitempty"`
	TotalSnapshotsCreated   *int64  `json:"totalSnapshotsCreated,omitempty"`
	TotalSnapshotsSupported *int64  `json:"totalSnapshotsSupported,omitempty"`
}

type DeleteOperationOptions

type DeleteOperationOptions struct {
	DeleteOption *string
}

func DefaultDeleteOperationOptions

func DefaultDeleteOperationOptions() DeleteOperationOptions

func (DeleteOperationOptions) ToHeaders

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

func (DeleteOperationOptions) ToOData

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

func (DeleteOperationOptions) ToQuery

type DeleteOperationResponse

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

type DiskAccountType

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

func (*DiskAccountType) UnmarshalJSON

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

type EnableMigrationInput

type EnableMigrationInput struct {
	Properties EnableMigrationInputProperties `json:"properties"`
}

type EnableMigrationInputProperties

type EnableMigrationInputProperties struct {
	PolicyId                string                               `json:"policyId"`
	ProviderSpecificDetails EnableMigrationProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*EnableMigrationInputProperties) UnmarshalJSON

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

type EnableMigrationProviderSpecificInput

type EnableMigrationProviderSpecificInput interface {
}

type EthernetAddressType

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

func (*EthernetAddressType) UnmarshalJSON

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

type GatewayOperationDetails

type GatewayOperationDetails struct {
	DataStores           *[]string `json:"dataStores,omitempty"`
	HostName             *string   `json:"hostName,omitempty"`
	ProgressPercentage   *int64    `json:"progressPercentage,omitempty"`
	State                *string   `json:"state,omitempty"`
	TimeElapsed          *int64    `json:"timeElapsed,omitempty"`
	TimeRemaining        *int64    `json:"timeRemaining,omitempty"`
	UploadSpeed          *int64    `json:"uploadSpeed,omitempty"`
	VMwareReadThroughput *int64    `json:"vmwareReadThroughput,omitempty"`
}

type GetOperationResponse

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

type HealthError

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

func (*HealthError) GetCreationTimeUtcAsTime

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

func (*HealthError) SetCreationTimeUtcAsTime

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

type HealthErrorCustomerResolvability

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

func (*HealthErrorCustomerResolvability) UnmarshalJSON

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

type 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 LicenseType

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

func (*LicenseType) UnmarshalJSON

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

type ListByReplicationProtectionContainersCompleteResult

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

type ListByReplicationProtectionContainersOperationOptions

type ListByReplicationProtectionContainersOperationOptions struct {
	Filter    *string
	SkipToken *string
	TakeToken *string
}

func DefaultListByReplicationProtectionContainersOperationOptions

func DefaultListByReplicationProtectionContainersOperationOptions() ListByReplicationProtectionContainersOperationOptions

func (ListByReplicationProtectionContainersOperationOptions) ToHeaders

func (ListByReplicationProtectionContainersOperationOptions) ToOData

func (ListByReplicationProtectionContainersOperationOptions) ToQuery

type ListByReplicationProtectionContainersOperationResponse

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

type ListCompleteResult

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

type ListOperationOptions

type ListOperationOptions struct {
	Filter    *string
	SkipToken *string
	TakeToken *string
}

func DefaultListOperationOptions

func DefaultListOperationOptions() ListOperationOptions

func (ListOperationOptions) ToHeaders

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

func (ListOperationOptions) ToOData

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

func (ListOperationOptions) ToQuery

type ListOperationResponse

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

type MigrateInput

type MigrateInput struct {
	Properties MigrateInputProperties `json:"properties"`
}

type MigrateInputProperties

type MigrateInputProperties struct {
	ProviderSpecificDetails MigrateProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*MigrateInputProperties) UnmarshalJSON

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

type MigrateOperationResponse

type MigrateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrationItem
}

type MigrateProviderSpecificInput

type MigrateProviderSpecificInput interface {
}

type MigrationItem

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

type MigrationItemOperation

type MigrationItemOperation string
const (
	MigrationItemOperationDisableMigration   MigrationItemOperation = "DisableMigration"
	MigrationItemOperationMigrate            MigrationItemOperation = "Migrate"
	MigrationItemOperationPauseReplication   MigrationItemOperation = "PauseReplication"
	MigrationItemOperationResumeReplication  MigrationItemOperation = "ResumeReplication"
	MigrationItemOperationStartResync        MigrationItemOperation = "StartResync"
	MigrationItemOperationTestMigrate        MigrationItemOperation = "TestMigrate"
	MigrationItemOperationTestMigrateCleanup MigrationItemOperation = "TestMigrateCleanup"
)

func (*MigrationItemOperation) UnmarshalJSON

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

type MigrationItemOperationPredicate

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

func (MigrationItemOperationPredicate) Matches

type MigrationItemProperties

type MigrationItemProperties struct {
	AllowedOperations           *[]MigrationItemOperation         `json:"allowedOperations,omitempty"`
	CriticalJobHistory          *[]CriticalJobHistoryDetails      `json:"criticalJobHistory,omitempty"`
	CurrentJob                  *CurrentJobDetails                `json:"currentJob,omitempty"`
	EventCorrelationId          *string                           `json:"eventCorrelationId,omitempty"`
	Health                      *ProtectionHealth                 `json:"health,omitempty"`
	HealthErrors                *[]HealthError                    `json:"healthErrors,omitempty"`
	LastMigrationStatus         *string                           `json:"lastMigrationStatus,omitempty"`
	LastMigrationTime           *string                           `json:"lastMigrationTime,omitempty"`
	LastTestMigrationStatus     *string                           `json:"lastTestMigrationStatus,omitempty"`
	LastTestMigrationTime       *string                           `json:"lastTestMigrationTime,omitempty"`
	MachineName                 *string                           `json:"machineName,omitempty"`
	MigrationState              *MigrationState                   `json:"migrationState,omitempty"`
	MigrationStateDescription   *string                           `json:"migrationStateDescription,omitempty"`
	PolicyFriendlyName          *string                           `json:"policyFriendlyName,omitempty"`
	PolicyId                    *string                           `json:"policyId,omitempty"`
	ProviderSpecificDetails     MigrationProviderSpecificSettings `json:"providerSpecificDetails"`
	RecoveryServicesProviderId  *string                           `json:"recoveryServicesProviderId,omitempty"`
	ReplicationStatus           *string                           `json:"replicationStatus,omitempty"`
	TestMigrateState            *TestMigrationState               `json:"testMigrateState,omitempty"`
	TestMigrateStateDescription *string                           `json:"testMigrateStateDescription,omitempty"`
}

func (*MigrationItemProperties) GetLastMigrationTimeAsTime

func (o *MigrationItemProperties) GetLastMigrationTimeAsTime() (*time.Time, error)

func (*MigrationItemProperties) GetLastTestMigrationTimeAsTime

func (o *MigrationItemProperties) GetLastTestMigrationTimeAsTime() (*time.Time, error)

func (*MigrationItemProperties) SetLastMigrationTimeAsTime

func (o *MigrationItemProperties) SetLastMigrationTimeAsTime(input time.Time)

func (*MigrationItemProperties) SetLastTestMigrationTimeAsTime

func (o *MigrationItemProperties) SetLastTestMigrationTimeAsTime(input time.Time)

func (*MigrationItemProperties) UnmarshalJSON

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

type MigrationProviderSpecificSettings

type MigrationProviderSpecificSettings interface {
}

type MigrationState

type MigrationState string
const (
	MigrationStateDisableMigrationFailed            MigrationState = "DisableMigrationFailed"
	MigrationStateDisableMigrationInProgress        MigrationState = "DisableMigrationInProgress"
	MigrationStateEnableMigrationFailed             MigrationState = "EnableMigrationFailed"
	MigrationStateEnableMigrationInProgress         MigrationState = "EnableMigrationInProgress"
	MigrationStateInitialSeedingFailed              MigrationState = "InitialSeedingFailed"
	MigrationStateInitialSeedingInProgress          MigrationState = "InitialSeedingInProgress"
	MigrationStateMigrationCompletedWithInformation MigrationState = "MigrationCompletedWithInformation"
	MigrationStateMigrationFailed                   MigrationState = "MigrationFailed"
	MigrationStateMigrationInProgress               MigrationState = "MigrationInProgress"
	MigrationStateMigrationPartiallySucceeded       MigrationState = "MigrationPartiallySucceeded"
	MigrationStateMigrationSucceeded                MigrationState = "MigrationSucceeded"
	MigrationStateNone                              MigrationState = "None"
	MigrationStateProtectionSuspended               MigrationState = "ProtectionSuspended"
	MigrationStateReplicating                       MigrationState = "Replicating"
	MigrationStateResumeInProgress                  MigrationState = "ResumeInProgress"
	MigrationStateResumeInitiated                   MigrationState = "ResumeInitiated"
	MigrationStateSuspendingProtection              MigrationState = "SuspendingProtection"
)

func (*MigrationState) UnmarshalJSON

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

type PauseReplicationInput

type PauseReplicationInput struct {
	Properties PauseReplicationInputProperties `json:"properties"`
}

type PauseReplicationInputProperties

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

type PauseReplicationOperationResponse

type PauseReplicationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrationItem
}

type ProtectionHealth

type ProtectionHealth string
const (
	ProtectionHealthCritical ProtectionHealth = "Critical"
	ProtectionHealthNone     ProtectionHealth = "None"
	ProtectionHealthNormal   ProtectionHealth = "Normal"
	ProtectionHealthWarning  ProtectionHealth = "Warning"
)

func (*ProtectionHealth) UnmarshalJSON

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

type RawEnableMigrationProviderSpecificInputImpl

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

RawEnableMigrationProviderSpecificInputImpl 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 RawMigrateProviderSpecificInputImpl

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

RawMigrateProviderSpecificInputImpl 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 RawMigrationProviderSpecificSettingsImpl

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

RawMigrationProviderSpecificSettingsImpl 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 RawResumeReplicationProviderSpecificInputImpl

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

RawResumeReplicationProviderSpecificInputImpl 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 RawResyncProviderSpecificInputImpl

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

RawResyncProviderSpecificInputImpl 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 RawTestMigrateProviderSpecificInputImpl

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

RawTestMigrateProviderSpecificInputImpl 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 RawUpdateMigrationItemProviderSpecificInputImpl

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

RawUpdateMigrationItemProviderSpecificInputImpl 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 ReplicationMigrationItemId

type ReplicationMigrationItemId struct {
	SubscriptionId                     string
	ResourceGroupName                  string
	VaultName                          string
	ReplicationFabricName              string
	ReplicationProtectionContainerName string
	ReplicationMigrationItemName       string
}

ReplicationMigrationItemId is a struct representing the Resource ID for a Replication Migration Item

func NewReplicationMigrationItemID

func NewReplicationMigrationItemID(subscriptionId string, resourceGroupName string, vaultName string, replicationFabricName string, replicationProtectionContainerName string, replicationMigrationItemName string) ReplicationMigrationItemId

NewReplicationMigrationItemID returns a new ReplicationMigrationItemId struct

func ParseReplicationMigrationItemID

func ParseReplicationMigrationItemID(input string) (*ReplicationMigrationItemId, error)

ParseReplicationMigrationItemID parses 'input' into a ReplicationMigrationItemId

func ParseReplicationMigrationItemIDInsensitively

func ParseReplicationMigrationItemIDInsensitively(input string) (*ReplicationMigrationItemId, error)

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

func (*ReplicationMigrationItemId) FromParseResult

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

func (ReplicationMigrationItemId) ID

ID returns the formatted Replication Migration Item ID

func (ReplicationMigrationItemId) Segments

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

func (ReplicationMigrationItemId) String

func (id ReplicationMigrationItemId) String() string

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

type ReplicationMigrationItemsClient

type ReplicationMigrationItemsClient struct {
	Client *resourcemanager.Client
}

func NewReplicationMigrationItemsClientWithBaseURI

func NewReplicationMigrationItemsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationMigrationItemsClient, error)

func (ReplicationMigrationItemsClient) Create

Create ...

func (ReplicationMigrationItemsClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (ReplicationMigrationItemsClient) Delete

Delete ...

func (ReplicationMigrationItemsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (ReplicationMigrationItemsClient) Get

Get ...

func (ReplicationMigrationItemsClient) List

List ...

func (ReplicationMigrationItemsClient) ListByReplicationProtectionContainers

ListByReplicationProtectionContainers ...

func (ReplicationMigrationItemsClient) ListByReplicationProtectionContainersComplete

ListByReplicationProtectionContainersComplete retrieves all the results into a single object

func (ReplicationMigrationItemsClient) ListByReplicationProtectionContainersCompleteMatchingPredicate

ListByReplicationProtectionContainersCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ReplicationMigrationItemsClient) ListComplete

ListComplete retrieves all the results into a single object

func (ReplicationMigrationItemsClient) ListCompleteMatchingPredicate

func (c ReplicationMigrationItemsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate MigrationItemOperationPredicate) (result ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ReplicationMigrationItemsClient) Migrate

Migrate ...

func (ReplicationMigrationItemsClient) MigrateThenPoll

MigrateThenPoll performs Migrate then polls until it's completed

func (ReplicationMigrationItemsClient) PauseReplication

PauseReplication ...

func (ReplicationMigrationItemsClient) PauseReplicationThenPoll

PauseReplicationThenPoll performs PauseReplication then polls until it's completed

func (ReplicationMigrationItemsClient) ResumeReplication

ResumeReplication ...

func (ReplicationMigrationItemsClient) ResumeReplicationThenPoll

ResumeReplicationThenPoll performs ResumeReplication then polls until it's completed

func (ReplicationMigrationItemsClient) Resync

Resync ...

func (ReplicationMigrationItemsClient) ResyncThenPoll

ResyncThenPoll performs Resync then polls until it's completed

func (ReplicationMigrationItemsClient) TestMigrate

TestMigrate ...

func (ReplicationMigrationItemsClient) TestMigrateCleanup

TestMigrateCleanup ...

func (ReplicationMigrationItemsClient) TestMigrateCleanupThenPoll

TestMigrateCleanupThenPoll performs TestMigrateCleanup then polls until it's completed

func (ReplicationMigrationItemsClient) TestMigrateThenPoll

TestMigrateThenPoll performs TestMigrate then polls until it's completed

func (ReplicationMigrationItemsClient) Update

Update ...

func (ReplicationMigrationItemsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type ReplicationProtectionContainerId

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

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

func NewReplicationProtectionContainerID

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

NewReplicationProtectionContainerID returns a new ReplicationProtectionContainerId struct

func ParseReplicationProtectionContainerID

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

ParseReplicationProtectionContainerID parses 'input' into a ReplicationProtectionContainerId

func ParseReplicationProtectionContainerIDInsensitively

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

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

func (*ReplicationProtectionContainerId) FromParseResult

func (ReplicationProtectionContainerId) ID

ID returns the formatted Replication Protection Container ID

func (ReplicationProtectionContainerId) Segments

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

func (ReplicationProtectionContainerId) String

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

type ResumeReplicationInput

type ResumeReplicationInput struct {
	Properties ResumeReplicationInputProperties `json:"properties"`
}

type ResumeReplicationInputProperties

type ResumeReplicationInputProperties struct {
	ProviderSpecificDetails ResumeReplicationProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*ResumeReplicationInputProperties) UnmarshalJSON

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

type ResumeReplicationOperationResponse

type ResumeReplicationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrationItem
}

type ResumeReplicationProviderSpecificInput

type ResumeReplicationProviderSpecificInput interface {
}

type ResyncInput

type ResyncInput struct {
	Properties ResyncInputProperties `json:"properties"`
}

type ResyncInputProperties

type ResyncInputProperties struct {
	ProviderSpecificDetails ResyncProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*ResyncInputProperties) UnmarshalJSON

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

type ResyncOperationResponse

type ResyncOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrationItem
}

type ResyncProviderSpecificInput

type ResyncProviderSpecificInput interface {
}

type ResyncState

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

func (*ResyncState) UnmarshalJSON

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

type SecurityType

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

func (*SecurityType) UnmarshalJSON

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

type SqlServerLicenseType

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

func (*SqlServerLicenseType) UnmarshalJSON

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

type TestMigrateCleanupInput

type TestMigrateCleanupInput struct {
	Properties TestMigrateCleanupInputProperties `json:"properties"`
}

type TestMigrateCleanupInputProperties

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

type TestMigrateCleanupOperationResponse

type TestMigrateCleanupOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrationItem
}

type TestMigrateInput

type TestMigrateInput struct {
	Properties TestMigrateInputProperties `json:"properties"`
}

type TestMigrateInputProperties

type TestMigrateInputProperties struct {
	ProviderSpecificDetails TestMigrateProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*TestMigrateInputProperties) UnmarshalJSON

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

type TestMigrateOperationResponse

type TestMigrateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *MigrationItem
}

type TestMigrateProviderSpecificInput

type TestMigrateProviderSpecificInput interface {
}

type TestMigrationState

type TestMigrationState string
const (
	TestMigrationStateNone                                  TestMigrationState = "None"
	TestMigrationStateTestMigrationCleanupInProgress        TestMigrationState = "TestMigrationCleanupInProgress"
	TestMigrationStateTestMigrationCompletedWithInformation TestMigrationState = "TestMigrationCompletedWithInformation"
	TestMigrationStateTestMigrationFailed                   TestMigrationState = "TestMigrationFailed"
	TestMigrationStateTestMigrationInProgress               TestMigrationState = "TestMigrationInProgress"
	TestMigrationStateTestMigrationPartiallySucceeded       TestMigrationState = "TestMigrationPartiallySucceeded"
	TestMigrationStateTestMigrationSucceeded                TestMigrationState = "TestMigrationSucceeded"
)

func (*TestMigrationState) UnmarshalJSON

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

type UpdateMigrationItemInput

type UpdateMigrationItemInput struct {
	Properties *UpdateMigrationItemInputProperties `json:"properties,omitempty"`
}

type UpdateMigrationItemInputProperties

type UpdateMigrationItemInputProperties struct {
	ProviderSpecificDetails UpdateMigrationItemProviderSpecificInput `json:"providerSpecificDetails"`
}

func (*UpdateMigrationItemInputProperties) UnmarshalJSON

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

type UpdateMigrationItemProviderSpecificInput

type UpdateMigrationItemProviderSpecificInput interface {
}

type UpdateOperationResponse

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

type VMwareCbtDiskInput

type VMwareCbtDiskInput struct {
	DiskEncryptionSetId            *string          `json:"diskEncryptionSetId,omitempty"`
	DiskId                         string           `json:"diskId"`
	DiskType                       *DiskAccountType `json:"diskType,omitempty"`
	IsOSDisk                       string           `json:"isOSDisk"`
	LogStorageAccountId            string           `json:"logStorageAccountId"`
	LogStorageAccountSasSecretName string           `json:"logStorageAccountSasSecretName"`
}

type VMwareCbtEnableMigrationInput

type VMwareCbtEnableMigrationInput struct {
	ConfidentialVMKeyVaultId              *string                             `json:"confidentialVmKeyVaultId,omitempty"`
	DataMoverRunAsAccountId               string                              `json:"dataMoverRunAsAccountId"`
	DisksToInclude                        []VMwareCbtDiskInput                `json:"disksToInclude"`
	LicenseType                           *LicenseType                        `json:"licenseType,omitempty"`
	PerformAutoResync                     *string                             `json:"performAutoResync,omitempty"`
	PerformSqlBulkRegistration            *string                             `json:"performSqlBulkRegistration,omitempty"`
	SeedDiskTags                          *map[string]string                  `json:"seedDiskTags,omitempty"`
	SnapshotRunAsAccountId                string                              `json:"snapshotRunAsAccountId"`
	SqlServerLicenseType                  *SqlServerLicenseType               `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilitySetId               *string                             `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                             `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                             `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetDiskTags                        *map[string]string                  `json:"targetDiskTags,omitempty"`
	TargetNetworkId                       string                              `json:"targetNetworkId"`
	TargetNicTags                         *map[string]string                  `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                             `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 string                              `json:"targetResourceGroupId"`
	TargetSubnetName                      *string                             `json:"targetSubnetName,omitempty"`
	TargetVMName                          *string                             `json:"targetVmName,omitempty"`
	TargetVMSecurityProfile               *VMwareCbtSecurityProfileProperties `json:"targetVmSecurityProfile,omitempty"`
	TargetVMSize                          *string                             `json:"targetVmSize,omitempty"`
	TargetVMTags                          *map[string]string                  `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                             `json:"testNetworkId,omitempty"`
	TestSubnetName                        *string                             `json:"testSubnetName,omitempty"`
	VMwareMachineId                       string                              `json:"vmwareMachineId"`
}

func (VMwareCbtEnableMigrationInput) MarshalJSON

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

type VMwareCbtMigrateInput

type VMwareCbtMigrateInput struct {
	OsUpgradeVersion *string `json:"osUpgradeVersion,omitempty"`
	PerformShutdown  string  `json:"performShutdown"`
}

func (VMwareCbtMigrateInput) MarshalJSON

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

type VMwareCbtMigrationDetails

type VMwareCbtMigrationDetails struct {
	ApplianceMonitoringDetails            *ApplianceMonitoringDetails         `json:"applianceMonitoringDetails,omitempty"`
	ConfidentialVMKeyVaultId              *string                             `json:"confidentialVmKeyVaultId,omitempty"`
	DataMoverRunAsAccountId               *string                             `json:"dataMoverRunAsAccountId,omitempty"`
	DeltaSyncProgressPercentage           *int64                              `json:"deltaSyncProgressPercentage,omitempty"`
	DeltaSyncRetryCount                   *int64                              `json:"deltaSyncRetryCount,omitempty"`
	FirmwareType                          *string                             `json:"firmwareType,omitempty"`
	GatewayOperationDetails               *GatewayOperationDetails            `json:"gatewayOperationDetails,omitempty"`
	InitialSeedingProgressPercentage      *int64                              `json:"initialSeedingProgressPercentage,omitempty"`
	InitialSeedingRetryCount              *int64                              `json:"initialSeedingRetryCount,omitempty"`
	IsCheckSumResyncCycle                 *string                             `json:"isCheckSumResyncCycle,omitempty"`
	LastRecoveryPointId                   *string                             `json:"lastRecoveryPointId,omitempty"`
	LastRecoveryPointReceived             *string                             `json:"lastRecoveryPointReceived,omitempty"`
	LicenseType                           *string                             `json:"licenseType,omitempty"`
	MigrationProgressPercentage           *int64                              `json:"migrationProgressPercentage,omitempty"`
	MigrationRecoveryPointId              *string                             `json:"migrationRecoveryPointId,omitempty"`
	OperationName                         *string                             `json:"operationName,omitempty"`
	OsName                                *string                             `json:"osName,omitempty"`
	OsType                                *string                             `json:"osType,omitempty"`
	PerformAutoResync                     *string                             `json:"performAutoResync,omitempty"`
	ProtectedDisks                        *[]VMwareCbtProtectedDiskDetails    `json:"protectedDisks,omitempty"`
	ResumeProgressPercentage              *int64                              `json:"resumeProgressPercentage,omitempty"`
	ResumeRetryCount                      *int64                              `json:"resumeRetryCount,omitempty"`
	ResyncProgressPercentage              *int64                              `json:"resyncProgressPercentage,omitempty"`
	ResyncRequired                        *string                             `json:"resyncRequired,omitempty"`
	ResyncRetryCount                      *int64                              `json:"resyncRetryCount,omitempty"`
	ResyncState                           *ResyncState                        `json:"resyncState,omitempty"`
	SeedDiskTags                          *map[string]string                  `json:"seedDiskTags,omitempty"`
	SnapshotRunAsAccountId                *string                             `json:"snapshotRunAsAccountId,omitempty"`
	SqlServerLicenseType                  *string                             `json:"sqlServerLicenseType,omitempty"`
	StorageAccountId                      *string                             `json:"storageAccountId,omitempty"`
	SupportedOSVersions                   *[]string                           `json:"supportedOSVersions,omitempty"`
	TargetAvailabilitySetId               *string                             `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                             `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                             `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetDiskTags                        *map[string]string                  `json:"targetDiskTags,omitempty"`
	TargetGeneration                      *string                             `json:"targetGeneration,omitempty"`
	TargetLocation                        *string                             `json:"targetLocation,omitempty"`
	TargetNetworkId                       *string                             `json:"targetNetworkId,omitempty"`
	TargetNicTags                         *map[string]string                  `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                             `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 *string                             `json:"targetResourceGroupId,omitempty"`
	TargetVMName                          *string                             `json:"targetVmName,omitempty"`
	TargetVMSecurityProfile               *VMwareCbtSecurityProfileProperties `json:"targetVmSecurityProfile,omitempty"`
	TargetVMSize                          *string                             `json:"targetVmSize,omitempty"`
	TargetVMTags                          *map[string]string                  `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                             `json:"testNetworkId,omitempty"`
	VMNics                                *[]VMwareCbtNicDetails              `json:"vmNics,omitempty"`
	VMwareMachineId                       *string                             `json:"vmwareMachineId,omitempty"`
}

func (VMwareCbtMigrationDetails) MarshalJSON

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

type VMwareCbtNicDetails

type VMwareCbtNicDetails struct {
	IsPrimaryNic           *string              `json:"isPrimaryNic,omitempty"`
	IsSelectedForMigration *string              `json:"isSelectedForMigration,omitempty"`
	NicId                  *string              `json:"nicId,omitempty"`
	SourceIPAddress        *string              `json:"sourceIPAddress,omitempty"`
	SourceIPAddressType    *EthernetAddressType `json:"sourceIPAddressType,omitempty"`
	SourceNetworkId        *string              `json:"sourceNetworkId,omitempty"`
	TargetIPAddress        *string              `json:"targetIPAddress,omitempty"`
	TargetIPAddressType    *EthernetAddressType `json:"targetIPAddressType,omitempty"`
	TargetNicName          *string              `json:"targetNicName,omitempty"`
	TargetSubnetName       *string              `json:"targetSubnetName,omitempty"`
	TestIPAddress          *string              `json:"testIPAddress,omitempty"`
	TestIPAddressType      *EthernetAddressType `json:"testIPAddressType,omitempty"`
	TestNetworkId          *string              `json:"testNetworkId,omitempty"`
	TestSubnetName         *string              `json:"testSubnetName,omitempty"`
}

type VMwareCbtNicInput

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

type VMwareCbtProtectedDiskDetails

type VMwareCbtProtectedDiskDetails struct {
	CapacityInBytes                *int64                   `json:"capacityInBytes,omitempty"`
	DiskEncryptionSetId            *string                  `json:"diskEncryptionSetId,omitempty"`
	DiskId                         *string                  `json:"diskId,omitempty"`
	DiskName                       *string                  `json:"diskName,omitempty"`
	DiskPath                       *string                  `json:"diskPath,omitempty"`
	DiskType                       *DiskAccountType         `json:"diskType,omitempty"`
	GatewayOperationDetails        *GatewayOperationDetails `json:"gatewayOperationDetails,omitempty"`
	IsOSDisk                       *string                  `json:"isOSDisk,omitempty"`
	LogStorageAccountId            *string                  `json:"logStorageAccountId,omitempty"`
	LogStorageAccountSasSecretName *string                  `json:"logStorageAccountSasSecretName,omitempty"`
	SeedBlobUri                    *string                  `json:"seedBlobUri,omitempty"`
	SeedManagedDiskId              *string                  `json:"seedManagedDiskId,omitempty"`
	TargetBlobUri                  *string                  `json:"targetBlobUri,omitempty"`
	TargetDiskName                 *string                  `json:"targetDiskName,omitempty"`
	TargetManagedDiskId            *string                  `json:"targetManagedDiskId,omitempty"`
}

type VMwareCbtResumeReplicationInput

type VMwareCbtResumeReplicationInput struct {
	DeleteMigrationResources *string `json:"deleteMigrationResources,omitempty"`
}

func (VMwareCbtResumeReplicationInput) MarshalJSON

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

type VMwareCbtResyncInput

type VMwareCbtResyncInput struct {
	SkipCbtReset string `json:"skipCbtReset"`
}

func (VMwareCbtResyncInput) MarshalJSON

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

type VMwareCbtSecurityProfileProperties

type VMwareCbtSecurityProfileProperties struct {
	IsTargetVMConfidentialEncryptionEnabled *string       `json:"isTargetVmConfidentialEncryptionEnabled,omitempty"`
	IsTargetVMIntegrityMonitoringEnabled    *string       `json:"isTargetVmIntegrityMonitoringEnabled,omitempty"`
	IsTargetVMSecureBootEnabled             *string       `json:"isTargetVmSecureBootEnabled,omitempty"`
	IsTargetVMTpmEnabled                    *string       `json:"isTargetVmTpmEnabled,omitempty"`
	TargetVMSecurityType                    *SecurityType `json:"targetVmSecurityType,omitempty"`
}

type VMwareCbtTestMigrateInput

type VMwareCbtTestMigrateInput struct {
	NetworkId        string               `json:"networkId"`
	OsUpgradeVersion *string              `json:"osUpgradeVersion,omitempty"`
	RecoveryPointId  string               `json:"recoveryPointId"`
	VMNics           *[]VMwareCbtNicInput `json:"vmNics,omitempty"`
}

func (VMwareCbtTestMigrateInput) MarshalJSON

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

type VMwareCbtUpdateDiskInput

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

type VMwareCbtUpdateMigrationItemInput

type VMwareCbtUpdateMigrationItemInput struct {
	LicenseType                           *LicenseType                `json:"licenseType,omitempty"`
	PerformAutoResync                     *string                     `json:"performAutoResync,omitempty"`
	SqlServerLicenseType                  *SqlServerLicenseType       `json:"sqlServerLicenseType,omitempty"`
	TargetAvailabilitySetId               *string                     `json:"targetAvailabilitySetId,omitempty"`
	TargetAvailabilityZone                *string                     `json:"targetAvailabilityZone,omitempty"`
	TargetBootDiagnosticsStorageAccountId *string                     `json:"targetBootDiagnosticsStorageAccountId,omitempty"`
	TargetDiskTags                        *map[string]string          `json:"targetDiskTags,omitempty"`
	TargetNetworkId                       *string                     `json:"targetNetworkId,omitempty"`
	TargetNicTags                         *map[string]string          `json:"targetNicTags,omitempty"`
	TargetProximityPlacementGroupId       *string                     `json:"targetProximityPlacementGroupId,omitempty"`
	TargetResourceGroupId                 *string                     `json:"targetResourceGroupId,omitempty"`
	TargetVMName                          *string                     `json:"targetVmName,omitempty"`
	TargetVMSize                          *string                     `json:"targetVmSize,omitempty"`
	TargetVMTags                          *map[string]string          `json:"targetVmTags,omitempty"`
	TestNetworkId                         *string                     `json:"testNetworkId,omitempty"`
	VMDisks                               *[]VMwareCbtUpdateDiskInput `json:"vmDisks,omitempty"`
	VMNics                                *[]VMwareCbtNicInput        `json:"vmNics,omitempty"`
}

func (VMwareCbtUpdateMigrationItemInput) MarshalJSON

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

type VaultId

type VaultId struct {
	SubscriptionId    string
	ResourceGroupName string
	VaultName         string
}

VaultId is a struct representing the Resource ID for a Vault

func NewVaultID

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

NewVaultID returns a new VaultId struct

func ParseVaultID

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

ParseVaultID parses 'input' into a VaultId

func ParseVaultIDInsensitively

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

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

func (*VaultId) FromParseResult

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

func (VaultId) ID

func (id VaultId) ID() string

ID returns the formatted Vault ID

func (VaultId) Segments

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

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

func (VaultId) String

func (id VaultId) String() string

String returns a human-readable description of this Vault ID

Source Files

Jump to

Keyboard shortcuts

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