SecurityCenterExtensions.GetDiscoveredSecuritySolution 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.
Provides a compatibility shim for the GetDiscoveredSecuritySolution operation preserved from the previous public API surface.
public static Azure.Response<Azure.ResourceManager.SecurityCenter.Models.DiscoveredSecuritySolution> GetDiscoveredSecuritySolution(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation, string discoveredSecuritySolutionName, System.Threading.CancellationToken cancellationToken = default);
static member GetDiscoveredSecuritySolution : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.DiscoveredSecuritySolution>
<Extension()>
Public Function GetDiscoveredSecuritySolution (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation, discoveredSecuritySolutionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DiscoveredSecuritySolution)
Parameters
- resourceGroupResource
- ResourceGroupResource
The value preserved for API compatibility.
- ascLocation
- AzureLocation
The value preserved for API compatibility.
- discoveredSecuritySolutionName
- String
The value preserved for API compatibility.
- cancellationToken
- CancellationToken
The value preserved for API compatibility.
Returns
The compatibility result.
Exceptions
discoveredSecuritySolutionName is an empty string, and was expected to be non-empty.
resourceGroupResource or discoveredSecuritySolutionName is null.