AppPlatformServiceRegistryCollection.Get(String, CancellationToken) Method

Definition

Get the Service Registry and its properties.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/serviceRegistries/{serviceRegistryName}
  • Operation Id: ServiceRegistries_Get
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformServiceRegistryResource
public virtual Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource> Get (string serviceRegistryName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>
Public Overridable Function Get (serviceRegistryName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppPlatformServiceRegistryResource)

Parameters

serviceRegistryName
String

The name of Service Registry.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

serviceRegistryName is null.

Applies to