SecurityCenterExtensions.GetIotSecuritySolution 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 GetIotSecuritySolution(String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource> GetIotSecuritySolution(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string solutionName, System.Threading.CancellationToken cancellationToken = default);
static member GetIotSecuritySolution : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>
<Extension()>
Public Function GetIotSecuritySolution (resourceGroupResource As ResourceGroupResource, solutionName As String, Optional cancellationToken As CancellationToken = Nothing) As 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