NetworkCloudExtensions.GetNetworkCloudKubernetesClusters 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.
Overloads
GetNetworkCloudKubernetesClusters(ResourceGroupResource) |
Gets a collection of NetworkCloudKubernetesClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudKubernetesClusters() instead. |
GetNetworkCloudKubernetesClusters(SubscriptionResource, CancellationToken) |
Get a list of Kubernetes clusters in the provided subscription.
|
GetNetworkCloudKubernetesClusters(ResourceGroupResource)
- Source:
- NetworkCloudExtensions.cs
Gets a collection of NetworkCloudKubernetesClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetNetworkCloudKubernetesClusters() instead.
public static Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterCollection GetNetworkCloudKubernetesClusters (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetNetworkCloudKubernetesClusters : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterCollection
<Extension()>
Public Function GetNetworkCloudKubernetesClusters (resourceGroupResource As ResourceGroupResource) As NetworkCloudKubernetesClusterCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of NetworkCloudKubernetesClusterResources and their operations over a NetworkCloudKubernetesClusterResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetNetworkCloudKubernetesClusters(SubscriptionResource, CancellationToken)
- Source:
- NetworkCloudExtensions.cs
Get a list of Kubernetes clusters in the provided subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.NetworkCloud/kubernetesClusters
- Operation Id: KubernetesClusters_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource> GetNetworkCloudKubernetesClusters (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkCloudKubernetesClusters : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.NetworkCloud.NetworkCloudKubernetesClusterResource>
<Extension()>
Public Function GetNetworkCloudKubernetesClusters (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NetworkCloudKubernetesClusterResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of NetworkCloudKubernetesClusterResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET