ServiceClient クラス

  • java.lang.Object
    • com.microsoft.azure.storage.ServiceClient

public class ServiceClient

Microsoft Azure Storage サービスにアクセスするためのクライアントを提供します。

フィールドの概要

修飾子と型 フィールドと説明
StorageCredentials credentials

このサービス クライアントに関連付けられている StorageCredentials を保持します。

コンストラクターの概要

コンストラクター 説明
ServiceClient(final StorageUri storageUri, final StorageCredentials credentials)

指定したサービス エンドポイントとアカウントの資格情報を使用して、 クラスのインスタンスを作成します。

メソッドの概要

修飾子と型 メソッドと説明
StorageRequest<ServiceClient, Void, ServiceProperties> downloadServicePropertiesImpl(final RequestOptions options, final boolean signAsTable)
final StorageCredentials getCredentials()

このサービス クライアントに関連付けられているストレージ資格情報を返します。

abstract RequestOptions getDefaultRequestOptions()

これに関連付けられている要求に使用される を取得します。RequestOptions

final URI getEndpoint()

このサービス クライアントのベース URI を返します。

StorageRequest<ServiceClient, Void, ServiceStats> getServiceStatsImpl(final RequestOptions options, final boolean signAsTable)
final StorageUri getStorageUri()

すべての場所の URI の一覧を返します。

boolean isUsePathStyleUris()
final void setCredentials(final StorageCredentials credentials)

このサービス クライアントで使用する資格情報を設定します。

final void setStorageUri(final StorageUri storageUri)

すべての場所の URI の一覧を設定します。

StorageRequest<ServiceClient, Void, Void> uploadServicePropertiesImpl(final ServiceProperties properties, final RequestOptions options, final OperationContext opContext, final boolean signAsTable)

フィールドの詳細

credentials

protected StorageCredentials credentials

このサービス クライアントに関連付けられている StorageCredentials を保持します。

コンストラクターの詳細

ServiceClient

protected ServiceClient(final StorageUri storageUri, final StorageCredentials credentials)

指定したサービス エンドポイントとアカウントの資格情報を使用して、 クラスのインスタンスを作成します。

Parameters:

storageUri - クライアントの StorageUri 作成に使用されるサービス エンドポイントを表す オブジェクト。
credentials - StorageCredentialsアカウントの資格情報を表す オブジェクト。

メソッドの詳細

downloadServicePropertiesImpl

protected StorageRequest downloadServicePropertiesImpl(final RequestOptions options, final boolean signAsTable)

Parameters:

options
signAsTable

getCredentials

public final StorageCredentials getCredentials()

このサービス クライアントに関連付けられているストレージ資格情報を返します。

Returns:

StorageCredentialsこのクライアントに関連付けられているストレージ資格情報を表す オブジェクト。

getDefaultRequestOptions

public abstract RequestOptions getDefaultRequestOptions()

これに関連付けられている要求に使用される を取得します。RequestOptions

Returns:

この RequestOptions で使用される値を含む オブジェクト ServiceClient

getEndpoint

public final URI getEndpoint()

このサービス クライアントのベース URI を返します。

Returns:

java.net.URIサービス クライアントのベース URI を表す オブジェクト。

getServiceStatsImpl

protected StorageRequest getServiceStatsImpl(final RequestOptions options, final boolean signAsTable)

Parameters:

options
signAsTable

getStorageUri

public final StorageUri getStorageUri()

すべての場所の URI の一覧を返します。

Returns:

StorageUriすべての場所の URI の一覧を表す オブジェクト。

isUsePathStyleUris

protected boolean isUsePathStyleUris()

Returns:

true パス スタイルの URI が使用される場合は 。それ以外の場合は false

setCredentials

protected final void setCredentials(final StorageCredentials credentials)

このサービス クライアントで使用する資格情報を設定します。

Parameters:

credentials - StorageCredentialsサービス クライアントに割り当てられている資格情報を表す オブジェクト。

setStorageUri

protected final void setStorageUri(final StorageUri storageUri)

すべての場所の URI の一覧を設定します。

Parameters:

storageUri - StorageUriすべての場所の URI の一覧を表す オブジェクト。

uploadServicePropertiesImpl

protected StorageRequest uploadServicePropertiesImpl(final ServiceProperties properties, final RequestOptions options, final OperationContext opContext, final boolean signAsTable)

Parameters:

properties
options
opContext
signAsTable

適用対象