Share via


IotSecuritySolutionCollection.GetAsync(String, CancellationToken) 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>> GetAsync (string solutionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>>
Public Overridable Function GetAsync (solutionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IotSecuritySolutionResource))

Parameters

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.

solutionName is null.

Applies to