次の方法で共有


ResourceHealthMetadataEntityCollection.GetAsync メソッド

定義

メタデータ エンティティの一覧を取得します。

  • 要求パス/プロバイダー/Microsoft.ResourceHealth/metadata/{name}
  • 操作IdMetadata_GetEntity
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.ResourceHealthMetadataEntityResource>> GetAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.ResourceHealthMetadataEntityResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceHealth.ResourceHealthMetadataEntityResource>>
Public Overridable Function GetAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceHealthMetadataEntityResource))

パラメーター

name
String

メタデータ エンティティの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

name は空の文字列であり、空でないと想定されていました。

name が null です。

適用対象