AppPlatformExtensions.GetRuntimeVersionsAsync 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.
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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET