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 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) (resp 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) (resp 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" )
type AlternateLocationRecoveryOption ¶
type AlternateLocationRecoveryOption string
const ( AlternateLocationRecoveryOptionCreateVMIfNotFound AlternateLocationRecoveryOption = "CreateVmIfNotFound" AlternateLocationRecoveryOptionNoAction AlternateLocationRecoveryOption = "NoAction" )
type CreateOperationResponse ¶
type CreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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" )
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type FailoverCancelOperationResponse ¶
type FailoverCancelOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type FailoverCommitOperationResponse ¶
type FailoverCommitOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type FailoverDeploymentModel ¶
type FailoverDeploymentModel string
const ( FailoverDeploymentModelClassic FailoverDeploymentModel = "Classic" FailoverDeploymentModelNotApplicable FailoverDeploymentModel = "NotApplicable" FailoverDeploymentModelResourceManager FailoverDeploymentModel = "ResourceManager" )
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *RecoveryPlan }
type HyperVReplicaAzureRpRecoveryPointType ¶
type HyperVReplicaAzureRpRecoveryPointType string
const ( HyperVReplicaAzureRpRecoveryPointTypeLatest HyperVReplicaAzureRpRecoveryPointType = "Latest" HyperVReplicaAzureRpRecoveryPointTypeLatestApplicationConsistent HyperVReplicaAzureRpRecoveryPointType = "LatestApplicationConsistent" HyperVReplicaAzureRpRecoveryPointTypeLatestProcessed HyperVReplicaAzureRpRecoveryPointType = "LatestProcessed" )
type InMageRcmFailbackRecoveryPointType ¶
type InMageRcmFailbackRecoveryPointType string
const ( InMageRcmFailbackRecoveryPointTypeApplicationConsistent InMageRcmFailbackRecoveryPointType = "ApplicationConsistent" InMageRcmFailbackRecoveryPointTypeCrashConsistent InMageRcmFailbackRecoveryPointType = "CrashConsistent" )
type InMageV2RpRecoveryPointType ¶
type InMageV2RpRecoveryPointType string
const ( InMageV2RpRecoveryPointTypeLatest InMageV2RpRecoveryPointType = "Latest" InMageV2RpRecoveryPointTypeLatestApplicationConsistent InMageV2RpRecoveryPointType = "LatestApplicationConsistent" InMageV2RpRecoveryPointTypeLatestCrashConsistent InMageV2RpRecoveryPointType = "LatestCrashConsistent" InMageV2RpRecoveryPointTypeLatestProcessed InMageV2RpRecoveryPointType = "LatestProcessed" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []RecoveryPlan
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]RecoveryPlan // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type MultiVMSyncPointOption ¶
type MultiVMSyncPointOption string
const ( MultiVMSyncPointOptionUseMultiVMSyncRecoveryPoint MultiVMSyncPointOption = "UseMultiVmSyncRecoveryPoint" MultiVMSyncPointOptionUsePerVMRecoveryPoint MultiVMSyncPointOption = "UsePerVmRecoveryPoint" )
type PlannedFailoverOperationResponse ¶
type PlannedFailoverOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type PossibleOperationsDirections ¶
type PossibleOperationsDirections string
const ( PossibleOperationsDirectionsPrimaryToRecovery PossibleOperationsDirections = "PrimaryToRecovery" PossibleOperationsDirectionsRecoveryToPrimary PossibleOperationsDirections = "RecoveryToPrimary" )
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" )
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" )
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" )
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" )
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) 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 autorest.Client // contains filtered or unexported fields }
func NewReplicationRecoveryPlansClientWithBaseURI ¶
func NewReplicationRecoveryPlansClientWithBaseURI(endpoint string) ReplicationRecoveryPlansClient
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) (resp ListOperationResponse, err error)
List ...
func (ReplicationRecoveryPlansClient) ListComplete ¶
func (c ReplicationRecoveryPlansClient) ListComplete(ctx context.Context, id VaultId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ReplicationRecoveryPlansClient) ListCompleteMatchingPredicate ¶
func (c ReplicationRecoveryPlansClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, predicate RecoveryPlanOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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 ReprotectOperationResponse ¶
type ReprotectOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type RpInMageRecoveryPointType ¶
type RpInMageRecoveryPointType string
const ( RpInMageRecoveryPointTypeCustom RpInMageRecoveryPointType = "Custom" RpInMageRecoveryPointTypeLatestTag RpInMageRecoveryPointType = "LatestTag" RpInMageRecoveryPointTypeLatestTime RpInMageRecoveryPointType = "LatestTime" )
type SourceSiteOperations ¶
type SourceSiteOperations string
const ( SourceSiteOperationsNotRequired SourceSiteOperations = "NotRequired" SourceSiteOperationsRequired SourceSiteOperations = "Required" )
type TestFailoverCleanupOperationResponse ¶
type TestFailoverCleanupOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type TestFailoverOperationResponse ¶
type TestFailoverOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UnplannedFailoverOperationResponse ¶
type UnplannedFailoverOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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) 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_autorest.go
- method_delete_autorest.go
- method_failovercancel_autorest.go
- method_failovercommit_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_plannedfailover_autorest.go
- method_reprotect_autorest.go
- method_testfailover_autorest.go
- method_testfailovercleanup_autorest.go
- method_unplannedfailover_autorest.go
- method_update_autorest.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