PrivateLinkResourcesOperationsExtensions.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.
Get a private link resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PrivateLinkResource> GetAsync (this Microsoft.Azure.Management.EventGrid.IPrivateLinkResourcesOperations operations, string resourceGroupName, string parentType, string parentName, string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EventGrid.IPrivateLinkResourcesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PrivateLinkResource>
<Extension()>
Public Function GetAsync (operations As IPrivateLinkResourcesOperations, resourceGroupName As String, parentType As String, parentName As String, privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateLinkResource)
Parameters
- operations
- IPrivateLinkResourcesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the user's subscription.
- parentType
- String
The type of the parent resource. This can be either 'topics', 'domains', or 'partnerNamespaces'.
- parentName
- String
The name of the parent resource (namely, either, the topic name, domain name, or partner namespace name).
- privateLinkResourceName
- String
The name of private link resource.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Get properties of a private link resource.
Applies to
Azure SDK for .NET