DataProtectionBackupJobProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DataProtectionBackupJobProperties.
public DataProtectionBackupJobProperties (string activityId, string backupInstanceFriendlyName, Azure.Core.ResourceIdentifier dataSourceId, Azure.Core.AzureLocation dataSourceLocation, string dataSourceName, string dataSourceType, bool isUserTriggered, string operation, string operationCategory, bool isProgressEnabled, string sourceResourceGroup, string sourceSubscriptionId, DateTimeOffset startOn, string status, string subscriptionId, System.Collections.Generic.IEnumerable<string> supportedActions, string vaultName);
new Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties : string * string * Azure.Core.ResourceIdentifier * Azure.Core.AzureLocation * string * string * bool * string * string * bool * string * string * DateTimeOffset * string * string * seq<string> * string -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupJobProperties
Public Sub New (activityId As String, backupInstanceFriendlyName As String, dataSourceId As ResourceIdentifier, dataSourceLocation As AzureLocation, dataSourceName As String, dataSourceType As String, isUserTriggered As Boolean, operation As String, operationCategory As String, isProgressEnabled As Boolean, sourceResourceGroup As String, sourceSubscriptionId As String, startOn As DateTimeOffset, status As String, subscriptionId As String, supportedActions As IEnumerable(Of String), vaultName As String)
Parameters
- activityId
- String
Job Activity Id.
- backupInstanceFriendlyName
- String
Name 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.
- dataSourceType
- String
Type of DataSource.
- 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.
- isProgressEnabled
- Boolean
Indicated whether progress is enabled for the job.
- 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.
Exceptions
activityId
, backupInstanceFriendlyName
, dataSourceId
, dataSourceName
, dataSourceType
, operation
, operationCategory
, sourceResourceGroup
, sourceSubscriptionId
, status
, subscriptionId
, supportedActions
or vaultName
is null.
Applies to
Azure SDK for .NET