Share via


MockableAppPlatformResourceGroupResource.GetAppPlatformService Method

Definition

Get a Service and its properties.

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

Parameters

serviceName
String

The name of the Service resource.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

serviceName is null.

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

Applies to