VirtualEnclaveEndpointCollection.GetAsync(String, CancellationToken) Method

Definition

Get a EnclaveEndpointResource

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

Parameters

enclaveEndpointName
String

The name of the Enclave Endpoint Resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

enclaveEndpointName is null.

Applies to