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 BaseRecoveryPlanActionDetailsImpl
- type BaseRecoveryPlanProviderSpecificDetailsImpl
- type BaseRecoveryPlanProviderSpecificFailoverInputImpl
- type BaseRecoveryPlanProviderSpecificInputImpl
- 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 ListCustomPager
- 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 BaseRecoveryPlanActionDetailsImpl ¶ added in v0.20240920.1135249
type BaseRecoveryPlanActionDetailsImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseRecoveryPlanActionDetailsImpl) RecoveryPlanActionDetails ¶ added in v0.20240920.1135249
func (s BaseRecoveryPlanActionDetailsImpl) RecoveryPlanActionDetails() BaseRecoveryPlanActionDetailsImpl
type BaseRecoveryPlanProviderSpecificDetailsImpl ¶ added in v0.20240920.1135249
type BaseRecoveryPlanProviderSpecificDetailsImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseRecoveryPlanProviderSpecificDetailsImpl) RecoveryPlanProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s BaseRecoveryPlanProviderSpecificDetailsImpl) RecoveryPlanProviderSpecificDetails() BaseRecoveryPlanProviderSpecificDetailsImpl
type BaseRecoveryPlanProviderSpecificFailoverInputImpl ¶ added in v0.20240920.1135249
type BaseRecoveryPlanProviderSpecificFailoverInputImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseRecoveryPlanProviderSpecificFailoverInputImpl) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s BaseRecoveryPlanProviderSpecificFailoverInputImpl) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type BaseRecoveryPlanProviderSpecificInputImpl ¶ added in v0.20240920.1135249
type BaseRecoveryPlanProviderSpecificInputImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseRecoveryPlanProviderSpecificInputImpl) RecoveryPlanProviderSpecificInput ¶ added in v0.20240920.1135249
func (s BaseRecoveryPlanProviderSpecificInputImpl) RecoveryPlanProviderSpecificInput() BaseRecoveryPlanProviderSpecificInputImpl
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 ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
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 ¶
type RawRecoveryPlanActionDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawRecoveryPlanActionDetailsImpl) RecoveryPlanActionDetails ¶ added in v0.20240920.1135249
func (s RawRecoveryPlanActionDetailsImpl) RecoveryPlanActionDetails() BaseRecoveryPlanActionDetailsImpl
type RawRecoveryPlanProviderSpecificDetailsImpl ¶
type RawRecoveryPlanProviderSpecificDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawRecoveryPlanProviderSpecificDetailsImpl) RecoveryPlanProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s RawRecoveryPlanProviderSpecificDetailsImpl) RecoveryPlanProviderSpecificDetails() BaseRecoveryPlanProviderSpecificDetailsImpl
type RawRecoveryPlanProviderSpecificFailoverInputImpl ¶
type RawRecoveryPlanProviderSpecificFailoverInputImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawRecoveryPlanProviderSpecificFailoverInputImpl) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RawRecoveryPlanProviderSpecificFailoverInputImpl) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type RawRecoveryPlanProviderSpecificInputImpl ¶
type RawRecoveryPlanProviderSpecificInputImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawRecoveryPlanProviderSpecificInputImpl) RecoveryPlanProviderSpecificInput ¶ added in v0.20240920.1135249
func (s RawRecoveryPlanProviderSpecificInputImpl) RecoveryPlanProviderSpecificInput() BaseRecoveryPlanProviderSpecificInputImpl
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"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanA2ADetails) MarshalJSON ¶
func (s RecoveryPlanA2ADetails) MarshalJSON() ([]byte, error)
func (RecoveryPlanA2ADetails) RecoveryPlanProviderSpecificDetails ¶ added in v0.20240920.1135249
func (s RecoveryPlanA2ADetails) RecoveryPlanProviderSpecificDetails() BaseRecoveryPlanProviderSpecificDetailsImpl
type RecoveryPlanA2AFailoverInput ¶
type RecoveryPlanA2AFailoverInput struct { CloudServiceCreationOption *string `json:"cloudServiceCreationOption,omitempty"` MultiVMSyncPointOption *MultiVMSyncPointOption `json:"multiVmSyncPointOption,omitempty"` RecoveryPointType A2ARpRecoveryPointType `json:"recoveryPointType"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanA2AFailoverInput) MarshalJSON ¶
func (s RecoveryPlanA2AFailoverInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanA2AFailoverInput) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanA2AFailoverInput) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
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"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanA2AInput) MarshalJSON ¶
func (s RecoveryPlanA2AInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanA2AInput) RecoveryPlanProviderSpecificInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanA2AInput) RecoveryPlanProviderSpecificInput() BaseRecoveryPlanProviderSpecificInputImpl
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 {
RecoveryPlanActionDetails() BaseRecoveryPlanActionDetailsImpl
}
func UnmarshalRecoveryPlanActionDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalRecoveryPlanActionDetailsImplementation(input []byte) (RecoveryPlanActionDetails, error)
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"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanAutomationRunbookActionDetails) MarshalJSON ¶
func (s RecoveryPlanAutomationRunbookActionDetails) MarshalJSON() ([]byte, error)
func (RecoveryPlanAutomationRunbookActionDetails) RecoveryPlanActionDetails ¶ added in v0.20240920.1135249
func (s RecoveryPlanAutomationRunbookActionDetails) RecoveryPlanActionDetails() BaseRecoveryPlanActionDetailsImpl
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"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanHyperVReplicaAzureFailbackInput) MarshalJSON ¶
func (s RecoveryPlanHyperVReplicaAzureFailbackInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanHyperVReplicaAzureFailbackInput) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanHyperVReplicaAzureFailbackInput) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type RecoveryPlanHyperVReplicaAzureFailoverInput ¶
type RecoveryPlanHyperVReplicaAzureFailoverInput struct { PrimaryKekCertificatePfx *string `json:"primaryKekCertificatePfx,omitempty"` RecoveryPointType *HyperVReplicaAzureRpRecoveryPointType `json:"recoveryPointType,omitempty"` SecondaryKekCertificatePfx *string `json:"secondaryKekCertificatePfx,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanHyperVReplicaAzureFailoverInput) MarshalJSON ¶
func (s RecoveryPlanHyperVReplicaAzureFailoverInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanHyperVReplicaAzureFailoverInput) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanHyperVReplicaAzureFailoverInput) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type RecoveryPlanInMageAzureV2FailoverInput ¶
type RecoveryPlanInMageAzureV2FailoverInput struct { RecoveryPointType InMageV2RpRecoveryPointType `json:"recoveryPointType"` UseMultiVMSyncPoint *string `json:"useMultiVmSyncPoint,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanInMageAzureV2FailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageAzureV2FailoverInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanInMageAzureV2FailoverInput) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanInMageAzureV2FailoverInput) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type RecoveryPlanInMageFailoverInput ¶
type RecoveryPlanInMageFailoverInput struct { RecoveryPointType RpInMageRecoveryPointType `json:"recoveryPointType"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanInMageFailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageFailoverInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanInMageFailoverInput) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanInMageFailoverInput) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type RecoveryPlanInMageRcmFailbackFailoverInput ¶
type RecoveryPlanInMageRcmFailbackFailoverInput struct { RecoveryPointType InMageRcmFailbackRecoveryPointType `json:"recoveryPointType"` UseMultiVMSyncPoint *string `json:"useMultiVmSyncPoint,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanInMageRcmFailbackFailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageRcmFailbackFailoverInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanInMageRcmFailbackFailoverInput) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanInMageRcmFailbackFailoverInput) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type RecoveryPlanInMageRcmFailoverInput ¶
type RecoveryPlanInMageRcmFailoverInput struct { RecoveryPointType RecoveryPlanPointType `json:"recoveryPointType"` UseMultiVMSyncPoint *string `json:"useMultiVmSyncPoint,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanInMageRcmFailoverInput) MarshalJSON ¶
func (s RecoveryPlanInMageRcmFailoverInput) MarshalJSON() ([]byte, error)
func (RecoveryPlanInMageRcmFailoverInput) RecoveryPlanProviderSpecificFailoverInput ¶ added in v0.20240920.1135249
func (s RecoveryPlanInMageRcmFailoverInput) RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
type RecoveryPlanManualActionDetails ¶
type RecoveryPlanManualActionDetails struct { Description *string `json:"description,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanManualActionDetails) MarshalJSON ¶
func (s RecoveryPlanManualActionDetails) MarshalJSON() ([]byte, error)
func (RecoveryPlanManualActionDetails) RecoveryPlanActionDetails ¶ added in v0.20240920.1135249
func (s RecoveryPlanManualActionDetails) RecoveryPlanActionDetails() BaseRecoveryPlanActionDetailsImpl
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 {
RecoveryPlanProviderSpecificDetails() BaseRecoveryPlanProviderSpecificDetailsImpl
}
func UnmarshalRecoveryPlanProviderSpecificDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalRecoveryPlanProviderSpecificDetailsImplementation(input []byte) (RecoveryPlanProviderSpecificDetails, error)
type RecoveryPlanProviderSpecificFailoverInput ¶
type RecoveryPlanProviderSpecificFailoverInput interface {
RecoveryPlanProviderSpecificFailoverInput() BaseRecoveryPlanProviderSpecificFailoverInputImpl
}
func UnmarshalRecoveryPlanProviderSpecificFailoverInputImplementation ¶ added in v0.20240920.1135249
func UnmarshalRecoveryPlanProviderSpecificFailoverInputImplementation(input []byte) (RecoveryPlanProviderSpecificFailoverInput, error)
type RecoveryPlanProviderSpecificInput ¶
type RecoveryPlanProviderSpecificInput interface {
RecoveryPlanProviderSpecificInput() BaseRecoveryPlanProviderSpecificInputImpl
}
func UnmarshalRecoveryPlanProviderSpecificInputImplementation ¶ added in v0.20240920.1135249
func UnmarshalRecoveryPlanProviderSpecificInputImplementation(input []byte) (RecoveryPlanProviderSpecificInput, error)
type RecoveryPlanScriptActionDetails ¶
type RecoveryPlanScriptActionDetails struct { FabricLocation RecoveryPlanActionLocation `json:"fabricLocation"` Path string `json:"path"` Timeout *string `json:"timeout,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanScriptActionDetails) MarshalJSON ¶
func (s RecoveryPlanScriptActionDetails) MarshalJSON() ([]byte, error)
func (RecoveryPlanScriptActionDetails) RecoveryPlanActionDetails ¶ added in v0.20240920.1135249
func (s RecoveryPlanScriptActionDetails) RecoveryPlanActionDetails() BaseRecoveryPlanActionDetailsImpl
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 ¶
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 ¶
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