AppServiceExtensions.GetKubeEnvironments 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
GetKubeEnvironments(ResourceGroupResource) |
Gets a collection of KubeEnvironmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetKubeEnvironments() instead. |
GetKubeEnvironments(SubscriptionResource, CancellationToken) |
Description for Get all Kubernetes Environments for a subscription.
|
GetKubeEnvironments(ResourceGroupResource)
- Source:
- AppServiceExtensions.cs
- Source:
- AppServiceExtensions.cs
Gets a collection of KubeEnvironmentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetKubeEnvironments() instead.
public static Azure.ResourceManager.AppService.KubeEnvironmentCollection GetKubeEnvironments (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetKubeEnvironments : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.AppService.KubeEnvironmentCollection
<Extension()>
Public Function GetKubeEnvironments (resourceGroupResource As ResourceGroupResource) As KubeEnvironmentCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of KubeEnvironmentResources and their operations over a KubeEnvironmentResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetKubeEnvironments(SubscriptionResource, CancellationToken)
- Source:
- AppServiceExtensions.cs
- Source:
- AppServiceExtensions.cs
Description for Get all Kubernetes Environments for a subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Web/kubeEnvironments
- Operation Id: KubeEnvironments_ListBySubscription
- Default Api Version: 2024-04-01
- Resource: KubeEnvironmentResource
public static Azure.Pageable<Azure.ResourceManager.AppService.KubeEnvironmentResource> GetKubeEnvironments (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetKubeEnvironments : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.KubeEnvironmentResource>
<Extension()>
Public Function GetKubeEnvironments (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of KubeEnvironmentResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of KubeEnvironmentResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET