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

BatchAccountCreateParameters 类

  • java.lang.Object
    • com.microsoft.azure.management.batch.BatchAccountCreateParameters

public class BatchAccountCreateParameters

提供给创建操作的参数。

方法摘要

修饰符和类型 方法和描述
List<AuthenticationMode> allowedAuthenticationModes()

获取 Batch 帐户允许的身份验证模式列表,这些模式可用于对数据平面进行身份验证。 这不会影响控制平面的身份验证。

AutoStorageBaseProperties autoStorage()

获取与自动存储帐户相关的属性。

EncryptionProperties encryption()

获取 配置 Batch 帐户中客户数据的加密方式。 默认情况下,使用 Microsoft 托管密钥对帐户进行加密。 为了进行额外的控制,可以改用客户管理的密钥。

BatchAccountIdentity identity()

获取 Batch 帐户的标识。

KeyVaultReference keyVaultReference()

获取对与 Batch 帐户关联的 Azure 密钥保管库的引用。

String location()

获取要在其中创建帐户的区域。

PoolAllocationMode poolAllocationMode()

获取池分配模式还会影响客户端向 Batch 服务 API 进行身份验证的方式。 如果模式为 BatchService,则客户端可以使用访问密钥或 Azure Active Directory 进行身份验证。 如果模式为 UserSubscription,则客户端必须使用 Azure Active Directory。 默认值为 BatchService。 可能的值包括:“BatchService”、“UserSubscription”。

PublicNetworkAccessType publicNetworkAccess()

如果未指定,则获取默认值为“enabled”。 可能的值包括:“Enabled”、“Disabled”。

Map<String, String> tags()

获取与帐户关联的用户指定的标记。

BatchAccountCreateParameters withAllowedAuthenticationModes(List<AuthenticationMode> allowedAuthenticationModes)

为可用于对数据平面进行身份验证的 Batch 帐户设置允许的身份验证模式列表。 这不会影响控制平面的身份验证。

BatchAccountCreateParameters withAutoStorage(AutoStorageBaseProperties autoStorage)

设置与自动存储帐户相关的属性。

BatchAccountCreateParameters withEncryption(EncryptionProperties encryption)

Set 配置 Batch 帐户内客户数据的加密方式。 默认情况下,使用 Microsoft 托管密钥对帐户进行加密。 为了进行额外的控制,可以改用客户管理的密钥。

BatchAccountCreateParameters withIdentity(BatchAccountIdentity identity)

设置 Batch 帐户的标识。

BatchAccountCreateParameters withKeyVaultReference(KeyVaultReference keyVaultReference)

设置对与 Batch 帐户关联的 Azure 密钥保管库的引用。

BatchAccountCreateParameters withLocation(String location)

设置要在其中创建帐户的区域。

BatchAccountCreateParameters withPoolAllocationMode(PoolAllocationMode poolAllocationMode)

设置池分配模式还会影响客户端向 Batch 服务 API 进行身份验证的方式。 如果模式为 BatchService,则客户端可以使用访问密钥或 Azure Active Directory 进行身份验证。 如果模式为 UserSubscription,则客户端必须使用 Azure Active Directory。 默认值为 BatchService。 可能的值包括:“BatchService”、“UserSubscription”。

BatchAccountCreateParameters withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)

如果未指定,则设置默认值为“enabled”。 可能的值包括:“Enabled”、“Disabled”。

BatchAccountCreateParameters withTags(Map<String, String> tags)

设置与帐户关联的用户指定的标记。

方法详细信息

allowedAuthenticationModes

public List allowedAuthenticationModes()

获取 Batch 帐户允许的身份验证模式列表,这些模式可用于对数据平面进行身份验证。 这不会影响控制平面的身份验证。

Returns:

allowedAuthenticationModes 值

autoStorage

public AutoStorageBaseProperties autoStorage()

获取与自动存储帐户相关的属性。

Returns:

autoStorage 值

encryption

public EncryptionProperties encryption()

获取 配置 Batch 帐户中客户数据的加密方式。 默认情况下,使用 Microsoft 托管密钥对帐户进行加密。 为了进行额外的控制,可以改用客户管理的密钥。

Returns:

加密值

identity

public BatchAccountIdentity identity()

获取 Batch 帐户的标识。

Returns:

