Share via


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

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