README ¶
github.com/hashicorp/go-azure-sdk/resource-manager/recoveryservicessiterecovery/2023-06-01/replicationrecoveryplans
Documentation
The replicationrecoveryplans
SDK allows for interaction with the Azure Resource Manager Service recoveryservicessiterecovery
(API Version 2023-06-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-06-01/replicationrecoveryplans"
Client Initialization
client := replicationrecoveryplans.NewReplicationRecoveryPlansClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer
Example Usage: ReplicationRecoveryPlansClient.Create
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
payload := replicationrecoveryplans.CreateRecoveryPlanInput{
// ...
}
if err := client.CreateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.Delete
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
if err := client.DeleteThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.FailoverCancel
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
if err := client.FailoverCancelThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.FailoverCommit
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
if err := client.FailoverCommitThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.Get
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
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: ReplicationRecoveryPlansClient.List
ctx := context.TODO()
id := replicationrecoveryplans.NewVaultID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue")
// alternatively `client.List(ctx, id)` can be used to do batched pagination
items, err := client.ListComplete(ctx, id)
if err != nil {
// handle the error
}
for _, item := range items {
// do something
}
Example Usage: ReplicationRecoveryPlansClient.PlannedFailover
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
payload := replicationrecoveryplans.RecoveryPlanPlannedFailoverInput{
// ...
}
if err := client.PlannedFailoverThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.Reprotect
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
if err := client.ReprotectThenPoll(ctx, id); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.TestFailover
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
payload := replicationrecoveryplans.RecoveryPlanTestFailoverInput{
// ...
}
if err := client.TestFailoverThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.TestFailoverCleanup
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
payload := replicationrecoveryplans.RecoveryPlanTestFailoverCleanupInput{
// ...
}
if err := client.TestFailoverCleanupThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.UnplannedFailover
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
payload := replicationrecoveryplans.RecoveryPlanUnplannedFailoverInput{
// ...
}
if err := client.UnplannedFailoverThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Example Usage: ReplicationRecoveryPlansClient.Update
ctx := context.TODO()
id := replicationrecoveryplans.NewReplicationRecoveryPlanID("12345678-1234-9876-4563-123456789012", "example-resource-group", "vaultValue", "replicationRecoveryPlanValue")
payload := replicationrecoveryplans.UpdateRecoveryPlanInput{
// ...
}
if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
// handle the error
}
Documentation ¶
Index ¶
- func PossibleValuesForA2ARpRecoveryPointType() []string
- func PossibleValuesForAlternateLocationRecoveryOption() []string
- func PossibleValuesForDataSyncStatus() []string
- func PossibleValuesForFailoverDeploymentModel() []string
- func PossibleValuesForHyperVReplicaAzureRpRecoveryPointType() []string
- func PossibleValuesForInMageRcmFailbackRecoveryPointType() []string
- func PossibleValuesForInMageV2RpRecoveryPointType() []string
- func PossibleValuesForMultiVMSyncPointOption() []string
- func PossibleValuesForPossibleOperationsDirections() []string
- func PossibleValuesForRecoveryPlanActionLocation() []string
- func PossibleValuesForRecoveryPlanGroupType() []string
- func PossibleValuesForRecoveryPlanPointType() []string
- func PossibleValuesForReplicationProtectedItemOperation() []string
- func PossibleValuesForRpInMageRecoveryPointType() []string
- func PossibleValuesForSourceSiteOperations() []string
- func ValidateReplicationRecoveryPlanID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type A2ARpRecoveryPointType
- type AlternateLocationRecoveryOption
- type CreateOperationResponse
- type CreateRecoveryPlanInput
- type CreateRecoveryPlanInputProperties
- type CurrentScenarioDetails
- type DataSyncStatus
- type DeleteOperationResponse
- type FailoverCancelOperationResponse
- type FailoverCommitOperationResponse
- type FailoverDeploymentModel
- type GetOperationResponse
- type HyperVReplicaAzureRpRecoveryPointType
- type InMageRcmFailbackRecoveryPointType
- type InMageV2RpRecoveryPointType
- type ListCompleteResult
- type ListOperationResponse
- type MultiVMSyncPointOption
- type PlannedFailoverOperationResponse
- type PossibleOperationsDirections
- type RawRecoveryPlanActionDetailsImpl
- type RawRecoveryPlanProviderSpecificDetailsImpl
- type RawRecoveryPlanProviderSpecificFailoverInputImpl
- type RawRecoveryPlanProviderSpecificInputImpl
- type RecoveryPlan
- type RecoveryPlanA2ADetails
- type RecoveryPlanA2AFailoverInput
- type RecoveryPlanA2AInput
- type RecoveryPlanAction
- type RecoveryPlanActionDetails
- type RecoveryPlanActionLocation
- type RecoveryPlanAutomationRunbookActionDetails
- type RecoveryPlanGroup
- type RecoveryPlanGroupType
- type RecoveryPlanHyperVReplicaAzureFailbackInput
- type RecoveryPlanHyperVReplicaAzureFailoverInput
- type RecoveryPlanInMageAzureV2FailoverInput
- type RecoveryPlanInMageFailoverInput
- type RecoveryPlanInMageRcmFailbackFailoverInput
- type RecoveryPlanInMageRcmFailoverInput
- type RecoveryPlanManualActionDetails
- type RecoveryPlanOperationPredicate
- type RecoveryPlanPlannedFailoverInput
- type RecoveryPlanPlannedFailoverInputProperties
- type RecoveryPlanPointType
- type RecoveryPlanProperties
- func (o *RecoveryPlanProperties) GetLastPlannedFailoverTimeAsTime() (*time.Time, error)
- func (o *RecoveryPlanProperties) GetLastTestFailoverTimeAsTime() (*time.Time, error)
- func (o *RecoveryPlanProperties) GetLastUnplannedFailoverTimeAsTime() (*time.Time, error)
- func (o *RecoveryPlanProperties) SetLastPlannedFailoverTimeAsTime(input time.Time)
- func (o *RecoveryPlanProperties) SetLastTestFailoverTimeAsTime(input time.Time)
- func (o *RecoveryPlanProperties) SetLastUnplannedFailoverTimeAsTime(input time.Time)
- func (s *RecoveryPlanProperties) UnmarshalJSON(bytes []byte) error
- type RecoveryPlanProtectedItem
- type RecoveryPlanProviderSpecificDetails
- type RecoveryPlanProviderSpecificFailoverInput
- type RecoveryPlanProviderSpecificInput
- type RecoveryPlanScriptActionDetails
- type RecoveryPlanTestFailoverCleanupInput
- type RecoveryPlanTestFailoverCleanupInputProperties
- type RecoveryPlanTestFailoverInput
- type RecoveryPlanTestFailoverInputProperties
- type RecoveryPlanUnplannedFailoverInput
- type RecoveryPlanUnplannedFailoverInputProperties
- type ReplicationProtectedItemOperation
- type ReplicationRecoveryPlanId
- func NewReplicationRecoveryPlanID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationRecoveryPlanId
- func ParseReplicationRecoveryPlanID(input string) (*ReplicationRecoveryPlanId, error)
- func ParseReplicationRecoveryPlanIDInsensitively(input string) (*ReplicationRecoveryPlanId, error)
- type ReplicationRecoveryPlansClient
- func (c ReplicationRecoveryPlansClient) Create(ctx context.Context, id ReplicationRecoveryPlanId, ...) (result CreateOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) CreateThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, ...) error
- func (c ReplicationRecoveryPlansClient) Delete(ctx context.Context, id ReplicationRecoveryPlanId) (result DeleteOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) DeleteThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
- func (c ReplicationRecoveryPlansClient) FailoverCancel(ctx context.Context, id ReplicationRecoveryPlanId) (result FailoverCancelOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) FailoverCancelThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
- func (c ReplicationRecoveryPlansClient) FailoverCommit(ctx context.Context, id ReplicationRecoveryPlanId) (result FailoverCommitOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) FailoverCommitThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
- func (c ReplicationRecoveryPlansClient) Get(ctx context.Context, id ReplicationRecoveryPlanId) (result GetOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) List(ctx context.Context, id VaultId) (result ListOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
- func (c ReplicationRecoveryPlansClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate RecoveryPlanOperationPredicate) (result ListCompleteResult, err error)
- func (c ReplicationRecoveryPlansClient) PlannedFailover(ctx context.Context, id ReplicationRecoveryPlanId, ...) (result PlannedFailoverOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) PlannedFailoverThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, ...) error
- func (c ReplicationRecoveryPlansClient) Reprotect(ctx context.Context, id ReplicationRecoveryPlanId) (result ReprotectOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) ReprotectThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
- func (c ReplicationRecoveryPlansClient) TestFailover(ctx context.Context, id ReplicationRecoveryPlanId, ...) (result TestFailoverOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) TestFailoverCleanup(ctx context.Context, id ReplicationRecoveryPlanId, ...) (result TestFailoverCleanupOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) TestFailoverCleanupThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, ...) error
- func (c ReplicationRecoveryPlansClient) TestFailoverThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, ...) error
- func (c ReplicationRecoveryPlansClient) UnplannedFailover(ctx context.Context, id ReplicationRecoveryPlanId, ...) (result UnplannedFailoverOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) UnplannedFailoverThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, ...) error
- func (c ReplicationRecoveryPlansClient) Update(ctx context.Context, id ReplicationRecoveryPlanId, ...) (result UpdateOperationResponse, err error)
- func (c ReplicationRecoveryPlansClient) UpdateThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, ...) error
- type ReprotectOperationResponse
- type RpInMageRecoveryPointType
- type SourceSiteOperations
- type TestFailoverCleanupOperationResponse
- type TestFailoverOperationResponse
- type UnplannedFailoverOperationResponse
- type UpdateOperationResponse
- type UpdateRecoveryPlanInput
- type UpdateRecoveryPlanInputProperties
- type VaultId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForA2ARpRecoveryPointType ¶
func PossibleValuesForA2ARpRecoveryPointType() []string
func PossibleValuesForAlternateLocationRecoveryOption ¶
func PossibleValuesForAlternateLocationRecoveryOption() []string
func PossibleValuesForDataSyncStatus ¶
func PossibleValuesForDataSyncStatus() []string
func PossibleValuesForFailoverDeploymentModel ¶
func PossibleValuesForFailoverDeploymentModel() []string
func PossibleValuesForHyperVReplicaAzureRpRecoveryPointType ¶
func PossibleValuesForHyperVReplicaAzureRpRecoveryPointType() []string
func PossibleValuesForInMageRcmFailbackRecoveryPointType ¶
func PossibleValuesForInMageRcmFailbackRecoveryPointType() []string
func PossibleValuesForInMageV2RpRecoveryPointType ¶
func PossibleValuesForInMageV2RpRecoveryPointType() []string
func PossibleValuesForMultiVMSyncPointOption ¶
func PossibleValuesForMultiVMSyncPointOption() []string
func PossibleValuesForPossibleOperationsDirections ¶
func PossibleValuesForPossibleOperationsDirections() []string
func PossibleValuesForRecoveryPlanActionLocation ¶
func PossibleValuesForRecoveryPlanActionLocation() []string
func PossibleValuesForRecoveryPlanGroupType ¶
func PossibleValuesForRecoveryPlanGroupType() []string
func PossibleValuesForRecoveryPlanPointType ¶
func PossibleValuesForRecoveryPlanPointType() []string
func PossibleValuesForReplicationProtectedItemOperation ¶
func PossibleValuesForReplicationProtectedItemOperation() []string
func PossibleValuesForRpInMageRecoveryPointType ¶
func PossibleValuesForRpInMageRecoveryPointType() []string
func PossibleValuesForSourceSiteOperations ¶
func PossibleValuesForSourceSiteOperations() []string
func ValidateReplicationRecoveryPlanID ¶
func ValidateReplicationRecoveryPlanID(input interface{}, key string) (warnings []string, errors []error)
ValidateReplicationRecoveryPlanID checks that 'input' can be parsed as a Replication Recovery Plan ID
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type A2ARpRecoveryPointType ¶
type A2ARpRecoveryPointType string
const ( A2ARpRecoveryPointTypeLatest A2ARpRecoveryPointType = "Latest" A2ARpRecoveryPointTypeLatestApplicationConsistent A2ARpRecoveryPointType = "LatestApplicationConsistent" A2ARpRecoveryPointTypeLatestCrashConsistent A2ARpRecoveryPointType = "LatestCrashConsistent" A2ARpRecoveryPointTypeLatestProcessed A2ARpRecoveryPointType = "LatestProcessed" )
func (*A2ARpRecoveryPointType) UnmarshalJSON ¶
func (s *A2ARpRecoveryPointType) UnmarshalJSON(bytes []byte) error
type AlternateLocationRecoveryOption ¶
type AlternateLocationRecoveryOption string
const ( AlternateLocationRecoveryOptionCreateVMIfNotFound AlternateLocationRecoveryOption = "CreateVmIfNotFound" AlternateLocationRecoveryOptionNoAction AlternateLocationRecoveryOption = "NoAction" )
func (*AlternateLocationRecoveryOption) UnmarshalJSON ¶
func (s *AlternateLocationRecoveryOption) UnmarshalJSON(bytes []byte) error
type CreateOperationResponse ¶
type CreateRecoveryPlanInput ¶
type CreateRecoveryPlanInput struct {
Properties CreateRecoveryPlanInputProperties `json:"properties"`
}
type CreateRecoveryPlanInputProperties ¶
type CreateRecoveryPlanInputProperties struct { FailoverDeploymentModel *FailoverDeploymentModel `json:"failoverDeploymentModel,omitempty"` Groups []RecoveryPlanGroup `json:"groups"` PrimaryFabricId string `json:"primaryFabricId"` ProviderSpecificInput *[]RecoveryPlanProviderSpecificInput `json:"providerSpecificInput,omitempty"` RecoveryFabricId string `json:"recoveryFabricId"` }
func (*CreateRecoveryPlanInputProperties) UnmarshalJSON ¶
func (s *CreateRecoveryPlanInputProperties) UnmarshalJSON(bytes []byte) error
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 DataSyncStatus ¶
type DataSyncStatus string
const ( DataSyncStatusForDownTime DataSyncStatus = "ForDownTime" DataSyncStatusForSynchronization DataSyncStatus = "ForSynchronization" )
func (*DataSyncStatus) UnmarshalJSON ¶
func (s *DataSyncStatus) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type FailoverDeploymentModel ¶
type FailoverDeploymentModel string
const ( FailoverDeploymentModelClassic FailoverDeploymentModel = "Classic" FailoverDeploymentModelNotApplicable FailoverDeploymentModel = "NotApplicable" FailoverDeploymentModelResourceManager FailoverDeploymentModel = "ResourceManager" )
func (*FailoverDeploymentModel) UnmarshalJSON ¶
func (s *FailoverDeploymentModel) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RecoveryPlan }
type HyperVReplicaAzureRpRecoveryPointType ¶
type HyperVReplicaAzureRpRecoveryPointType string
const ( HyperVReplicaAzureRpRecoveryPointTypeLatest HyperVReplicaAzureRpRecoveryPointType = "Latest" HyperVReplicaAzureRpRecoveryPointTypeLatestApplicationConsistent HyperVReplicaAzureRpRecoveryPointType = "LatestApplicationConsistent" HyperVReplicaAzureRpRecoveryPointTypeLatestProcessed HyperVReplicaAzureRpRecoveryPointType = "LatestProcessed" )
func (*HyperVReplicaAzureRpRecoveryPointType) UnmarshalJSON ¶
func (s *HyperVReplicaAzureRpRecoveryPointType) UnmarshalJSON(bytes []byte) error
type InMageRcmFailbackRecoveryPointType ¶
type InMageRcmFailbackRecoveryPointType string
const ( InMageRcmFailbackRecoveryPointTypeApplicationConsistent InMageRcmFailbackRecoveryPointType = "ApplicationConsistent" InMageRcmFailbackRecoveryPointTypeCrashConsistent InMageRcmFailbackRecoveryPointType = "CrashConsistent" )
func (*InMageRcmFailbackRecoveryPointType) UnmarshalJSON ¶
func (s *InMageRcmFailbackRecoveryPointType) UnmarshalJSON(bytes []byte) error
type InMageV2RpRecoveryPointType ¶
type InMageV2RpRecoveryPointType string
const ( InMageV2RpRecoveryPointTypeLatest InMageV2RpRecoveryPointType = "Latest" InMageV2RpRecoveryPointTypeLatestApplicationConsistent InMageV2RpRecoveryPointType = "LatestApplicationConsistent" InMageV2RpRecoveryPointTypeLatestCrashConsistent InMageV2RpRecoveryPointType = "LatestCrashConsistent" InMageV2RpRecoveryPointTypeLatestProcessed InMageV2RpRecoveryPointType = "LatestProcessed" )
func (*InMageV2RpRecoveryPointType) UnmarshalJSON ¶
func (s *InMageV2RpRecoveryPointType) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RecoveryPlan }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RecoveryPlan }
type MultiVMSyncPointOption ¶
type MultiVMSyncPointOption string
const ( MultiVMSyncPointOptionUseMultiVMSyncRecoveryPoint MultiVMSyncPointOption = "UseMultiVmSyncRecoveryPoint" MultiVMSyncPointOptionUsePerVMRecoveryPoint MultiVMSyncPointOption = "UsePerVmRecoveryPoint" )
func (*MultiVMSyncPointOption) UnmarshalJSON ¶
func (s *MultiVMSyncPointOption) UnmarshalJSON(bytes []byte) error
type PossibleOperationsDirections ¶
type PossibleOperationsDirections string
const ( PossibleOperationsDirectionsPrimaryToRecovery PossibleOperationsDirections = "PrimaryToRecovery" PossibleOperationsDirectionsRecoveryToPrimary PossibleOperationsDirections = "RecoveryToPrimary" )
func (*PossibleOperationsDirections) UnmarshalJSON ¶
func (s *PossibleOperationsDirections) UnmarshalJSON(bytes []byte) error
type RawRecoveryPlanActionDetailsImpl ¶
RawRecoveryPlanActionDetailsImpl 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 RawRecoveryPlanProviderSpecificDetailsImpl ¶
type RawRecoveryPlanProviderSpecificDetailsImpl struct { Type string Values map[string]interface{} }
RawRecoveryPlanProviderSpecificDetailsImpl 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 RawRecoveryPlanProviderSpecificFailoverInputImpl ¶
type RawRecoveryPlanProviderSpecificFailoverInputImpl struct { Type string Values map[string]interface{} }
RawRecoveryPlanProviderSpecificFailoverInputImpl 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 RawRecoveryPlanProviderSpecificInputImpl ¶
RawRecoveryPlanProviderSpecificInputImpl 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 RecoveryPlan ¶
type RecoveryPlan struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *RecoveryPlanProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RecoveryPlanA2ADetails ¶
type RecoveryPlanA2ADetails struct { PrimaryExtendedLocation *edgezones.Model `json:"primaryExtendedLocation,omitempty"` PrimaryZone *string `json:"primaryZone,omitempty"` RecoveryExtendedLocation *edgezones.Model `json:"recoveryExtendedLocation,omitempty"` RecoveryZone *string `json:"recoveryZone,omitempty"` }
func (RecoveryPlanA2ADetails) MarshalJSON ¶
func (s RecoveryPlanA2ADetails) MarshalJSON() ([]byte, error)
type RecoveryPlanA2AFailoverInput ¶
type RecoveryPlanA2AFailoverInput struct { CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"` MultiVMSyncPointOption *MultiVMSyncPointOption `json:"multiVmSyncPointOption,omitempty"` RecoveryPointType A2ARpRecoveryPointType `json:"recoveryPointType"` }
func (RecoveryPlanA2AFailoverInput) MarshalJSON ¶
func (s RecoveryPlanA2AFailoverInput) MarshalJSON() ([]byte, error)
type RecoveryPlanA2AInput ¶
type RecoveryPlanA2AInput struct { PrimaryExtendedLocation *edgezones.Model `json:"primaryExtendedLocation,omitempty"` PrimaryZone *string `json:"primaryZone,omitempty"` RecoveryExtendedLocation *edgezones.Model `json:"recoveryExtendedLocation,omitempty"` RecoveryZone *string `json:"recoveryZone,omitempty"` }
func (RecoveryPlanA2AInput) MarshalJSON ¶
func (s RecoveryPlanA2AInput) MarshalJSON() ([]byte, error)
type RecoveryPlanAction ¶
type RecoveryPlanAction struct { ActionName string `json:"actionName"` CustomDetails RecoveryPlanActionDetails `json:"customDetails"` FailoverDirections []PossibleOperationsDirections `json:"failoverDirections"` FailoverTypes []ReplicationProtectedItemOperation `json:"failoverTypes"` }
func (*RecoveryPlanAction) UnmarshalJSON ¶
func (s *RecoveryPlanAction) UnmarshalJSON(bytes []byte) error
type RecoveryPlanActionDetails ¶
type RecoveryPlanActionDetails interface { }
type RecoveryPlanActionLocation ¶
type RecoveryPlanActionLocation string
const ( RecoveryPlanActionLocationPrimary RecoveryPlanActionLocation = "Primary" RecoveryPlanActionLocationRecovery RecoveryPlanActionLocation = "Recovery" )
func (*RecoveryPlanActionLocation) UnmarshalJSON ¶
func (s *RecoveryPlanActionLocation) UnmarshalJSON(bytes []byte) error
type RecoveryPlanAutomationRunbookActionDetails ¶
type RecoveryPlanAutomationRunbookActionDetails struct { FabricLocation RecoveryPlanActionLocation `json:"fabricLocation"` RunbookId *string `json:"runbookId,omitempty"` Timeout *string `json:"timeout,omitempty"` }
func (RecoveryPlanAutomationRunbookActionDetails) MarshalJSON ¶
func (s RecoveryPlanAutomationRunbookActionDetails) MarshalJSON() ([]byte, error)
type RecoveryPlanGroup ¶
type RecoveryPlanGroup struct { EndGroupActions *[]RecoveryPlanAction `json:"endGroupActions,omitempty"` GroupType RecoveryPlanGroupType `json:"groupType"` ReplicationProtectedItems *[]RecoveryPlanProtectedItem `json:"replicationProtectedItems,omitempty"` StartGroupActions *[]RecoveryPlanAction `json:"startGroupActions,omitempty"` }
type RecoveryPlanGroupType ¶
type RecoveryPlanGroupType string
const ( RecoveryPlanGroupTypeBoot RecoveryPlanGroupType = "Boot" RecoveryPlanGroupTypeFailover RecoveryPlanGroupType = "Failover" RecoveryPlanGroupTypeShutdown RecoveryPlanGroupType = "Shutdown" )
func (*RecoveryPlanGroupType) UnmarshalJSON ¶
func (s *RecoveryPlanGroupType) UnmarshalJSON(bytes []byte) error
type RecoveryPlanHyperVReplicaAzureFailbackInput ¶
type RecoveryPlanHyperVReplicaAzureFailbackInput struct { DataSyncOption DataSyncStatus `json:"dataSyncOption"` RecoveryVMCreationOption AlternateLocationRecoveryOption `json:"recoveryVmCreationOption"` }
func (RecoveryPlanHyperVReplicaAzureFailbackInput) MarshalJSON ¶
func (s RecoveryPlanHyperVReplicaAzureFailbackInput) MarshalJSON() ([]byte, error)
type RecoveryPlanHyperVReplicaAzureFailoverInput ¶
type RecoveryPlanHyperVReplicaAzureFailoverInput struct { PrimaryKekCertificatePfx *string `json:"primaryKekCertificatePfx,omitempty"` RecoveryPointType *HyperVReplicaAzureRpRecoveryPointType `json:"recoveryPointType,omitempty"` SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"` }
func (RecoveryPlanHyperVReplicaAzureFailoverInput) MarshalJSON ¶
func (s RecoveryPlanHyperVReplicaAzureFailoverInput) MarshalJSON() ([]byte, error)
type RecoveryPlanInMageAzureV2FailoverInput ¶
type RecoveryPlanInMageAzureV2FailoverInput struct { RecoveryPointType InMageV2RpRecoveryPointType `json:"recoveryPointType"` UseMultiVMSyncPoint *string `json:"useMultiVmSyncPoint,omitempty"` }
func (RecoveryPlanInMageAzureV2FailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageAzureV2FailoverInput) MarshalJSON() ([]byte, error)
type RecoveryPlanInMageFailoverInput ¶
type RecoveryPlanInMageFailoverInput struct {
RecoveryPointType RpInMageRecoveryPointType `json:"recoveryPointType"`
}
func (RecoveryPlanInMageFailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageFailoverInput) MarshalJSON() ([]byte, error)
type RecoveryPlanInMageRcmFailbackFailoverInput ¶
type RecoveryPlanInMageRcmFailbackFailoverInput struct { RecoveryPointType InMageRcmFailbackRecoveryPointType `json:"recoveryPointType"` UseMultiVMSyncPoint *string `json:"useMultiVmSyncPoint,omitempty"` }
func (RecoveryPlanInMageRcmFailbackFailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageRcmFailbackFailoverInput) MarshalJSON() ([]byte, error)
type RecoveryPlanInMageRcmFailoverInput ¶
type RecoveryPlanInMageRcmFailoverInput struct { RecoveryPointType RecoveryPlanPointType `json:"recoveryPointType"` UseMultiVMSyncPoint *string `json:"useMultiVmSyncPoint,omitempty"` }
func (RecoveryPlanInMageRcmFailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageRcmFailoverInput) MarshalJSON() ([]byte, error)
type RecoveryPlanManualActionDetails ¶
type RecoveryPlanManualActionDetails struct {
Description *string `json:"description,omitempty"`
}
func (RecoveryPlanManualActionDetails) MarshalJSON ¶
func (s RecoveryPlanManualActionDetails) MarshalJSON() ([]byte, error)
type RecoveryPlanOperationPredicate ¶
type RecoveryPlanOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (RecoveryPlanOperationPredicate) Matches ¶
func (p RecoveryPlanOperationPredicate) Matches(input RecoveryPlan) bool
type RecoveryPlanPlannedFailoverInput ¶
type RecoveryPlanPlannedFailoverInput struct {
Properties RecoveryPlanPlannedFailoverInputProperties `json:"properties"`
}
type RecoveryPlanPlannedFailoverInputProperties ¶
type RecoveryPlanPlannedFailoverInputProperties struct { FailoverDirection PossibleOperationsDirections `json:"failoverDirection"` ProviderSpecificDetails *[]RecoveryPlanProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"` }
func (*RecoveryPlanPlannedFailoverInputProperties) UnmarshalJSON ¶
func (s *RecoveryPlanPlannedFailoverInputProperties) UnmarshalJSON(bytes []byte) error
type RecoveryPlanPointType ¶
type RecoveryPlanPointType string
const ( RecoveryPlanPointTypeLatest RecoveryPlanPointType = "Latest" RecoveryPlanPointTypeLatestApplicationConsistent RecoveryPlanPointType = "LatestApplicationConsistent" RecoveryPlanPointTypeLatestCrashConsistent RecoveryPlanPointType = "LatestCrashConsistent" RecoveryPlanPointTypeLatestProcessed RecoveryPlanPointType = "LatestProcessed" )
func (*RecoveryPlanPointType) UnmarshalJSON ¶
func (s *RecoveryPlanPointType) UnmarshalJSON(bytes []byte) error
type RecoveryPlanProperties ¶
type RecoveryPlanProperties struct { AllowedOperations *[]string `json:"allowedOperations,omitempty"` CurrentScenario *CurrentScenarioDetails `json:"currentScenario,omitempty"` CurrentScenarioStatus *string `json:"currentScenarioStatus,omitempty"` CurrentScenarioStatusDescription *string `json:"currentScenarioStatusDescription,omitempty"` FailoverDeploymentModel *string `json:"failoverDeploymentModel,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` Groups *[]RecoveryPlanGroup `json:"groups,omitempty"` LastPlannedFailoverTime *string `json:"lastPlannedFailoverTime,omitempty"` LastTestFailoverTime *string `json:"lastTestFailoverTime,omitempty"` LastUnplannedFailoverTime *string `json:"lastUnplannedFailoverTime,omitempty"` PrimaryFabricFriendlyName *string `json:"primaryFabricFriendlyName,omitempty"` PrimaryFabricId *string `json:"primaryFabricId,omitempty"` ProviderSpecificDetails *[]RecoveryPlanProviderSpecificDetails `json:"providerSpecificDetails,omitempty"` RecoveryFabricFriendlyName *string `json:"recoveryFabricFriendlyName,omitempty"` RecoveryFabricId *string `json:"recoveryFabricId,omitempty"` ReplicationProviders *[]string `json:"replicationProviders,omitempty"` }
func (*RecoveryPlanProperties) GetLastPlannedFailoverTimeAsTime ¶
func (o *RecoveryPlanProperties) GetLastPlannedFailoverTimeAsTime() (*time.Time, error)
func (*RecoveryPlanProperties) GetLastTestFailoverTimeAsTime ¶
func (o *RecoveryPlanProperties) GetLastTestFailoverTimeAsTime() (*time.Time, error)
func (*RecoveryPlanProperties) GetLastUnplannedFailoverTimeAsTime ¶
func (o *RecoveryPlanProperties) GetLastUnplannedFailoverTimeAsTime() (*time.Time, error)
func (*RecoveryPlanProperties) SetLastPlannedFailoverTimeAsTime ¶
func (o *RecoveryPlanProperties) SetLastPlannedFailoverTimeAsTime(input time.Time)
func (*RecoveryPlanProperties) SetLastTestFailoverTimeAsTime ¶
func (o *RecoveryPlanProperties) SetLastTestFailoverTimeAsTime(input time.Time)
func (*RecoveryPlanProperties) SetLastUnplannedFailoverTimeAsTime ¶
func (o *RecoveryPlanProperties) SetLastUnplannedFailoverTimeAsTime(input time.Time)
func (*RecoveryPlanProperties) UnmarshalJSON ¶
func (s *RecoveryPlanProperties) UnmarshalJSON(bytes []byte) error
type RecoveryPlanProviderSpecificDetails ¶
type RecoveryPlanProviderSpecificDetails interface { }
type RecoveryPlanProviderSpecificFailoverInput ¶
type RecoveryPlanProviderSpecificFailoverInput interface { }
type RecoveryPlanProviderSpecificInput ¶
type RecoveryPlanProviderSpecificInput interface { }
type RecoveryPlanScriptActionDetails ¶
type RecoveryPlanScriptActionDetails struct { FabricLocation RecoveryPlanActionLocation `json:"fabricLocation"` Path string `json:"path"` Timeout *string `json:"timeout,omitempty"` }
func (RecoveryPlanScriptActionDetails) MarshalJSON ¶
func (s RecoveryPlanScriptActionDetails) MarshalJSON() ([]byte, error)
type RecoveryPlanTestFailoverCleanupInput ¶
type RecoveryPlanTestFailoverCleanupInput struct {
Properties RecoveryPlanTestFailoverCleanupInputProperties `json:"properties"`
}
type RecoveryPlanTestFailoverCleanupInputProperties ¶
type RecoveryPlanTestFailoverCleanupInputProperties struct {
Comments *string `json:"comments,omitempty"`
}
type RecoveryPlanTestFailoverInput ¶
type RecoveryPlanTestFailoverInput struct {
Properties RecoveryPlanTestFailoverInputProperties `json:"properties"`
}
type RecoveryPlanTestFailoverInputProperties ¶
type RecoveryPlanTestFailoverInputProperties struct { FailoverDirection PossibleOperationsDirections `json:"failoverDirection"` NetworkId *string `json:"networkId,omitempty"` NetworkType string `json:"networkType"` ProviderSpecificDetails *[]RecoveryPlanProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"` }
func (*RecoveryPlanTestFailoverInputProperties) UnmarshalJSON ¶
func (s *RecoveryPlanTestFailoverInputProperties) UnmarshalJSON(bytes []byte) error
type RecoveryPlanUnplannedFailoverInput ¶
type RecoveryPlanUnplannedFailoverInput struct {
Properties RecoveryPlanUnplannedFailoverInputProperties `json:"properties"`
}
type RecoveryPlanUnplannedFailoverInputProperties ¶
type RecoveryPlanUnplannedFailoverInputProperties struct { FailoverDirection PossibleOperationsDirections `json:"failoverDirection"` ProviderSpecificDetails *[]RecoveryPlanProviderSpecificFailoverInput `json:"providerSpecificDetails,omitempty"` SourceSiteOperations SourceSiteOperations `json:"sourceSiteOperations"` }
func (*RecoveryPlanUnplannedFailoverInputProperties) UnmarshalJSON ¶
func (s *RecoveryPlanUnplannedFailoverInputProperties) UnmarshalJSON(bytes []byte) error
type ReplicationProtectedItemOperation ¶
type ReplicationProtectedItemOperation string
const ( ReplicationProtectedItemOperationCancelFailover ReplicationProtectedItemOperation = "CancelFailover" ReplicationProtectedItemOperationChangePit ReplicationProtectedItemOperation = "ChangePit" ReplicationProtectedItemOperationCommit ReplicationProtectedItemOperation = "Commit" ReplicationProtectedItemOperationCompleteMigration ReplicationProtectedItemOperation = "CompleteMigration" ReplicationProtectedItemOperationDisableProtection ReplicationProtectedItemOperation = "DisableProtection" ReplicationProtectedItemOperationFailback ReplicationProtectedItemOperation = "Failback" ReplicationProtectedItemOperationFinalizeFailback ReplicationProtectedItemOperation = "FinalizeFailback" ReplicationProtectedItemOperationPlannedFailover ReplicationProtectedItemOperation = "PlannedFailover" ReplicationProtectedItemOperationRepairReplication ReplicationProtectedItemOperation = "RepairReplication" ReplicationProtectedItemOperationReverseReplicate ReplicationProtectedItemOperation = "ReverseReplicate" ReplicationProtectedItemOperationSwitchProtection ReplicationProtectedItemOperation = "SwitchProtection" ReplicationProtectedItemOperationTestFailover ReplicationProtectedItemOperation = "TestFailover" ReplicationProtectedItemOperationTestFailoverCleanup ReplicationProtectedItemOperation = "TestFailoverCleanup" ReplicationProtectedItemOperationUnplannedFailover ReplicationProtectedItemOperation = "UnplannedFailover" )
func (*ReplicationProtectedItemOperation) UnmarshalJSON ¶
func (s *ReplicationProtectedItemOperation) UnmarshalJSON(bytes []byte) error
type ReplicationRecoveryPlanId ¶
type ReplicationRecoveryPlanId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationRecoveryPlanName string }
ReplicationRecoveryPlanId is a struct representing the Resource ID for a Replication Recovery Plan
func NewReplicationRecoveryPlanID ¶
func NewReplicationRecoveryPlanID(subscriptionId string, resourceGroupName string, vaultName string, replicationRecoveryPlanName string) ReplicationRecoveryPlanId
NewReplicationRecoveryPlanID returns a new ReplicationRecoveryPlanId struct
func ParseReplicationRecoveryPlanID ¶
func ParseReplicationRecoveryPlanID(input string) (*ReplicationRecoveryPlanId, error)
ParseReplicationRecoveryPlanID parses 'input' into a ReplicationRecoveryPlanId
func ParseReplicationRecoveryPlanIDInsensitively ¶
func ParseReplicationRecoveryPlanIDInsensitively(input string) (*ReplicationRecoveryPlanId, error)
ParseReplicationRecoveryPlanIDInsensitively parses 'input' case-insensitively into a ReplicationRecoveryPlanId note: this method should only be used for API response data and not user input
func (*ReplicationRecoveryPlanId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ReplicationRecoveryPlanId) FromParseResult(input resourceids.ParseResult) error
func (ReplicationRecoveryPlanId) ID ¶
func (id ReplicationRecoveryPlanId) ID() string
ID returns the formatted Replication Recovery Plan ID
func (ReplicationRecoveryPlanId) Segments ¶
func (id ReplicationRecoveryPlanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Recovery Plan ID
func (ReplicationRecoveryPlanId) String ¶
func (id ReplicationRecoveryPlanId) String() string
String returns a human-readable description of this Replication Recovery Plan ID
type ReplicationRecoveryPlansClient ¶
type ReplicationRecoveryPlansClient struct {
Client *resourcemanager.Client
}
func NewReplicationRecoveryPlansClientWithBaseURI ¶
func NewReplicationRecoveryPlansClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationRecoveryPlansClient, error)
func (ReplicationRecoveryPlansClient) Create ¶
func (c ReplicationRecoveryPlansClient) Create(ctx context.Context, id ReplicationRecoveryPlanId, input CreateRecoveryPlanInput) (result CreateOperationResponse, err error)
Create ...
func (ReplicationRecoveryPlansClient) CreateThenPoll ¶
func (c ReplicationRecoveryPlansClient) CreateThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, input CreateRecoveryPlanInput) error
CreateThenPoll performs Create then polls until it's completed
func (ReplicationRecoveryPlansClient) Delete ¶
func (c ReplicationRecoveryPlansClient) Delete(ctx context.Context, id ReplicationRecoveryPlanId) (result DeleteOperationResponse, err error)
Delete ...
func (ReplicationRecoveryPlansClient) DeleteThenPoll ¶
func (c ReplicationRecoveryPlansClient) DeleteThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ReplicationRecoveryPlansClient) FailoverCancel ¶
func (c ReplicationRecoveryPlansClient) FailoverCancel(ctx context.Context, id ReplicationRecoveryPlanId) (result FailoverCancelOperationResponse, err error)
FailoverCancel ...
func (ReplicationRecoveryPlansClient) FailoverCancelThenPoll ¶
func (c ReplicationRecoveryPlansClient) FailoverCancelThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
FailoverCancelThenPoll performs FailoverCancel then polls until it's completed
func (ReplicationRecoveryPlansClient) FailoverCommit ¶
func (c ReplicationRecoveryPlansClient) FailoverCommit(ctx context.Context, id ReplicationRecoveryPlanId) (result FailoverCommitOperationResponse, err error)
FailoverCommit ...
func (ReplicationRecoveryPlansClient) FailoverCommitThenPoll ¶
func (c ReplicationRecoveryPlansClient) FailoverCommitThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
FailoverCommitThenPoll performs FailoverCommit then polls until it's completed
func (ReplicationRecoveryPlansClient) Get ¶
func (c ReplicationRecoveryPlansClient) Get(ctx context.Context, id ReplicationRecoveryPlanId) (result GetOperationResponse, err error)
Get ...
func (ReplicationRecoveryPlansClient) List ¶
func (c ReplicationRecoveryPlansClient) List(ctx context.Context, id VaultId) (result ListOperationResponse, err error)
List ...
func (ReplicationRecoveryPlansClient) ListComplete ¶
func (c ReplicationRecoveryPlansClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReplicationRecoveryPlansClient) ListCompleteMatchingPredicate ¶
func (c ReplicationRecoveryPlansClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate RecoveryPlanOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReplicationRecoveryPlansClient) PlannedFailover ¶
func (c ReplicationRecoveryPlansClient) PlannedFailover(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanPlannedFailoverInput) (result PlannedFailoverOperationResponse, err error)
PlannedFailover ...
func (ReplicationRecoveryPlansClient) PlannedFailoverThenPoll ¶
func (c ReplicationRecoveryPlansClient) PlannedFailoverThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanPlannedFailoverInput) error
PlannedFailoverThenPoll performs PlannedFailover then polls until it's completed
func (ReplicationRecoveryPlansClient) Reprotect ¶
func (c ReplicationRecoveryPlansClient) Reprotect(ctx context.Context, id ReplicationRecoveryPlanId) (result ReprotectOperationResponse, err error)
Reprotect ...
func (ReplicationRecoveryPlansClient) ReprotectThenPoll ¶
func (c ReplicationRecoveryPlansClient) ReprotectThenPoll(ctx context.Context, id ReplicationRecoveryPlanId) error
ReprotectThenPoll performs Reprotect then polls until it's completed
func (ReplicationRecoveryPlansClient) TestFailover ¶
func (c ReplicationRecoveryPlansClient) TestFailover(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanTestFailoverInput) (result TestFailoverOperationResponse, err error)
TestFailover ...
func (ReplicationRecoveryPlansClient) TestFailoverCleanup ¶
func (c ReplicationRecoveryPlansClient) TestFailoverCleanup(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanTestFailoverCleanupInput) (result TestFailoverCleanupOperationResponse, err error)
TestFailoverCleanup ...
func (ReplicationRecoveryPlansClient) TestFailoverCleanupThenPoll ¶
func (c ReplicationRecoveryPlansClient) TestFailoverCleanupThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanTestFailoverCleanupInput) error
TestFailoverCleanupThenPoll performs TestFailoverCleanup then polls until it's completed
func (ReplicationRecoveryPlansClient) TestFailoverThenPoll ¶
func (c ReplicationRecoveryPlansClient) TestFailoverThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanTestFailoverInput) error
TestFailoverThenPoll performs TestFailover then polls until it's completed
func (ReplicationRecoveryPlansClient) UnplannedFailover ¶
func (c ReplicationRecoveryPlansClient) UnplannedFailover(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanUnplannedFailoverInput) (result UnplannedFailoverOperationResponse, err error)
UnplannedFailover ...
func (ReplicationRecoveryPlansClient) UnplannedFailoverThenPoll ¶
func (c ReplicationRecoveryPlansClient) UnplannedFailoverThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, input RecoveryPlanUnplannedFailoverInput) error
UnplannedFailoverThenPoll performs UnplannedFailover then polls until it's completed
func (ReplicationRecoveryPlansClient) Update ¶
func (c ReplicationRecoveryPlansClient) Update(ctx context.Context, id ReplicationRecoveryPlanId, input UpdateRecoveryPlanInput) (result UpdateOperationResponse, err error)
Update ...
func (ReplicationRecoveryPlansClient) UpdateThenPoll ¶
func (c ReplicationRecoveryPlansClient) UpdateThenPoll(ctx context.Context, id ReplicationRecoveryPlanId, input UpdateRecoveryPlanInput) error
UpdateThenPoll performs Update then polls until it's completed
type RpInMageRecoveryPointType ¶
type RpInMageRecoveryPointType string
const ( RpInMageRecoveryPointTypeCustom RpInMageRecoveryPointType = "Custom" RpInMageRecoveryPointTypeLatestTag RpInMageRecoveryPointType = "LatestTag" RpInMageRecoveryPointTypeLatestTime RpInMageRecoveryPointType = "LatestTime" )
func (*RpInMageRecoveryPointType) UnmarshalJSON ¶
func (s *RpInMageRecoveryPointType) UnmarshalJSON(bytes []byte) error
type SourceSiteOperations ¶
type SourceSiteOperations string
const ( SourceSiteOperationsNotRequired SourceSiteOperations = "NotRequired" SourceSiteOperationsRequired SourceSiteOperations = "Required" )
func (*SourceSiteOperations) UnmarshalJSON ¶
func (s *SourceSiteOperations) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateRecoveryPlanInput ¶
type UpdateRecoveryPlanInput struct {
Properties *UpdateRecoveryPlanInputProperties `json:"properties,omitempty"`
}
type UpdateRecoveryPlanInputProperties ¶
type UpdateRecoveryPlanInputProperties struct {
Groups *[]RecoveryPlanGroup `json:"groups,omitempty"`
}
type VaultId ¶
VaultId is a struct representing the Resource ID for a Vault
func NewVaultID ¶
NewVaultID returns a new VaultId struct
func ParseVaultID ¶
ParseVaultID parses 'input' into a VaultId
func ParseVaultIDInsensitively ¶
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) Segments ¶
func (id VaultId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Vault ID
Source Files ¶
- client.go
- constants.go
- id_replicationrecoveryplan.go
- id_vault.go
- method_create.go
- method_delete.go
- method_failovercancel.go
- method_failovercommit.go
- method_get.go
- method_list.go
- method_plannedfailover.go
- method_reprotect.go
- method_testfailover.go
- method_testfailovercleanup.go
- method_unplannedfailover.go
- method_update.go
- model_createrecoveryplaninput.go
- model_createrecoveryplaninputproperties.go
- model_currentscenariodetails.go
- model_recoveryplan.go
- model_recoveryplana2adetails.go
- model_recoveryplana2afailoverinput.go
- model_recoveryplana2ainput.go
- model_recoveryplanaction.go
- model_recoveryplanactiondetails.go
- model_recoveryplanautomationrunbookactiondetails.go
- model_recoveryplangroup.go
- model_recoveryplanhypervreplicaazurefailbackinput.go
- model_recoveryplanhypervreplicaazurefailoverinput.go
- model_recoveryplaninmageazurev2failoverinput.go
- model_recoveryplaninmagefailoverinput.go
- model_recoveryplaninmagercmfailbackfailoverinput.go
- model_recoveryplaninmagercmfailoverinput.go
- model_recoveryplanmanualactiondetails.go
- model_recoveryplanplannedfailoverinput.go
- model_recoveryplanplannedfailoverinputproperties.go
- model_recoveryplanproperties.go
- model_recoveryplanprotecteditem.go
- model_recoveryplanproviderspecificdetails.go
- model_recoveryplanproviderspecificfailoverinput.go
- model_recoveryplanproviderspecificinput.go
- model_recoveryplanscriptactiondetails.go
- model_recoveryplantestfailovercleanupinput.go
- model_recoveryplantestfailovercleanupinputproperties.go
- model_recoveryplantestfailoverinput.go
- model_recoveryplantestfailoverinputproperties.go
- model_recoveryplanunplannedfailoverinput.go
- model_recoveryplanunplannedfailoverinputproperties.go
- model_updaterecoveryplaninput.go
- model_updaterecoveryplaninputproperties.go
- predicates.go
- version.go