SecurityCenterExtensions.GetIotSecuritySolutionAsync Method

Definition

User this method to get details of a specific IoT Security solution based on solution name <item> Mocking. To mock this method, please mock GetIotSecuritySolutionAsync(String, CancellationToken) instead. </item>

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 the method will execute against.

solutionName
String

The name of the IoT Security solution.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

resourceGroupResource is null.

Applies to