SecurityCenterExtensions.GetSecurityTopology Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a specific topology component. <item> Mocking. To mock this method, please mock GetSecurityTopology(AzureLocation, String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityTopologyResource> GetSecurityTopology(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation, string topologyResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetSecurityTopology : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SecurityTopologyResource>
<Extension()>
Public Function GetSecurityTopology (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation, topologyResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityTopologyResource)
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
- ascLocation
- AzureLocation
The location where ASC stores the data of the subscription. can be retrieved from Get locations.
- topologyResourceName
- String
Name of a topology resources collection.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource is null.