ArmRecoveryServicesBackupModelFactory.VmWorkloadSqlAvailabilityGroupProtectableItem 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.
Azure VM workload-specific protectable item representing SQL Availability Group.
public static Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadSqlAvailabilityGroupProtectableItem VmWorkloadSqlAvailabilityGroupProtectableItem(string backupManagementType = default, string workloadType = default, string friendlyName = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionStatus? protectionState = default, string parentName = default, string parentUniqueName = default, string serverName = default, bool? isAutoProtectable = default, bool? isAutoProtected = default, int? subInquiredItemCount = default, int? subProtectableItemCount = default, Azure.ResourceManager.RecoveryServicesBackup.Models.PreBackupValidation preBackupValidation = default, bool? isProtectable = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesBackup.Models.DistributedNodesInfo> nodesList = default);
static member VmWorkloadSqlAvailabilityGroupProtectableItem : string * string * string * Nullable<Azure.ResourceManager.RecoveryServicesBackup.Models.BackupProtectionStatus> * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Azure.ResourceManager.RecoveryServicesBackup.Models.PreBackupValidation * Nullable<bool> * seq<Azure.ResourceManager.RecoveryServicesBackup.Models.DistributedNodesInfo> -> Azure.ResourceManager.RecoveryServicesBackup.Models.VmWorkloadSqlAvailabilityGroupProtectableItem
Public Shared Function VmWorkloadSqlAvailabilityGroupProtectableItem (Optional backupManagementType As String = Nothing, Optional workloadType As String = Nothing, Optional friendlyName As String = Nothing, Optional protectionState As Nullable(Of BackupProtectionStatus) = Nothing, Optional parentName As String = Nothing, Optional parentUniqueName As String = Nothing, Optional serverName As String = Nothing, Optional isAutoProtectable As Nullable(Of Boolean) = Nothing, Optional isAutoProtected As Nullable(Of Boolean) = Nothing, Optional subInquiredItemCount As Nullable(Of Integer) = Nothing, Optional subProtectableItemCount As Nullable(Of Integer) = Nothing, Optional preBackupValidation As PreBackupValidation = Nothing, Optional isProtectable As Nullable(Of Boolean) = Nothing, Optional nodesList As IEnumerable(Of DistributedNodesInfo) = Nothing) As VmWorkloadSqlAvailabilityGroupProtectableItem
Parameters
- backupManagementType
- String
Type of backup management to backup an item.
- workloadType
- String
Type of workload for the backup management.
- friendlyName
- String
Friendly name of the backup item.
- protectionState
- Nullable<BackupProtectionStatus>
State of the back up item.
- parentName
- String
Name for instance or AG.
- parentUniqueName
- String
Parent Unique Name is added to provide the service formatted URI Name of the Parent Only Applicable for data bases where the parent would be either Instance or a SQL AG.
- serverName
- String
Host/Cluster Name for instance or AG.
For instance or AG, indicates number of DB's to be protected.
- preBackupValidation
- PreBackupValidation
Pre-backup validation for protectable objects.
- nodesList
- IEnumerable<DistributedNodesInfo>
List of the nodes in case of distributed container.
Returns
A new VmWorkloadSqlAvailabilityGroupProtectableItem instance for mocking.