Dela via


AppPlatformExtensions.GetRuntimeVersions Method

Definition

Lists all of the available runtime versions supported by Microsoft.AppPlatform provider.

  • Request Path: /providers/Microsoft.AppPlatform/runtimeVersions
  • Operation Id: RuntimeVersions_ListRuntimeVersions
  • Default Api Version: 2022-12-01
public static Azure.Pageable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSupportedRuntimeVersion> GetRuntimeVersions (this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetRuntimeVersions : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSupportedRuntimeVersion>
<Extension()>
Public Function GetRuntimeVersions (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AppPlatformSupportedRuntimeVersion)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AppPlatformSupportedRuntimeVersion that may take multiple service requests to iterate over.

Exceptions

tenantResource is null.

Applies to