다음을 통해 공유


ServiceEndpointPolicyDefinitionsOperationsExtensions.GetAsync Method

Definition

Get the specified service endpoint policy definitions from service endpoint policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ServiceEndpointPolicyDefinition> GetAsync (this Microsoft.Azure.Management.Network.IServiceEndpointPolicyDefinitionsOperations operations, string resourceGroupName, string serviceEndpointPolicyName, string serviceEndpointPolicyDefinitionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IServiceEndpointPolicyDefinitionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.ServiceEndpointPolicyDefinition>
<Extension()>
Public Function GetAsync (operations As IServiceEndpointPolicyDefinitionsOperations, resourceGroupName As String, serviceEndpointPolicyName As String, serviceEndpointPolicyDefinitionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServiceEndpointPolicyDefinition)

Parameters

operations
IServiceEndpointPolicyDefinitionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceEndpointPolicyName
String

The name of the service endpoint policy name.

serviceEndpointPolicyDefinitionName
String

The name of the service endpoint policy definition name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to