ArmRecoveryServicesBackupModelFactory.BackupProtectedItemData Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância de BackupProtectedItemData.
public static Azure.ResourceManager.RecoveryServicesBackup.BackupProtectedItemData BackupProtectedItemData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectedItem properties = default, Azure.ETag? eTag = default);
static member BackupProtectedItemData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.BackupGenericProtectedItem * Nullable<Azure.ETag> -> Azure.ResourceManager.RecoveryServicesBackup.BackupProtectedItemData
Public Shared Function BackupProtectedItemData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional properties As BackupGenericProtectedItem = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As BackupProtectedItemData
Parâmetros
A ID.
- name
- String
O nome.
- resourceType
- ResourceType
O resourceType.
- systemData
- SystemData
O systemData.
- tags
- IDictionary<String,String>
As marcas.
- location
- AzureLocation
O local.
- properties
- BackupGenericProtectedItem
Propriedades ProtectedItemResource Observe BackupGenericProtectedItem(String, Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>) que é a classe base. De acordo com o cenário, uma classe derivada da classe base pode precisar ser atribuída aqui ou essa propriedade precisa ser convertida em uma das classes derivadas possíveis. As classes derivadas disponíveis incluem , , , VmWorkloadSapAseDatabaseProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, String, String, String, Nullable<BackupProtectionState>, Nullable<LastBackupStatus>, Nullable<DateTimeOffset>, BackupErrorDetail, String, Nullable<VmWorkloadProtectedItemHealthStatus>, VmWorkloadProtectedItemExtendedInfo, IDictionary<String,KpiResourceHealthDetails>, IEnumerable<DistributedNodesInfo>)VmWorkloadProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, String, String, String, Nullable<BackupProtectionState>, Nullable<LastBackupStatus>, Nullable<DateTimeOffset>, BackupErrorDetail, String, Nullable<VmWorkloadProtectedItemHealthStatus>, VmWorkloadProtectedItemExtendedInfo, IDictionary<String,KpiResourceHealthDetails>, IEnumerable<DistributedNodesInfo>), VmWorkloadSapHanaDBInstanceProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, String, String, String, Nullable<BackupProtectionState>, Nullable<LastBackupStatus>, Nullable<DateTimeOffset>, BackupErrorDetail, String, Nullable<VmWorkloadProtectedItemHealthStatus>, VmWorkloadProtectedItemExtendedInfo, IDictionary<String,KpiResourceHealthDetails>, IEnumerable<DistributedNodesInfo>), VmWorkloadSapHanaDatabaseProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, String, String, String, Nullable<BackupProtectionState>, Nullable<LastBackupStatus>, Nullable<DateTimeOffset>, BackupErrorDetail, String, Nullable<VmWorkloadProtectedItemHealthStatus>, VmWorkloadProtectedItemExtendedInfo, IDictionary<String,KpiResourceHealthDetails>, IEnumerable<DistributedNodesInfo>), VmWorkloadSqlDatabaseProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, String, String, String, Nullable<BackupProtectionState>, Nullable<LastBackupStatus>, Nullable<DateTimeOffset>, BackupErrorDetail, String, Nullable<VmWorkloadProtectedItemHealthStatus>, VmWorkloadProtectedItemExtendedInfo, IDictionary<String,KpiResourceHealthDetails>, IEnumerable<DistributedNodesInfo>), GenericProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, Nullable<BackupProtectionState>, Nullable<Int64>, IDictionary<String,String>, String)DpmProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, Nullable<ProtectedItemState>, DpmProtectedItemExtendedInfo), MabFileFolderProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, String, Nullable<DateTimeOffset>, String, Nullable<Int64>, MabFileFolderProtectedItemExtendedInfo), , IaasComputeVmProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, ResourceIdentifier, String, Nullable<BackupProtectionState>, Nullable<IaasVmProtectedItemHealthStatus>, IEnumerable<IaasVmHealthDetails>, IDictionary<String,KpiResourceHealthDetails>, String, Nullable<DateTimeOffset>, String, IaasVmProtectedItemExtendedInfo, IaasVmBackupExtendedProperties)IaasClassicComputeVmProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, ResourceIdentifier, String, Nullable<BackupProtectionState>, Nullable<IaasVmProtectedItemHealthStatus>, IEnumerable<IaasVmHealthDetails>, IDictionary<String,KpiResourceHealthDetails>, String, Nullable<DateTimeOffset>, String, IaasVmProtectedItemExtendedInfo, IaasVmBackupExtendedProperties)e SqlProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, Nullable<ProtectedItemState>, SqlProtectedItemExtendedInfo). IaasVmProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, ResourceIdentifier, String, Nullable<BackupProtectionState>, Nullable<IaasVmProtectedItemHealthStatus>, IEnumerable<IaasVmHealthDetails>, IDictionary<String,KpiResourceHealthDetails>, String, Nullable<DateTimeOffset>, String, IaasVmProtectedItemExtendedInfo, IaasVmBackupExtendedProperties)FileshareProtectedItem(Nullable<BackupManagementType>, Nullable<BackupDataSourceType>, String, ResourceIdentifier, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<BackupCreateMode>, Nullable<DateTimeOffset>, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<String>, Nullable<Boolean>, String, Nullable<Int32>, String, String, Nullable<BackupProtectionState>, String, Nullable<DateTimeOffset>, IDictionary<String,KpiResourceHealthDetails>, FileshareProtectedItemExtendedInfo)
Retornos
Uma nova BackupProtectedItemData instância para simulação.