你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BatchAccountCreateParameters 类
- java.
lang. Object - com.
microsoft. azure. management. batch. BatchAccountCreateParameters
- com.
public class BatchAccountCreateParameters
提供给创建操作的参数。
构造函数摘要
构造函数 | 说明 | |
---|---|---|
BatchAccountCreateParameters() |
方法摘要
方法继承自 java.lang.Object
构造函数详细信息
BatchAccountCreateParameters
public BatchAccountCreateParameters()
方法详细信息
allowedAuthenticationModes
public List
获取 Batch 帐户允许的身份验证模式列表,这些模式可用于对数据平面进行身份验证。 这不会影响控制平面的身份验证。
Returns:
autoStorage
public AutoStorageBaseProperties autoStorage()
获取与自动存储帐户相关的属性。
Returns:
encryption
public EncryptionProperties encryption()
获取 配置 Batch 帐户中客户数据的加密方式。 默认情况下,使用 Microsoft 托管密钥对帐户进行加密。 为了进行额外的控制,可以改用客户管理的密钥。
Returns:
identity
public BatchAccountIdentity identity()
获取 Batch 帐户的标识。
Returns:
keyVaultReference
public KeyVaultReference keyVaultReference()
获取对与 Batch 帐户关联的 Azure 密钥保管库的引用。
Returns:
location
public String location()
获取要在其中创建帐户的区域。
Returns:
poolAllocationMode
public PoolAllocationMode poolAllocationMode()
获取池分配模式还会影响客户端向 Batch 服务 API 进行身份验证的方式。 如果模式为 BatchService,则客户端可以使用访问密钥或 Azure Active Directory 进行身份验证。 如果模式为 UserSubscription,则客户端必须使用 Azure Active Directory。 默认值为 BatchService。 可能的值包括:“BatchService”、“UserSubscription”。
Returns:
publicNetworkAccess
public PublicNetworkAccessType publicNetworkAccess()
如果未指定,则获取默认值为“enabled”。 可能的值包括:“Enabled”、“Disabled”。
Returns:
tags
public Map
获取与帐户关联的用户指定的标记。
Returns:
withAllowedAuthenticationModes
public BatchAccountCreateParameters withAllowedAuthenticationModes(List
为可用于对数据平面进行身份验证的 Batch 帐户设置允许的身份验证模式列表。 这不会影响控制平面的身份验证。
Parameters:
Returns:
withAutoStorage
public BatchAccountCreateParameters withAutoStorage(AutoStorageBaseProperties autoStorage)
设置与自动存储帐户相关的属性。
Parameters:
Returns:
withEncryption
public BatchAccountCreateParameters withEncryption(EncryptionProperties encryption)
Set 配置 Batch 帐户内客户数据的加密方式。 默认情况下,使用 Microsoft 托管密钥对帐户进行加密。 为了进行额外的控制,可以改用客户管理的密钥。
Parameters:
Returns:
withIdentity
public BatchAccountCreateParameters withIdentity(BatchAccountIdentity identity)
设置 Batch 帐户的标识。
Parameters:
Returns:
withKeyVaultReference
public BatchAccountCreateParameters withKeyVaultReference(KeyVaultReference keyVaultReference)
设置对与 Batch 帐户关联的 Azure 密钥保管库的引用。
Parameters:
Returns:
withLocation
public BatchAccountCreateParameters withLocation(String location)
设置要在其中创建帐户的区域。
Parameters:
Returns:
withPoolAllocationMode
public BatchAccountCreateParameters withPoolAllocationMode(PoolAllocationMode poolAllocationMode)
设置池分配模式还会影响客户端向 Batch 服务 API 进行身份验证的方式。 如果模式为 BatchService,则客户端可以使用访问密钥或 Azure Active Directory 进行身份验证。 如果模式为 UserSubscription,则客户端必须使用 Azure Active Directory。 默认值为 BatchService。 可能的值包括:“BatchService”、“UserSubscription”。
Parameters:
Returns:
withPublicNetworkAccess
public BatchAccountCreateParameters withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)
如果未指定,则设置默认值为“enabled”。 可能的值包括:“Enabled”、“Disabled”。
Parameters:
Returns:
withTags
public BatchAccountCreateParameters withTags(Map
设置与帐户关联的用户指定的标记。
Parameters:
Returns: