VirtualEnclavesExtensions.GetVirtualEnclaveCommunityEndpointsAsync Method

Definition

List CommunityEndpointResource resources by subscription ID <item> Mocking. To mock this method, please mock GetVirtualEnclaveCommunityEndpointsAsync(String, CancellationToken) instead. </item>

public static Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveCommunityEndpointResource> GetVirtualEnclaveCommunityEndpointsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string communityName, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualEnclaveCommunityEndpointsAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveCommunityEndpointResource>
<Extension()>
Public Function GetVirtualEnclaveCommunityEndpointsAsync (subscriptionResource As SubscriptionResource, communityName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualEnclaveCommunityEndpointResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

communityName
String

The name of the communityResource Resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of VirtualEnclaveCommunityEndpointResource that may take multiple service requests to iterate over.

Exceptions

communityName is an empty string, and was expected to be non-empty.

subscriptionResource is null.

Applies to