Share via


StorageManagementClient 類別

 

表示儲存體服務管理用戶端。

命名空間:   Microsoft.WindowsAzure.Management.Storage
組件:  Microsoft.WindowsAzure.Management.Storage (在 Microsoft.WindowsAzure.Management.Storage.dll 中)

繼承階層架構

System.Object
  Hyak.Common.ServiceClient<T>
    Microsoft.WindowsAzure.Management.Storage.StorageManagementClient

語法

public class StorageManagementClient : ServiceClient<StorageManagementClient>, 
    IStorageManagementClient, IDisposable
public ref class StorageManagementClient : ServiceClient<StorageManagementClient^>, 
    IStorageManagementClient, IDisposable
type StorageManagementClient = 
    class
        inherit ServiceClient<StorageManagementClient>
        interface IStorageManagementClient
        interface IDisposable
    end
Public Class StorageManagementClient
    Inherits ServiceClient(Of StorageManagementClient)
    Implements IStorageManagementClient, IDisposable

建構函式

名稱 描述
StorageManagementClient()

初始化 StorageManagementClient 類別的新執行個體。

StorageManagementClient(HttpClient)

初始化 StorageManagementClient 類別的新執行個體。

StorageManagementClient(SubscriptionCloudCredentials)

初始化 StorageManagementClient 類別的新執行個體。

StorageManagementClient(SubscriptionCloudCredentials, HttpClient)

初始化 StorageManagementClient 類別的新執行個體。

StorageManagementClient(SubscriptionCloudCredentials, Uri)

初始化 StorageManagementClient 類別的新執行個體。

StorageManagementClient(SubscriptionCloudCredentials, Uri, HttpClient)

初始化 StorageManagementClient 類別的新執行個體。

屬性

名稱 描述
ApiVersion

取得 API 版本。

BaseUri

取得或設定用來當做基底的所有服務管理要求的 URI。

Credentials

取得或設定 SubscriptionCloudCredentials 指定的訂用帳戶認證的物件。

HttpClient

(繼承自 ServiceClient<T>。)

HttpMessageHandler

(繼承自 ServiceClient<T>。)

LongRunningOperationInitialTimeout

取得或設定長時間執行作業的初始逾時。

LongRunningOperationRetryTimeout

取得或設定長時間執行作業的重試逾時。

StorageAccounts

取得儲存體帳戶。

UserAgent

(繼承自 ServiceClient<T>。)

方法

名稱 描述
AddHandlerToPipeline(DelegatingHandler)

(繼承自 ServiceClient<T>。)

Clone(ServiceClient<StorageManagementClient>)

複製到另一個 StorageManagementClient 執行個體從目前的執行個體屬性(覆寫 ServiceClient<T>.Clone(ServiceClient<T>)。)

Dispose()

(繼承自 ServiceClient<T>。)

Equals(Object)

(繼承自 Object。)

Finalize()

(繼承自 Object。)

GetHashCode()

(繼承自 Object。)

GetHttpPipeline()

(繼承自 ServiceClient<T>。)

GetOperationStatusAsync(String, CancellationToken)

以非同步方式擷取作業的狀態。

GetType()

(繼承自 Object。)

InitializeHttpClient(HttpMessageHandler)

(繼承自 ServiceClient<T>。)

MemberwiseClone()

(繼承自 Object。)

SetRetryPolicy(RetryPolicy)

(繼承自 ServiceClient<T>。)

ToString()

(繼承自 Object。)

WithHandler(DelegatingHandler)

(繼承自 ServiceClient<T>。)

WithHandler(ServiceClient<T>, DelegatingHandler)

(繼承自 ServiceClient<T>。)

WithHandlers(IEnumerable<DelegatingHandler>)

(繼承自 ServiceClient<T>。)

延伸方法

名稱 描述
GetOperationStatus(String)

擷取作業的狀態。(由 StorageManagementClientExtensions 定義。)

GetOperationStatusAsync(String)

以非同步方式擷取作業的狀態。(由 StorageManagementClientExtensions 定義。)

執行緒安全

這個類型的任何公用靜態 (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

Microsoft.WindowsAzure.Management.Storage 命名空間

回到頁首