MockableHciSubscriptionResource.GetBySubscriptionLocationResource Method

Definition

List all kubernetes versions.

  • Request Path. : /subscriptions/{subscriptionId}/providers/Microsoft.AzureStackHCI/locations/{location}/kubernetesVersions.
  • Operation Id. : KubernetesVersions_ListBySubscriptionLocationResource.
  • Default Api Version. : 2026-04-01-preview.
public virtual Azure.Pageable<Azure.ResourceManager.Hci.Models.HciKubernetesVersion> GetBySubscriptionLocationResource(Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBySubscriptionLocationResource : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Models.HciKubernetesVersion>
override this.GetBySubscriptionLocationResource : Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Hci.Models.HciKubernetesVersion>
Public Overridable Function GetBySubscriptionLocationResource (location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HciKubernetesVersion)

Parameters

location
AzureLocation

The name of the Azure region.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to