ArmDataProtectionBackupModelFactory.DataProtectionBackupInstanceProperties Method
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.
Overloads
DataProtectionBackupInstanceProperties(String, DataSourceInfo, DataSourceSetInfo, BackupInstancePolicyInfo, BackupInstanceProtectionStatusDetails, Nullable<CurrentProtectionState>, ResponseError, String, DataProtectionBackupAuthCredentials, Nullable<BackupValidationType>, String)
Initializes a new instance of DataProtectionBackupInstanceProperties.
public static Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupInstanceProperties DataProtectionBackupInstanceProperties (string friendlyName = default, Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo dataSourceInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo dataSourceSetInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupInstancePolicyInfo policyInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupInstanceProtectionStatusDetails protectionStatus = default, Azure.ResourceManager.DataProtectionBackup.Models.CurrentProtectionState? currentProtectionState = default, Azure.ResponseError protectionErrorDetails = default, string provisioningState = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials dataSourceAuthCredentials = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupValidationType? validationType = default, string objectType = default);
static member DataProtectionBackupInstanceProperties : string * Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo * Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo * Azure.ResourceManager.DataProtectionBackup.Models.BackupInstancePolicyInfo * Azure.ResourceManager.DataProtectionBackup.Models.BackupInstanceProtectionStatusDetails * Nullable<Azure.ResourceManager.DataProtectionBackup.Models.CurrentProtectionState> * Azure.ResponseError * string * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials * Nullable<Azure.ResourceManager.DataProtectionBackup.Models.BackupValidationType> * string -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupInstanceProperties
Public Shared Function DataProtectionBackupInstanceProperties (Optional friendlyName As String = Nothing, Optional dataSourceInfo As DataSourceInfo = Nothing, Optional dataSourceSetInfo As DataSourceSetInfo = Nothing, Optional policyInfo As BackupInstancePolicyInfo = Nothing, Optional protectionStatus As BackupInstanceProtectionStatusDetails = Nothing, Optional currentProtectionState As Nullable(Of CurrentProtectionState) = Nothing, Optional protectionErrorDetails As ResponseError = Nothing, Optional provisioningState As String = Nothing, Optional dataSourceAuthCredentials As DataProtectionBackupAuthCredentials = Nothing, Optional validationType As Nullable(Of BackupValidationType) = Nothing, Optional objectType As String = Nothing) As DataProtectionBackupInstanceProperties
Parameters
- friendlyName
- String
- dataSourceInfo
- DataSourceInfo
- dataSourceSetInfo
- DataSourceSetInfo
- policyInfo
- BackupInstancePolicyInfo
- protectionStatus
- BackupInstanceProtectionStatusDetails
- currentProtectionState
- Nullable<CurrentProtectionState>
- protectionErrorDetails
- ResponseError
- provisioningState
- String
- dataSourceAuthCredentials
- DataProtectionBackupAuthCredentials
- validationType
- Nullable<BackupValidationType>
- objectType
- String
Returns
Applies to
DataProtectionBackupInstanceProperties(String, DataSourceInfo, DataSourceSetInfo, BackupInstancePolicyInfo, IEnumerable<String>, BackupInstanceProtectionStatusDetails, Nullable<CurrentProtectionState>, ResponseError, String, DataProtectionBackupAuthCredentials, Nullable<BackupValidationType>, DataProtectionIdentityDetails, String)
Initializes a new instance of DataProtectionBackupInstanceProperties.
public static Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupInstanceProperties DataProtectionBackupInstanceProperties (string friendlyName = default, Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo dataSourceInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo dataSourceSetInfo = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupInstancePolicyInfo policyInfo = default, System.Collections.Generic.IEnumerable<string> resourceGuardOperationRequests = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupInstanceProtectionStatusDetails protectionStatus = default, Azure.ResourceManager.DataProtectionBackup.Models.CurrentProtectionState? currentProtectionState = default, Azure.ResponseError protectionErrorDetails = default, string provisioningState = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials dataSourceAuthCredentials = default, Azure.ResourceManager.DataProtectionBackup.Models.BackupValidationType? validationType = default, Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionIdentityDetails identityDetails = default, string objectType = default);
static member DataProtectionBackupInstanceProperties : string * Azure.ResourceManager.DataProtectionBackup.Models.DataSourceInfo * Azure.ResourceManager.DataProtectionBackup.Models.DataSourceSetInfo * Azure.ResourceManager.DataProtectionBackup.Models.BackupInstancePolicyInfo * seq<string> * Azure.ResourceManager.DataProtectionBackup.Models.BackupInstanceProtectionStatusDetails * Nullable<Azure.ResourceManager.DataProtectionBackup.Models.CurrentProtectionState> * Azure.ResponseError * string * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupAuthCredentials * Nullable<Azure.ResourceManager.DataProtectionBackup.Models.BackupValidationType> * Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionIdentityDetails * string -> Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupInstanceProperties
Public Shared Function DataProtectionBackupInstanceProperties (Optional friendlyName As String = Nothing, Optional dataSourceInfo As DataSourceInfo = Nothing, Optional dataSourceSetInfo As DataSourceSetInfo = Nothing, Optional policyInfo As BackupInstancePolicyInfo = Nothing, Optional resourceGuardOperationRequests As IEnumerable(Of String) = Nothing, Optional protectionStatus As BackupInstanceProtectionStatusDetails = Nothing, Optional currentProtectionState As Nullable(Of CurrentProtectionState) = Nothing, Optional protectionErrorDetails As ResponseError = Nothing, Optional provisioningState As String = Nothing, Optional dataSourceAuthCredentials As DataProtectionBackupAuthCredentials = Nothing, Optional validationType As Nullable(Of BackupValidationType) = Nothing, Optional identityDetails As DataProtectionIdentityDetails = Nothing, Optional objectType As String = Nothing) As DataProtectionBackupInstanceProperties
Parameters
- friendlyName
- String
Gets or sets the Backup Instance friendly name.
- dataSourceInfo
- DataSourceInfo
Gets or sets the data source information.
- dataSourceSetInfo
- DataSourceSetInfo
Gets or sets the data source set information.
- policyInfo
- BackupInstancePolicyInfo
Gets or sets the policy information.
- resourceGuardOperationRequests
- IEnumerable<String>
ResourceGuardOperationRequests on which LAC check will be performed.
- protectionStatus
- BackupInstanceProtectionStatusDetails
Specifies the protection status of the resource.
- currentProtectionState
- Nullable<CurrentProtectionState>
Specifies the current protection state of the resource.
- protectionErrorDetails
- ResponseError
Specifies the protection error of the resource.
- provisioningState
- String
Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed.
- dataSourceAuthCredentials
- DataProtectionBackupAuthCredentials
Credentials to use to authenticate with data source provider. Please note DataProtectionBackupAuthCredentials is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SecretStoreBasedAuthCredentials.
- validationType
- Nullable<BackupValidationType>
Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again.
- identityDetails
- DataProtectionIdentityDetails
Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.
- objectType
- String
Returns
A new DataProtectionBackupInstanceProperties instance for mocking.
Applies to
Azure SDK for .NET