Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 struct + AllowedActions *[]string + CustomDetails TaskTypeDetails + EndTime *string + Errors *[]JobErrorDetails + FriendlyName *string + GroupTaskCustomDetails GroupTaskDetails + Name *string + StartTime *string + State *string + StateDescription *string + TaskId *string + TaskType *string + func (o *ASRTask) GetEndTimeAsTime() (*time.Time, error) + func (o *ASRTask) GetStartTimeAsTime() (*time.Time, error) + func (o *ASRTask) SetEndTimeAsTime(input time.Time) + func (o *ASRTask) SetStartTimeAsTime(input time.Time) + func (s *ASRTask) UnmarshalJSON(bytes []byte) error + type AsrJobDetails struct + AffectedObjectDetails *map[string]string + InstanceType string + func (s AsrJobDetails) JobDetails() BaseJobDetailsImpl + func (s AsrJobDetails) MarshalJSON() ([]byte, error) + type AutomationRunbookTaskDetails struct + AccountName *string + CloudServiceName *string + InstanceType string + IsPrimarySideScript *bool + JobId *string + JobOutput *string + Name *string + RunbookId *string + RunbookName *string + SubscriptionId *string + func (s AutomationRunbookTaskDetails) MarshalJSON() ([]byte, error) + func (s AutomationRunbookTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl + type BaseGroupTaskDetailsImpl struct + ChildTasks *[]ASRTask + InstanceType string + func (s BaseGroupTaskDetailsImpl) GroupTaskDetails() BaseGroupTaskDetailsImpl + type BaseJobDetailsImpl struct + AffectedObjectDetails *map[string]string + InstanceType string + func (s BaseJobDetailsImpl) JobDetails() BaseJobDetailsImpl + type BaseTaskTypeDetailsImpl struct + InstanceType string + func (s BaseTaskTypeDetailsImpl) TaskTypeDetails() BaseTaskTypeDetailsImpl + type CancelOperationResponse struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + Poller pollers.Poller + type ClusterFailoverJobDetails struct + AffectedObjectDetails *map[string]string + InstanceType string + ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails + func (s ClusterFailoverJobDetails) JobDetails() BaseJobDetailsImpl + func (s ClusterFailoverJobDetails) MarshalJSON() ([]byte, error) + type ClusterSwitchProtectionJobDetails struct + AffectedObjectDetails *map[string]string + InstanceType string + NewReplicationProtectionClusterId *string + func (s ClusterSwitchProtectionJobDetails) JobDetails() BaseJobDetailsImpl + func (s ClusterSwitchProtectionJobDetails) MarshalJSON() ([]byte, error) + type ClusterTestFailoverJobDetails struct + AffectedObjectDetails *map[string]string + Comments *string + InstanceType string + NetworkFriendlyName *string + NetworkName *string + NetworkType *string + ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails + TestFailoverStatus *string + func (s ClusterTestFailoverJobDetails) JobDetails() BaseJobDetailsImpl + func (s ClusterTestFailoverJobDetails) MarshalJSON() ([]byte, error) + type ConsistencyCheckTaskDetails struct + InstanceType string + VMDetails *[]InconsistentVMDetails + func (s ConsistencyCheckTaskDetails) MarshalJSON() ([]byte, error) + func (s ConsistencyCheckTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl + type ExportJobDetails struct + AffectedObjectDetails *map[string]string + BlobUri *string + InstanceType string + SasToken *string + func (s ExportJobDetails) JobDetails() BaseJobDetailsImpl + func (s ExportJobDetails) MarshalJSON() ([]byte, error) + type ExportJobOutputSerializationType string + const ExportJobOutputSerializationTypeExcel + const ExportJobOutputSerializationTypeJson + const ExportJobOutputSerializationTypeXml + func (s *ExportJobOutputSerializationType) UnmarshalJSON(bytes []byte) error + type ExportOperationResponse struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + Poller pollers.Poller + type FabricReplicationGroupTaskDetails struct + InstanceType string + SkippedReason *string + SkippedReasonString *string + func (s FabricReplicationGroupTaskDetails) MarshalJSON() ([]byte, error) + func (s FabricReplicationGroupTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl + type FailoverJobDetails struct + AffectedObjectDetails *map[string]string + InstanceType string + ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails + func (s FailoverJobDetails) JobDetails() BaseJobDetailsImpl + func (s FailoverJobDetails) MarshalJSON() ([]byte, error) + type FailoverReplicationProtectedItemDetails struct + FriendlyName *string + Name *string + NetworkConnectionStatus *string + NetworkFriendlyName *string + RecoveryPointId *string + RecoveryPointTime *string + Subnet *string + TestVMFriendlyName *string + TestVMName *string + func (o *FailoverReplicationProtectedItemDetails) GetRecoveryPointTimeAsTime() (*time.Time, error) + func (o *FailoverReplicationProtectedItemDetails) SetRecoveryPointTimeAsTime(input time.Time) + type GetOperationResponse struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + type GroupTaskDetails interface + GroupTaskDetails func() BaseGroupTaskDetailsImpl + func UnmarshalGroupTaskDetailsImplementation(input []byte) (GroupTaskDetails, error) + type InconsistentVMDetails struct + CloudName *string + Details *[]string + ErrorIds *[]string + VirtualMachineName *string + type InlineWorkflowTaskDetails struct + ChildTasks *[]ASRTask + InstanceType string + WorkflowIds *[]string + func (s InlineWorkflowTaskDetails) GroupTaskDetails() BaseGroupTaskDetailsImpl + func (s InlineWorkflowTaskDetails) MarshalJSON() ([]byte, error) + type Job struct + Id *string + Location *string + Name *string + Properties *JobProperties + Type *string + type JobDetails interface + JobDetails func() BaseJobDetailsImpl + func UnmarshalJobDetailsImplementation(input []byte) (JobDetails, error) + type JobEntity struct + JobFriendlyName *string + JobId *string + JobScenarioName *string + TargetInstanceType *string + TargetObjectId *string + TargetObjectName *string + type JobErrorDetails struct + CreationTime *string + ErrorLevel *string + ProviderErrorDetails *ProviderError + ServiceErrorDetails *ServiceError + TaskId *string + func (o *JobErrorDetails) GetCreationTimeAsTime() (*time.Time, error) + func (o *JobErrorDetails) SetCreationTimeAsTime(input time.Time) + type JobOperationPredicate struct + Id *string + Location *string + Name *string + Type *string + func (p JobOperationPredicate) Matches(input Job) bool + type JobProperties struct + ActivityId *string + AllowedActions *[]string + CustomDetails JobDetails + EndTime *string + Errors *[]JobErrorDetails + FriendlyName *string + ScenarioName *string + StartTime *string + State *string + StateDescription *string + TargetInstanceType *string + TargetObjectId *string + TargetObjectName *string + Tasks *[]ASRTask + 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 struct + AffectedObjectTypes *string + EndTime *string + FabricId *string + JobName *string + JobOutputType *ExportJobOutputSerializationType + JobStatus *string + StartTime *string + TimezoneOffset *float64 + type JobTaskDetails struct + InstanceType string + JobTask *JobEntity + func (s JobTaskDetails) MarshalJSON() ([]byte, error) + func (s JobTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl + type ListCompleteResult struct + Items []Job + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationOptions struct + Filter *string + func DefaultListOperationOptions() ListOperationOptions + func (o ListOperationOptions) ToHeaders() *client.Headers + func (o ListOperationOptions) ToOData() *odata.Query + func (o ListOperationOptions) ToQuery() *client.QueryParams + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]Job + OData *odata.OData + type ManualActionTaskDetails struct + InstanceType string + Instructions *string + Name *string + Observation *string + func (s ManualActionTaskDetails) MarshalJSON() ([]byte, error) + func (s ManualActionTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl + type ProviderError struct + ErrorCode *int64 + ErrorId *string + ErrorMessage *string + PossibleCauses *string + RecommendedAction *string + type RawGroupTaskDetailsImpl struct + Type string + Values map[string]interface{} + func (s RawGroupTaskDetailsImpl) GroupTaskDetails() BaseGroupTaskDetailsImpl + type RawJobDetailsImpl struct + Type string + Values map[string]interface{} + func (s RawJobDetailsImpl) JobDetails() BaseJobDetailsImpl + type RawTaskTypeDetailsImpl struct + Type string + Values map[string]interface{} + func (s RawTaskTypeDetailsImpl) TaskTypeDetails() BaseTaskTypeDetailsImpl + type RecoveryPlanGroupTaskDetails struct + ChildTasks *[]ASRTask + GroupId *string + InstanceType string + Name *string + RpGroupType *string + func (s RecoveryPlanGroupTaskDetails) GroupTaskDetails() BaseGroupTaskDetailsImpl + func (s RecoveryPlanGroupTaskDetails) MarshalJSON() ([]byte, error) + type RecoveryPlanShutdownGroupTaskDetails struct + ChildTasks *[]ASRTask + InstanceType string + func (s RecoveryPlanShutdownGroupTaskDetails) GroupTaskDetails() BaseGroupTaskDetailsImpl + func (s RecoveryPlanShutdownGroupTaskDetails) MarshalJSON() ([]byte, error) + type ReplicationJobId struct + ReplicationJobName string + ResourceGroupName string + SubscriptionId string + VaultName string + func NewReplicationJobID(subscriptionId string, resourceGroupName string, vaultName string, ...) ReplicationJobId + func ParseReplicationJobID(input string) (*ReplicationJobId, error) + func ParseReplicationJobIDInsensitively(input string) (*ReplicationJobId, error) + func (id *ReplicationJobId) FromParseResult(input resourceids.ParseResult) error + func (id ReplicationJobId) ID() string + func (id ReplicationJobId) Segments() []resourceids.Segment + func (id ReplicationJobId) String() string + type ReplicationJobsClient struct + Client *resourcemanager.Client + func NewReplicationJobsClientWithBaseURI(sdkApi sdkEnv.Api) (*ReplicationJobsClient, error) + 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 struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + Poller pollers.Poller + type ResumeJobParams struct + Properties *ResumeJobParamsProperties + type ResumeJobParamsProperties struct + Comments *string + type ResumeOperationResponse struct + HttpResponse *http.Response + Model *Job + OData *odata.OData + Poller pollers.Poller + type ScriptActionTaskDetails struct + InstanceType string + IsPrimarySideScript *bool + Name *string + Output *string + Path *string + func (s ScriptActionTaskDetails) MarshalJSON() ([]byte, error) + func (s ScriptActionTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl + type ServiceError struct + ActivityId *string + Code *string + Message *string + PossibleCauses *string + RecommendedAction *string + type SwitchProtectionJobDetails struct + AffectedObjectDetails *map[string]string + InstanceType string + NewReplicationProtectedItemId *string + func (s SwitchProtectionJobDetails) JobDetails() BaseJobDetailsImpl + func (s SwitchProtectionJobDetails) MarshalJSON() ([]byte, error) + type TaskTypeDetails interface + TaskTypeDetails func() BaseTaskTypeDetailsImpl + func UnmarshalTaskTypeDetailsImplementation(input []byte) (TaskTypeDetails, error) + type TestFailoverJobDetails struct + AffectedObjectDetails *map[string]string + Comments *string + InstanceType string + NetworkFriendlyName *string + NetworkName *string + NetworkType *string + ProtectedItemDetails *[]FailoverReplicationProtectedItemDetails + TestFailoverStatus *string + func (s TestFailoverJobDetails) JobDetails() BaseJobDetailsImpl + func (s TestFailoverJobDetails) MarshalJSON() ([]byte, error) + type VMNicUpdatesTaskDetails struct + InstanceType string + Name *string + NicId *string + VMId *string + func (s VMNicUpdatesTaskDetails) MarshalJSON() ([]byte, error) + func (s VMNicUpdatesTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl + type VaultId struct + ResourceGroupName string + SubscriptionId string + VaultName string + func NewVaultID(subscriptionId string, resourceGroupName string, vaultName string) VaultId + func ParseVaultID(input string) (*VaultId, error) + func ParseVaultIDInsensitively(input string) (*VaultId, error) + func (id *VaultId) FromParseResult(input resourceids.ParseResult) error + func (id VaultId) ID() string + func (id VaultId) Segments() []resourceids.Segment + func (id VaultId) String() string + type VirtualMachineTaskDetails struct + InstanceType string + SkippedReason *string + SkippedReasonString *string + func (s VirtualMachineTaskDetails) MarshalJSON() ([]byte, error) + func (s VirtualMachineTaskDetails) TaskTypeDetails() BaseTaskTypeDetailsImpl