다음을 통해 공유


AppPlatformExtensions.GetRuntimeVersionsAsync 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.AsyncPageable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSupportedRuntimeVersion> GetRuntimeVersionsAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, System.Threading.CancellationToken cancellationToken = default);
static member GetRuntimeVersionsAsync : Azure.ResourceManager.Resources.TenantResource * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSupportedRuntimeVersion>
<Extension()>
Public Function GetRuntimeVersionsAsync (tenantResource As TenantResource, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppPlatformSupportedRuntimeVersion)

Parameters

tenantResource
TenantResource

The TenantResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

tenantResource is null.

Applies to