次の方法で共有


SecurityCenterExtensions.GetTopologyAsync メソッド

定義

特定のトポロジ コンポーネントを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/topologies/{topologyResourceName}
  • 操作IdTopology_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityTopologyResource>> GetTopologyAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation, string topologyResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetTopologyAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityTopologyResource>>
<Extension()>
Public Function GetTopologyAsync (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation, topologyResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityTopologyResource))

パラメーター

resourceGroupResource
ResourceGroupResource

ResourceGroupResourceメソッドが実行するインスタンス。

ascLocation
AzureLocation

ASC がサブスクリプションのデータを格納する場所。 は、[場所の取得] から取得できます。

topologyResourceName
String

トポロジ リソース コレクションの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

topologyResourceName が null です。

適用対象