Language

AkriServiceCollection.Get(String, CancellationToken) Method

Definition

Get a AkriServiceResource

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperations/instances/{instanceName}/akriServices/{akriServiceName}.
  • Operation Id. : AkriService_Get.
  • Default Api Version. : 2026-07-01.
public virtual Azure.Response<Azure.ResourceManager.IotOperations.AkriServiceResource> Get(string akriServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotOperations.AkriServiceResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotOperations.AkriServiceResource>
Public Overridable Function Get (akriServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AkriServiceResource)

Parameters

akriServiceName
String

Name of AkriService resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

akriServiceName is null.

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

Applies to