Share via


KubeEnvironmentCollection Class

Definition

A class representing a collection of KubeEnvironmentResource and their operations. Each KubeEnvironmentResource in the collection will belong to the same instance of ResourceGroupResource. To get a KubeEnvironmentCollection instance call the GetKubeEnvironments method from an instance of ResourceGroupResource.

public class KubeEnvironmentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.AppService.KubeEnvironmentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppService.KubeEnvironmentResource>
type KubeEnvironmentCollection = class
    inherit ArmCollection
    interface seq<KubeEnvironmentResource>
    interface IEnumerable
    interface IAsyncEnumerable<KubeEnvironmentResource>
Public Class KubeEnvironmentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of KubeEnvironmentResource), IEnumerable(Of KubeEnvironmentResource)
Inheritance
KubeEnvironmentCollection
Implements

Constructors

KubeEnvironmentCollection()

Initializes a new instance of the KubeEnvironmentCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, KubeEnvironmentData, CancellationToken)

Description for Creates or updates a Kubernetes Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_CreateOrUpdate
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
CreateOrUpdateAsync(WaitUntil, String, KubeEnvironmentData, CancellationToken)

Description for Creates or updates a Kubernetes Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_CreateOrUpdate
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
Get(String, CancellationToken)

Description for Get the properties of a Kubernetes Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
GetAll(CancellationToken)

Description for Get all the Kubernetes Environments in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments
  • Operation Id: KubeEnvironments_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
GetAllAsync(CancellationToken)

Description for Get all the Kubernetes Environments in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments
  • Operation Id: KubeEnvironments_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
GetAsync(String, CancellationToken)

Description for Get the properties of a Kubernetes Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/kubeEnvironments/{name}
  • Operation Id: KubeEnvironments_Get
  • Default Api Version: 2023-12-01
  • Resource: KubeEnvironmentResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<KubeEnvironmentResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<KubeEnvironmentResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to