5.0.0 • Published 5 years ago
@datafire/azure_recoveryservicesbackup_jobs v5.0.0
@datafire/azure_recoveryservicesbackup_jobs
Client library for RecoveryServicesBackupClient
Installation and Usage
npm install --save @datafire/azure_recoveryservicesbackup_jobslet azure_recoveryservicesbackup_jobs = require('@datafire/azure_recoveryservicesbackup_jobs').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});Description
Actions
BackupJobs_List
Provides a pageable list of jobs.
azure_recoveryservicesbackup_jobs.BackupJobs_List({
"api-version": "",
"vaultName": "",
"resourceGroupName": "",
"subscriptionId": ""
}, context)Input
- input
object- api-version required
string: Client Api Version. - vaultName required
string: The name of the recovery services vault. - resourceGroupName required
string: The name of the resource group where the recovery services vault is present. - subscriptionId required
string: The subscription Id. - $filter
string: OData filter options. - $skipToken
string: skipToken Filter.
- api-version required
Output
- output JobResourceList
JobDetails_Get
Gets exteded information associated with the job.
azure_recoveryservicesbackup_jobs.JobDetails_Get({
"api-version": "",
"vaultName": "",
"resourceGroupName": "",
"subscriptionId": "",
"jobName": ""
}, context)Input
- input
object- api-version required
string: Client Api Version. - vaultName required
string: The name of the recovery services vault. - resourceGroupName required
string: The name of the resource group where the recovery services vault is present. - subscriptionId required
string: The subscription Id. - jobName required
string: Name of the job whose details are to be fetched.
- api-version required
Output
- output JobResource
Definitions
AzureIaaSVMErrorInfo
- AzureIaaSVMErrorInfo
object: Azure IaaS VM workload-specific error information.- errorCode
integer: Error code. - errorString
string: Localized error string. - errorTitle
string: Title: Typically, the entity that the error pertains to. - recommendations
array: List of localized recommendations for above error code.- items
string
- items
- errorCode
AzureIaaSVMJob
- AzureIaaSVMJob
object: Azure IaaS VM workload-specifc job object.- actionsInfo
array: Gets or sets the state/actions applicable on this job like cancel/retry.- items
string(values: Invalid, Cancellable, Retriable)
- items
- duration
string: Time elapsed during the execution of this job. - errorDetails
array: Error details on execution of this job.- items AzureIaaSVMErrorInfo
- extendedInfo AzureIaaSVMJobExtendedInfo
- virtualMachineVersion
string: Specifies whether the backup item is a Classic or an Azure Resource Manager VM. - activityId
string: ActivityId of job. - backupManagementType
string(values: Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql): Backup management type to execute the current job. - endTime
string: The end time. - entityFriendlyName
string: Friendly name of the entity on which the current job is executing. - jobType required
string: This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types. - operation
string: The operation name. - startTime
string: The start time. - status
string: Job status.
- actionsInfo
AzureIaaSVMJobExtendedInfo
- AzureIaaSVMJobExtendedInfo
object: Azure IaaS VM workload-specific additional information for job.- dynamicErrorMessage
string: Non localized error message on job execution. - progressPercentage
number: Indicates progress of the job. Null if it has not started or completed. - propertyBag
object: Job properties. - tasksList
array: List of tasks associated with this job.
- dynamicErrorMessage
AzureIaaSVMJobTaskDetails
- AzureIaaSVMJobTaskDetails
object: Azure IaaS VM workload-specific job task details.- duration
string: Time elapsed for task. - endTime
string: The end time. - instanceId
string: The instanceId. - progressPercentage
number: Progress of the task. - startTime
string: The start time. - status
string: The status. - taskId
string: The task display name.
- duration
DpmErrorInfo
- DpmErrorInfo
object: DPM workload-specific error information.- errorString
string: Localized error string. - recommendations
array: List of localized recommendations for above error code.- items
string
- items
- errorString
DpmJob
- DpmJob
object: DPM workload-specifc job object.- actionsInfo
array: The state/actions applicable on this job like cancel/retry.- items
string(values: Invalid, Cancellable, Retriable)
- items
- containerName
string: Name of cluster/server protecting current backup item, if any. - containerType
string: Type of container. - dpmServerName
string: DPM server name managing the backup item or backup job. - duration
string: Time elapsed for job. - errorDetails
array: The errors.- items DpmErrorInfo
- extendedInfo DpmJobExtendedInfo
- workloadType
string: Type of backup item. - activityId
string: ActivityId of job. - backupManagementType
string(values: Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql): Backup management type to execute the current job. - endTime
string: The end time. - entityFriendlyName
string: Friendly name of the entity on which the current job is executing. - jobType required
string: This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types. - operation
string: The operation name. - startTime
string: The start time. - status
string: Job status.
- actionsInfo
DpmJobExtendedInfo
- DpmJobExtendedInfo
object: Additional information on the DPM workload-specific job.- dynamicErrorMessage
string: Non localized error message on job execution. - propertyBag
object: The job properties. - tasksList
array: List of tasks associated with this job.- items DpmJobTaskDetails
- dynamicErrorMessage
DpmJobTaskDetails
- DpmJobTaskDetails
object: DPM workload-specific job task details.- duration
string: Time elapsed for task. - endTime
string: The end time. - startTime
string: The start time. - status
string: The status. - taskId
string: The task display name.
- duration
Job
- Job
object: Defines workload agnostic properties for a job.- activityId
string: ActivityId of job. - backupManagementType
string(values: Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql): Backup management type to execute the current job. - endTime
string: The end time. - entityFriendlyName
string: Friendly name of the entity on which the current job is executing. - jobType required
string: This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types. - operation
string: The operation name. - startTime
string: The start time. - status
string: Job status.
- activityId
JobQueryObject
- JobQueryObject
object: Filters to list the jobs.- backupManagementType
string(values: Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql): Type of backup managmenent for the job. - endTime
string: Job has ended at this time. Value is in UTC. - jobId
string: JobID represents the job uniquely. - operation
string(values: Invalid, Register, UnRegister, ConfigureBackup, Backup, Restore, DisableBackup, DeleteBackupData): Type of operation. - startTime
string: Job has started at this time. Value is in UTC. - status
string(values: Invalid, InProgress, Completed, Failed, CompletedWithWarnings, Cancelled, Cancelling): Status of the job.
- backupManagementType
JobResource
- JobResource
object: Defines workload agnostic properties for a job.- properties Job
- eTag
string: Optional ETag. - id
string: Resource Id represents the complete path to the resource. - location
string: Resource location. - name
string: Resource name associated with the resource. - tags
object: Resource tags. - type
string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
JobResourceList
- JobResourceList
object: List of Job resources- value
array: List of resources.- items JobResource
- nextLink
string: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
- value
MabErrorInfo
- MabErrorInfo
object: MAB workload-specific error information.- errorString
string: Localized error string. - recommendations
array: List of localized recommendations.- items
string
- items
- errorString
MabJob
- MabJob
object: MAB workload-specific job.- actionsInfo
array: The state/actions applicable on jobs like cancel/retry.- items
string(values: Invalid, Cancellable, Retriable)
- items
- duration
string: Time taken by job to run. - errorDetails
array: The errors.- items MabErrorInfo
- extendedInfo MabJobExtendedInfo
- mabServerName
string: Name of server protecting the DS. - mabServerType
string(values: Invalid, Unknown, IaasVMContainer, IaasVMServiceContainer, DPMContainer, AzureBackupServerContainer, MABContainer, Cluster, AzureSqlContainer, Windows, VCenter): Server type of MAB container. - workloadType
string(values: Invalid, VM, FileFolder, AzureSqlDb, SQLDB, Exchange, Sharepoint, VMwareVM, SystemState, Client, GenericDataSource): Workload type of backup item. - activityId
string: ActivityId of job. - backupManagementType
string(values: Invalid, AzureIaasVM, MAB, DPM, AzureBackupServer, AzureSql): Backup management type to execute the current job. - endTime
string: The end time. - entityFriendlyName
string: Friendly name of the entity on which the current job is executing. - jobType required
string: This property will be used as the discriminator for deciding the specific types in the polymorhpic chain of types. - operation
string: The operation name. - startTime
string: The start time. - status
string: Job status.
- actionsInfo
MabJobExtendedInfo
- MabJobExtendedInfo
object: Additional information for the MAB workload-specific job.- dynamicErrorMessage
string: Non localized error message specific to this job. - propertyBag
object: The job properties. - tasksList
array: List of tasks for this job.- items MabJobTaskDetails
- dynamicErrorMessage
MabJobTaskDetails
- MabJobTaskDetails
object: MAB workload-specific job task details.- duration
string: Time elapsed for task. - endTime
string: The end time. - startTime
string: The start time. - status
string: The status. - taskId
string: The task display name.
- duration
Object
- Object
object: Base of all objects.
Resource
- Resource
object: ARM Resource.- eTag
string: Optional ETag. - id
string: Resource Id represents the complete path to the resource. - location
string: Resource location. - name
string: Resource name associated with the resource. - tags
object: Resource tags. - type
string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- eTag
ResourceList
- ResourceList
object: Base for all lists of resources.- nextLink
string: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.
- nextLink