import type { ContainerServiceContext } from "../../api/containerServiceContext.js"; import type { ManagedClustersListKubernetesVersionsOptionalParams, ManagedClustersListMeshUpgradeProfilesOptionalParams, ManagedClustersGetMeshUpgradeProfileOptionalParams, ManagedClustersListMeshRevisionProfilesOptionalParams, ManagedClustersGetMeshRevisionProfileOptionalParams, ManagedClustersGetUpgradeProfileOptionalParams, ManagedClustersListOutboundNetworkDependenciesEndpointsOptionalParams, ManagedClustersGetCommandResultOptionalParams, ManagedClustersRunCommandOptionalParams, ManagedClustersStartOptionalParams, ManagedClustersStopOptionalParams, ManagedClustersRotateServiceAccountSigningKeysOptionalParams, ManagedClustersAbortLatestOperationOptionalParams, ManagedClustersRotateClusterCertificatesOptionalParams, ManagedClustersResetAADProfileOptionalParams, ManagedClustersResetServicePrincipalProfileOptionalParams, ManagedClustersListClusterMonitoringUserCredentialsOptionalParams, ManagedClustersListClusterUserCredentialsOptionalParams, ManagedClustersListClusterAdminCredentialsOptionalParams, ManagedClustersGetAccessProfileOptionalParams, ManagedClustersListOptionalParams, ManagedClustersListByResourceGroupOptionalParams, ManagedClustersDeleteOptionalParams, ManagedClustersUpdateTagsOptionalParams, ManagedClustersCreateOrUpdateOptionalParams, ManagedClustersGetOptionalParams } from "../../api/managedClusters/options.js"; import type { ManagedCluster, ManagedClusterServicePrincipalProfile, ManagedClusterAADProfile, TagsObject, ManagedClusterAccessProfile, CredentialResults, RunCommandRequest, RunCommandResult, OutboundEnvironmentEndpoint, ManagedClusterUpgradeProfile, MeshRevisionProfile, MeshUpgradeProfile, KubernetesVersionListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a ManagedClusters operations. */ export interface ManagedClustersOperations { /** Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version */ listKubernetesVersions: (location: string, options?: ManagedClustersListKubernetesVersionsOptionalParams) => Promise; /** Lists available upgrades for all service meshes in a specific cluster. */ listMeshUpgradeProfiles: (resourceGroupName: string, resourceName: string, options?: ManagedClustersListMeshUpgradeProfilesOptionalParams) => PagedAsyncIterableIterator; /** Gets available upgrades for a service mesh in a cluster. */ getMeshUpgradeProfile: (resourceGroupName: string, resourceName: string, mode: string, options?: ManagedClustersGetMeshUpgradeProfileOptionalParams) => Promise; /** Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades */ listMeshRevisionProfiles: (location: string, options?: ManagedClustersListMeshRevisionProfilesOptionalParams) => PagedAsyncIterableIterator; /** Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades */ getMeshRevisionProfile: (location: string, mode: string, options?: ManagedClustersGetMeshRevisionProfileOptionalParams) => Promise; /** Gets the upgrade profile of a managed cluster. */ getUpgradeProfile: (resourceGroupName: string, resourceName: string, options?: ManagedClustersGetUpgradeProfileOptionalParams) => Promise; /** Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. */ listOutboundNetworkDependenciesEndpoints: (resourceGroupName: string, resourceName: string, options?: ManagedClustersListOutboundNetworkDependenciesEndpointsOptionalParams) => PagedAsyncIterableIterator; /** Gets the results of a command which has been run on the Managed Cluster. */ getCommandResult: (resourceGroupName: string, resourceName: string, commandId: string, options?: ManagedClustersGetCommandResultOptionalParams) => Promise; /** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */ runCommand: (resourceGroupName: string, resourceName: string, requestPayload: RunCommandRequest, options?: ManagedClustersRunCommandOptionalParams) => PollerLike, RunCommandResult>; /** @deprecated use runCommand instead */ beginRunCommand: (resourceGroupName: string, resourceName: string, requestPayload: RunCommandRequest, options?: ManagedClustersRunCommandOptionalParams) => Promise, RunCommandResult>>; /** @deprecated use runCommand instead */ beginRunCommandAndWait: (resourceGroupName: string, resourceName: string, requestPayload: RunCommandRequest, options?: ManagedClustersRunCommandOptionalParams) => Promise; /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ start: (resourceGroupName: string, resourceName: string, options?: ManagedClustersStartOptionalParams) => PollerLike, void>; /** @deprecated use start instead */ beginStart: (resourceGroupName: string, resourceName: string, options?: ManagedClustersStartOptionalParams) => Promise, void>>; /** @deprecated use start instead */ beginStartAndWait: (resourceGroupName: string, resourceName: string, options?: ManagedClustersStartOptionalParams) => Promise; /** This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster. */ stop: (resourceGroupName: string, resourceName: string, options?: ManagedClustersStopOptionalParams) => PollerLike, void>; /** @deprecated use stop instead */ beginStop: (resourceGroupName: string, resourceName: string, options?: ManagedClustersStopOptionalParams) => Promise, void>>; /** @deprecated use stop instead */ beginStopAndWait: (resourceGroupName: string, resourceName: string, options?: ManagedClustersStopOptionalParams) => Promise; /** Rotates the service account signing keys of a managed cluster. */ rotateServiceAccountSigningKeys: (resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams) => PollerLike, void>; /** @deprecated use rotateServiceAccountSigningKeys instead */ beginRotateServiceAccountSigningKeys: (resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams) => Promise, void>>; /** @deprecated use rotateServiceAccountSigningKeys instead */ beginRotateServiceAccountSigningKeysAndWait: (resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams) => Promise; /** Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. */ abortLatestOperation: (resourceGroupName: string, resourceName: string, options?: ManagedClustersAbortLatestOperationOptionalParams) => PollerLike, void>; /** @deprecated use abortLatestOperation instead */ beginAbortLatestOperation: (resourceGroupName: string, resourceName: string, options?: ManagedClustersAbortLatestOperationOptionalParams) => Promise, void>>; /** @deprecated use abortLatestOperation instead */ beginAbortLatestOperationAndWait: (resourceGroupName: string, resourceName: string, options?: ManagedClustersAbortLatestOperationOptionalParams) => Promise; /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ rotateClusterCertificates: (resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams) => PollerLike, void>; /** @deprecated use rotateClusterCertificates instead */ beginRotateClusterCertificates: (resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams) => Promise, void>>; /** @deprecated use rotateClusterCertificates instead */ beginRotateClusterCertificatesAndWait: (resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams) => Promise; /** **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD. */ resetAADProfile: (resourceGroupName: string, resourceName: string, parameters: ManagedClusterAADProfile, options?: ManagedClustersResetAADProfileOptionalParams) => PollerLike, void>; /** @deprecated use resetAADProfile instead */ beginResetAADProfile: (resourceGroupName: string, resourceName: string, parameters: ManagedClusterAADProfile, options?: ManagedClustersResetAADProfileOptionalParams) => Promise, void>>; /** @deprecated use resetAADProfile instead */ beginResetAADProfileAndWait: (resourceGroupName: string, resourceName: string, parameters: ManagedClusterAADProfile, options?: ManagedClustersResetAADProfileOptionalParams) => Promise; /** This action cannot be performed on a cluster that is not using a service principal */ resetServicePrincipalProfile: (resourceGroupName: string, resourceName: string, parameters: ManagedClusterServicePrincipalProfile, options?: ManagedClustersResetServicePrincipalProfileOptionalParams) => PollerLike, void>; /** @deprecated use resetServicePrincipalProfile instead */ beginResetServicePrincipalProfile: (resourceGroupName: string, resourceName: string, parameters: ManagedClusterServicePrincipalProfile, options?: ManagedClustersResetServicePrincipalProfileOptionalParams) => Promise, void>>; /** @deprecated use resetServicePrincipalProfile instead */ beginResetServicePrincipalProfileAndWait: (resourceGroupName: string, resourceName: string, parameters: ManagedClusterServicePrincipalProfile, options?: ManagedClustersResetServicePrincipalProfileOptionalParams) => Promise; /** Lists the cluster monitoring user credentials of a managed cluster. */ listClusterMonitoringUserCredentials: (resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterMonitoringUserCredentialsOptionalParams) => Promise; /** Lists the user credentials of a managed cluster. */ listClusterUserCredentials: (resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterUserCredentialsOptionalParams) => Promise; /** Lists the admin credentials of a managed cluster. */ listClusterAdminCredentials: (resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterAdminCredentialsOptionalParams) => Promise; /** **WARNING**: This API will be deprecated. Instead use [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials) or [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials) . */ getAccessProfile: (resourceGroupName: string, resourceName: string, roleName: string, options?: ManagedClustersGetAccessProfileOptionalParams) => Promise; /** Gets a list of managed clusters in the specified subscription. */ list: (options?: ManagedClustersListOptionalParams) => PagedAsyncIterableIterator; /** Lists managed clusters in the specified subscription and resource group. */ listByResourceGroup: (resourceGroupName: string, options?: ManagedClustersListByResourceGroupOptionalParams) => PagedAsyncIterableIterator; /** Deletes a managed cluster. */ /** * @fixme delete is a reserved word that cannot be used as an operation name. * Please add @clientName("clientName") or @clientName("", "javascript") * to the operation to override the generated name. */ delete: (resourceGroupName: string, resourceName: string, options?: ManagedClustersDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, resourceName: string, options?: ManagedClustersDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, resourceName: string, options?: ManagedClustersDeleteOptionalParams) => Promise; /** Updates tags on a managed cluster. */ updateTags: (resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: ManagedClustersUpdateTagsOptionalParams) => PollerLike, ManagedCluster>; /** @deprecated use updateTags instead */ beginUpdateTags: (resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: ManagedClustersUpdateTagsOptionalParams) => Promise, ManagedCluster>>; /** @deprecated use updateTags instead */ beginUpdateTagsAndWait: (resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: ManagedClustersUpdateTagsOptionalParams) => Promise; /** Creates or updates a managed cluster. */ createOrUpdate: (resourceGroupName: string, resourceName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams) => PollerLike, ManagedCluster>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, resourceName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams) => Promise, ManagedCluster>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, resourceName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams) => Promise; /** Gets a managed cluster. */ get: (resourceGroupName: string, resourceName: string, options?: ManagedClustersGetOptionalParams) => Promise; } export declare function _getManagedClustersOperations(context: ContainerServiceContext): ManagedClustersOperations; //# sourceMappingURL=index.d.ts.map