Condividi tramite


ContainerServiceMaintenanceConfigurationCollection Class

Definition

A class representing a collection of ContainerServiceMaintenanceConfigurationResource and their operations. Each ContainerServiceMaintenanceConfigurationResource in the collection will belong to the same instance of ContainerServiceManagedClusterResource. To get a ContainerServiceMaintenanceConfigurationCollection instance call the GetContainerServiceMaintenanceConfigurations method from an instance of ContainerServiceManagedClusterResource.

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

Constructors

ContainerServiceMaintenanceConfigurationCollection()

Initializes a new instance of the ContainerServiceMaintenanceConfigurationCollection 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, ContainerServiceMaintenanceConfigurationData, CancellationToken)

Creates or updates a maintenance configuration in the specified managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_CreateOrUpdate
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
CreateOrUpdateAsync(WaitUntil, String, ContainerServiceMaintenanceConfigurationData, CancellationToken)

Creates or updates a maintenance configuration in the specified managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_CreateOrUpdate
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
Get(String, CancellationToken)

Gets the specified maintenance configuration of a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
GetAll(CancellationToken)

Gets a list of maintenance configurations in the specified managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations
  • Operation Id: MaintenanceConfigurations_ListByManagedCluster
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
GetAllAsync(CancellationToken)

Gets a list of maintenance configurations in the specified managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations
  • Operation Id: MaintenanceConfigurations_ListByManagedCluster
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
GetAsync(String, CancellationToken)

Gets the specified maintenance configuration of a managed cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • Operation Id: MaintenanceConfigurations_Get
  • Default Api Version: 2023-10-01
  • Resource: ContainerServiceMaintenanceConfigurationResource
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<ContainerServiceMaintenanceConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ContainerServiceMaintenanceConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to