Share via


PrivateLinkResourcesOperationsExtensions.GetAsync Method

Definition

Get the specified private link resource

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.GroupIdInformation> GetAsync (this Microsoft.Azure.Management.IotHub.IPrivateLinkResourcesOperations operations, string resourceGroupName, string resourceName, string groupId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.IotHub.IPrivateLinkResourcesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.GroupIdInformation>
<Extension()>
Public Function GetAsync (operations As IPrivateLinkResourcesOperations, resourceGroupName As String, resourceName As String, groupId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GroupIdInformation)

Parameters

operations
IPrivateLinkResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the IoT hub.

resourceName
String

The name of the IoT hub.

groupId
String

The name of the private link resource

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get the specified private link resource for the given IotHub

Applies to