AvailablePrivateEndpointTypesOperations.ListByResourceGroupAsync(String, String, CancellationToken) Method

Definition

Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.AvailablePrivateEndpointType> ListByResourceGroupAsync (string location, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByResourceGroupAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.AvailablePrivateEndpointType>
override this.ListByResourceGroupAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.AvailablePrivateEndpointType>
Public Overridable Function ListByResourceGroupAsync (location As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AvailablePrivateEndpointType)

Parameters

location
System.String

The location of the domain name.

resourceGroupName
System.String

The name of the resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<AvailablePrivateEndpointType>

Exceptions

System.ArgumentNullException

location or resourceGroupName is null.

Applies to