标识值

keyVaultReference

public KeyVaultReference keyVaultReference()

获取对与 Batch 帐户关联的 Azure 密钥保管库的引用。

Returns:

keyVaultReference 值

location

public String location()

获取要在其中创建帐户的区域。

Returns:

位置值

poolAllocationMode

public PoolAllocationMode poolAllocationMode()

获取池分配模式还会影响客户端向 Batch 服务 API 进行身份验证的方式。 如果模式为 BatchService,则客户端可以使用访问密钥或 Azure Active Directory 进行身份验证。 如果模式为 UserSubscription,则客户端必须使用 Azure Active Directory。 默认值为 BatchService。 可能的值包括:“BatchService”、“UserSubscription”。

Returns:

poolAllocationMode 值

publicNetworkAccess

public PublicNetworkAccessType publicNetworkAccess()

如果未指定,则获取默认值为“enabled”。 可能的值包括:“Enabled”、“Disabled”。

Returns:

publicNetworkAccess 值

tags

public Map tags()

获取与帐户关联的用户指定的标记。

Returns:

标记值

withAllowedAuthenticationModes

public BatchAccountCreateParameters withAllowedAuthenticationModes(List allowedAuthenticationModes)

为可用于对数据平面进行身份验证的 Batch 帐户设置允许的身份验证模式列表。 这不会影响控制平面的身份验证。

Parameters:

allowedAuthenticationModes - 要设置的 allowedAuthenticationModes 值

Returns:

BatchAccountCreateParameters 对象本身。

withAutoStorage

public BatchAccountCreateParameters withAutoStorage(AutoStorageBaseProperties autoStorage)

设置与自动存储帐户相关的属性。

Parameters:

autoStorage - 要设置的 autoStorage 值

Returns:

BatchAccountCreateParameters 对象本身。

withEncryption

public BatchAccountCreateParameters withEncryption(EncryptionProperties encryption)

Set 配置 Batch 帐户内客户数据的加密方式。 默认情况下,使用 Microsoft 托管密钥对帐户进行加密。 为了进行额外的控制,可以改用客户管理的密钥。

Parameters:

encryption - 要设置的加密值

Returns:

BatchAccountCreateParameters 对象本身。

withIdentity

public BatchAccountCreateParameters withIdentity(BatchAccountIdentity identity)

设置 Batch 帐户的标识。

Parameters:

identity - 要设置的标识值

Returns:

BatchAccountCreateParameters 对象本身。

withKeyVaultReference

public BatchAccountCreateParameters withKeyVaultReference(KeyVaultReference keyVaultReference)

设置对与 Batch 帐户关联的 Azure 密钥保管库的引用。

Parameters:

keyVaultReference - 要设置的 keyVaultReference 值

Returns:

BatchAccountCreateParameters 对象本身。

withLocation

public BatchAccountCreateParameters withLocation(String location)

设置要在其中创建帐户的区域。

Parameters:

location - 要设置的位置值

Returns:

BatchAccountCreateParameters 对象本身。

withPoolAllocationMode

public BatchAccountCreateParameters withPoolAllocationMode(PoolAllocationMode poolAllocationMode)

设置池分配模式还会影响客户端向 Batch 服务 API 进行身份验证的方式。 如果模式为 BatchService,则客户端可以使用访问密钥或 Azure Active Directory 进行身份验证。 如果模式为 UserSubscription,则客户端必须使用 Azure Active Directory。 默认值为 BatchService。 可能的值包括:“BatchService”、“UserSubscription”。

Parameters:

poolAllocationMode - 要设置的 poolAllocationMode 值

Returns:

BatchAccountCreateParameters 对象本身。

withPublicNetworkAccess

public BatchAccountCreateParameters withPublicNetworkAccess(PublicNetworkAccessType publicNetworkAccess)

如果未指定,则设置默认值为“enabled”。 可能的值包括:“Enabled”、“Disabled”。

Parameters:

publicNetworkAccess - 要设置的 publicNetworkAccess 值

Returns:

BatchAccountCreateParameters 对象本身。

withTags

public BatchAccountCreateParameters withTags(Map tags)

设置与帐户关联的用户指定的标记。

Parameters:

tags - 要设置的标记值

Returns:

BatchAccountCreateParameters 对象本身。

适用于