Delen via


ArmDataProtectionBackupModelFactory.DataProtectionBackupJobProperties Method

Definition

Overloads

DataProtectionBackupJobProperties(String, String, ResourceIdentifier, ResourceIdentifier, AzureLocation, String, String, String, Nullable<TimeSpan>, Nullable<DateTimeOffset>, IEnumerable<ResponseError>, BackupJobExtendedInfo, Boolean, String, String, ResourceIdentifier, String, Boolean, Uri, String, String, String, DateTimeOffset, String, String, IEnumerable<String>, String, Nullable<ETag>, String, String)

Initializes a new instance of DataProtectionBackupJobProperties.

DataProtectionBackupJobProperties(String, String, ResourceIdentifier, ResourceIdentifier, AzureLocation, String, String, String, Nullable<TimeSpan>, Nullable<DateTimeOffset>, IEnumerable<ResponseError>, BackupJobExtendedInfo, Boolean, String, String, ResourceIdentifier, String, Boolean, Uri, String, String, String, String, DateTimeOffset, String, String, IEnumerable<String>, String, Nullable<ETag>, String, String)

Initializes a new instance of DataProtectionBackupJobProperties.

DataProtectionBackupJobProperties(String, String, ResourceIdentifier, ResourceIdentifier, AzureLocation, String, String, String, Nullable<TimeSpan>, Nullable<DateTimeOffset>, IEnumerable<ResponseError>, BackupJobExtendedInfo, Boolean, String, String, ResourceIdentifier, String, Boolean, Uri, String, String, String, DateTimeOffset, String, String, IEnumerable<String>, String, Nullable<ETag>, String, String)

Source:
ArmDataProtectionBackupModelFactory.cs
Source:
ArmDataProtectionBackupModelFactory.cs

Initializes a new instance of DataProtectionBackupJobProperties.

public static Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties DataProtectionBackupJobProperties (string activityId = default, string backupInstanceFriendlyName = default, Azure.Core.ResourceIdentifier backupInstanceId = default, Azure.Core.ResourceIdentifier dataSourceId = default, Azure.Core.AzureLocation dataSourceLocation = default, string dataSourceName = default, string dataSourceSetName = default, string dataSourceType = default, TimeSpan? duration = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> errorDetails = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupJobExtendedInfo extendedInfo = default, bool isUserTriggered = false, string operation = default, string operationCategory = default, Azure.Core.ResourceIdentifier policyId = default, string policyName = default, bool isProgressEnabled = false, Uri progressUri = default, string restoreType = default, string sourceResourceGroup = default, string sourceSubscriptionId = default, DateTimeOffset startOn = default, string status = default, string subscriptionId = default, System.Collections.Generic.IEnumerable<string> supportedActions = default, string vaultName = default, Azure.ETag? eTag = default, string sourceDataStoreName = default, string destinationDataStoreName = default);
static member DataProtectionBackupJobProperties : string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.AzureLocation * string * string * string * Nullable<TimeSpan> * Nullable<DateTimeOffset> * seq<Azure.ResponseError> * Azure.ResourceManager.DataProtectionBackup.Models.BackupJobExtendedInfo * bool * string * string * Azure.Core.ResourceIdentifier * string * bool * Uri * string * string * string * DateTimeOffset * string * string * seq<string> * string * Nullable<Azure.ETag> * string * string -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties
Public Shared Function DataProtectionBackupJobProperties (Optional activityId As String = Nothing, Optional backupInstanceFriendlyName As String = Nothing, Optional backupInstanceId As ResourceIdentifier = Nothing, Optional dataSourceId As ResourceIdentifier = Nothing, Optional dataSourceLocation As AzureLocation = Nothing, Optional dataSourceName As String = Nothing, Optional dataSourceSetName As String = Nothing, Optional dataSourceType As String = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional errorDetails As IEnumerable(Of ResponseError) = Nothing, Optional extendedInfo As BackupJobExtendedInfo = Nothing, Optional isUserTriggered As Boolean = false, Optional operation As String = Nothing, Optional operationCategory As String = Nothing, Optional policyId As ResourceIdentifier = Nothing, Optional policyName As String = Nothing, Optional isProgressEnabled As Boolean = false, Optional progressUri As Uri = Nothing, Optional restoreType As String = Nothing, Optional sourceResourceGroup As String = Nothing, Optional sourceSubscriptionId As String = Nothing, Optional startOn As DateTimeOffset = Nothing, Optional status As String = Nothing, Optional subscriptionId As String = Nothing, Optional supportedActions As IEnumerable(Of String) = Nothing, Optional vaultName As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional sourceDataStoreName As String = Nothing, Optional destinationDataStoreName As String = Nothing) As DataProtectionBackupJobProperties

Parameters

activityId
String
backupInstanceFriendlyName
String
backupInstanceId
ResourceIdentifier
dataSourceId
ResourceIdentifier
dataSourceLocation
AzureLocation
dataSourceName
String
dataSourceSetName
String
dataSourceType
String
duration
Nullable<TimeSpan>
errorDetails
IEnumerable<ResponseError>
extendedInfo
BackupJobExtendedInfo
isUserTriggered
Boolean
operation
String
operationCategory
String
policyName
String
isProgressEnabled
Boolean
progressUri
Uri
restoreType
String
sourceResourceGroup
String
sourceSubscriptionId
String
startOn
DateTimeOffset
status
String
subscriptionId
String
supportedActions
IEnumerable<String>
vaultName
String
eTag
Nullable<ETag>
sourceDataStoreName
String
destinationDataStoreName
String

Returns

Applies to

