BatchAccountOperations interface
表示批处理账户操作的接口。
属性
| begin |
|
| begin |
|
| begin |
|
| begin |
|
| create | 使用指定的参数创建新的 Batch 帐户。 现有帐户不能使用此 API 进行更新,应改为使用更新 Batch 帐户 API 进行更新。 |
| delete | |
| get | 获取有关指定 Batch 帐户的信息。 |
| get |
获取有关给定 Batch 帐户的给定检测器的信息。 |
| get |
此作仅适用于包含“SharedKey”的 allowedAuthenticationModes 的 Batch 帐户。 如果 Batch 帐户在其 allowedAuthenticationMode 中不包含“SharedKey”,则客户端无法使用共享密钥进行身份验证,并且必须改用另一个 allowedAuthenticationModes。 在这种情况下,获取密钥将失败。 |
| list | 获取与订阅关联的 Batch 帐户的相关信息。 |
| list |
获取与指定资源组关联的 Batch 帐户的相关信息。 |
| list |
获取有关给定 Batch 帐户可用的检测器的信息。 |
| list |
列出此 Batch 帐户下 Batch 计算节点可以调用的终结点,作为 Batch 服务管理的一部分。 如果要在指定的虚拟网络内部署池,必须确保网络允许对这些终结点进行出站访问。 未能允许访问这些终结点可能会导致 Batch 将受影响的节点标记为不可用。 有关在虚拟网络中创建池的详细信息,请参阅 https://learn.microsoft.com/azure/batch/batch-virtual-network。 |
| regenerate |
此作仅适用于包含“SharedKey”的 allowedAuthenticationModes 的 Batch 帐户。 如果 Batch 帐户在其 allowedAuthenticationMode 中不包含“SharedKey”,则客户端无法使用共享密钥进行身份验证,并且必须改用另一个 allowedAuthenticationModes。 在这种情况下,重新生成密钥将失败。 |
| synchronize |
仅当使用存储密钥身份验证时,才会同步为指定的 Batch 帐户配置的自动存储帐户的访问密钥。 |
| update | 更新现有 Batch 帐户的属性。 |
属性详细信息
beginCreate
警告
现已弃用此 API。
use create instead
beginCreate: (resourceGroupName: string, accountName: string, parameters: BatchAccountCreateParameters, options?: BatchAccountCreateOptionalParams) => Promise<SimplePollerLike<OperationState<BatchAccount>, BatchAccount>>
属性值
(resourceGroupName: string, accountName: string, parameters: BatchAccountCreateParameters, options?: BatchAccountCreateOptionalParams) => Promise<SimplePollerLike<OperationState<BatchAccount>, BatchAccount>>
beginCreateAndWait
警告
现已弃用此 API。
use create instead
beginCreateAndWait: (resourceGroupName: string, accountName: string, parameters: BatchAccountCreateParameters, options?: BatchAccountCreateOptionalParams) => Promise<BatchAccount>
属性值
(resourceGroupName: string, accountName: string, parameters: BatchAccountCreateParameters, options?: BatchAccountCreateOptionalParams) => Promise<BatchAccount>
beginDelete
警告
现已弃用此 API。
use delete instead
beginDelete: (resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait
警告
现已弃用此 API。
use delete instead
beginDeleteAndWait: (resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams) => Promise<void>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams) => Promise<void>
create
使用指定的参数创建新的 Batch 帐户。 现有帐户不能使用此 API 进行更新,应改为使用更新 Batch 帐户 API 进行更新。
create: (resourceGroupName: string, accountName: string, parameters: BatchAccountCreateParameters, options?: BatchAccountCreateOptionalParams) => PollerLike<OperationState<BatchAccount>, BatchAccount>
属性值
(resourceGroupName: string, accountName: string, parameters: BatchAccountCreateParameters, options?: BatchAccountCreateOptionalParams) => PollerLike<OperationState<BatchAccount>, BatchAccount>
delete
delete: (resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams) => PollerLike<OperationState<void>, void>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams) => PollerLike<OperationState<void>, void>
get
获取有关指定 Batch 帐户的信息。
get: (resourceGroupName: string, accountName: string, options?: BatchAccountGetOptionalParams) => Promise<BatchAccount>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountGetOptionalParams) => Promise<BatchAccount>
getDetector
获取有关给定 Batch 帐户的给定检测器的信息。
getDetector: (resourceGroupName: string, accountName: string, detectorId: string, options?: BatchAccountGetDetectorOptionalParams) => Promise<DetectorResponse>
属性值
(resourceGroupName: string, accountName: string, detectorId: string, options?: BatchAccountGetDetectorOptionalParams) => Promise<DetectorResponse>
getKeys
此作仅适用于包含“SharedKey”的 allowedAuthenticationModes 的 Batch 帐户。 如果 Batch 帐户在其 allowedAuthenticationMode 中不包含“SharedKey”,则客户端无法使用共享密钥进行身份验证,并且必须改用另一个 allowedAuthenticationModes。 在这种情况下,获取密钥将失败。
getKeys: (resourceGroupName: string, accountName: string, options?: BatchAccountGetKeysOptionalParams) => Promise<BatchAccountKeys>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountGetKeysOptionalParams) => Promise<BatchAccountKeys>
list
获取与订阅关联的 Batch 帐户的相关信息。
list: (options?: BatchAccountListOptionalParams) => PagedAsyncIterableIterator<BatchAccount, BatchAccount[], PageSettings>
属性值
(options?: BatchAccountListOptionalParams) => PagedAsyncIterableIterator<BatchAccount, BatchAccount[], PageSettings>
listByResourceGroup
获取与指定资源组关联的 Batch 帐户的相关信息。
listByResourceGroup: (resourceGroupName: string, options?: BatchAccountListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<BatchAccount, BatchAccount[], PageSettings>
属性值
(resourceGroupName: string, options?: BatchAccountListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<BatchAccount, BatchAccount[], PageSettings>
listDetectors
获取有关给定 Batch 帐户可用的检测器的信息。
listDetectors: (resourceGroupName: string, accountName: string, options?: BatchAccountListDetectorsOptionalParams) => PagedAsyncIterableIterator<DetectorResponse, DetectorResponse[], PageSettings>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountListDetectorsOptionalParams) => PagedAsyncIterableIterator<DetectorResponse, DetectorResponse[], PageSettings>
listOutboundNetworkDependenciesEndpoints
列出此 Batch 帐户下 Batch 计算节点可以调用的终结点,作为 Batch 服务管理的一部分。 如果要在指定的虚拟网络内部署池,必须确保网络允许对这些终结点进行出站访问。 未能允许访问这些终结点可能会导致 Batch 将受影响的节点标记为不可用。 有关在虚拟网络中创建池的详细信息,请参阅 https://learn.microsoft.com/azure/batch/batch-virtual-network。
listOutboundNetworkDependenciesEndpoints: (resourceGroupName: string, accountName: string, options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams) => PagedAsyncIterableIterator<OutboundEnvironmentEndpoint, OutboundEnvironmentEndpoint[], PageSettings>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams) => PagedAsyncIterableIterator<OutboundEnvironmentEndpoint, OutboundEnvironmentEndpoint[], PageSettings>
regenerateKey
此作仅适用于包含“SharedKey”的 allowedAuthenticationModes 的 Batch 帐户。 如果 Batch 帐户在其 allowedAuthenticationMode 中不包含“SharedKey”,则客户端无法使用共享密钥进行身份验证,并且必须改用另一个 allowedAuthenticationModes。 在这种情况下,重新生成密钥将失败。
regenerateKey: (resourceGroupName: string, accountName: string, parameters: BatchAccountRegenerateKeyParameters, options?: BatchAccountRegenerateKeyOptionalParams) => Promise<BatchAccountKeys>
属性值
(resourceGroupName: string, accountName: string, parameters: BatchAccountRegenerateKeyParameters, options?: BatchAccountRegenerateKeyOptionalParams) => Promise<BatchAccountKeys>
synchronizeAutoStorageKeys
仅当使用存储密钥身份验证时,才会同步为指定的 Batch 帐户配置的自动存储帐户的访问密钥。
synchronizeAutoStorageKeys: (resourceGroupName: string, accountName: string, options?: BatchAccountSynchronizeAutoStorageKeysOptionalParams) => Promise<void>
属性值
(resourceGroupName: string, accountName: string, options?: BatchAccountSynchronizeAutoStorageKeysOptionalParams) => Promise<void>
update
更新现有 Batch 帐户的属性。
update: (resourceGroupName: string, accountName: string, parameters: BatchAccountUpdateParameters, options?: BatchAccountUpdateOptionalParams) => Promise<BatchAccount>
属性值
(resourceGroupName: string, accountName: string, parameters: BatchAccountUpdateParameters, options?: BatchAccountUpdateOptionalParams) => Promise<BatchAccount>