Share via


PrivateLinkScopedResourcesOperationsExtensions.GetAsync Method

Definition

Gets a scoped resource in a private link scope.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ScopedResource> GetAsync (this Microsoft.Azure.Management.Monitor.IPrivateLinkScopedResourcesOperations operations, string resourceGroupName, string scopeName, string name, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Monitor.IPrivateLinkScopedResourcesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ScopedResource>
<Extension()>
Public Function GetAsync (operations As IPrivateLinkScopedResourcesOperations, resourceGroupName As String, scopeName As String, name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScopedResource)

Parameters

operations
IPrivateLinkScopedResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

scopeName
String

The name of the Azure Monitor PrivateLinkScope resource.

name
String

The name of the scoped resource object.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to