Documentation ¶
Index ¶
- func PossibleValuesForExportJobOutputSerializationType() []string
- func ValidateReplicationJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVaultID(input interface{}, key string) (warnings []string, errors []error)
- type ASRTask
- type AsrJobDetails
- type AutomationRunbookTaskDetails
- type BaseGroupTaskDetailsImpl
- type BaseJobDetailsImpl
- type BaseTaskTypeDetailsImpl
- type CancelOperationResponse
- type ClusterFailoverJobDetails
- type ClusterSwitchProtectionJobDetails
- type ClusterTestFailoverJobDetails
- type ConsistencyCheckTaskDetails
- type ExportJobDetails
- type ExportJobOutputSerializationType
- type ExportOperationResponse
- type FabricReplicationGroupTaskDetails
- type FailoverJobDetails
- type FailoverReplicationProtectedItemDetails
- type GetOperationResponse
- type GroupTaskDetails
- type InconsistentVMDetails
- type InlineWorkflowTaskDetails
- type Job
- type JobDetails
- type JobEntity
- type JobErrorDetails
- type JobOperationPredicate
- type JobProperties
- func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *JobProperties) SetEndTimeAsTime(input time.Time)
- func (o *JobProperties) SetStartTimeAsTime(input time.Time)
- func (s *JobProperties) UnmarshalJSON(bytes []byte) error
- type JobQueryParameter
- type JobTaskDetails
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type ManualActionTaskDetails
- type ProviderError
- type RawGroupTaskDetailsImpl
- type RawJobDetailsImpl
- type RawTaskTypeDetailsImpl
- type RecoveryPlanGroupTaskDetails
- type RecoveryPlanShutdownGroupTaskDetails
- type ReplicationJobId
- type ReplicationJobsClient
- func (c ReplicationJobsClient) Cancel(ctx context.Context, id ReplicationJobId) (result CancelOperationResponse, err error)
- func (c ReplicationJobsClient) CancelThenPoll(ctx context.Context, id ReplicationJobId) error
- func (c ReplicationJobsClient) Export(ctx context.Context, id VaultId, input JobQueryParameter) (result ExportOperationResponse, err error)
- func (c ReplicationJobsClient) ExportThenPoll(ctx context.Context, id VaultId, input JobQueryParameter) error
- func (c ReplicationJobsClient) Get(ctx context.Context, id ReplicationJobId) (result GetOperationResponse, err error)
- func (c ReplicationJobsClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c ReplicationJobsClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
- func (c ReplicationJobsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c ReplicationJobsClient) Restart(ctx context.Context, id ReplicationJobId) (result RestartOperationResponse, err error)
- func (c ReplicationJobsClient) RestartThenPoll(ctx context.Context, id ReplicationJobId) error
- func (c ReplicationJobsClient) Resume(ctx context.Context, id ReplicationJobId, input ResumeJobParams) (result ResumeOperationResponse, err error)
- func (c ReplicationJobsClient) ResumeThenPoll(ctx context.Context, id ReplicationJobId, input ResumeJobParams) error
- type RestartOperationResponse
- type ResumeJobParams
- type ResumeJobParamsProperties
- type ResumeOperationResponse
- type ScriptActionTaskDetails
- type ServiceError
- type SwitchProtectionJobDetails
- type TaskTypeDetails
- type TestFailoverJobDetails
- type VMNicUpdatesTaskDetails
- type VaultId
- type VirtualMachineTaskDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExportJobOutputSerializationType ¶
func PossibleValuesForExportJobOutputSerializationType() []string
func ValidateReplicationJobID ¶
ValidateReplicationJobID checks that 'input' can be parsed as a Replication Job ID
func ValidateVaultID ¶
ValidateVaultID checks that 'input' can be parsed as a Vault ID
Types ¶
type ASRTask ¶
type ASRTask struct { AllowedActions *[]string `json:"allowedActions,omitempty"` CustomDetails TaskTypeDetails `json:"customDetails"` EndTime *string `json:"endTime,omitempty"` Errors *[]JobErrorDetails `json:"errors,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` GroupTaskCustomDetails GroupTaskDetails `json:"groupTaskCustomDetails"` Name *string `json:"name,omitempty"` StartTime *string `json:"startTime,omitempty"` State *string `json:"state,omitempty"` StateDescription *string `json:"stateDescription,omitempty"` TaskId *string `json:"taskId,omitempty"` TaskType *string `json:"taskType,omitempty"` }
func (*ASRTask) SetEndTimeAsTime ¶
func (*ASRTask) SetStartTimeAsTime ¶
func (*ASRTask) UnmarshalJSON ¶
type AsrJobDetails ¶
type AsrJobDetails struct { AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (AsrJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s AsrJobDetails) JobDetails() BaseJobDetailsImpl
func (AsrJobDetails) MarshalJSON ¶
func (s AsrJobDetails) MarshalJSON() ([]byte, error)
type AutomationRunbookTaskDetails ¶
type AutomationRunbookTaskDetails struct { AccountName *string `json:"accountName,omitempty"` CloudServiceName *string `json:"cloudServiceName,omitempty"` IsPrimarySideScript *bool `json:"isPrimarySideScript,omitempty"` JobId *string `json:"jobId,omitempty"` JobOutput *string `json:"jobOutput,omitempty"` Name *string `json:"name,omitempty"` RunbookId *string `json:"runbookId,omitempty"` RunbookName *string `json:"runbookName,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` InstanceType string `json:"instanceType"` }
func (AutomationRunbookTaskDetails) MarshalJSON ¶
func (s AutomationRunbookTaskDetails) MarshalJSON() ([]byte, error)
func (AutomationRunbookTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s AutomationRunbookTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
type BaseGroupTaskDetailsImpl ¶ added in v0.20240920.1135249
type BaseGroupTaskDetailsImpl struct { ChildTasks *[]ASRTask `json:"childTasks,omitempty"` InstanceType string `json:"instanceType"` }
func (BaseGroupTaskDetailsImpl) GroupTaskDetails ¶ added in v0.20240920.1135249
func (s BaseGroupTaskDetailsImpl) GroupTaskDetails() BaseGroupTaskDetailsImpl
type BaseJobDetailsImpl ¶ added in v0.20240920.1135249
type BaseJobDetailsImpl struct { AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (BaseJobDetailsImpl) JobDetails ¶ added in v0.20240920.1135249
func (s BaseJobDetailsImpl) JobDetails() BaseJobDetailsImpl
type BaseTaskTypeDetailsImpl ¶ added in v0.20240920.1135249
type BaseTaskTypeDetailsImpl struct {
InstanceType string `json:"instanceType"`
}
func (BaseTaskTypeDetailsImpl) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s BaseTaskTypeDetailsImpl) TaskTypeDetails() BaseTaskTypeDetailsImpl
type CancelOperationResponse ¶
type ClusterFailoverJobDetails ¶
type ClusterFailoverJobDetails struct { ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails `json:"protectedItemDetails,omitempty"` AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (ClusterFailoverJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s ClusterFailoverJobDetails) JobDetails() BaseJobDetailsImpl
func (ClusterFailoverJobDetails) MarshalJSON ¶
func (s ClusterFailoverJobDetails) MarshalJSON() ([]byte, error)
type ClusterSwitchProtectionJobDetails ¶
type ClusterSwitchProtectionJobDetails struct { NewReplicationProtectionClusterId *string `json:"newReplicationProtectionClusterId,omitempty"` AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (ClusterSwitchProtectionJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s ClusterSwitchProtectionJobDetails) JobDetails() BaseJobDetailsImpl
func (ClusterSwitchProtectionJobDetails) MarshalJSON ¶
func (s ClusterSwitchProtectionJobDetails) MarshalJSON() ([]byte, error)
type ClusterTestFailoverJobDetails ¶
type ClusterTestFailoverJobDetails struct { Comments *string `json:"comments,omitempty"` NetworkFriendlyName *string `json:"networkFriendlyName,omitempty"` NetworkName *string `json:"networkName,omitempty"` NetworkType *string `json:"networkType,omitempty"` ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails `json:"protectedItemDetails,omitempty"` TestFailoverStatus *string `json:"testFailoverStatus,omitempty"` AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (ClusterTestFailoverJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s ClusterTestFailoverJobDetails) JobDetails() BaseJobDetailsImpl
func (ClusterTestFailoverJobDetails) MarshalJSON ¶
func (s ClusterTestFailoverJobDetails) MarshalJSON() ([]byte, error)
type ConsistencyCheckTaskDetails ¶
type ConsistencyCheckTaskDetails struct { VMDetails *[]InconsistentVMDetails `json:"vmDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (ConsistencyCheckTaskDetails) MarshalJSON ¶
func (s ConsistencyCheckTaskDetails) MarshalJSON() ([]byte, error)
func (ConsistencyCheckTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s ConsistencyCheckTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
type ExportJobDetails ¶
type ExportJobDetails struct { BlobUri *string `json:"blobUri,omitempty"` SasToken *string `json:"sasToken,omitempty"` AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (ExportJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s ExportJobDetails) JobDetails() BaseJobDetailsImpl
func (ExportJobDetails) MarshalJSON ¶
func (s ExportJobDetails) MarshalJSON() ([]byte, error)
type ExportJobOutputSerializationType ¶
type ExportJobOutputSerializationType string
const ( ExportJobOutputSerializationTypeExcel ExportJobOutputSerializationType = "Excel" ExportJobOutputSerializationTypeJson ExportJobOutputSerializationType = "Json" ExportJobOutputSerializationTypeXml ExportJobOutputSerializationType = "Xml" )
func (*ExportJobOutputSerializationType) UnmarshalJSON ¶
func (s *ExportJobOutputSerializationType) UnmarshalJSON(bytes []byte) error
type ExportOperationResponse ¶
type FabricReplicationGroupTaskDetails ¶
type FabricReplicationGroupTaskDetails struct { SkippedReason *string `json:"skippedReason,omitempty"` SkippedReasonString *string `json:"skippedReasonString,omitempty"` InstanceType string `json:"instanceType"` }
func (FabricReplicationGroupTaskDetails) MarshalJSON ¶
func (s FabricReplicationGroupTaskDetails) MarshalJSON() ([]byte, error)
func (FabricReplicationGroupTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s FabricReplicationGroupTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
type FailoverJobDetails ¶
type FailoverJobDetails struct { ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails `json:"protectedItemDetails,omitempty"` AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (FailoverJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s FailoverJobDetails) JobDetails() BaseJobDetailsImpl
func (FailoverJobDetails) MarshalJSON ¶
func (s FailoverJobDetails) MarshalJSON() ([]byte, error)
type FailoverReplicationProtectedItemDetails ¶
type FailoverReplicationProtectedItemDetails struct { FriendlyName *string `json:"friendlyName,omitempty"` Name *string `json:"name,omitempty"` NetworkConnectionStatus *string `json:"networkConnectionStatus,omitempty"` NetworkFriendlyName *string `json:"networkFriendlyName,omitempty"` RecoveryPointId *string `json:"recoveryPointId,omitempty"` RecoveryPointTime *string `json:"recoveryPointTime,omitempty"` Subnet *string `json:"subnet,omitempty"` TestVMFriendlyName *string `json:"testVmFriendlyName,omitempty"` TestVMName *string `json:"testVmName,omitempty"` }
func (*FailoverReplicationProtectedItemDetails) GetRecoveryPointTimeAsTime ¶
func (o *FailoverReplicationProtectedItemDetails) GetRecoveryPointTimeAsTime() (*time.Time, error)
func (*FailoverReplicationProtectedItemDetails) SetRecoveryPointTimeAsTime ¶
func (o *FailoverReplicationProtectedItemDetails) SetRecoveryPointTimeAsTime(input time.Time)
type GetOperationResponse ¶
type GroupTaskDetails ¶
type GroupTaskDetails interface {
GroupTaskDetails() BaseGroupTaskDetailsImpl
}
func UnmarshalGroupTaskDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalGroupTaskDetailsImplementation(input []byte) (GroupTaskDetails, error)
type InconsistentVMDetails ¶
type InlineWorkflowTaskDetails ¶
type InlineWorkflowTaskDetails struct { WorkflowIds *[]string `json:"workflowIds,omitempty"` ChildTasks *[]ASRTask `json:"childTasks,omitempty"` InstanceType string `json:"instanceType"` }
func (InlineWorkflowTaskDetails) GroupTaskDetails ¶ added in v0.20240920.1135249
func (s InlineWorkflowTaskDetails) GroupTaskDetails() BaseGroupTaskDetailsImpl
func (InlineWorkflowTaskDetails) MarshalJSON ¶
func (s InlineWorkflowTaskDetails) MarshalJSON() ([]byte, error)
type Job ¶
type Job struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *JobProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type JobDetails ¶
type JobDetails interface {
JobDetails() BaseJobDetailsImpl
}
func UnmarshalJobDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalJobDetailsImplementation(input []byte) (JobDetails, error)
type JobEntity ¶
type JobEntity struct { JobFriendlyName *string `json:"jobFriendlyName,omitempty"` JobId *string `json:"jobId,omitempty"` JobScenarioName *string `json:"jobScenarioName,omitempty"` TargetInstanceType *string `json:"targetInstanceType,omitempty"` TargetObjectId *string `json:"targetObjectId,omitempty"` TargetObjectName *string `json:"targetObjectName,omitempty"` }
type JobErrorDetails ¶
type JobErrorDetails struct { CreationTime *string `json:"creationTime,omitempty"` ErrorLevel *string `json:"errorLevel,omitempty"` ProviderErrorDetails *ProviderError `json:"providerErrorDetails,omitempty"` ServiceErrorDetails *ServiceError `json:"serviceErrorDetails,omitempty"` TaskId *string `json:"taskId,omitempty"` }
func (*JobErrorDetails) GetCreationTimeAsTime ¶
func (o *JobErrorDetails) GetCreationTimeAsTime() (*time.Time, error)
func (*JobErrorDetails) SetCreationTimeAsTime ¶
func (o *JobErrorDetails) SetCreationTimeAsTime(input time.Time)
type JobOperationPredicate ¶
func (JobOperationPredicate) Matches ¶
func (p JobOperationPredicate) Matches(input Job) bool
type JobProperties ¶
type JobProperties struct { ActivityId *string `json:"activityId,omitempty"` AllowedActions *[]string `json:"allowedActions,omitempty"` CustomDetails JobDetails `json:"customDetails"` EndTime *string `json:"endTime,omitempty"` Errors *[]JobErrorDetails `json:"errors,omitempty"` FriendlyName *string `json:"friendlyName,omitempty"` ScenarioName *string `json:"scenarioName,omitempty"` StartTime *string `json:"startTime,omitempty"` State *string `json:"state,omitempty"` StateDescription *string `json:"stateDescription,omitempty"` TargetInstanceType *string `json:"targetInstanceType,omitempty"` TargetObjectId *string `json:"targetObjectId,omitempty"` TargetObjectName *string `json:"targetObjectName,omitempty"` Tasks *[]ASRTask `json:"tasks,omitempty"` }
func (*JobProperties) GetEndTimeAsTime ¶
func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
func (*JobProperties) GetStartTimeAsTime ¶
func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
func (*JobProperties) SetEndTimeAsTime ¶
func (o *JobProperties) SetEndTimeAsTime(input time.Time)
func (*JobProperties) SetStartTimeAsTime ¶
func (o *JobProperties) SetStartTimeAsTime(input time.Time)
func (*JobProperties) UnmarshalJSON ¶
func (s *JobProperties) UnmarshalJSON(bytes []byte) error
type JobQueryParameter ¶
type JobQueryParameter struct { AffectedObjectTypes *string `json:"affectedObjectTypes,omitempty"` EndTime *string `json:"endTime,omitempty"` FabricId *string `json:"fabricId,omitempty"` JobName *string `json:"jobName,omitempty"` JobOutputType *ExportJobOutputSerializationType `json:"jobOutputType,omitempty"` JobStatus *string `json:"jobStatus,omitempty"` StartTime *string `json:"startTime,omitempty"` TimezoneOffset *float64 `json:"timezoneOffset,omitempty"` }
type JobTaskDetails ¶
type JobTaskDetails struct { JobTask *JobEntity `json:"jobTask,omitempty"` InstanceType string `json:"instanceType"` }
func (JobTaskDetails) MarshalJSON ¶
func (s JobTaskDetails) MarshalJSON() ([]byte, error)
func (JobTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s JobTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
type ListCompleteResult ¶
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ManualActionTaskDetails ¶
type ManualActionTaskDetails struct { Instructions *string `json:"instructions,omitempty"` Name *string `json:"name,omitempty"` Observation *string `json:"observation,omitempty"` InstanceType string `json:"instanceType"` }
func (ManualActionTaskDetails) MarshalJSON ¶
func (s ManualActionTaskDetails) MarshalJSON() ([]byte, error)
func (ManualActionTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s ManualActionTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
type ProviderError ¶
type RawGroupTaskDetailsImpl ¶
type RawGroupTaskDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawGroupTaskDetailsImpl 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 (RawGroupTaskDetailsImpl) GroupTaskDetails ¶ added in v0.20240920.1135249
func (s RawGroupTaskDetailsImpl) GroupTaskDetails() BaseGroupTaskDetailsImpl
type RawJobDetailsImpl ¶
type RawJobDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawJobDetailsImpl 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 (RawJobDetailsImpl) JobDetails ¶ added in v0.20240920.1135249
func (s RawJobDetailsImpl) JobDetails() BaseJobDetailsImpl
type RawTaskTypeDetailsImpl ¶
type RawTaskTypeDetailsImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawTaskTypeDetailsImpl 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 (RawTaskTypeDetailsImpl) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s RawTaskTypeDetailsImpl) TaskTypeDetails() BaseTaskTypeDetailsImpl
type RecoveryPlanGroupTaskDetails ¶
type RecoveryPlanGroupTaskDetails struct { GroupId *string `json:"groupId,omitempty"` Name *string `json:"name,omitempty"` RpGroupType *string `json:"rpGroupType,omitempty"` ChildTasks *[]ASRTask `json:"childTasks,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanGroupTaskDetails) GroupTaskDetails ¶ added in v0.20240920.1135249
func (s RecoveryPlanGroupTaskDetails) GroupTaskDetails() BaseGroupTaskDetailsImpl
func (RecoveryPlanGroupTaskDetails) MarshalJSON ¶
func (s RecoveryPlanGroupTaskDetails) MarshalJSON() ([]byte, error)
type RecoveryPlanShutdownGroupTaskDetails ¶
type RecoveryPlanShutdownGroupTaskDetails struct { ChildTasks *[]ASRTask `json:"childTasks,omitempty"` InstanceType string `json:"instanceType"` }
func (RecoveryPlanShutdownGroupTaskDetails) GroupTaskDetails ¶ added in v0.20240920.1135249
func (s RecoveryPlanShutdownGroupTaskDetails) GroupTaskDetails() BaseGroupTaskDetailsImpl
func (RecoveryPlanShutdownGroupTaskDetails) MarshalJSON ¶
func (s RecoveryPlanShutdownGroupTaskDetails) MarshalJSON() ([]byte, error)
type ReplicationJobId ¶
type ReplicationJobId struct { SubscriptionId string ResourceGroupName string VaultName string ReplicationJobName string }
ReplicationJobId is a struct representing the Resource ID for a Replication Job
func NewReplicationJobID ¶
func NewReplicationJobID(subscriptionId string, resourceGroupName string, vaultName string, replicationJobName string) ReplicationJobId
NewReplicationJobID returns a new ReplicationJobId struct
func ParseReplicationJobID ¶
func ParseReplicationJobID(input string) (*ReplicationJobId, error)
ParseReplicationJobID parses 'input' into a ReplicationJobId
func ParseReplicationJobIDInsensitively ¶
func ParseReplicationJobIDInsensitively(input string) (*ReplicationJobId, error)
ParseReplicationJobIDInsensitively parses 'input' case-insensitively into a ReplicationJobId note: this method should only be used for API response data and not user input
func (*ReplicationJobId) FromParseResult ¶
func (id *ReplicationJobId) FromParseResult(input resourceids.ParseResult) error
func (ReplicationJobId) ID ¶
func (id ReplicationJobId) ID() string
ID returns the formatted Replication Job ID
func (ReplicationJobId) Segments ¶
func (id ReplicationJobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replication Job ID
func (ReplicationJobId) String ¶
func (id ReplicationJobId) String() string
String returns a human-readable description of this Replication Job ID
type ReplicationJobsClient ¶
type ReplicationJobsClient struct {
Client *resourcemanager.Client
}
func NewReplicationJobsClientWithBaseURI ¶
func NewReplicationJobsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationJobsClient, error)
func (ReplicationJobsClient) Cancel ¶
func (c ReplicationJobsClient) Cancel(ctx context.Context, id ReplicationJobId) (result CancelOperationResponse, err error)
Cancel ...
func (ReplicationJobsClient) CancelThenPoll ¶
func (c ReplicationJobsClient) CancelThenPoll(ctx context.Context, id ReplicationJobId) error
CancelThenPoll performs Cancel then polls until it's completed
func (ReplicationJobsClient) Export ¶
func (c ReplicationJobsClient) Export(ctx context.Context, id VaultId, input JobQueryParameter) (result ExportOperationResponse, err error)
Export ...
func (ReplicationJobsClient) ExportThenPoll ¶
func (c ReplicationJobsClient) ExportThenPoll(ctx context.Context, id VaultId, input JobQueryParameter) error
ExportThenPoll performs Export then polls until it's completed
func (ReplicationJobsClient) Get ¶
func (c ReplicationJobsClient) Get(ctx context.Context, id ReplicationJobId) (result GetOperationResponse, err error)
Get ...
func (ReplicationJobsClient) List ¶
func (c ReplicationJobsClient) List(ctx context.Context, id VaultId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (ReplicationJobsClient) ListComplete ¶
func (c ReplicationJobsClient) ListComplete(ctx context.Context, id VaultId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ReplicationJobsClient) ListCompleteMatchingPredicate ¶
func (c ReplicationJobsClient) ListCompleteMatchingPredicate(ctx context.Context, id VaultId, options ListOperationOptions, predicate JobOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ReplicationJobsClient) Restart ¶
func (c ReplicationJobsClient) Restart(ctx context.Context, id ReplicationJobId) (result RestartOperationResponse, err error)
Restart ...
func (ReplicationJobsClient) RestartThenPoll ¶
func (c ReplicationJobsClient) RestartThenPoll(ctx context.Context, id ReplicationJobId) error
RestartThenPoll performs Restart then polls until it's completed
func (ReplicationJobsClient) Resume ¶
func (c ReplicationJobsClient) Resume(ctx context.Context, id ReplicationJobId, input ResumeJobParams) (result ResumeOperationResponse, err error)
Resume ...
func (ReplicationJobsClient) ResumeThenPoll ¶
func (c ReplicationJobsClient) ResumeThenPoll(ctx context.Context, id ReplicationJobId, input ResumeJobParams) error
ResumeThenPoll performs Resume then polls until it's completed
type ResumeJobParams ¶
type ResumeJobParams struct {
Properties *ResumeJobParamsProperties `json:"properties,omitempty"`
}
type ResumeJobParamsProperties ¶
type ResumeJobParamsProperties struct {
Comments *string `json:"comments,omitempty"`
}
type ResumeOperationResponse ¶
type ScriptActionTaskDetails ¶
type ScriptActionTaskDetails struct { IsPrimarySideScript *bool `json:"isPrimarySideScript,omitempty"` Name *string `json:"name,omitempty"` Output *string `json:"output,omitempty"` Path *string `json:"path,omitempty"` InstanceType string `json:"instanceType"` }
func (ScriptActionTaskDetails) MarshalJSON ¶
func (s ScriptActionTaskDetails) MarshalJSON() ([]byte, error)
func (ScriptActionTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s ScriptActionTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
type ServiceError ¶
type SwitchProtectionJobDetails ¶
type SwitchProtectionJobDetails struct { NewReplicationProtectedItemId *string `json:"newReplicationProtectedItemId,omitempty"` AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (SwitchProtectionJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s SwitchProtectionJobDetails) JobDetails() BaseJobDetailsImpl
func (SwitchProtectionJobDetails) MarshalJSON ¶
func (s SwitchProtectionJobDetails) MarshalJSON() ([]byte, error)
type TaskTypeDetails ¶
type TaskTypeDetails interface {
TaskTypeDetails() BaseTaskTypeDetailsImpl
}
func UnmarshalTaskTypeDetailsImplementation ¶ added in v0.20240920.1135249
func UnmarshalTaskTypeDetailsImplementation(input []byte) (TaskTypeDetails, error)
type TestFailoverJobDetails ¶
type TestFailoverJobDetails struct { Comments *string `json:"comments,omitempty"` NetworkFriendlyName *string `json:"networkFriendlyName,omitempty"` NetworkName *string `json:"networkName,omitempty"` NetworkType *string `json:"networkType,omitempty"` ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails `json:"protectedItemDetails,omitempty"` TestFailoverStatus *string `json:"testFailoverStatus,omitempty"` AffectedObjectDetails *map[string]string `json:"affectedObjectDetails,omitempty"` InstanceType string `json:"instanceType"` }
func (TestFailoverJobDetails) JobDetails ¶ added in v0.20240920.1135249
func (s TestFailoverJobDetails) JobDetails() BaseJobDetailsImpl
func (TestFailoverJobDetails) MarshalJSON ¶
func (s TestFailoverJobDetails) MarshalJSON() ([]byte, error)
type VMNicUpdatesTaskDetails ¶
type VMNicUpdatesTaskDetails struct { Name *string `json:"name,omitempty"` NicId *string `json:"nicId,omitempty"` VMId *string `json:"vmId,omitempty"` InstanceType string `json:"instanceType"` }
func (VMNicUpdatesTaskDetails) MarshalJSON ¶
func (s VMNicUpdatesTaskDetails) MarshalJSON() ([]byte, error)
func (VMNicUpdatesTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s VMNicUpdatesTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
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
type VirtualMachineTaskDetails ¶
type VirtualMachineTaskDetails struct { SkippedReason *string `json:"skippedReason,omitempty"` SkippedReasonString *string `json:"skippedReasonString,omitempty"` InstanceType string `json:"instanceType"` }
func (VirtualMachineTaskDetails) MarshalJSON ¶
func (s VirtualMachineTaskDetails) MarshalJSON() ([]byte, error)
func (VirtualMachineTaskDetails) TaskTypeDetails ¶ added in v0.20240920.1135249
func (s VirtualMachineTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl
Source Files ¶
- client.go
- constants.go
- id_replicationjob.go
- id_vault.go
- method_cancel.go
- method_export.go
- method_get.go
- method_list.go
- method_restart.go
- method_resume.go
- model_asrjobdetails.go
- model_asrtask.go
- model_automationrunbooktaskdetails.go
- model_clusterfailoverjobdetails.go
- model_clusterswitchprotectionjobdetails.go
- model_clustertestfailoverjobdetails.go
- model_consistencychecktaskdetails.go
- model_exportjobdetails.go
- model_fabricreplicationgrouptaskdetails.go
- model_failoverjobdetails.go
- model_failoverreplicationprotecteditemdetails.go
- model_grouptaskdetails.go
- model_inconsistentvmdetails.go
- model_inlineworkflowtaskdetails.go
- model_job.go
- model_jobdetails.go
- model_jobentity.go
- model_joberrordetails.go
- model_jobproperties.go
- model_jobqueryparameter.go
- model_jobtaskdetails.go
- model_manualactiontaskdetails.go
- model_providererror.go
- model_recoveryplangrouptaskdetails.go
- model_recoveryplanshutdowngrouptaskdetails.go
- model_resumejobparams.go
- model_resumejobparamsproperties.go
- model_scriptactiontaskdetails.go
- model_serviceerror.go
- model_switchprotectionjobdetails.go
- model_tasktypedetails.go
- model_testfailoverjobdetails.go
- model_virtualmachinetaskdetails.go
- model_vmnicupdatestaskdetails.go
- predicates.go
- version.go