SecurityCenterExtensions.Get 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 external Security Solution. <item> Mocking. To mock this method, please mock Get(AzureLocation, String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.SecurityCenter.Models.ExternalSecuritySolution> Get(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation ascLocation, string externalSecuritySolutionsName, System.Threading.CancellationToken cancellationToken = default);
static member Get : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.Models.ExternalSecuritySolution>
<Extension()>
Public Function Get (resourceGroupResource As ResourceGroupResource, ascLocation As AzureLocation, externalSecuritySolutionsName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ExternalSecuritySolution)
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.
- externalSecuritySolutionsName
- String
Name of an external security solution.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
resourceGroupResource is null.