共用方式為


PrivateEndpointConnectionsOperationsExtensions.GetAsync Method

Definition

Get a specific private endpoint connection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection> GetAsync (this Microsoft.Azure.Management.EventGrid.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string parentType, string parentName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EventGrid.IPrivateEndpointConnectionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PrivateEndpointConnection>
<Extension()>
Public Function GetAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, parentType As String, parentName As String, privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameters

operations
IPrivateEndpointConnectionsOperations

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'. Possible values include: 'topics', 'domains', 'partnerNamespaces'

parentName
String

The name of the parent resource (namely, either, the topic name, domain name, or partner namespace name).

privateEndpointConnectionName
String

The name of the private endpoint connection connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Get a specific private endpoint connection under a topic, domain, or partner namespace.

Applies to