次の方法で共有


BatchClient クラス

  • java.lang.Object
    • com.microsoft.azure.batch.BatchClient

public class BatchClient

Batch サービスへのアクセスに使用されるAzure Batch アカウントのクライアント。

メソッドの概要

修飾子と型 メソッドと説明
AccountOperations accountOperations()

関連付けられているアカウントに AccountOperations 対してアカウント関連の操作を実行するための オブジェクトを取得します。

ApplicationOperations applicationOperations()

関連付けられているアカウントに ApplicationOperations 対してアプリケーション関連の操作を実行するための オブジェクトを取得します。

CertificateOperations certificateOperations()

関連付けられているアカウントに CertificateOperations 対して証明書関連の操作を実行するための オブジェクトを取得します。

ComputeNodeOperations computeNodeOperations()

関連付けられたアカウントに ComputeNodeOperations 対してコンピューティング ノード関連の操作を実行するための オブジェクトを取得します。

Collection<BatchClientBehavior> customBehaviors()

Batch サービスへの要求を変更またはカスタマイズする動作のコレクションを取得します。

FileOperations fileOperations()

関連付けられたアカウントに FileOperations 対してファイル関連の操作を実行するための オブジェクトを取得します。

JobOperations jobOperations()

関連付けられたアカウントに JobOperations 対してジョブ関連の操作を実行するための オブジェクトを取得します。

JobScheduleOperations jobScheduleOperations()

関連付けられたアカウントに JobScheduleOperations 対してジョブ スケジュール関連の操作を実行するための オブジェクトを取得します。

static BatchClient open(BatchCredentials credentials)

指定した資格情報に関連付けられている の BatchClient インスタンスを作成します。

static BatchClient open(RestClient restClient, String baseUrl)

指定した restClient と baseurl に関連付けられた のBatchClientインスタンスを作成します。

PoolOperations poolOperations()

関連付けられたアカウントに PoolOperations 対してプール関連の操作を実行するための オブジェクトを取得します。

BatchServiceClient protocolLayer()

Azure Batch サービスに要求を発行するプロトコル レイヤー サービス クライアントを取得します。

TaskOperations taskOperations()

関連付けられているアカウントに TaskOperations 対してタスク関連の操作を実行するための オブジェクトを取得します。

BatchClient withCustomBehaviors(Collection<BatchClientBehavior> customBehaviors)

Batch サービスへの要求を変更またはカスタマイズする動作のコレクションを設定します。

メソッドの継承元: java.lang.Object

メソッドの詳細

accountOperations

public AccountOperations accountOperations()

関連付けられているアカウントに AccountOperations 対してアカウント関連の操作を実行するための オブジェクトを取得します。

Returns:

AccountOperations クラスのインスタンス。

applicationOperations

public ApplicationOperations applicationOperations()

関連付けられているアカウントに ApplicationOperations 対してアプリケーション関連の操作を実行するための オブジェクトを取得します。

Returns:

ApplicationOperations クラスのインスタンス。

certificateOperations

@Deprecated
public CertificateOperations certificateOperations()

関連付けられているアカウントに CertificateOperations 対して証明書関連の操作を実行するための オブジェクトを取得します。 警告: この操作は非推奨であり、2024 年 2 月以降に削除されます。 代わりに [Azure KeyVault 拡張機能](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) を使用してください。

Returns:

CertificateOperations クラスのインスタンス。

computeNodeOperations

public ComputeNodeOperations computeNodeOperations()

関連付けられたアカウントに ComputeNodeOperations 対してコンピューティング ノード関連の操作を実行するための オブジェクトを取得します。

Returns:

ComputeNodeOperations クラスのインスタンス。

customBehaviors

public Collection customBehaviors()

Batch サービスへの要求を変更またはカスタマイズする動作のコレクションを取得します。

Returns:

インスタンスの BatchClientBehavior コレクション。

fileOperations

public FileOperations fileOperations()

関連付けられたアカウントに FileOperations 対してファイル関連の操作を実行するための オブジェクトを取得します。

Returns:

FileOperations クラスのインスタンス。

jobOperations

public JobOperations jobOperations()

関連付けられたアカウントに JobOperations 対してジョブ関連の操作を実行するための オブジェクトを取得します。

Returns:

JobOperations クラスのインスタンス。

jobScheduleOperations

public JobScheduleOperations jobScheduleOperations()

関連付けられたアカウントに JobScheduleOperations 対してジョブ スケジュール関連の操作を実行するための オブジェクトを取得します。

Returns:

JobScheduleOperations クラスのインスタンス。

open

public static BatchClient open(BatchCredentials credentials)

指定した資格情報に関連付けられている の BatchClient インスタンスを作成します。

Parameters:

credentials - BatchCredentials Batch アカウントの資格情報を指定する オブジェクト。

Returns:

新しい BatchClient インスタンス。

open

public static BatchClient open(RestClient restClient, String baseUrl)

指定した restClient と baseurl に関連付けられた の BatchClient インスタンスを作成します。

Parameters:

restClient - RestClientバッチ エンドポイントとの対話に使用される rest クライアントの定義を指定する オブジェクト。
baseUrl - バッチエンドポイントを指定する String オブジェクト。

Returns:

新しい BatchClient インスタンス。

poolOperations

public PoolOperations poolOperations()

関連付けられたアカウントに PoolOperations 対してプール関連の操作を実行するための オブジェクトを取得します。

Returns:

PoolOperations クラスのインスタンス。

protocolLayer

public BatchServiceClient protocolLayer()

Azure Batch サービスに要求を発行するプロトコル レイヤー サービス クライアントを取得します。

Returns:

プロトコル層クライアント。

taskOperations

public TaskOperations taskOperations()

関連付けられているアカウントに TaskOperations 対してタスク関連の操作を実行するための オブジェクトを取得します。

Returns:

TaskOperations クラスのインスタンス。

withCustomBehaviors

public BatchClient withCustomBehaviors(Collection customBehaviors)

Batch サービスへの要求を変更またはカスタマイズする動作のコレクションを設定します。

Parameters:

customBehaviors - インスタンスの BatchClientBehavior コレクション。

Returns:

現在のインスタンス。

適用対象