Share via


SecurityCenterExtensions.GetIotSecuritySolutionAsync Method

Definition

User this method to get details of a specific IoT Security solution based on solution name

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
  • Operation Id: IotSecuritySolution_Get
  • Default Api Version: 2019-08-01
  • Resource: IotSecuritySolutionResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>> GetIotSecuritySolutionAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string solutionName, System.Threading.CancellationToken cancellationToken = default);
static member GetIotSecuritySolutionAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>>
<Extension()>
Public Function GetIotSecuritySolutionAsync (resourceGroupResource As ResourceGroupResource, solutionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotSecuritySolutionResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

solutionName
String

The name of the IoT Security solution.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or solutionName is null.

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

Applies to