你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmDataProtectionBackupModelFactory.ResourceGuardProperties 方法

定义

初始化 ResourceGuardProperties 的新实例。

public static Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardProperties ResourceGuardProperties (Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupProvisioningState? provisioningState = default, bool? isAutoApprovalsAllowed = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardOperationDetails> resourceGuardOperations = default, System.Collections.Generic.IEnumerable<string> vaultCriticalOperationExclusionList = default, string description = default);
static member ResourceGuardProperties : Nullable<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupProvisioningState> * Nullable<bool> * seq<Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardOperationDetails> * seq<string> * string -> Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardProperties
Public Shared Function ResourceGuardProperties (Optional provisioningState As Nullable(Of DataProtectionBackupProvisioningState) = Nothing, Optional isAutoApprovalsAllowed As Nullable(Of Boolean) = Nothing, Optional resourceGuardOperations As IEnumerable(Of ResourceGuardOperationDetails) = Nothing, Optional vaultCriticalOperationExclusionList As IEnumerable(Of String) = Nothing, Optional description As String = Nothing) As ResourceGuardProperties

参数

provisioningState
Nullable<DataProtectionBackupProvisioningState>

BackupVault 资源的预配状态。

isAutoApprovalsAllowed
Nullable<Boolean>

此标志指示是否允许自动批准。

resourceGuardOperations
IEnumerable<ResourceGuardOperationDetails>

{readonly}这些受 ResourceGuard 资源保护的操作详细信息列表。

vaultCriticalOperationExclusionList
IEnumerable<String>

不受此 resourceGuard 保护的关键操作的列表。

description
String

有关执行所有关键操作的预请求步骤的说明。

返回

用于模拟的新 ResourceGuardProperties 实例。

适用于