你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VaultPatchProperties 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
VaultPatchProperties() |
初始化 VaultPatchProperties 类的新实例。 |
VaultPatchProperties(Nullable<Guid>, Sku, IList<AccessPolicyEntry>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<CreateMode>, Nullable<Boolean>, NetworkRuleSet) |
初始化 VaultPatchProperties 类的新实例。 |
VaultPatchProperties()
初始化 VaultPatchProperties 类的新实例。
public VaultPatchProperties ();
Public Sub New ()
适用于
VaultPatchProperties(Nullable<Guid>, Sku, IList<AccessPolicyEntry>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<CreateMode>, Nullable<Boolean>, NetworkRuleSet)
初始化 VaultPatchProperties 类的新实例。
public VaultPatchProperties (Guid? tenantId = default, Microsoft.Azure.Management.KeyVault.Models.Sku sku = default, System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.AccessPolicyEntry> accessPolicies = default, bool? enabledForDeployment = default, bool? enabledForDiskEncryption = default, bool? enabledForTemplateDeployment = default, bool? enableSoftDelete = default, bool? enableRbacAuthorization = default, int? softDeleteRetentionInDays = default, Microsoft.Azure.Management.KeyVault.Models.CreateMode? createMode = default, bool? enablePurgeProtection = default, Microsoft.Azure.Management.KeyVault.Models.NetworkRuleSet networkAcls = default);
new Microsoft.Azure.Management.KeyVault.Models.VaultPatchProperties : Nullable<Guid> * Microsoft.Azure.Management.KeyVault.Models.Sku * System.Collections.Generic.IList<Microsoft.Azure.Management.KeyVault.Models.AccessPolicyEntry> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<Microsoft.Azure.Management.KeyVault.Models.CreateMode> * Nullable<bool> * Microsoft.Azure.Management.KeyVault.Models.NetworkRuleSet -> Microsoft.Azure.Management.KeyVault.Models.VaultPatchProperties
Public Sub New (Optional tenantId As Nullable(Of Guid) = Nothing, Optional sku As Sku = Nothing, Optional accessPolicies As IList(Of AccessPolicyEntry) = Nothing, Optional enabledForDeployment As Nullable(Of Boolean) = Nothing, Optional enabledForDiskEncryption As Nullable(Of Boolean) = Nothing, Optional enabledForTemplateDeployment As Nullable(Of Boolean) = Nothing, Optional enableSoftDelete As Nullable(Of Boolean) = Nothing, Optional enableRbacAuthorization As Nullable(Of Boolean) = Nothing, Optional softDeleteRetentionInDays As Nullable(Of Integer) = Nothing, Optional createMode As Nullable(Of CreateMode) = Nothing, Optional enablePurgeProtection As Nullable(Of Boolean) = Nothing, Optional networkAcls As NetworkRuleSet = Nothing)
参数
- sku
- Sku
SKU 详细信息
- accessPolicies
- IList<AccessPolicyEntry>
0 到 16 个有权访问密钥保管库的标识数组。 数组中的所有标识都必须使用与密钥保管库的租户 ID 相同的租户 ID。
控制如何授权数据操作的属性。 如果为 true,密钥保管库将使用基于角色访问控制 (RBAC) 来授权数据操作,并且保管库属性中指定的访问策略将被忽略 (警告:这是) 的预览功能。 如果为 false,则密钥保管库将使用保管库属性中指定的访问策略,存储在 Azure 资源管理器 上的任何策略将被忽略。 如果为 null 或未指定,则此属性的值不会更改。
- createMode
- Nullable<CreateMode>
保管库的创建模式,用于指示是否需要恢复保管库。 可能的值包括:“recover”、“default”
指定是否为此保管库启用清除防护的属性。 将此属性设置为 true 可激活针对此保管库及其内容的清除保护 - 只有密钥保管库服务可能会启动不可恢复的硬删除。 仅当还启用了软删除时,此设置才有效。 启用此功能是不可逆的 - 也就是说,属性不接受 false 作为其值。
- networkAcls
- NetworkRuleSet
管理保管库从特定网络位置的可访问性的规则集合。