SecurityCenterExtensions.GetIotSecuritySolutions 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.
Overloads
GetIotSecuritySolutions(ResourceGroupResource) |
Gets a collection of IotSecuritySolutionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetIotSecuritySolutions() instead. |
GetIotSecuritySolutions(SubscriptionResource, String, CancellationToken) |
Use this method to get the list of IoT Security solutions by subscription.
|
GetIotSecuritySolutions(ResourceGroupResource)
- Source:
- SecurityCenterExtensions.cs
- Source:
- SecurityCenterExtensions.cs
Gets a collection of IotSecuritySolutionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetIotSecuritySolutions() instead.
public static Azure.ResourceManager.SecurityCenter.IotSecuritySolutionCollection GetIotSecuritySolutions (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetIotSecuritySolutions : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.SecurityCenter.IotSecuritySolutionCollection
<Extension()>
Public Function GetIotSecuritySolutions (resourceGroupResource As ResourceGroupResource) As IotSecuritySolutionCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of IotSecuritySolutionResources and their operations over a IotSecuritySolutionResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetIotSecuritySolutions(SubscriptionResource, String, CancellationToken)
- Source:
- SecurityCenterExtensions.cs
- Source:
- SecurityCenterExtensions.cs
Use this method to get the list of IoT Security solutions by subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions
- Operation Id: IotSecuritySolution_ListBySubscription
- Default Api Version: 2019-08-01
- Resource: IotSecuritySolutionResource
public static Azure.Pageable<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource> GetIotSecuritySolutions (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member GetIotSecuritySolutions : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.IotSecuritySolutionResource>
<Extension()>
Public Function GetIotSecuritySolutions (subscriptionResource As SubscriptionResource, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of IotSecuritySolutionResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- filter
- String
Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of IotSecuritySolutionResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET