DeviceSecurityGroupsOperationsExtensions.GetAsync 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.
Use this method to get the device security group for the specified IoT Hub resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.DeviceSecurityGroup> GetAsync(this Microsoft.Azure.Management.Security.IDeviceSecurityGroupsOperations operations, string resourceId, string deviceSecurityGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Security.IDeviceSecurityGroupsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Security.Models.DeviceSecurityGroup>
<Extension()>
Public Function GetAsync (operations As IDeviceSecurityGroupsOperations, resourceId As String, deviceSecurityGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DeviceSecurityGroup)
Parameters
- operations
- IDeviceSecurityGroupsOperations
The operations group for this extension method.
- resourceId
- String
The identifier of the resource.
- deviceSecurityGroupName
- String
The name of the device security group. Note that the name of the device security group is case insensitive.
- cancellationToken
- CancellationToken
The cancellation token.