Partilhar via


AzureWorkloadProtectableItem Constructor

Definition

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

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

Parameters

workloadProtectableItemResource
WorkloadProtectableItemResource

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

Applies to