MockableVirtualEnclavesSubscriptionResource.GetVirtualEnclaveEndpointsAsync Method

Definition

List EnclaveEndpointResource resources by subscription ID

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

Parameters

virtualEnclaveName
String

The name of the enclaveResource Resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

virtualEnclaveName is null.

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

Applies to