ArmRecoveryServicesBackupModelFactory.VmWorkloadSqlAvailabilityGroupProtectableItem Method

Definition

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.

isAutoProtectable
Nullable<Boolean>

Indicates if protectable item is auto-protectable.

isAutoProtected
Nullable<Boolean>

Indicates if protectable item is auto-protected.

subInquiredItemCount
Nullable<Int32>

For instance or AG, indicates number of DB's present.

subProtectableItemCount
Nullable<Int32>

For instance or AG, indicates number of DB's to be protected.

preBackupValidation
PreBackupValidation

Pre-backup validation for protectable objects.

isProtectable
Nullable<Boolean>

Indicates if item is protectable.

nodesList
IEnumerable<DistributedNodesInfo>

List of the nodes in case of distributed container.

Returns

A new VmWorkloadSqlAvailabilityGroupProtectableItem instance for mocking.

Applies to