AppPlatformServiceResource.GetAppPlatformServiceRegistryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>> GetAppPlatformServiceRegistryAsync (string serviceRegistryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppPlatformServiceRegistryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>>
override this.GetAppPlatformServiceRegistryAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformServiceRegistryResource>>
Public Overridable Function GetAppPlatformServiceRegistryAsync (serviceRegistryName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformServiceRegistryResource))
Parameters
- serviceRegistryName
- String
The name of Service Registry.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
serviceRegistryName
is null.
serviceRegistryName
is an empty string, and was expected to be non-empty.