Share via


AzureWorkloadSQLDatabaseProtectedItem Constructors

Definition

Overloads

AzureWorkloadSQLDatabaseProtectedItem(ProtectedItemResource, String, ContainerType, String)

Constructor. Takes the service client object representing the protected item and converts it in to the PS protected item model

AzureWorkloadSQLDatabaseProtectedItem(ProtectedItemResource, String, ContainerType, String)

Constructor. Takes the service client object representing the protected item and converts it in to the PS protected item model

AzureWorkloadSQLDatabaseProtectedItem(ProtectedItemResource, String, ContainerType, String)

Constructor. Takes the service client object representing the protected item and converts it in to the PS protected item model

public AzureWorkloadSQLDatabaseProtectedItem (Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ProtectedItemResource protectedItemResource, string containerName, Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.ContainerType containerType, string policyName);
new Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureWorkloadSQLDatabaseProtectedItem : Microsoft.Azure.Management.RecoveryServices.Backup.CrossRegionRestore.Models.ProtectedItemResource * string * Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.ContainerType * string -> Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureWorkloadSQLDatabaseProtectedItem
Public Sub New (protectedItemResource As ProtectedItemResource, containerName As String, containerType As ContainerType, policyName As String)

Parameters

protectedItemResource
ProtectedItemResource

Service client object representing the protected item resource

containerName
String

Name of the container associated with this protected item

containerType
ContainerType

Type of the container associated with this protected item

policyName
String

Name of the protection policy associated with this protected item

Applies to

AzureWorkloadSQLDatabaseProtectedItem(ProtectedItemResource, String, ContainerType, String)

Constructor. Takes the service client object representing the protected item and converts it in to the PS protected item model

public AzureWorkloadSQLDatabaseProtectedItem (Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResource protectedItemResource, string containerName, Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.ContainerType containerType, string policyName);
new Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureWorkloadSQLDatabaseProtectedItem : Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectedItemResource * string * Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.ContainerType * string -> Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models.AzureWorkloadSQLDatabaseProtectedItem
Public Sub New (protectedItemResource As ProtectedItemResource, containerName As String, containerType As ContainerType, policyName As String)

Parameters

protectedItemResource
ProtectedItemResource

Service client object representing the protected item resource

containerName
String

Name of the container associated with this protected item

containerType
ContainerType

Type of the container associated with this protected item

policyName
String

Name of the protection policy associated with this protected item

Applies to