DataProtectionBackupJobProperties(String, String, ResourceIdentifier, ResourceIdentifier, AzureLocation, String, String, String, Nullable<TimeSpan>, Nullable<DateTimeOffset>, IEnumerable<ResponseError>, BackupJobExtendedInfo, Boolean, String, String, ResourceIdentifier, String, Boolean, Uri, String, String, String, String, DateTimeOffset, String, String, IEnumerable<String>, String, Nullable<ETag>, String, String)

Source:
ArmDataProtectionBackupModelFactory.cs
Source:
ArmDataProtectionBackupModelFactory.cs

Initializes a new instance of DataProtectionBackupJobProperties.

public static Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties DataProtectionBackupJobProperties (string activityId = default, string backupInstanceFriendlyName = default, Azure.Core.ResourceIdentifier backupInstanceId = default, Azure.Core.ResourceIdentifier dataSourceId = default, Azure.Core.AzureLocation dataSourceLocation = default, string dataSourceName = default, string dataSourceSetName = default, string dataSourceType = default, TimeSpan? duration = default, DateTimeOffset? endOn = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> errorDetails = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupJobExtendedInfo extendedInfo = default, bool isUserTriggered = false, string operation = default, string operationCategory = default, Azure.Core.ResourceIdentifier policyId = default, string policyName = default, bool isProgressEnabled = false, Uri progressUri = default, string rehydrationPriority = default, string restoreType = default, string sourceResourceGroup = default, string sourceSubscriptionId = default, DateTimeOffset startOn = default, string status = default, string subscriptionId = default, System.Collections.Generic.IEnumerable<string> supportedActions = default, string vaultName = default, Azure.ETag? eTag = default, string sourceDataStoreName = default, string destinationDataStoreName = default);
static member DataProtectionBackupJobProperties : string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.AzureLocation * string * string * string * Nullable<TimeSpan> * Nullable<DateTimeOffset> * seq<Azure.ResponseError> * Azure.ResourceManager.DataProtectionBackup.Models.BackupJobExtendedInfo * bool * string * string * Azure.Core.ResourceIdentifier * string * bool * Uri * string * string * string * string * DateTimeOffset * string * string * seq<string> * string * Nullable<Azure.ETag> * string * string -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties
Public Shared Function DataProtectionBackupJobProperties (Optional activityId As String = Nothing, Optional backupInstanceFriendlyName As String = Nothing, Optional backupInstanceId As ResourceIdentifier = Nothing, Optional dataSourceId As ResourceIdentifier = Nothing, Optional dataSourceLocation As AzureLocation = Nothing, Optional dataSourceName As String = Nothing, Optional dataSourceSetName As String = Nothing, Optional dataSourceType As String = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional errorDetails As IEnumerable(Of ResponseError) = Nothing, Optional extendedInfo As BackupJobExtendedInfo = Nothing, Optional isUserTriggered As Boolean = false, Optional operation As String = Nothing, Optional operationCategory As String = Nothing, Optional policyId As ResourceIdentifier = Nothing, Optional policyName As String = Nothing, Optional isProgressEnabled As Boolean = false, Optional progressUri As Uri = Nothing, Optional rehydrationPriority As String = Nothing, Optional restoreType As String = Nothing, Optional sourceResourceGroup As String = Nothing, Optional sourceSubscriptionId As String = Nothing, Optional startOn As DateTimeOffset = Nothing, Optional status As String = Nothing, Optional subscriptionId As String = Nothing, Optional supportedActions As IEnumerable(Of String) = Nothing, Optional vaultName As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional sourceDataStoreName As String = Nothing, Optional destinationDataStoreName As String = Nothing) As DataProtectionBackupJobProperties

Parameters

activityId
String

Job Activity Id.

backupInstanceFriendlyName
String

Name of the Backup Instance.

backupInstanceId
ResourceIdentifier

ARM ID of the Backup Instance.

dataSourceId
ResourceIdentifier

ARM ID of the DataSource.

dataSourceLocation
AzureLocation

Location of the DataSource.

dataSourceName
String

User Friendly Name of the DataSource.

dataSourceSetName
String

Data Source Set Name of the DataSource.

dataSourceType
String

Type of DataSource.

duration
Nullable<TimeSpan>

Total run time of the job. ISO 8601 format.

endOn
Nullable<DateTimeOffset>

EndTime of the job(in UTC).

errorDetails
IEnumerable<ResponseError>

A List, detailing the errors related to the job.

extendedInfo
BackupJobExtendedInfo

Extended Information about the job.

isUserTriggered
Boolean

Indicated that whether the job is adhoc(true) or scheduled(false).

operation
String

It indicates the type of Job i.e. Backup:full/log/diff ;Restore:ALR/OLR; Tiering:Backup/Archive ; Management:ConfigureProtection/UnConfigure.

operationCategory
String

It indicates the type of Job i.e. Backup/Restore/Tiering/Management.

policyId
ResourceIdentifier

ARM ID of the policy.

policyName
String

Name of the policy.

isProgressEnabled
Boolean

Indicated whether progress is enabled for the job.

progressUri
Uri

Url which contains job's progress.

rehydrationPriority
String

Priority to be used for rehydration.

restoreType
String

It indicates the sub type of operation i.e. in case of Restore it can be ALR/OLR.

sourceResourceGroup
String

Resource Group Name of the Datasource.

sourceSubscriptionId
String

SubscriptionId corresponding to the DataSource.

startOn
DateTimeOffset

StartTime of the job(in UTC).

status
String

Status of the job like InProgress/Success/Failed/Cancelled/SuccessWithWarning.

subscriptionId
String

Subscription Id of the corresponding backup vault.

supportedActions
IEnumerable<String>

List of supported actions.

vaultName
String

Name of the vault.

eTag
Nullable<ETag>
sourceDataStoreName
String
destinationDataStoreName
String

Returns

A new DataProtectionBackupJobProperties instance for mocking.

Applies to