Language

VirtualEnclaveCommunityEndpointCollection.GetIfExists Method

Definition

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Mission/communities/{communityName}/communityEndpoints/{communityEndpointName}.
  • Operation Id. : CommunityEndpoints_Get.
  • Default Api Version. : 2026-04-01.
public virtual Azure.NullableResponse<Azure.ResourceManager.Enclave.VirtualEnclaveCommunityEndpointResource> GetIfExists(string communityEndpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Enclave.VirtualEnclaveCommunityEndpointResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Enclave.VirtualEnclaveCommunityEndpointResource>
Public Overridable Function GetIfExists (communityEndpointName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of VirtualEnclaveCommunityEndpointResource)

Parameters

communityEndpointName
String

The name of the Community Endpoint Resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

communityEndpointName is null.

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

Applies to