SecurityCenterExtensions.GetTopology Method

Definition

Provides a compatibility shim for the GetTopology operation preserved from the previous public API surface.

public static Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityTopologyResource> GetTopology(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation, string topologyResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetTopology : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.SecurityTopologyResource>
<Extension()>
Public Function GetTopology (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation, topologyResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityTopologyResource)

Parameters

resourceGroupResource
ResourceGroupResource

The value preserved for API compatibility.

ascLocation
AzureLocation

The value preserved for API compatibility.

topologyResourceName
String

The value preserved for API compatibility.

cancellationToken
CancellationToken

The value preserved for API compatibility.

Returns

The compatibility result.

Exceptions

topologyResourceName is an empty string, and was expected to be non-empty.

resourceGroupResource or topologyResourceName is null.

Applies to