MockableVirtualEnclavesSubscriptionResource.GetVirtualEnclaveCommunityEndpointsAsync Method

Definition

List CommunityEndpointResource resources by subscription ID

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints.
  • Operation Id. : CommunityEndpoints_ListBySubscription.
  • Default Api Version. : 2025-05-01-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveCommunityEndpointResource> GetVirtualEnclaveCommunityEndpointsAsync(string communityName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualEnclaveCommunityEndpointsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveCommunityEndpointResource>
override this.GetVirtualEnclaveCommunityEndpointsAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveCommunityEndpointResource>
Public Overridable Function GetVirtualEnclaveCommunityEndpointsAsync (communityName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualEnclaveCommunityEndpointResource)

Parameters

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 null.

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

Applies to