Share via


DigitalTwinsEndpointResourceCollection.Get(String, CancellationToken) Method

Definition

Get DigitalTwinsInstances Endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DigitalTwins/digitalTwinsInstances/{resourceName}/endpoints/{endpointName}
  • Operation Id: DigitalTwinsEndpoint_Get
public virtual Azure.Response<Azure.ResourceManager.DigitalTwins.DigitalTwinsEndpointResource> Get (string endpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DigitalTwins.DigitalTwinsEndpointResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DigitalTwins.DigitalTwinsEndpointResource>
Public Overridable Function Get (endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DigitalTwinsEndpointResource)

Parameters

endpointName
String

Name of Endpoint Resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

endpointName is null.

Applies to