Sdílet prostřednictvím


ServiceEndpointPolicyDefinitionsOperationsExtensions.ListByResourceGroupAsync Method

Definition

Gets all service endpoint policy definitions in a service end point policy.

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

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to