你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchAccountCreateParameters.PoolAllocationMode 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于在 Batch 帐户中创建池的分配模式。
[Newtonsoft.Json.JsonProperty(PropertyName="properties.poolAllocationMode")]
public Microsoft.Azure.Management.Batch.Models.PoolAllocationMode? PoolAllocationMode { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.poolAllocationMode")>]
member this.PoolAllocationMode : Nullable<Microsoft.Azure.Management.Batch.Models.PoolAllocationMode> with get, set
Public Property PoolAllocationMode As Nullable(Of PoolAllocationMode)
属性值
- 属性
-
Newtonsoft.Json.JsonPropertyAttribute
注解
池分配模式还会影响客户端向 Batch 服务 API 进行身份验证的方式。 如果模式为 BatchService,则客户端可以使用访问密钥或 Azure Active Directory 进行身份验证。 如果模式为 UserSubscription,则客户端必须使用 Azure Active Directory。 默认值为 BatchService。 可能的值包括:“BatchService”、“UserSubscription”