VirtualEnclavesExtensions.GetVirtualEnclaveCommunityEndpoints Method

Definition

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

public static Azure.Pageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveCommunityEndpointResource> GetVirtualEnclaveCommunityEndpoints(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string communityName, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualEnclaveCommunityEndpoints : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.VirtualEnclaves.VirtualEnclaveCommunityEndpointResource>
<Extension()>
Public Function GetVirtualEnclaveCommunityEndpoints (subscriptionResource As SubscriptionResource, communityName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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