StorageTargets.GetWithHttpMessagesAsync メソッド

定義

キャッシュからストレージ ターゲットを返します。

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Management.StorageCache.Models.StorageTarget>> GetWithHttpMessagesAsync (string resourceGroupName, string cacheName, string storageTargetName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Management.StorageCache.Models.StorageTarget>>
override this.GetWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Management.StorageCache.Models.StorageTarget>>
Public Function GetWithHttpMessagesAsync (resourceGroupName As String, cacheName As String, storageTargetName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of StorageTarget))

パラメーター

resourceGroupName
String

ターゲット リソース グループ。

cacheName
String

キャッシュの名前。 name の長さは 80 を超えてはいけません。char は [-0-9a-zA-Z_] char クラスからである必要があります。

storageTargetName
String

ストレージ ターゲットの名前。

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

実装

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象