import type { ContainerServiceContext as Client } from "../index.js"; import type { ManagedCluster, ManagedClusterServicePrincipalProfile, ManagedClusterAADProfile, TagsObject, _ManagedClusterListResult, ManagedClusterAccessProfile, CredentialResults, RunCommandRequest, RunCommandResult, _OutboundEnvironmentEndpointCollection, OutboundEnvironmentEndpoint, ManagedClusterUpgradeProfile, MeshRevisionProfile, _MeshRevisionProfileList, MeshUpgradeProfile, _MeshUpgradeProfileList, KubernetesVersionListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.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 "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _listKubernetesVersionsSend(context: Client, location: string, options?: ManagedClustersListKubernetesVersionsOptionalParams): StreamableMethod; export declare function _listKubernetesVersionsDeserialize(result: PathUncheckedResponse): Promise; /** Contains extra metadata on the version, including supported patch versions, capabilities, available upgrades, and details on preview status of the version */ export declare function listKubernetesVersions(context: Client, location: string, options?: ManagedClustersListKubernetesVersionsOptionalParams): Promise; export declare function _listMeshUpgradeProfilesSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListMeshUpgradeProfilesOptionalParams): StreamableMethod; export declare function _listMeshUpgradeProfilesDeserialize(result: PathUncheckedResponse): Promise<_MeshUpgradeProfileList>; /** Lists available upgrades for all service meshes in a specific cluster. */ export declare function listMeshUpgradeProfiles(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListMeshUpgradeProfilesOptionalParams): PagedAsyncIterableIterator; export declare function _getMeshUpgradeProfileSend(context: Client, resourceGroupName: string, resourceName: string, mode: string, options?: ManagedClustersGetMeshUpgradeProfileOptionalParams): StreamableMethod; export declare function _getMeshUpgradeProfileDeserialize(result: PathUncheckedResponse): Promise; /** Gets available upgrades for a service mesh in a cluster. */ export declare function getMeshUpgradeProfile(context: Client, resourceGroupName: string, resourceName: string, mode: string, options?: ManagedClustersGetMeshUpgradeProfileOptionalParams): Promise; export declare function _listMeshRevisionProfilesSend(context: Client, location: string, options?: ManagedClustersListMeshRevisionProfilesOptionalParams): StreamableMethod; export declare function _listMeshRevisionProfilesDeserialize(result: PathUncheckedResponse): Promise<_MeshRevisionProfileList>; /** Contains extra metadata on each revision, including supported revisions, cluster compatibility and available upgrades */ export declare function listMeshRevisionProfiles(context: Client, location: string, options?: ManagedClustersListMeshRevisionProfilesOptionalParams): PagedAsyncIterableIterator; export declare function _getMeshRevisionProfileSend(context: Client, location: string, mode: string, options?: ManagedClustersGetMeshRevisionProfileOptionalParams): StreamableMethod; export declare function _getMeshRevisionProfileDeserialize(result: PathUncheckedResponse): Promise; /** Contains extra metadata on the revision, including supported revisions, cluster compatibility and available upgrades */ export declare function getMeshRevisionProfile(context: Client, location: string, mode: string, options?: ManagedClustersGetMeshRevisionProfileOptionalParams): Promise; export declare function _getUpgradeProfileSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersGetUpgradeProfileOptionalParams): StreamableMethod; export declare function _getUpgradeProfileDeserialize(result: PathUncheckedResponse): Promise; /** Gets the upgrade profile of a managed cluster. */ export declare function getUpgradeProfile(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersGetUpgradeProfileOptionalParams): Promise; export declare function _listOutboundNetworkDependenciesEndpointsSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListOutboundNetworkDependenciesEndpointsOptionalParams): StreamableMethod; export declare function _listOutboundNetworkDependenciesEndpointsDeserialize(result: PathUncheckedResponse): Promise<_OutboundEnvironmentEndpointCollection>; /** 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. */ export declare function listOutboundNetworkDependenciesEndpoints(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator; export declare function _getCommandResultSend(context: Client, resourceGroupName: string, resourceName: string, commandId: string, options?: ManagedClustersGetCommandResultOptionalParams): StreamableMethod; export declare function _getCommandResultDeserialize(result: PathUncheckedResponse): Promise; /** Gets the results of a command which has been run on the Managed Cluster. */ export declare function getCommandResult(context: Client, resourceGroupName: string, resourceName: string, commandId: string, options?: ManagedClustersGetCommandResultOptionalParams): Promise; export declare function _runCommandSend(context: Client, resourceGroupName: string, resourceName: string, requestPayload: RunCommandRequest, options?: ManagedClustersRunCommandOptionalParams): StreamableMethod; export declare function _runCommandDeserialize(result: PathUncheckedResponse): 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). */ export declare function runCommand(context: Client, resourceGroupName: string, resourceName: string, requestPayload: RunCommandRequest, options?: ManagedClustersRunCommandOptionalParams): PollerLike, RunCommandResult>; export declare function _startSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersStartOptionalParams): StreamableMethod; export declare function _startDeserialize(result: PathUncheckedResponse): Promise; /** See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster. */ export declare function start(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersStartOptionalParams): PollerLike, void>; export declare function _stopSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersStopOptionalParams): StreamableMethod; export declare function _stopDeserialize(result: PathUncheckedResponse): 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. */ export declare function stop(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersStopOptionalParams): PollerLike, void>; export declare function _rotateServiceAccountSigningKeysSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams): StreamableMethod; export declare function _rotateServiceAccountSigningKeysDeserialize(result: PathUncheckedResponse): Promise; /** Rotates the service account signing keys of a managed cluster. */ export declare function rotateServiceAccountSigningKeys(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateServiceAccountSigningKeysOptionalParams): PollerLike, void>; export declare function _abortLatestOperationSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersAbortLatestOperationOptionalParams): StreamableMethod; export declare function _abortLatestOperationDeserialize(result: PathUncheckedResponse): 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. */ export declare function abortLatestOperation(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersAbortLatestOperationOptionalParams): PollerLike, void>; export declare function _rotateClusterCertificatesSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams): StreamableMethod; export declare function _rotateClusterCertificatesDeserialize(result: PathUncheckedResponse): Promise; /** See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates. */ export declare function rotateClusterCertificates(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersRotateClusterCertificatesOptionalParams): PollerLike, void>; export declare function _resetAADProfileSend(context: Client, resourceGroupName: string, resourceName: string, parameters: ManagedClusterAADProfile, options?: ManagedClustersResetAADProfileOptionalParams): StreamableMethod; export declare function _resetAADProfileDeserialize(result: PathUncheckedResponse): 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. */ export declare function resetAADProfile(context: Client, resourceGroupName: string, resourceName: string, parameters: ManagedClusterAADProfile, options?: ManagedClustersResetAADProfileOptionalParams): PollerLike, void>; export declare function _resetServicePrincipalProfileSend(context: Client, resourceGroupName: string, resourceName: string, parameters: ManagedClusterServicePrincipalProfile, options?: ManagedClustersResetServicePrincipalProfileOptionalParams): StreamableMethod; export declare function _resetServicePrincipalProfileDeserialize(result: PathUncheckedResponse): Promise; /** This action cannot be performed on a cluster that is not using a service principal */ export declare function resetServicePrincipalProfile(context: Client, resourceGroupName: string, resourceName: string, parameters: ManagedClusterServicePrincipalProfile, options?: ManagedClustersResetServicePrincipalProfileOptionalParams): PollerLike, void>; export declare function _listClusterMonitoringUserCredentialsSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterMonitoringUserCredentialsOptionalParams): StreamableMethod; export declare function _listClusterMonitoringUserCredentialsDeserialize(result: PathUncheckedResponse): Promise; /** Lists the cluster monitoring user credentials of a managed cluster. */ export declare function listClusterMonitoringUserCredentials(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterMonitoringUserCredentialsOptionalParams): Promise; export declare function _listClusterUserCredentialsSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterUserCredentialsOptionalParams): StreamableMethod; export declare function _listClusterUserCredentialsDeserialize(result: PathUncheckedResponse): Promise; /** Lists the user credentials of a managed cluster. */ export declare function listClusterUserCredentials(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterUserCredentialsOptionalParams): Promise; export declare function _listClusterAdminCredentialsSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterAdminCredentialsOptionalParams): StreamableMethod; export declare function _listClusterAdminCredentialsDeserialize(result: PathUncheckedResponse): Promise; /** Lists the admin credentials of a managed cluster. */ export declare function listClusterAdminCredentials(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersListClusterAdminCredentialsOptionalParams): Promise; export declare function _getAccessProfileSend(context: Client, resourceGroupName: string, resourceName: string, roleName: string, options?: ManagedClustersGetAccessProfileOptionalParams): StreamableMethod; export declare function _getAccessProfileDeserialize(result: PathUncheckedResponse): 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) . */ export declare function getAccessProfile(context: Client, resourceGroupName: string, resourceName: string, roleName: string, options?: ManagedClustersGetAccessProfileOptionalParams): Promise; export declare function _listSend(context: Client, options?: ManagedClustersListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_ManagedClusterListResult>; /** Gets a list of managed clusters in the specified subscription. */ export declare function list(context: Client, options?: ManagedClustersListOptionalParams): PagedAsyncIterableIterator; export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: ManagedClustersListByResourceGroupOptionalParams): StreamableMethod; export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_ManagedClusterListResult>; /** Lists managed clusters in the specified subscription and resource group. */ export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: ManagedClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** 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. */ export declare function $delete(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersDeleteOptionalParams): PollerLike, void>; export declare function _updateTagsSend(context: Client, resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: ManagedClustersUpdateTagsOptionalParams): StreamableMethod; export declare function _updateTagsDeserialize(result: PathUncheckedResponse): Promise; /** Updates tags on a managed cluster. */ export declare function updateTags(context: Client, resourceGroupName: string, resourceName: string, parameters: TagsObject, options?: ManagedClustersUpdateTagsOptionalParams): PollerLike, ManagedCluster>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, resourceName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Creates or updates a managed cluster. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, resourceName: string, parameters: ManagedCluster, options?: ManagedClustersCreateOrUpdateOptionalParams): PollerLike, ManagedCluster>; export declare function _getSend(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a managed cluster. */ export declare function get(context: Client, resourceGroupName: string, resourceName: string, options?: ManagedClustersGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map